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

/linux-4.4.14/drivers/thermal/int340x_thermal/
H A Dacpi_thermal_rel.c77 struct trt *trts; acpi_parse_trt() local
99 trts = kzalloc(*trt_count * sizeof(struct trt), GFP_KERNEL); acpi_parse_trt()
100 if (!trts) { acpi_parse_trt()
106 struct trt *trt = &trts[i - nr_bad_entries]; acpi_parse_trt()
132 *trtp = trts; acpi_parse_trt()
280 struct trt *trts = NULL; fill_trt() local
283 ret = acpi_parse_trt(acpi_thermal_rel_handle, &count, &trts, false); fill_trt()
295 get_single_name(trts[i].source, trt_user[i].source_device); fill_trt()
296 get_single_name(trts[i].target, trt_user[i].target_device); fill_trt()
297 trt_user[i].sample_period = trts[i].sample_period; fill_trt()
298 trt_user[i].influence = trts[i].influence; fill_trt()
305 kfree(trts); fill_trt()
316 struct trt *trts = NULL; acpi_thermal_rel_ioctl() local
322 &trts, false); acpi_thermal_rel_ioctl()
323 kfree(trts); acpi_thermal_rel_ioctl()
329 &trts, false); acpi_thermal_rel_ioctl()
330 kfree(trts); acpi_thermal_rel_ioctl()
H A Dacpi_thermal_rel.h80 int acpi_parse_trt(acpi_handle handle, int *trt_count, struct trt **trts,
H A Dint3400_thermal.c39 struct trt *trts; member in struct:int3400_thermal_priv
268 &priv->trts, true); int3400_thermal_probe()
298 kfree(priv->trts); int3400_thermal_probe()
314 kfree(priv->trts); int3400_thermal_remove()

Completed in 228 milliseconds