Lines Matching full:trim
154 * getting back enabled. The same concerns the temperature trim and
176 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim) in pvt_set_trim() argument
180 trim = FIELD_PREP(PVT_CTRL_TRIM_MASK, trim); in pvt_set_trim()
184 trim | old); in pvt_set_trim()
244 * Lock the interface mutex to serialize trim, timeouts and alarm in pvt_soft_isr()
648 u32 trim; in pvt_write_trim() local
652 * Serialize trim update, since a part of the register is changed and in pvt_write_trim()
659 trim = pvt_calc_trim(val); in pvt_write_trim()
660 pvt_set_trim(pvt, trim); in pvt_write_trim()
1008 u32 trim, temp; in pvt_init_iface() local
1026 /* Setup default sensor mode, timeout and temperature trim. */ in pvt_init_iface()
1053 trim = PVT_TRIM_DEF; in pvt_init_iface()
1056 trim = pvt_calc_trim(temp); in pvt_init_iface()
1058 pvt_set_trim(pvt, trim); in pvt_init_iface()