tzp 60 drivers/acpi/thermal.c static int tzp; tzp 61 drivers/acpi/thermal.c module_param(tzp, int, 0444); tzp 62 drivers/acpi/thermal.c MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds."); tzp 1024 drivers/acpi/thermal.c if (tzp) tzp 1025 drivers/acpi/thermal.c tz->polling_frequency = tzp; tzp 1176 drivers/acpi/thermal.c if (tzp == 0) { tzp 1179 drivers/acpi/thermal.c tzp = 300; /* 300 dS = 30 Seconds */ tzp 272 drivers/thermal/broadcom/bcm2835_thermal.c tz->tzp->no_hwmon = false; tzp 1027 drivers/thermal/of-thermal.c struct thermal_zone_params *tzp; tzp 1043 drivers/thermal/of-thermal.c tzp = kzalloc(sizeof(*tzp), GFP_KERNEL); tzp 1044 drivers/thermal/of-thermal.c if (!tzp) { tzp 1050 drivers/thermal/of-thermal.c tzp->no_hwmon = true; tzp 1053 drivers/thermal/of-thermal.c tzp->sustainable_power = prop; tzp 1059 drivers/thermal/of-thermal.c tzp->slope = tz->slope; tzp 1060 drivers/thermal/of-thermal.c tzp->offset = tz->offset; tzp 1064 drivers/thermal/of-thermal.c ops, tzp, tzp 1070 drivers/thermal/of-thermal.c kfree(tzp); tzp 1116 drivers/thermal/of-thermal.c kfree(zone->tzp); tzp 158 drivers/thermal/power_allocator.c if (!tz->tzp->k_po || force) tzp 159 drivers/thermal/power_allocator.c tz->tzp->k_po = int_to_frac(sustainable_power) / tzp 162 drivers/thermal/power_allocator.c if (!tz->tzp->k_pu || force) tzp 163 drivers/thermal/power_allocator.c tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / tzp 166 drivers/thermal/power_allocator.c if (!tz->tzp->k_i || force) tzp 167 drivers/thermal/power_allocator.c tz->tzp->k_i = int_to_frac(10) / 1000; tzp 203 drivers/thermal/power_allocator.c if (tz->tzp->sustainable_power) { tzp 204 drivers/thermal/power_allocator.c sustainable_power = tz->tzp->sustainable_power; tzp 216 drivers/thermal/power_allocator.c p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); tzp 224 drivers/thermal/power_allocator.c i = mul_frac(tz->tzp->k_i, params->err_integral); tzp 226 drivers/thermal/power_allocator.c if (err < int_to_frac(tz->tzp->integral_cutoff)) { tzp 227 drivers/thermal/power_allocator.c s64 i_next = i + mul_frac(tz->tzp->k_i, err); tzp 242 drivers/thermal/power_allocator.c d = mul_frac(tz->tzp->k_d, err - params->prev_err); tzp 560 drivers/thermal/power_allocator.c if (!tz->tzp) { tzp 561 drivers/thermal/power_allocator.c tz->tzp = kzalloc(sizeof(*tz->tzp), GFP_KERNEL); tzp 562 drivers/thermal/power_allocator.c if (!tz->tzp) { tzp 570 drivers/thermal/power_allocator.c if (!tz->tzp->sustainable_power) tzp 580 drivers/thermal/power_allocator.c estimate_pid_constants(tz, tz->tzp->sustainable_power, tzp 604 drivers/thermal/power_allocator.c kfree(tz->tzp); tzp 605 drivers/thermal/power_allocator.c tz->tzp = NULL; tzp 441 drivers/thermal/rcar_gen3_thermal.c tsc->zone->tzp->no_hwmon = false; tzp 596 drivers/thermal/rcar_thermal.c priv->zone->tzp->no_hwmon = false; tzp 716 drivers/thermal/st/stm_thermal.c sensor->th_dev->tzp->no_hwmon = false; tzp 160 drivers/thermal/thermal_core.c name = pos->tzp->governor_name; tzp 897 drivers/thermal/thermal_core.c const struct thermal_zone_params *tzp; tzp 903 drivers/thermal/thermal_core.c if (!pos->tzp && !pos->ops->bind) tzp 913 drivers/thermal/thermal_core.c tzp = pos->tzp; tzp 914 drivers/thermal/thermal_core.c if (!tzp || !tzp->tbp) tzp 917 drivers/thermal/thermal_core.c for (i = 0; i < tzp->num_tbps; i++) { tzp 918 drivers/thermal/thermal_core.c if (tzp->tbp[i].cdev || !tzp->tbp[i].match) tzp 920 drivers/thermal/thermal_core.c if (tzp->tbp[i].match(pos, cdev)) tzp 922 drivers/thermal/thermal_core.c tzp->tbp[i].cdev = cdev; tzp 923 drivers/thermal/thermal_core.c __bind(pos, tzp->tbp[i].trip_mask, cdev, tzp 924 drivers/thermal/thermal_core.c tzp->tbp[i].binding_limits, tzp 925 drivers/thermal/thermal_core.c tzp->tbp[i].weight); tzp 1124 drivers/thermal/thermal_core.c const struct thermal_zone_params *tzp; tzp 1149 drivers/thermal/thermal_core.c if (!tz->tzp || !tz->tzp->tbp) tzp 1152 drivers/thermal/thermal_core.c tzp = tz->tzp; tzp 1153 drivers/thermal/thermal_core.c for (i = 0; i < tzp->num_tbps; i++) { tzp 1154 drivers/thermal/thermal_core.c if (tzp->tbp[i].cdev == cdev) { tzp 1155 drivers/thermal/thermal_core.c __unbind(tz, tzp->tbp[i].trip_mask, cdev); tzp 1156 drivers/thermal/thermal_core.c tzp->tbp[i].cdev = NULL; tzp 1174 drivers/thermal/thermal_core.c const struct thermal_zone_params *tzp = tz->tzp; tzp 1176 drivers/thermal/thermal_core.c if (!tzp && !tz->ops->bind) tzp 1191 drivers/thermal/thermal_core.c if (!tzp || !tzp->tbp) tzp 1195 drivers/thermal/thermal_core.c for (i = 0; i < tzp->num_tbps; i++) { tzp 1196 drivers/thermal/thermal_core.c if (tzp->tbp[i].cdev || !tzp->tbp[i].match) tzp 1198 drivers/thermal/thermal_core.c if (tzp->tbp[i].match(tz, pos)) tzp 1200 drivers/thermal/thermal_core.c tzp->tbp[i].cdev = pos; tzp 1201 drivers/thermal/thermal_core.c __bind(tz, tzp->tbp[i].trip_mask, pos, tzp 1202 drivers/thermal/thermal_core.c tzp->tbp[i].binding_limits, tzp 1203 drivers/thermal/thermal_core.c tzp->tbp[i].weight); tzp 1237 drivers/thermal/thermal_core.c struct thermal_zone_params *tzp, int passive_delay, tzp 1288 drivers/thermal/thermal_core.c tz->tzp = tzp; tzp 1322 drivers/thermal/thermal_core.c if (tz->tzp) tzp 1323 drivers/thermal/thermal_core.c governor = __find_governor(tz->tzp->governor_name); tzp 1335 drivers/thermal/thermal_core.c if (!tz->tzp || !tz->tzp->no_hwmon) { tzp 1377 drivers/thermal/thermal_core.c const struct thermal_zone_params *tzp; tzp 1384 drivers/thermal/thermal_core.c tzp = tz->tzp; tzp 1404 drivers/thermal/thermal_core.c if (!tzp || !tzp->tbp) tzp 1407 drivers/thermal/thermal_core.c for (i = 0; i < tzp->num_tbps; i++) { tzp 1408 drivers/thermal/thermal_core.c if (tzp->tbp[i].cdev == cdev) { tzp 1409 drivers/thermal/thermal_core.c __unbind(tz, tzp->tbp[i].trip_mask, cdev); tzp 1410 drivers/thermal/thermal_core.c tzp->tbp[i].cdev = NULL; tzp 207 drivers/thermal/thermal_helpers.c if (tz && tz->tzp) tzp 208 drivers/thermal/thermal_helpers.c return tz->tzp->slope; tzp 222 drivers/thermal/thermal_helpers.c if (tz && tz->tzp) tzp 223 drivers/thermal/thermal_helpers.c return tz->tzp->offset; tzp 327 drivers/thermal/thermal_sysfs.c if (tz->tzp) tzp 328 drivers/thermal/thermal_sysfs.c return sprintf(buf, "%u\n", tz->tzp->sustainable_power); tzp 340 drivers/thermal/thermal_sysfs.c if (!tz->tzp) tzp 346 drivers/thermal/thermal_sysfs.c tz->tzp->sustainable_power = sustainable_power; tzp 358 drivers/thermal/thermal_sysfs.c if (tz->tzp) \ tzp 359 drivers/thermal/thermal_sysfs.c return sprintf(buf, "%d\n", tz->tzp->name); \ tzp 371 drivers/thermal/thermal_sysfs.c if (!tz->tzp) \ tzp 377 drivers/thermal/thermal_sysfs.c tz->tzp->name = value; \ tzp 105 drivers/thermal/zx2967_thermal.c *temp = DIV_ROUND_CLOSEST(((s32)val + priv->tzd->tzp->offset) * 1000, tzp 106 drivers/thermal/zx2967_thermal.c priv->tzd->tzp->slope); tzp 170 drivers/thermal/zx2967_thermal.c if (priv->tzd->tzp->slope == 0) { tzp 213 include/linux/thermal.h struct thermal_zone_params *tzp; tzp 482 include/linux/thermal.h struct thermal_zone_params *tzp,