Searched refs:PWM_FROM_REG (Results 1 - 5 of 5) sorted by relevance
/drivers/hwmon/ |
H A D | smsc47m1.c | 120 #define PWM_FROM_REG(reg) (((reg) & 0x7E) << 1) macro 256 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[attr->index]));
|
H A D | lm85.c | 163 #define PWM_FROM_REG(val) (val) macro 705 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr])); 1063 return sprintf(buf, "%d\n", PWM_FROM_REG(data->autofan[nr].min_pwm));
|
H A D | adm1031.c | 235 #define PWM_FROM_REG(val) ((val) << 4) macro 489 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr]));
|
H A D | adm1026.c | 226 #define PWM_FROM_REG(val) (val) macro 1255 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm1.pwm));
|
H A D | pc87360.c | 136 #define PWM_FROM_REG(val, inv) ((inv) ? 255 - (val) : (val)) macro 363 PWM_FROM_REG(data->pwm[attr->index],
|
Completed in 95 milliseconds