Searched refs:tzp (Results 1 - 8 of 8) sorted by relevance
/linux-master/drivers/thermal/ |
H A D | gov_power_allocator.c | 67 * @allocated_tzp: whether we have allocated tzp for this thermal zone and 170 tz->tzp->k_po = int_to_frac(sustainable_power) / 173 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / 176 k_i = tz->tzp->k_pu / 10; 177 tz->tzp->k_i = k_i > 0 ? k_i : 1; 202 if (!tz->tzp->sustainable_power) 205 sustainable_power = tz->tzp->sustainable_power; 213 tz->tzp->sustainable_power = sustainable_power; 255 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp [all...] |
H A D | thermal_helpers.c | 214 if (tz && tz->tzp) 215 return tz->tzp->slope; 229 if (tz && tz->tzp) 230 return tz->tzp->offset;
|
H A D | thermal_of.c | 249 struct thermal_zone_params *tzp) 255 tzp->no_hwmon = true; 258 tzp->sustainable_power = prop; 271 tzp->slope = coef[0]; 272 tzp->offset = coef[1]; 477 struct thermal_zone_params tzp = {}; local 503 thermal_of_parameters_init(np, &tzp); 514 data, &of_ops, &tzp, 248 thermal_of_parameters_init(struct device_node *np, struct thermal_zone_params *tzp) argument
|
H A D | thermal_core.c | 144 * only thermal zones with specified tz->tzp->governor_name 150 name = pos->tzp->governor_name; 1252 * @tzp: thermal zone platform parameters 1274 const struct thermal_zone_params *tzp, 1313 if (tzp) { 1314 tz->tzp = kmemdup(tzp, sizeof(*tzp), GFP_KERNEL); 1315 if (!tz->tzp) { 1368 if (tz->tzp) 1270 thermal_zone_device_register_with_trips(const char *type, const struct thermal_trip *trips, int num_trips, void *devdata, const struct thermal_zone_device_ops *ops, const struct thermal_zone_params *tzp, int passive_delay, int polling_delay) argument 1421 thermal_tripless_zone_device_register( const char *type, void *devdata, const struct thermal_zone_device_ops *ops, const struct thermal_zone_params *tzp) argument [all...] |
H A D | thermal_sysfs.c | 267 if (tz->tzp) 268 return sprintf(buf, "%u\n", tz->tzp->sustainable_power); 280 if (!tz->tzp) 286 tz->tzp->sustainable_power = sustainable_power; 298 if (tz->tzp) \ 299 return sprintf(buf, "%d\n", tz->tzp->name); \ 311 if (!tz->tzp) \ 317 tz->tzp->name = value; \ 334 * All the attributes created for tzp (create_s32_tzp_attr) also are always
|
/linux-master/include/linux/ |
H A D | thermal.h | 158 * @tzp: thermal zone parameters 193 struct thermal_zone_params *tzp; member in struct:thermal_zone_device 328 const struct thermal_zone_params *tzp, 335 const struct thermal_zone_params *tzp); 387 const struct thermal_zone_params *tzp, 395 const struct thermal_zone_params *tzp) 382 thermal_zone_device_register_with_trips( const char *type, const struct thermal_trip *trips, int num_trips, void *devdata, const struct thermal_zone_device_ops *ops, const struct thermal_zone_params *tzp, int passive_delay, int polling_delay) argument 391 thermal_tripless_zone_device_register( const char *type, void *devdata, struct thermal_zone_device_ops *ops, const struct thermal_zone_params *tzp) argument
|
/linux-master/drivers/acpi/ |
H A D | thermal.c | 74 static int tzp; variable 75 module_param(tzp, int, 0444); 76 MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds."); 862 if (tzp) 863 tz->polling_frequency = tzp; 1033 if (tzp == 0) { 1036 tzp = 300; /* 300 dS = 30 Seconds */
|
/linux-master/drivers/power/supply/ |
H A D | power_supply_core.c | 1313 struct thermal_zone_params tzp = { local 1317 psy, &psy_tzd_ops, &tzp);
|
Completed in 156 milliseconds