Home
last modified time | relevance | path

Searched refs:pwmcfg (Results 1 – 3 of 3) sorted by relevance

/drivers/pwm/
Dpwm-atmel-hlcdc.c55 u32 pwmcfg; in atmel_hlcdc_pwm_apply() local
92 pwmcfg = ATMEL_HLCDC_PWMPS(pres); in atmel_hlcdc_pwm_apply()
127 pwmcfg |= ATMEL_HLCDC_PWMCVAL(pwmcval); in atmel_hlcdc_pwm_apply()
130 pwmcfg |= ATMEL_HLCDC_PWMPOL; in atmel_hlcdc_pwm_apply()
136 pwmcfg); in atmel_hlcdc_pwm_apply()
/drivers/hwmon/
Dw83l786ng.c154 u8 reg_tmp, pwmcfg; in w83l786ng_update_device() local
184 pwmcfg = w83l786ng_read_value(client, W83L786NG_REG_FAN_CFG); in w83l786ng_update_device()
187 ((pwmcfg >> W83L786NG_PWM_MODE_SHIFT[i]) & 1) in w83l786ng_update_device()
190 ((pwmcfg >> W83L786NG_PWM_ENABLE_SHIFT[i]) & 3) + 1; in w83l786ng_update_device()
Dw83627ehf.c540 int pwmcfg = 0, tolerance = 0; /* shut up the compiler */ in w83627ehf_update_pwm() local
548 pwmcfg = w83627ehf_read_value(data, in w83627ehf_update_pwm()
554 ((pwmcfg >> W83627EHF_PWM_MODE_SHIFT[i]) & 1) ? 0 : 1; in w83627ehf_update_pwm()
555 data->pwm_enable[i] = ((pwmcfg >> W83627EHF_PWM_ENABLE_SHIFT[i]) in w83627ehf_update_pwm()