Searched refs:duty_cycles (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/pwm/ |
H A D | pwm-ep93xx.c | 77 unsigned long duty_cycles; ep93xx_pwm_config() local 99 duty_cycles = c; ep93xx_pwm_config() 101 if (period_cycles < 0x10000 && duty_cycles < 0x10000) { ep93xx_pwm_config() 107 writew(duty_cycles, base + EP93XX_PWMx_DUTY_CYCLE); ep93xx_pwm_config() 109 writew(duty_cycles, base + EP93XX_PWMx_DUTY_CYCLE); ep93xx_pwm_config()
|
H A D | pwm-lpc32xx.c | 39 int period_cycles, duty_cycles; lpc32xx_pwm_config() local 70 duty_cycles = 256 - c; lpc32xx_pwm_config() 74 val |= PWM_RELOADV(period_cycles) | PWM_DUTY(duty_cycles); lpc32xx_pwm_config()
|
H A D | pwm-tiecap.c | 63 * duty_ns = 10^9 * duty_cycles / PWM_CLK_RATE 70 unsigned long period_cycles, duty_cycles; ecap_pwm_config() local 83 duty_cycles = 1; ecap_pwm_config() 88 duty_cycles = (unsigned long)c; ecap_pwm_config() 102 writel(duty_cycles, pc->mmio_base + CAP2); ecap_pwm_config() 110 writel(duty_cycles, pc->mmio_base + CAP4); ecap_pwm_config()
|
H A D | pwm-mxs.c | 55 unsigned int period_cycles, duty_cycles; mxs_pwm_config() local 74 duty_cycles = c; mxs_pwm_config() 86 writel(duty_cycles << 16, mxs_pwm_config()
|
H A D | pwm-tiehrpwm.c | 234 * duty_ns = 10^9 * (ps_divval * duty_cycles) / PWM_CLK_RATE 241 unsigned long period_cycles, duty_cycles; ehrpwm_pwm_config() local 255 duty_cycles = 1; ehrpwm_pwm_config() 260 duty_cycles = (unsigned long)c; ehrpwm_pwm_config() 299 duty_cycles = duty_cycles / ps_divval; ehrpwm_pwm_config() 317 ehrpwm_write(pc->mmio_base, cmp_reg, duty_cycles); ehrpwm_pwm_config()
|
H A D | pwm-imx.c | 115 unsigned long period_cycles, duty_cycles, prescale; imx_pwm_config_v2() local 162 duty_cycles = c; imx_pwm_config_v2() 173 writel(duty_cycles, imx->mmio_base + MX3_PWMSAR); imx_pwm_config_v2()
|
Completed in 341 milliseconds