Searched refs:vt8500 (Results 1 – 10 of 10) sorted by relevance
/drivers/pwm/ |
D | pwm-vt8500.c | 67 static inline void pwm_busy_wait(struct vt8500_chip *vt8500, int nr, u8 bitmask) in pwm_busy_wait() argument 72 while ((readl(vt8500->base + REG_STATUS) & mask) && --loops) in pwm_busy_wait() 76 dev_warn(vt8500->chip.dev, "Waiting for status bits 0x%x to clear timed out\n", in pwm_busy_wait() 83 struct vt8500_chip *vt8500 = to_vt8500_chip(chip); in vt8500_pwm_config() local 89 err = clk_enable(vt8500->clk); in vt8500_pwm_config() 95 c = clk_get_rate(vt8500->clk); in vt8500_pwm_config() 108 clk_disable(vt8500->clk); in vt8500_pwm_config() 116 writel(prescale, vt8500->base + REG_SCALAR(pwm->hwpwm)); in vt8500_pwm_config() 117 pwm_busy_wait(vt8500, pwm->hwpwm, STATUS_SCALAR_UPDATE); in vt8500_pwm_config() 119 writel(pv, vt8500->base + REG_PERIOD(pwm->hwpwm)); in vt8500_pwm_config() [all …]
|
D | Makefile | 43 obj-$(CONFIG_PWM_VT8500) += pwm-vt8500.o
|
D | Kconfig | 428 tristate "vt8500 PWM support" 431 Generic PWM framework driver for vt8500. 434 will be called pwm-vt8500.
|
/drivers/pinctrl/vt8500/ |
D | Makefile | 4 obj-$(CONFIG_PINCTRL_VT8500) += pinctrl-vt8500.o
|
/drivers/clocksource/ |
D | vt8500_timer.c | 159 CLOCKSOURCE_OF_DECLARE(vt8500, "via,vt8500-timer", vt8500_timer_init);
|
/drivers/pinctrl/ |
D | Makefile | 55 obj-$(CONFIG_ARCH_VT8500) += vt8500/
|
D | Kconfig | 262 source "drivers/pinctrl/vt8500/Kconfig"
|
/drivers/clk/ |
D | Makefile | 47 obj-$(CONFIG_ARCH_VT8500) += clk-vt8500.o
|
/drivers/irqchip/ |
D | Makefile | 39 obj-$(CONFIG_ARCH_VT8500) += irq-vt8500.o
|
/drivers/rtc/ |
D | Makefile | 158 obj-$(CONFIG_RTC_DRV_VT8500) += rtc-vt8500.o
|