Lines Matching refs:ctl3
1958 u8 ctl3, ctl4; in pwm_auto_spinup_min_show() local
1960 ctl3 = data->block9[nr][LM93_PWM_CTL3]; in pwm_auto_spinup_min_show()
1963 LM93_PWM_FROM_REG(ctl3 & 0x0f, (ctl4 & 0x07) ? in pwm_auto_spinup_min_show()
1974 u8 ctl3, ctl4; in pwm_auto_spinup_min_store() local
1983 ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3)); in pwm_auto_spinup_min_store()
1985 ctl3 = (ctl3 & 0xf0) | LM93_PWM_TO_REG(val, (ctl4 & 0x07) ? in pwm_auto_spinup_min_store()
1988 data->block9[nr][LM93_PWM_CTL3] = ctl3; in pwm_auto_spinup_min_store()
1989 lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3), ctl3); in pwm_auto_spinup_min_store()
2014 u8 ctl3; in pwm_auto_spinup_time_store() local
2023 ctl3 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3)); in pwm_auto_spinup_time_store()
2024 ctl3 = (ctl3 & 0x1f) | (LM93_SPINUP_TIME_TO_REG(val) << 5 & 0xe0); in pwm_auto_spinup_time_store()
2025 data->block9[nr][LM93_PWM_CTL3] = ctl3; in pwm_auto_spinup_time_store()
2026 lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL3), ctl3); in pwm_auto_spinup_time_store()