Lines Matching defs:mode
128 * Baikal-T1 PVT mode can be updated only when the controller is disabled.
129 * So first we disable it, then set the new mode together with the controller
134 static inline void pvt_set_mode(struct pvt_hwmon *pvt, u32 mode)
138 mode = FIELD_PREP(PVT_CTRL_MODE_MASK, mode);
142 mode | old);
219 * Then lets recharge the PVT interface with the next sampling mode.
230 * mode, otherwise sometimes the temperature mode doesn't get
231 * activated even though the actual mode in the ctrl register
233 * recharge the data conversion. After this the mode corresponding
244 pvt_set_mode(pvt, pvt_info[pvt->sensor].mode);
262 * While PVT core is doing the next mode data conversion, we'll check
463 * mode, enable IRQ and conversion, wait until conversion is finished,
471 pvt_set_mode(pvt, pvt_info[type].mode);
993 /* Setup default sensor mode, timeout and temperature trim. */
994 pvt_set_mode(pvt, pvt_info[pvt->sensor].mode);