Home
last modified time | relevance | path

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

/linux/drivers/thermal/
A Dgov_power_allocator.c178 k_i = tz->tzp->k_pu / 10; in estimate_pid_constants()
179 tz->tzp->k_i = k_i > 0 ? k_i : 1; in estimate_pid_constants()
204 if (!tz->tzp->sustainable_power) in get_sustainable_power()
257 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller()
268 s64 i_next = i + mul_frac(tz->tzp->k_i, err); in pid_controller()
699 if (!tz->tzp) { in power_allocator_bind()
700 tz->tzp = kzalloc(sizeof(*tz->tzp), GFP_KERNEL); in power_allocator_bind()
701 if (!tz->tzp) { in power_allocator_bind()
709 if (!tz->tzp->sustainable_power) in power_allocator_bind()
739 kfree(tz->tzp); in power_allocator_unbind()
[all …]
A Dthermal_of.c217 struct thermal_zone_params *tzp) in thermal_of_parameters_init() argument
223 tzp->no_hwmon = true; in thermal_of_parameters_init()
226 tzp->sustainable_power = prop; in thermal_of_parameters_init()
239 tzp->slope = coef[0]; in thermal_of_parameters_init()
240 tzp->offset = coef[1]; in thermal_of_parameters_init()
384 struct thermal_zone_params tzp = {}; in thermal_of_zone_register() local
414 thermal_of_parameters_init(np, &tzp); in thermal_of_zone_register()
424 data, &of_ops, &tzp, in thermal_of_zone_register()
A Dthermal_helpers.c221 if (tz && tz->tzp) in thermal_zone_get_slope()
222 return tz->tzp->slope; in thermal_zone_get_slope()
236 if (tz && tz->tzp) in thermal_zone_get_offset()
237 return tz->tzp->offset; in thermal_zone_get_offset()
A Dthermal_core.c151 name = pos->tzp->governor_name; in thermal_register_governor()
1364 const struct thermal_zone_params *tzp, in thermal_zone_device_register_with_trips() argument
1410 if (tzp) { in thermal_zone_device_register_with_trips()
1411 tz->tzp = kmemdup(tzp, sizeof(*tzp), GFP_KERNEL); in thermal_zone_device_register_with_trips()
1412 if (!tz->tzp) { in thermal_zone_device_register_with_trips()
1475 if (tz->tzp) in thermal_zone_device_register_with_trips()
1488 if (!tz->tzp || !tz->tzp->no_hwmon) { in thermal_zone_device_register_with_trips()
1524 kfree(tz->tzp); in thermal_zone_device_register_with_trips()
1535 const struct thermal_zone_params *tzp) in thermal_tripless_zone_device_register() argument
1538 ops, tzp, 0, 0); in thermal_tripless_zone_device_register()
[all …]
A Dthermal_sysfs.c268 if (tz->tzp) in sustainable_power_show()
269 return sprintf(buf, "%u\n", tz->tzp->sustainable_power); in sustainable_power_show()
281 if (!tz->tzp) in sustainable_power_store()
287 tz->tzp->sustainable_power = sustainable_power; in sustainable_power_store()
299 if (tz->tzp) \
300 return sprintf(buf, "%d\n", tz->tzp->name); \
312 if (!tz->tzp) \
318 tz->tzp->name = value; \
A Dthermal_core.h128 struct thermal_zone_params *tzp; member
/linux/include/linux/
A Dthermal.h229 const struct thermal_zone_params *tzp,
237 const struct thermal_zone_params *tzp);
278 const struct thermal_zone_params *tzp, in thermal_zone_device_register_with_trips() argument
286 const struct thermal_zone_params *tzp) in thermal_tripless_zone_device_register() argument
/linux/drivers/acpi/
A Dthermal.c74 static int tzp; variable
75 module_param(tzp, int, 0444);
76 MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds.");
822 if (tzp) in acpi_thermal_add()
823 tz->polling_frequency = tzp; in acpi_thermal_add()
993 if (tzp == 0) { in thermal_tzp()
996 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_tzp()
/linux/Documentation/driver-api/thermal/
A Dsysfs-api.rst44 const struct thermal_zone_params *tzp,
85 tzp:
/linux/drivers/power/supply/
A Dpower_supply_core.c1308 struct thermal_zone_params tzp = { in psy_register_thermal() local
1312 psy, &psy_tzd_ops, &tzp); in psy_register_thermal()
/linux/Documentation/admin-guide/
A Dkernel-parameters.txt6685 thermal.tzp= [HW,ACPI]

Completed in 31 milliseconds