Home
last modified time | relevance | path

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

12345678910>>...20

/u-boot/drivers/timer/
A DKconfig50 use an early timer. These functions must be supported by your timer
54 bool "Altera timer support"
68 bool "ARC timer support"
77 bool "ARM timer watchdog (TWD) timer support"
80 Select this to enable support for the ARM global timer watchdog timer.
200 NPCM timer module has 5 down-counting timers, only the first timer
201 is used to implement timer ops. No support for early timer and
202 boot timer.
205 bool "Omap timer support"
211 bool "Orion timer support"
[all …]
A Drockchip_timer.c29 struct rk_timer *timer; member
37 timebase_l = readl(&timer->timer_curr_value0); in rockchip_timer_get_curr_value()
38 timebase_h = readl(&timer->timer_curr_value1); in rockchip_timer_get_curr_value()
56 rate = timer_get_rate(gd->timer); in timer_get_boot_us()
57 timer_get_count(gd->timer, &ticks); in timer_get_boot_us()
61 struct rk_timer *timer = NULL; in timer_get_boot_us() local
73 timer = (struct rk_timer *)ofnode_get_addr(node); in timer_get_boot_us()
104 priv->timer = dev_read_addr_ptr(dev); in rockchip_clk_of_to_plat()
105 if (!priv->timer) in rockchip_clk_of_to_plat()
126 writel(0, &priv->timer->timer_ctrl_reg); in rockchip_timer_start()
[all …]
A DMakefile5 obj-y += timer-uclass.o
15 obj-$(CONFIG_DESIGNWARE_APB_TIMER) += dw-apb-timer.o
17 obj-$(CONFIG_GXP_TIMER) += gxp-timer.o
19 obj-$(CONFIG_NOMADIK_MTU_TIMER) += nomadik-mtu-timer.o
20 obj-$(CONFIG_NPCM_TIMER) += npcm-timer.o
21 obj-$(CONFIG_OMAP_TIMER) += omap-timer.o
22 obj-$(CONFIG_ORION_TIMER) += orion-timer.o
31 obj-$(CONFIG_TEGRA_TIMER) += tegra-timer.o
34 obj-$(CONFIG_MCHP_PIT64B_TIMER) += mchp-pit64b-timer.o
35 obj-$(CONFIG_IMX_GPT_TIMER) += imx-gpt-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.c54 struct nomadik_mtu_timer_regs *timer; member
62 return timer_conv_64(~readl(&priv->timer->cv)); in nomadik_mtu_get_count()
75 priv->timer = mtu->timers; /* Use first timer */ in nomadik_mtu_probe()
89 writel(MTU_CR_ENABLE | prescale | MTU_CR_32BITS, &priv->timer->cr); in nomadik_mtu_probe()
/u-boot/arch/arm/mach-lpc32xx/
A Dtimer.c27 static void lpc32xx_timer_reset(struct timer_regs *timer, u32 freq) in lpc32xx_timer_reset() argument
29 writel(TIMER_TCR_COUNTER_RESET, &timer->tcr); in lpc32xx_timer_reset()
30 writel(TIMER_TCR_COUNTER_DISABLE, &timer->tcr); in lpc32xx_timer_reset()
31 writel(0, &timer->tc); in lpc32xx_timer_reset()
32 writel(0, &timer->pr); in lpc32xx_timer_reset()
35 writel(TIMER_CTCR_MODE_TIMER, &timer->ctcr); in lpc32xx_timer_reset()
38 writel((get_periph_clk_rate() / freq) - 1, &timer->pr); in lpc32xx_timer_reset()
41 writel(0, &timer->mcr); in lpc32xx_timer_reset()
44 static void lpc32xx_timer_count(struct timer_regs *timer, int enable) in lpc32xx_timer_count() argument
47 writel(TIMER_TCR_COUNTER_ENABLE, &timer->tcr); in lpc32xx_timer_count()
[all …]
/u-boot/doc/device-tree-bindings/timer/
A Darc_timer.txt5 - compatible : should be "snps,arc-timer".
6 - reg : Specifies timer ID, could be either 0 or 1.
11 timer@0 {
12 compatible = "snps,arc-timer";
17 timer@1 {
18 compatible = "snps,arc-timer";
24 as each timer is driven by the same core clock.
A Datcpit100_timer.txt1 Andestech ATCPIT100 timer
6 This timer is a set of compact multi-function timers, which can be
10 multi-function timer and provide the following usage scenarios:
11 One 32-bit timer
15 One 16-bit timer and one 8-bit PWM
16 Two 8-bit timer and one 8-bit PWM
21 - interrupts : Reference to the timer interrupt
22 - clock-frequency : The rate in HZ in input of the Andestech ATCPIT100 timer
26 timer0: timer@f0400000 {
A Daltera_timer.txt5 - compatible : should be "altr,timer-1.0"
8 - interrupts : Should contain the timer interrupt number
13 timer {
14 compatible = "altr,timer-1.0";
A Dsandbox_timer.txt1 Sandbox timer
3 The sandbox timer device is an emulated device which gets time from
7 compatible: "sandbox,timer"
A Dfsl,mpc83xx-timer.txt1 MPC83xx timer devices
7 - compatible: must be "fsl,mpc83xx-timer"
18 timer {
19 compatible = "fsl,mpc83xx-timer";
/u-boot/drivers/watchdog/
A DKconfig14 bool "Automatically start watchdog timer"
89 bool "Apple watchdog timer support"
127 bool "AT91 watchdog timer support"
134 bool "BCM6345 watchdog timer support"
150 bool "Cadence watchdog timer support"
175 bool "MAX6370 watchdog timer support"
182 bool "Amlogic watchdog timer support"
189 bool "MPC8xxx watchdog timer support"
259 bool "Orion watchdog timer support"
310 bool "SBSA watchdog timer support"
[all …]
/u-boot/arch/arm/mach-davinci/
A Dtimer.c34 static struct davinci_timer * const timer = variable
44 writel(0x0, &timer->tcr); in timer_init()
45 writel(0x0, &timer->tgcr); in timer_init()
46 writel(0x06 | ((TIM_CLK_DIV - 1) << 8), &timer->tgcr); in timer_init()
47 writel(0x0, &timer->tim34); in timer_init()
48 writel(TIMER_LOAD_VAL, &timer->prd34); in timer_init()
49 writel(2 << 22, &timer->tcr); in timer_init()
61 unsigned long now = readl(&timer->tim34); in get_ticks()
/u-boot/arch/arm/mach-sunxi/
A Dtimer.c39 struct sunxi_timer *timer = &timers->timer[TIMER_NUM]; in read_timer() local
45 return ~readl(&timer->val); in read_timer()
53 struct sunxi_timer *timer = &timers->timer[TIMER_NUM]; in timer_init() local
55 writel(TIMER_LOAD_VAL, &timer->inter); in timer_init()
57 &timer->ctl); in timer_init()
/u-boot/arch/arm/cpu/armv7/s5p-common/
A Dtimer.c40 struct s5p_timer *const timer = s5p_get_base_timer(); in timer_get_us_down() local
42 return readl(&timer->tcnto4); in timer_get_us_down()
89 struct s5p_timer *const timer = in timer_get_us() local
91 unsigned long now_downward_us = readl(&timer->tcnto4); in timer_get_us()
112 struct s5p_timer *const timer = s5p_get_base_timer(); in reset_timer_masked() local
115 gd->arch.lastinc = readl(&timer->tcnto4); in reset_timer_masked()
/u-boot/cmd/
A Dclone.c22 unsigned long timer; in do_clone() local
77 timer = get_timer(0); in do_clone()
113 timer = get_timer(timer); in do_clone()
114 timer = 1000 * timer / CONFIG_SYS_HZ; in do_clone()
117 printf("%ldms, %ldkB/s\n", timer, wrcnt / timer); in do_clone()
/u-boot/arch/arm/dts/
A Domap3.dtsi593 ti,timer-alwon;
622 ti,timer-dsp;
630 ti,timer-dsp;
638 ti,timer-dsp;
646 ti,timer-pwm;
647 ti,timer-dsp;
655 ti,timer-pwm;
663 ti,timer-pwm;
671 ti,timer-pwm;
679 ti,timer-alwon;
[all …]
A Dbcm63138.dtsi46 /* peripheral clock for system timer */
97 global_timer: timer@1e200 {
98 compatible = "arm,cortex-a9-global-timer";
104 local_timer: local-timer@1e600 {
105 compatible = "arm,cortex-a9-twd-timer";
134 timer0: timer@80 {
135 compatible = "brcm,bcmbca-periph-timer";
A Dam4372.dtsi214 compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
222 compatible = "ti,am4372-timer","ti,am335x-timer";
229 compatible = "ti,am4372-timer","ti,am335x-timer";
237 compatible = "ti,am4372-timer","ti,am335x-timer";
246 compatible = "ti,am4372-timer","ti,am335x-timer";
255 compatible = "ti,am4372-timer","ti,am335x-timer";
264 compatible = "ti,am4372-timer","ti,am335x-timer";
273 compatible = "ti,am4372-timer","ti,am335x-timer";
281 compatible = "ti,am4372-timer","ti,am335x-timer";
289 compatible = "ti,am4372-timer","ti,am335x-timer";
[all …]
A Dstm32f746.dtsi57 timer@1 {
58 compatible = "st,stm32-timer-trigger";
79 timer@2 {
101 timer@3 {
123 timer@4 {
139 timer@5 {
155 timer@6 {
177 timer@11 {
344 timer@0 {
366 timer@7 {
[all …]
A Ddm816x.dtsi320 timer1: timer@4802e000 {
325 ti,timer-alwon;
328 timer2: timer@48040000 {
335 timer3: timer@48042000 {
342 timer4: timer@48044000 {
347 ti,timer-pwm;
350 timer5: timer@48046000 {
355 ti,timer-pwm;
358 timer6: timer@48048000 {
363 ti,timer-pwm;
[all …]
A Dk3-am62a7-sk-u-boot.dtsi10 tick-timer = &timer1;
21 timer1: timer@2400000 {
22 compatible = "ti,omap5430-timer";
24 ti,timer-alwon;
/u-boot/arch/powerpc/dts/
A Dqoriq-mpic.dtsi18 timer@41100 {
19 compatible = "fsl,mpic-global-timer";
72 timer@42100 {
73 compatible = "fsl,mpic-global-timer";
/u-boot/arch/x86/dts/
A Dtsc_timer.dtsi2 tsc-timer {
3 compatible = "x86,tsc-timer";
/u-boot/doc/usage/cmd/
A Dwdt.rst28 The 'wdt start' command starts the current watchdog timer.
30 The 'wdt stop' command stops the current watchdog timer.
32 The 'wdt reset' command resets the current watchdog timer without stopping it.
34 The 'wdt expire' command let's the current watchdog timer expire immediately.
53 No watchdog timer device set!

Completed in 50 milliseconds

12345678910>>...20