Lines Matching refs:ctrl
216 uint32_t ctrl; in mvtemp_380_init() local
218 ctrl = mvtemp_read(sc, REG_CTRL1); in mvtemp_380_init()
219 ctrl |= TEMP_CTRL1_TSEN_HW_RESETN; in mvtemp_380_init()
220 ctrl &= ~TEMP_CTRL1_TSEN_SW_RESET; in mvtemp_380_init()
221 mvtemp_write(sc, REG_CTRL1, ctrl); in mvtemp_380_init()
223 ctrl = mvtemp_read(sc, REG_CTRL0); in mvtemp_380_init()
224 ctrl &= ~TEMP_CTRL0_TSEN_TC_TRIM_MASK; in mvtemp_380_init()
225 ctrl |= TEMP_CTRL0_TSEN_TC_TRIM_VAL; in mvtemp_380_init()
226 mvtemp_write(sc, REG_CTRL0, ctrl); in mvtemp_380_init()
234 uint32_t ctrl; in mvtemp_ap806_init() local
236 ctrl = mvtemp_read(sc, REG_CTRL0); in mvtemp_ap806_init()
237 ctrl &= ~TEMP_CTRL0_TSEN_RESET; in mvtemp_ap806_init()
238 ctrl |= TEMP_CTRL0_TSEN_START | TEMP_CTRL0_TSEN_ENABLE; in mvtemp_ap806_init()
239 ctrl |= TEMP_CTRL0_TSEN_OSR_MAX; in mvtemp_ap806_init()
240 ctrl &= ~TEMP_CTRL0_TSEN_AVG_BYPASS; in mvtemp_ap806_init()
241 mvtemp_write(sc, REG_CTRL0, ctrl); in mvtemp_ap806_init()
256 uint32_t ctrl; in mvtemp_cp110_init() local
260 ctrl = mvtemp_read(sc, REG_CTRL0); in mvtemp_cp110_init()
261 ctrl |= TEMP_CTRL0_TSEN_OSR_MAX; in mvtemp_cp110_init()
262 mvtemp_write(sc, REG_CTRL0, ctrl); in mvtemp_cp110_init()
264 ctrl = mvtemp_read(sc, REG_CTRL1); in mvtemp_cp110_init()
265 ctrl |= TMEP_CTRL1_TSEN_START; in mvtemp_cp110_init()
266 ctrl &= ~TEMP_CTRL1_TSEN_AVG_MASK; in mvtemp_cp110_init()
267 mvtemp_write(sc, REG_CTRL1, ctrl); in mvtemp_cp110_init()