Home
last modified time | relevance | path

Searched refs:trts (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dacpi_thermal_rel.c73 struct trt *trts; in acpi_parse_trt() local
92 trts = kcalloc(*trt_count, sizeof(struct trt), GFP_KERNEL); in acpi_parse_trt()
93 if (!trts) { in acpi_parse_trt()
99 struct trt *trt = &trts[i - nr_bad_entries]; in acpi_parse_trt()
125 *trtp = trts; in acpi_parse_trt()
270 struct trt *trts = NULL; in fill_trt() local
273 ret = acpi_parse_trt(acpi_thermal_rel_handle, &count, &trts, false); in fill_trt()
285 get_single_name(trts[i].source, trt_user[i].source_device); in fill_trt()
286 get_single_name(trts[i].target, trt_user[i].target_device); in fill_trt()
287 trt_user[i].sample_period = trts[i].sample_period; in fill_trt()
[all …]
Dint3400_thermal.c51 struct trt *trts; member
306 &priv->trts, true); in int3400_thermal_probe()
345 kfree(priv->trts); in int3400_thermal_probe()
365 kfree(priv->trts); in int3400_thermal_remove()
Dacpi_thermal_rel.h81 int acpi_parse_trt(acpi_handle handle, int *trt_count, struct trt **trts,