Home
last modified time | relevance | path

Searched refs:pwm_base (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/input/
H A Drockchip_pwm_remotectl.c438 static void rk_pwm_int_ctrl(void __iomem *pwm_base, uint pwm_id, int ctrl) in rk_pwm_int_ctrl() argument
445 val = readl_relaxed(pwm_base + PWM_REG_INT_EN(pwm_id)); in rk_pwm_int_ctrl()
449 writel_relaxed(val, pwm_base + PWM_REG_INT_EN(pwm_id)); in rk_pwm_int_ctrl()
454 writel_relaxed(val, pwm_base + PWM_REG_INT_EN(pwm_id)); in rk_pwm_int_ctrl()
457 static int rk_pwm_remotectl_hw_init(void __iomem *pwm_base, uint pwm_id) in rk_pwm_remotectl_hw_init() argument
465 val = readl_relaxed(pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
467 writel_relaxed(val, pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
469 val = readl_relaxed(pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
471 writel_relaxed(val, pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
473 val = readl_relaxed(pwm_base in rk_pwm_remotectl_hw_init()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/input/remotectl/
H A Drockchip_pwm_remotectl.c457 static void rk_pwm_int_ctrl(void __iomem *pwm_base, uint pwm_id, int ctrl) in rk_pwm_int_ctrl() argument
463 val = readl_relaxed(pwm_base + PWM_REG_INT_EN(pwm_id)); in rk_pwm_int_ctrl()
467 writel_relaxed(val, pwm_base + PWM_REG_INT_EN(pwm_id)); in rk_pwm_int_ctrl()
472 writel_relaxed(val, pwm_base + PWM_REG_INT_EN(pwm_id)); in rk_pwm_int_ctrl()
475 static int rk_pwm_remotectl_hw_init(void __iomem *pwm_base, uint pwm_id) in rk_pwm_remotectl_hw_init() argument
482 val = readl_relaxed(pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
484 writel_relaxed(val, pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
486 val = readl_relaxed(pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
488 writel_relaxed(val, pwm_base + PWM_REG_CTRL); in rk_pwm_remotectl_hw_init()
490 val = readl_relaxed(pwm_base in rk_pwm_remotectl_hw_init()
[all...]

Completed in 3 milliseconds