Lines Matching refs:trts
74 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()
123 *trtp = trts; in acpi_parse_trt()
408 struct trt *trts = NULL; in fill_trt() local
411 ret = acpi_parse_trt(acpi_thermal_rel_handle, &count, &trts, false); in fill_trt()
423 get_single_name(trts[i].source, trt_user[i].source_device); in fill_trt()
424 get_single_name(trts[i].target, trt_user[i].target_device); in fill_trt()
425 trt_user[i].sample_period = trts[i].sample_period; in fill_trt()
426 trt_user[i].influence = trts[i].influence; in fill_trt()
433 kfree(trts); in fill_trt()
495 struct trt *trts = NULL; in acpi_thermal_rel_ioctl() local
502 &trts, false); in acpi_thermal_rel_ioctl()
503 kfree(trts); in acpi_thermal_rel_ioctl()
509 &trts, false); in acpi_thermal_rel_ioctl()
510 kfree(trts); in acpi_thermal_rel_ioctl()