Home
last modified time | relevance | path

Searched refs:tzp (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/thermal/
Dfair_share.c91 const struct thermal_zone_params *tzp; in fair_share_throttle() local
97 if (!tz->tzp || !tz->tzp->tbp) in fair_share_throttle()
100 tzp = tz->tzp; in fair_share_throttle()
102 for (i = 0; i < tzp->num_tbps; i++) { in fair_share_throttle()
103 if (!tzp->tbp[i].cdev) in fair_share_throttle()
106 cdev = tzp->tbp[i].cdev; in fair_share_throttle()
112 tzp->tbp[i].weight, cur_trip_level); in fair_share_throttle()
Dthermal_core.c111 name = pos->tzp->governor_name; in thermal_register_governor()
259 const struct thermal_zone_params *tzp; in bind_cdev() local
265 if (!pos->tzp && !pos->ops->bind) in bind_cdev()
275 tzp = pos->tzp; in bind_cdev()
276 if (!tzp || !tzp->tbp) in bind_cdev()
279 for (i = 0; i < tzp->num_tbps; i++) { in bind_cdev()
280 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_cdev()
282 if (tzp->tbp[i].match(pos, cdev)) in bind_cdev()
284 tzp->tbp[i].cdev = cdev; in bind_cdev()
285 __bind(pos, tzp->tbp[i].trip_mask, cdev, in bind_cdev()
[all …]
Dof-thermal.c867 struct thermal_zone_params *tzp; in of_parse_thermal_zones() local
885 tzp = kzalloc(sizeof(*tzp), GFP_KERNEL); in of_parse_thermal_zones()
886 if (!tzp) { in of_parse_thermal_zones()
892 tzp->no_hwmon = true; in of_parse_thermal_zones()
896 ops, tzp, in of_parse_thermal_zones()
902 kfree(tzp); in of_parse_thermal_zones()
952 kfree(zone->tzp); in of_thermal_destroy_zones()
/linux-4.1.27/include/linux/
Dthermal.h196 const struct thermal_zone_params *tzp; member
356 const struct thermal_zone_params *tzp, in thermal_zone_device_register() argument
/linux-4.1.27/drivers/acpi/
Dthermal.c78 static int tzp; variable
79 module_param(tzp, int, 0444);
80 MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds.");
1043 if (tzp) in acpi_thermal_get_info()
1044 tz->polling_frequency = tzp; in acpi_thermal_get_info()
1195 if (tzp == 0) { in thermal_tzp()
1198 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_tzp()
/linux-4.1.27/Documentation/thermal/
Dsysfs-api.txt37 const struct thermal_zone_params *tzp,
62 tzp: thermal zone platform parameters.
/linux-4.1.27/Documentation/
Dkernel-parameters.txt3588 thermal.tzp= [HW,ACPI]