Lines Matching refs:fan_main_ctrl
611 u8 fan_main_ctrl; /* Register value */ member
957 data->fan_main_ctrl = it87_read_value(data, in it87_update_device()
1297 !(data->fan_main_ctrl & BIT(nr))) in pwm_mode()
1544 data->fan_main_ctrl &= ~BIT(nr); in set_pwm_enable()
1546 data->fan_main_ctrl); in set_pwm_enable()
1580 data->fan_main_ctrl |= BIT(nr); in set_pwm_enable()
1582 data->fan_main_ctrl); in set_pwm_enable()
3233 u8 mask, fan_main_ctrl; in it87_check_tachometers_reset() local
3236 fan_main_ctrl = it87_read_value(data, IT87_REG_FAN_MAIN_CTRL); in it87_check_tachometers_reset()
3237 if ((fan_main_ctrl & mask) == 0) { in it87_check_tachometers_reset()
3239 fan_main_ctrl |= mask; in it87_check_tachometers_reset()
3241 fan_main_ctrl); in it87_check_tachometers_reset()
3309 data->fan_main_ctrl = it87_read_value(data, IT87_REG_FAN_MAIN_CTRL); in it87_init_device()
3310 data->has_fan = (data->fan_main_ctrl >> 4) & 0x07; in it87_init_device()