Searched refs:thermal_dev (Results 1 – 4 of 4) sorted by relevance
241 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()
80 struct thermal_zone_device *thermal_dev; member
41 thermal_zone_device_update(sensor->thermal_dev, in st_mmap_thermal_trip_handler()
322 struct thermal_zone_device *thermal_dev; in sdhci_omap_execute_tuning() local344 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()