Lines Matching refs:point

105 #define F71882FG_REG_POINT_PWM(pwm, point)	(0xAA + (point) + (16 * (pwm)))  argument
106 #define F71882FG_REG_POINT_TEMP(pwm, point) (0xA6 + (point) + (16 * (pwm))) argument
1213 int nr, reg, point; in f71882fg_update_device() local
1283 for (point = 0; point < 5; point++) { in f71882fg_update_device()
1284 data->pwm_auto_point_pwm[nr][point] = in f71882fg_update_device()
1287 (nr, point)); in f71882fg_update_device()
1289 for (point = 0; point < 4; point++) { in f71882fg_update_device()
1290 data->pwm_auto_point_temp[nr][point] = in f71882fg_update_device()
1293 (nr, point)); in f71882fg_update_device()
1981 int point = to_sensor_dev_attr_2(devattr)->nr; in show_pwm_auto_point_pwm() local
1986 result = data->pwm_auto_point_pwm[pwm][point]; in show_pwm_auto_point_pwm()
1989 result = 32 * 255 / (32 + data->pwm_auto_point_pwm[pwm][point]); in show_pwm_auto_point_pwm()
2002 int point = to_sensor_dev_attr_2(devattr)->nr; in store_pwm_auto_point_pwm() local
2022 f71882fg_write8(data, F71882FG_REG_POINT_PWM(pwm, point), val); in store_pwm_auto_point_pwm()
2023 data->pwm_auto_point_pwm[pwm][point] = val; in store_pwm_auto_point_pwm()
2036 int point = to_sensor_dev_attr_2(devattr)->nr; in show_pwm_auto_point_temp_hyst() local
2043 result = 1000 * (data->pwm_auto_point_temp[nr][point] - result); in show_pwm_auto_point_temp_hyst()
2055 int point = to_sensor_dev_attr_2(devattr)->nr; in store_pwm_auto_point_temp_hyst() local
2066 data->pwm_auto_point_temp[nr][point] = in store_pwm_auto_point_temp_hyst()
2067 f71882fg_read8(data, F71882FG_REG_POINT_TEMP(nr, point)); in store_pwm_auto_point_temp_hyst()
2068 val = clamp_val(val, data->pwm_auto_point_temp[nr][point] - 15, in store_pwm_auto_point_temp_hyst()
2069 data->pwm_auto_point_temp[nr][point]); in store_pwm_auto_point_temp_hyst()
2070 val = data->pwm_auto_point_temp[nr][point] - val; in store_pwm_auto_point_temp_hyst()
2181 int point = to_sensor_dev_attr_2(devattr)->nr; in show_pwm_auto_point_temp() local
2183 result = data->pwm_auto_point_temp[pwm][point]; in show_pwm_auto_point_temp()
2193 int point = to_sensor_dev_attr_2(devattr)->nr; in store_pwm_auto_point_temp() local
2208 f71882fg_write8(data, F71882FG_REG_POINT_TEMP(pwm, point), val); in store_pwm_auto_point_temp()
2209 data->pwm_auto_point_temp[pwm][point] = val; in store_pwm_auto_point_temp()