Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 21 of 21) sorted by relevance

/drivers/timer/
A DKconfig50 use an early timer. These functions must be supported by your timer
62 bool "Altera timer support"
83 bool "ARC timer support"
92 bool "ARM timer watchdog (TWD) timer support"
95 Select this to enable support for the ARM global timer watchdog timer.
221 NPCM timer module has 5 down-counting timers, only the first timer
222 is used to implement timer ops. No support for early timer and
223 boot timer.
226 bool "Omap timer support"
232 bool "Orion timer support"
[all …]
A Drockchip_timer.c28 struct rk_timer *timer; member
36 timebase_l = readl(&timer->timer_curr_value0); in rockchip_timer_get_curr_value()
37 timebase_h = readl(&timer->timer_curr_value1); in rockchip_timer_get_curr_value()
55 rate = timer_get_rate(gd->timer); in timer_get_boot_us()
56 timer_get_count(gd->timer, &ticks); in timer_get_boot_us()
60 struct rk_timer *timer = NULL; in timer_get_boot_us() local
72 timer = (struct rk_timer *)ofnode_get_addr(node); in timer_get_boot_us()
103 priv->timer = dev_read_addr_ptr(dev); in rockchip_clk_of_to_plat()
104 if (!priv->timer) in rockchip_clk_of_to_plat()
125 writel(0, &priv->timer->timer_ctrl_reg); in rockchip_timer_start()
[all …]
A DMakefile5 obj-y += timer-uclass.o
17 obj-$(CONFIG_DESIGNWARE_APB_TIMER) += dw-apb-timer.o
19 obj-$(CONFIG_GXP_TIMER) += gxp-timer.o
21 obj-$(CONFIG_NOMADIK_MTU_TIMER) += nomadik-mtu-timer.o
22 obj-$(CONFIG_NPCM_TIMER) += npcm-timer.o
23 obj-$(CONFIG_OMAP_TIMER) += omap-timer.o
24 obj-$(CONFIG_ORION_TIMER) += orion-timer.o
33 obj-$(CONFIG_TEGRA_TIMER) += tegra-timer.o
37 obj-$(CONFIG_IMX_GPT_TIMER) += imx-gpt-timer.o
38 obj-$(CONFIG_XILINX_TIMER) += xilinx-timer.o
[all …]
A Dmpc83xx_timer.c106 struct udevice *timer; in interrupt_init() local
111 ret = uclass_first_device_err(UCLASS_TIMER, &timer); in interrupt_init()
118 timer_priv = dev_get_priv(timer); in interrupt_init()
159 struct udevice *timer = gd->timer; in timer_interrupt() local
167 if (!timer) in timer_interrupt()
170 priv = dev_get_priv(timer); in timer_interrupt()
A Dnomadik-mtu-timer.c53 struct nomadik_mtu_timer_regs *timer; member
61 return timer_conv_64(~readl(&priv->timer->cv)); in nomadik_mtu_get_count()
74 priv->timer = mtu->timers; /* Use first timer */ in nomadik_mtu_probe()
88 writel(MTU_CR_ENABLE | prescale | MTU_CR_32BITS, &priv->timer->cr); in nomadik_mtu_probe()
A Darm_global_timer.c27 u64 timer; in arm_global_timer_get_count() local
38 timer = high; in arm_global_timer_get_count()
39 return (u64)((timer << 32) | low); in arm_global_timer_get_count()
A Dast_timer.c21 static struct ast_timer_counter *ast_get_timer_counter(struct ast_timer *timer, in ast_get_timer_counter() argument
25 return &timer->timers2[n - 4]; in ast_get_timer_counter()
27 return &timer->timers1[n - 1]; in ast_get_timer_counter()
A Dtimer-uclass.c131 if (gd->timer) in dm_timer_init()
167 gd->timer = dev; in dm_timer_init()
174 UCLASS_DRIVER(timer) = {
A Driscv_aclint_timer.c57 rate = timer_get_rate(gd->timer); in timer_get_boot_us()
58 timer_get_count(gd->timer, &ticks); in timer_get_boot_us()
A Driscv_timer.c64 rate = timer_get_rate(gd->timer); in timer_get_boot_us()
65 timer_get_count(gd->timer, &ticks); in timer_get_boot_us()
A Domap-timer.c97 rate = timer_get_rate(gd->timer); in timer_get_boot_us()
98 timer_get_count(gd->timer, &ticks); in timer_get_boot_us()
A Dcadence-ttc.c49 rate = timer_get_rate(gd->timer); in timer_get_boot_us()
50 timer_get_count(gd->timer, &ticks); in timer_get_boot_us()
/drivers/watchdog/
A DKconfig15 bool "Automatically start watchdog timer"
92 bool "Apple watchdog timer support"
139 bool "AT91 watchdog timer support"
146 bool "Andes watchdog timer support"
152 bool "BCM6345 watchdog timer support"
168 bool "Cadence watchdog timer support"
184 bool "DA9063 watchdog timer support"
190 bool "DaVinci watchdog timer support"
306 bool "Orion watchdog timer support"
373 bool "SBSA watchdog timer support"
[all …]
/drivers/ddr/marvell/a38x/old/
A Dddr3_hws_hw_training_def.h386 #define CTCR_ARM_TIMER_EN_OFFS(timer) (timer * 2) argument
387 #define CTCR_ARM_TIMER_EN_MASK(timer) (1 << CTCR_ARM_TIMER_EN_OFFS(timer)) argument
388 #define CTCR_ARM_TIMER_EN(timer) (1 << CTCR_ARM_TIMER_EN_OFFS(timer)) argument
390 #define CTCR_ARM_TIMER_AUTO_OFFS(timer) (1 + (timer * 2)) argument
391 #define CTCR_ARM_TIMER_AUTO_MASK(timer) (1 << CTCR_ARM_TIMER_EN_OFFS(timer)) argument
392 #define CTCR_ARM_TIMER_AUTO_EN(timer) (1 << CTCR_ARM_TIMER_AUTO_OFFS(timer)) argument
/drivers/usb/musb-new/
A Dmusb_dsps.c142 struct timer_list timer; /* otg_workaround timer */ member
248 mod_timer(&glue->timer, in otg_timer()
277 del_timer(&glue->timer); in dsps_musb_try_idle()
282 if (time_after(last_timer, timeout) && timer_pending(&glue->timer)) { in dsps_musb_try_idle()
292 mod_timer(&glue->timer, timeout); in dsps_musb_try_idle()
367 mod_timer(&glue->timer, in dsps_interrupt()
375 del_timer(&glue->timer); in dsps_interrupt()
404 mod_timer(&glue->timer, jiffies + wrp->poll_seconds * HZ); in dsps_interrupt()
450 setup_timer(&glue->timer, otg_timer, (unsigned long) musb); in dsps_musb_init()
494 del_timer_sync(&glue->timer); in dsps_musb_exit()
/drivers/pwm/
A Dpwm-stm32.c183 struct stm32_timers_priv *timer = dev_get_priv(dev_get_parent(dev)); in stm32_pwm_probe() local
185 if (timer->rate > 1000000000) { in stm32_pwm_probe()
186 dev_err(dev, "Clock freq too high (%lu)\n", timer->rate); in stm32_pwm_probe()
A DKconfig31 Cadence TTC can be configured as timer which is done via
50 programmed. Channel 4 (the last) is normally used as a timer.
113 modulation. It uses STM32 timer devices that can have up to 4 output
/drivers/sound/
A DKconfig53 bool "Intel i8254 timer / beeper"
56 This enables support for a beeper that uses the i8254 timer chip.
/drivers/
A DKconfig143 source "drivers/timer/Kconfig"
A DMakefile36 obj-$(CONFIG_$(PHASE_)TIMER) += timer/
/drivers/mtd/nand/raw/
A Dnand_base.c909 u32 timer = (CONFIG_SYS_HZ * timeo) / 1000; in nand_wait() local
913 while (get_timer(time_start) < timer) { in nand_wait()

Completed in 72 milliseconds