Home
last modified time | relevance | path

Searched refs:thermal_dev (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/thermal/st/
Dst_thermal.c241 sensor->thermal_dev = in st_thermal_register()
244 if (IS_ERR(sensor->thermal_dev)) { in st_thermal_register()
246 ret = PTR_ERR(sensor->thermal_dev); in st_thermal_register()
249 ret = thermal_zone_device_enable(sensor->thermal_dev); in st_thermal_register()
258 thermal_zone_device_unregister(sensor->thermal_dev); in st_thermal_register()
271 thermal_zone_device_unregister(sensor->thermal_dev); in st_thermal_unregister()
Dst_thermal.h80 struct thermal_zone_device *thermal_dev; member
Dst_thermal_memmap.c41 thermal_zone_device_update(sensor->thermal_dev, in st_mmap_thermal_trip_handler()
/linux-5.19.10/drivers/mmc/host/
Dsdhci-omap.c322 struct thermal_zone_device *thermal_dev; in sdhci_omap_execute_tuning() local
344 thermal_dev = thermal_zone_get_zone_by_name("cpu_thermal"); in sdhci_omap_execute_tuning()
345 if (IS_ERR(thermal_dev)) { in sdhci_omap_execute_tuning()
347 return PTR_ERR(thermal_dev); in sdhci_omap_execute_tuning()
350 ret = thermal_zone_get_temp(thermal_dev, &temperature); in sdhci_omap_execute_tuning()