Searched refs:auto_pwm (Results 1 – 3 of 3) sorted by relevance
562 u8 auto_pwm[NUM_AUTO_PWM][4]; /* [nr][3] is hard-coded */ member708 data->auto_pwm[nr][i] = it87_read_value(data, in it87_update_pwm_ctrl()730 data->auto_pwm[nr][0] = in it87_update_pwm_ctrl()732 data->auto_pwm[nr][1] = in it87_update_pwm_ctrl()1277 if (data->auto_pwm[nr][i] > data->auto_pwm[nr][i + 1]) in check_trip_points()1517 pwm_from_reg(data, data->auto_pwm[nr][point])); in show_auto_pwm()1535 data->auto_pwm[nr][point] = pwm_to_reg(data, val); in set_auto_pwm()1540 it87_write_value(data, regaddr, data->auto_pwm[nr][point]); in set_auto_pwm()1552 return sprintf(buf, "%d\n", data->auto_pwm[nr][1] & 0x7f); in show_auto_pwm_slope()1568 data->auto_pwm[nr][1] = (data->auto_pwm[nr][1] & 0x80) | val; in set_auto_pwm_slope()[all …]
1430 data->auto_pwm[i][j] = reg; in nct6775_update_pwm_limits()1449 data->auto_pwm[i][data->auto_pwm_num] = in nct6775_update_pwm_limits()1453 data->auto_pwm[i][data->auto_pwm_num] = 0xff; in nct6775_update_pwm_limits()1475 data->auto_pwm[i][data->auto_pwm_num] = reg; in nct6775_update_pwm_limits()2495 if (data->auto_pwm[nr][i] > data->auto_pwm[nr][i + 1]) in check_trip_points()2499 if (data->auto_pwm[nr][data->auto_pwm_num]) { in check_trip_points()2502 data->auto_pwm[nr][data->auto_pwm_num - 1] > in check_trip_points()2503 data->auto_pwm[nr][data->auto_pwm_num]) in check_trip_points()3054 return sprintf(buf, "%d\n", data->auto_pwm[sattr->nr][sattr->index]); in show_auto_pwm()3083 data->auto_pwm[nr][point] = val; in store_auto_pwm()[all …]
152 u8 auto_pwm[NUM_FAN][7]; member