Lines Matching refs:point
98 #define F71882FG_REG_POINT_PWM(pwm, point) (0xAA + (point) + (16 * (pwm))) argument
99 #define F71882FG_REG_POINT_TEMP(pwm, point) (0xA6 + (point) + (16 * (pwm))) argument
1165 int nr, reg, point; in f71882fg_update_device() local
1224 for (point = 0; point < 5; point++) { in f71882fg_update_device()
1225 data->pwm_auto_point_pwm[nr][point] = in f71882fg_update_device()
1228 (nr, point)); in f71882fg_update_device()
1230 for (point = 0; point < 4; point++) { in f71882fg_update_device()
1231 data->pwm_auto_point_temp[nr][point] = in f71882fg_update_device()
1234 (nr, point)); in f71882fg_update_device()
1905 int point = to_sensor_dev_attr_2(devattr)->nr; in show_pwm_auto_point_pwm() local
1910 result = data->pwm_auto_point_pwm[pwm][point]; in show_pwm_auto_point_pwm()
1913 result = 32 * 255 / (32 + data->pwm_auto_point_pwm[pwm][point]); in show_pwm_auto_point_pwm()
1926 int point = to_sensor_dev_attr_2(devattr)->nr; in store_pwm_auto_point_pwm() local
1946 f71882fg_write8(data, F71882FG_REG_POINT_PWM(pwm, point), val); in store_pwm_auto_point_pwm()
1947 data->pwm_auto_point_pwm[pwm][point] = val; in store_pwm_auto_point_pwm()
1960 int point = to_sensor_dev_attr_2(devattr)->nr; in show_pwm_auto_point_temp_hyst() local
1967 result = 1000 * (data->pwm_auto_point_temp[nr][point] - result); in show_pwm_auto_point_temp_hyst()
1979 int point = to_sensor_dev_attr_2(devattr)->nr; in store_pwm_auto_point_temp_hyst() local
1990 data->pwm_auto_point_temp[nr][point] = in store_pwm_auto_point_temp_hyst()
1991 f71882fg_read8(data, F71882FG_REG_POINT_TEMP(nr, point)); in store_pwm_auto_point_temp_hyst()
1992 val = clamp_val(val, data->pwm_auto_point_temp[nr][point] - 15, in store_pwm_auto_point_temp_hyst()
1993 data->pwm_auto_point_temp[nr][point]); in store_pwm_auto_point_temp_hyst()
1994 val = data->pwm_auto_point_temp[nr][point] - val; in store_pwm_auto_point_temp_hyst()
2105 int point = to_sensor_dev_attr_2(devattr)->nr; in show_pwm_auto_point_temp() local
2107 result = data->pwm_auto_point_temp[pwm][point]; in show_pwm_auto_point_temp()
2117 int point = to_sensor_dev_attr_2(devattr)->nr; in store_pwm_auto_point_temp() local
2132 f71882fg_write8(data, F71882FG_REG_POINT_TEMP(pwm, point), val); in store_pwm_auto_point_temp()
2133 data->pwm_auto_point_temp[pwm][point] = val; in store_pwm_auto_point_temp()