Lines Matching full:trim
130 * getting back enabled. The same concerns the temperature trim and
152 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim) in pvt_set_trim() argument
156 trim = FIELD_PREP(PVT_CTRL_TRIM_MASK, trim); in pvt_set_trim()
160 trim | old); in pvt_set_trim()
220 * Lock the interface mutex to serialize trim, timeouts and alarm in pvt_soft_isr()
624 u32 trim; in pvt_write_trim() local
628 * Serialize trim update, since a part of the register is changed and in pvt_write_trim()
635 trim = pvt_calc_trim(val); in pvt_write_trim()
636 pvt_set_trim(pvt, trim); in pvt_write_trim()
975 u32 trim, temp; in pvt_init_iface() local
993 /* Setup default sensor mode, timeout and temperature trim. */ in pvt_init_iface()
1020 trim = PVT_TRIM_DEF; in pvt_init_iface()
1023 trim = pvt_calc_trim(temp); in pvt_init_iface()
1025 pvt_set_trim(pvt, trim); in pvt_init_iface()