Searched refs:pwm_fcms (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/hwmon/
H A Dw83795.c377 u8 pwm_fcms[2]; /* Register value */ member in struct:w83795_data
550 data->pwm_fcms[0] = w83795_read(client, W83795_REG_FCMS1); w83795_update_pwm_config()
551 data->pwm_fcms[1] = w83795_read(client, W83795_REG_FCMS2); w83795_update_pwm_config()
909 if (data->pwm_fcms[0] & (1 << index)) { show_pwm_enable()
956 data->pwm_fcms[0] &= ~(1 << index); store_pwm_enable()
957 w83795_write(client, W83795_REG_FCMS1, data->pwm_fcms[0]); store_pwm_enable()
966 data->pwm_fcms[0] |= (1 << index); store_pwm_enable()
967 w83795_write(client, W83795_REG_FCMS1, data->pwm_fcms[0]); store_pwm_enable()
1085 tmp = (data->pwm_fcms[1] >> index) & 1; show_temp_pwm_enable()
1120 data->pwm_fcms[1] &= ~(1 << index); store_temp_pwm_enable()
1121 data->pwm_fcms[1] |= tmp << index; store_temp_pwm_enable()
1122 w83795_write(client, W83795_REG_FCMS2, data->pwm_fcms[1]); store_temp_pwm_enable()

Completed in 64 milliseconds