Searched refs:fan_cmd1 (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/hwmon/ |
H A D | g762.c | 153 u8 fan_cmd1; /* 0: FG_PLS_ID0 FG pulses count per revolution member in struct:g762_data 241 data->fan_cmd1 = ret; g762_update_client() 293 data->fan_cmd1 |= G762_REG_FAN_CMD1_OUT_MODE; do_set_pwm_mode() 296 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_OUT_MODE; do_set_pwm_mode() 303 data->fan_cmd1); do_set_pwm_mode() 323 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_CLK_DIV_ID0; do_set_fan_div() 324 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_CLK_DIV_ID1; do_set_fan_div() 327 data->fan_cmd1 |= G762_REG_FAN_CMD1_CLK_DIV_ID0; do_set_fan_div() 328 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_CLK_DIV_ID1; do_set_fan_div() 331 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_CLK_DIV_ID0; do_set_fan_div() 332 data->fan_cmd1 |= G762_REG_FAN_CMD1_CLK_DIV_ID1; do_set_fan_div() 335 data->fan_cmd1 |= G762_REG_FAN_CMD1_CLK_DIV_ID0; do_set_fan_div() 336 data->fan_cmd1 |= G762_REG_FAN_CMD1_CLK_DIV_ID1; do_set_fan_div() 343 data->fan_cmd1); do_set_fan_div() 399 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_PULSE_PER_REV; do_set_fan_pulses() 402 data->fan_cmd1 |= G762_REG_FAN_CMD1_PULSE_PER_REV; do_set_fan_pulses() 409 data->fan_cmd1); do_set_fan_pulses() 429 data->fan_cmd1 |= G762_REG_FAN_CMD1_FAN_MODE; do_set_pwm_enable() 432 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_FAN_MODE; do_set_pwm_enable() 450 data->fan_cmd1); do_set_pwm_enable() 470 data->fan_cmd1 &= ~G762_REG_FAN_CMD1_PWM_POLARITY; do_set_pwm_polarity() 473 data->fan_cmd1 |= G762_REG_FAN_CMD1_PWM_POLARITY; do_set_pwm_polarity() 480 data->fan_cmd1); do_set_pwm_polarity() 523 G762_PULSE_FROM_REG(data->fan_cmd1), do_set_fan_target() 524 G762_CLKDIV_FROM_REG(data->fan_cmd1), do_set_fan_target() 751 G762_PULSE_FROM_REG(data->fan_cmd1), get_fan_rpm() 752 G762_CLKDIV_FROM_REG(data->fan_cmd1), get_fan_rpm() 773 !!(data->fan_cmd1 & G762_REG_FAN_CMD1_OUT_MODE)); get_pwm_mode() 804 return sprintf(buf, "%d\n", G762_CLKDIV_FROM_REG(data->fan_cmd1)); get_fan_div() 836 return sprintf(buf, "%d\n", G762_PULSE_FROM_REG(data->fan_cmd1)); get_fan_pulses() 879 (!!(data->fan_cmd1 & G762_REG_FAN_CMD1_FAN_MODE)) + 1); get_pwm_enable() 953 G762_PULSE_FROM_REG(data->fan_cmd1), get_fan_target() 954 G762_CLKDIV_FROM_REG(data->fan_cmd1), get_fan_target() 1045 data->fan_cmd1 |= G762_REG_FAN_CMD1_DET_FAN_FAIL; g762_fan_init() 1046 data->fan_cmd1 |= G762_REG_FAN_CMD1_DET_FAN_OOC; g762_fan_init() 1050 data->fan_cmd1); g762_fan_init()
|
Completed in 35 milliseconds