Lines Matching refs:pwmnr
142 #define F71805F_REG_PWM_AUTO_POINT_TEMP(pwmnr, apnr) \ argument
143 (0xA0 + 0x10 * (pwmnr) + (2 - (apnr)))
144 #define F71805F_REG_PWM_AUTO_POINT_FAN(pwmnr, apnr) \ argument
145 (0xA4 + 0x10 * (pwmnr) + \
798 int pwmnr = attr->nr; in show_pwm_auto_point_temp() local
802 temp_from_reg(data->auto_points[pwmnr].temp[apnr])); in show_pwm_auto_point_temp()
811 int pwmnr = attr->nr; in set_pwm_auto_point_temp() local
821 data->auto_points[pwmnr].temp[apnr] = temp_to_reg(val); in set_pwm_auto_point_temp()
822 f71805f_write8(data, F71805F_REG_PWM_AUTO_POINT_TEMP(pwmnr, apnr), in set_pwm_auto_point_temp()
823 data->auto_points[pwmnr].temp[apnr]); in set_pwm_auto_point_temp()
835 int pwmnr = attr->nr; in show_pwm_auto_point_fan() local
839 fan_from_reg(data->auto_points[pwmnr].fan[apnr])); in show_pwm_auto_point_fan()
848 int pwmnr = attr->nr; in set_pwm_auto_point_fan() local
858 data->auto_points[pwmnr].fan[apnr] = fan_to_reg(val); in set_pwm_auto_point_fan()
859 f71805f_write16(data, F71805F_REG_PWM_AUTO_POINT_FAN(pwmnr, apnr), in set_pwm_auto_point_fan()
860 data->auto_points[pwmnr].fan[apnr]); in set_pwm_auto_point_fan()