Home
last modified time | relevance | path

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

/drivers/hwmon/
Dsmsc47m1.c116 #define PWM_FROM_REG(reg) (((reg) & 0x7E) << 1) macro
215 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[attr->index])); in get_pwm()
Dlm85.c156 #define PWM_FROM_REG(val) (val) macro
486 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr])); in show_pwm()
782 return sprintf(buf, "%d\n", PWM_FROM_REG(data->autofan[nr].min_pwm)); in show_pwm_auto_pwm_min()
Dadm1031.c160 #define PWM_FROM_REG(val) ((val) << 4) macro
395 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[nr])); in show_pwm()
Dit87.c219 #define PWM_FROM_REG(val) (((val)&0x7f) << 1) macro
1445 data->manual_pwm_ctl[i] = PWM_FROM_REG(tmp); in it87_init_device()
Dadm1026.c223 #define PWM_FROM_REG(val) (val) macro
1377 return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm1.pwm)); in show_pwm_reg()
Dpc87360.c134 #define PWM_FROM_REG(val,inv) ((inv) ? 255 - (val) : (val)) macro
345 PWM_FROM_REG(data->pwm[attr->index], in show_pwm()