Home
last modified time | relevance | path

Searched refs:PWM_FROM_REG (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/hwmon/
Dsmsc47m1.c112 #define PWM_FROM_REG(reg) (((reg) & 0x7E) << 1) macro
248 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[attr->index])); in pwm_show()
Dlm85.c153 #define PWM_FROM_REG(val) (val) macro
688 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr])); in pwm_show()
1057 return sprintf(buf, "%d\n", PWM_FROM_REG(data->autofan[nr].min_pwm)); in pwm_auto_pwm_min_show()
Dadm1031.c222 #define PWM_FROM_REG(val) ((val) << 4) macro
471 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr])); in pwm_show()
Dpc87360.c135 #define PWM_FROM_REG(val, inv) ((inv) ? 255 - (val) : (val)) macro
1242 PWM_FROM_REG(data->pwm[attr->index], in pwm_show()
Dadm1026.c214 #define PWM_FROM_REG(val) (val) macro
1267 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm1.pwm)); in pwm1_show()