Searched refs:TEMPSENSE0 (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/thermal/ |
D | imx_thermal.c | 40 #define TEMPSENSE0 0x0180 macro 128 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_ALARM_VALUE_MASK); in imx_set_alarm_temp() 129 regmap_write(map, TEMPSENSE0 + REG_SET, alarm_value << in imx_set_alarm_temp() 143 regmap_read(map, TEMPSENSE0, &val); in imx_get_temp() 151 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_POWER_DOWN); in imx_get_temp() 152 regmap_write(map, TEMPSENSE0 + REG_SET, TEMPSENSE0_MEASURE_TEMP); in imx_get_temp() 164 regmap_read(map, TEMPSENSE0, &val); in imx_get_temp() 167 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_MEASURE_TEMP); in imx_get_temp() 168 regmap_write(map, TEMPSENSE0 + REG_SET, TEMPSENSE0_POWER_DOWN); in imx_get_temp() 228 regmap_write(map, TEMPSENSE0 + REG_CLR, TEMPSENSE0_POWER_DOWN); in imx_set_mode() [all …]
|