Searched refs:pwmcfg (Results 1 – 5 of 5) sorted by relevance
83 return s->pwmcfg & R_CONFIG_SCALE_MASK; in sifive_pwm_compute_scale()90 if (HAS_PWM_EN_BITS(s->pwmcfg)) { in sifive_pwm_set_alarms()155 s->pwmcfg |= R_CONFIG_CMP0IP_MASK << num; in sifive_pwm_interrupt()164 s->pwmcfg &= ~R_CONFIG_ENONESHOT_MASK; in sifive_pwm_interrupt()233 return s->pwmcfg; in sifive_pwm_read()237 if (HAS_PWM_EN_BITS(s->pwmcfg)) { in sifive_pwm_read()250 if (HAS_PWM_EN_BITS(s->pwmcfg)) { in sifive_pwm_read()331 s->pwmcfg = value; in sifive_pwm_write()337 if (HAS_PWM_EN_BITS(s->pwmcfg)) { in sifive_pwm_write()347 if (HAS_PWM_EN_BITS(s->pwmcfg)) { in sifive_pwm_write()[all …]
55 u32 pwmcfg; in atmel_hlcdc_pwm_apply() local92 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()
56 uint32_t pwmcfg; member
154 u8 reg_tmp, pwmcfg; in w83l786ng_update_device() local184 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()
540 int pwmcfg = 0, tolerance = 0; /* shut up the compiler */ in w83627ehf_update_pwm() local548 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()