Searched refs:TEMPSENSE0 (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/drivers/thermal/ |
D | imx_thermal.c | 40 #define TEMPSENSE0 0x0180 macro 131 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_ALARM_VALUE_MASK); in imx_set_alarm_temp() 132 regmap_write(map, TEMPSENSE0 + REG_SET, alarm_value << in imx_set_alarm_temp() 146 regmap_read(map, TEMPSENSE0, &val); in imx_get_temp() 154 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_POWER_DOWN); in imx_get_temp() 155 regmap_write(map, TEMPSENSE0 + REG_SET, TEMPSENSE0_MEASURE_TEMP); in imx_get_temp() 167 regmap_read(map, TEMPSENSE0, &val); in imx_get_temp() 170 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_MEASURE_TEMP); in imx_get_temp() 171 regmap_write(map, TEMPSENSE0 + REG_SET, TEMPSENSE0_POWER_DOWN); in imx_get_temp() 231 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_POWER_DOWN); in imx_set_mode() [all …]
|