Lines Matching defs: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)
180 trim = FIELD_PREP(PVT_CTRL_TRIM_MASK, trim);
184 trim | old);
244 * Lock the interface mutex to serialize trim, timeouts and alarm
648 u32 trim;
652 * Serialize trim update, since a part of the register is changed and
659 trim = pvt_calc_trim(val);
660 pvt_set_trim(pvt, trim);
1008 u32 trim, temp;
1026 /* Setup default sensor mode, timeout and temperature trim. */
1053 trim = PVT_TRIM_DEF;
1056 trim = pvt_calc_trim(temp);
1058 pvt_set_trim(pvt, trim);