Home
last modified time | relevance | path

Searched refs:pwmnr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Df71805f.c133 /* pwm/fan pwmnr from 0 to 2, auto point apnr from 0 to 2 */
135 #define F71805F_REG_PWM_AUTO_POINT_TEMP(pwmnr, apnr) \
136 (0xA0 + 0x10 * (pwmnr) + (2 - (apnr)))
137 #define F71805F_REG_PWM_AUTO_POINT_FAN(pwmnr, apnr) \
138 (0xA4 + 0x10 * (pwmnr) + \
791 int pwmnr = attr->nr; in show_pwm_auto_point_temp() local
795 temp_from_reg(data->auto_points[pwmnr].temp[apnr])); in show_pwm_auto_point_temp()
804 int pwmnr = attr->nr; in set_pwm_auto_point_temp() local
814 data->auto_points[pwmnr].temp[apnr] = temp_to_reg(val); in set_pwm_auto_point_temp()
815 f71805f_write8(data, F71805F_REG_PWM_AUTO_POINT_TEMP(pwmnr, apn in set_pwm_auto_point_temp()
828 int pwmnr = attr->nr; show_pwm_auto_point_fan() local
841 int pwmnr = attr->nr; set_pwm_auto_point_fan() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Df71805f.c133 /* pwm/fan pwmnr from 0 to 2, auto point apnr from 0 to 2 */
135 #define F71805F_REG_PWM_AUTO_POINT_TEMP(pwmnr, apnr) \
136 (0xA0 + 0x10 * (pwmnr) + (2 - (apnr)))
137 #define F71805F_REG_PWM_AUTO_POINT_FAN(pwmnr, apnr) \
138 (0xA4 + 0x10 * (pwmnr) + \
791 int pwmnr = attr->nr; in show_pwm_auto_point_temp() local
795 temp_from_reg(data->auto_points[pwmnr].temp[apnr])); in show_pwm_auto_point_temp()
804 int pwmnr = attr->nr; in set_pwm_auto_point_temp() local
814 data->auto_points[pwmnr].temp[apnr] = temp_to_reg(val); in set_pwm_auto_point_temp()
815 f71805f_write8(data, F71805F_REG_PWM_AUTO_POINT_TEMP(pwmnr, apn in set_pwm_auto_point_temp()
828 int pwmnr = attr->nr; show_pwm_auto_point_fan() local
841 int pwmnr = attr->nr; set_pwm_auto_point_fan() local
[all...]

Completed in 6 milliseconds