Home
last modified time | relevance | path

Searched refs:vt8500 (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-vt8500.c3 * drivers/pwm/pwm-vt8500.c
56 static inline void vt8500_pwm_busy_wait(struct vt8500_chip *vt8500, int nr, u8 bitmask) in vt8500_pwm_busy_wait() argument
61 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) in vt8500_pwm_busy_wait()
65 dev_warn(vt8500->chip.dev, "Waiting for status bits 0x%x to clear timed out\n", in vt8500_pwm_busy_wait()
72 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); in vt8500_pwm_config() local
78 err = clk_enable(vt8500->clk); in vt8500_pwm_config()
84 c = clk_get_rate(vt8500->clk); in vt8500_pwm_config()
97 clk_disable(vt8500->clk); in vt8500_pwm_config()
105 writel(prescale, vt8500->base + REG_SCALAR(pwm->hwpwm)); in vt8500_pwm_config()
106 vt8500_pwm_busy_wait(vt8500, pw in vt8500_pwm_config()
125 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); vt8500_pwm_enable() local
145 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); vt8500_pwm_disable() local
160 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); vt8500_pwm_set_polarity() local
235 struct vt8500_chip *vt8500; vt8500_pwm_probe() local
281 struct vt8500_chip *vt8500 = platform_get_drvdata(pdev); vt8500_pwm_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-vt8500.c3 * drivers/pwm/pwm-vt8500.c
59 static inline void pwm_busy_wait(struct vt8500_chip *vt8500, int nr, u8 bitmask) in pwm_busy_wait() argument
64 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) in pwm_busy_wait()
68 dev_warn(vt8500->chip.dev, "Waiting for status bits 0x%x to clear timed out\n", in pwm_busy_wait()
75 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); in vt8500_pwm_config() local
81 err = clk_enable(vt8500->clk); in vt8500_pwm_config()
87 c = clk_get_rate(vt8500->clk); in vt8500_pwm_config()
100 clk_disable(vt8500->clk); in vt8500_pwm_config()
108 writel(prescale, vt8500->base + REG_SCALAR(pwm->hwpwm)); in vt8500_pwm_config()
109 pwm_busy_wait(vt8500, pw in vt8500_pwm_config()
128 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); vt8500_pwm_enable() local
148 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); vt8500_pwm_disable() local
163 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); vt8500_pwm_set_polarity() local
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-vt8500.c3 * arch/arm/mach-vt8500/timer.c
150 TIMER_OF_DECLARE(vt8500, "via,vt8500-timer", vt8500_timer_init);
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-vt8500.c3 * arch/arm/mach-vt8500/timer.c
150 TIMER_OF_DECLARE(vt8500, "via,vt8500-timer", vt8500_timer_init);
/kernel/linux/linux-5.10/arch/arm/
H A DMakefile232 machine-$(CONFIG_ARCH_VT8500) += vt8500
/kernel/linux/linux-6.6/arch/arm/
H A DMakefile225 machine-$(CONFIG_ARCH_VT8500) += vt8500
/kernel/linux/linux-5.10/drivers/rtc/
H A DMakefile179 obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o
/kernel/linux/linux-6.6/drivers/rtc/
H A DMakefile180 obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o

Completed in 4 milliseconds