Lines Matching full:duty
41 unsigned long duty; member
81 tmp = readl_relaxed(pc->base + pc->data->regs.duty); in rockchip_pwm_get_state()
100 unsigned long period, duty; in rockchip_pwm_config() local
107 * Since period and duty cycle registers have a width of 32 in rockchip_pwm_config()
116 duty = DIV_ROUND_CLOSEST_ULL(div, pc->data->prescaler * NSEC_PER_SEC); in rockchip_pwm_config()
119 * Lock the period and duty of previous configuration, then in rockchip_pwm_config()
120 * change the duty and period, that would not be effective. in rockchip_pwm_config()
129 writel(duty, pc->base + pc->data->regs.duty); in rockchip_pwm_config()
141 * the configuration of duty, period and polarity in rockchip_pwm_config()
224 .duty = 0x04,
237 .duty = 0x08,
251 .duty = 0x08,
265 .duty = 0x08,