Searched refs:hi_pwm_chip (Results 1 – 1 of 1) sorted by relevance
| /Linux-v4.19/drivers/pwm/ |
| D | pwm-hibvt.c | 82 struct hibvt_pwm_chip *hi_pwm_chip = to_hibvt_pwm_chip(chip); in hibvt_pwm_enable() local 84 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_enable() 90 struct hibvt_pwm_chip *hi_pwm_chip = to_hibvt_pwm_chip(chip); in hibvt_pwm_disable() local 92 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_disable() 99 struct hibvt_pwm_chip *hi_pwm_chip = to_hibvt_pwm_chip(chip); in hibvt_pwm_config() local 102 freq = div_u64(clk_get_rate(hi_pwm_chip->clk), 1000000); in hibvt_pwm_config() 107 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CFG0_ADDR(pwm->hwpwm), in hibvt_pwm_config() 110 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CFG1_ADDR(pwm->hwpwm), in hibvt_pwm_config() 118 struct hibvt_pwm_chip *hi_pwm_chip = to_hibvt_pwm_chip(chip); in hibvt_pwm_set_polarity() local 121 hibvt_pwm_set_bits(hi_pwm_chip->base, PWM_CTRL_ADDR(pwm->hwpwm), in hibvt_pwm_set_polarity() [all …]
|