Home
last modified time | relevance | path

Searched refs:mtu_base (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/arm/plat-nomadik/
Dtimer.c26 void __iomem *mtu_base; /* Assigned by machine code */ variable
40 return -readl(mtu_base + MTU_VAL(0)); in nmdk_read_timer()
62 if (unlikely(!mtu_base)) in sched_clock()
65 cyc = -readl(mtu_base + MTU_VAL(0)); in sched_clock()
71 u32 cyc = -readl(mtu_base + MTU_VAL(0)); in nomadik_update_sched_clock()
87 cr = readl(mtu_base + MTU_CR(1)); in nmdk_clkevt_mode()
88 writel(0, mtu_base + MTU_LR(1)); in nmdk_clkevt_mode()
89 writel(cr | MTU_CRn_ENA, mtu_base + MTU_CR(1)); in nmdk_clkevt_mode()
90 writel(1 << 1, mtu_base + MTU_IMSC); in nmdk_clkevt_mode()
95 writel(0, mtu_base + MTU_IMSC); in nmdk_clkevt_mode()
[all …]
/linux-2.6.39/arch/arm/mach-ux500/
Dcpu.c130 mtu_base = __io_address(U5500_MTU0_BASE); in ux500_timer_init()
132 mtu_base = __io_address(U8500_MTU0_BASE_ED); in ux500_timer_init()
134 mtu_base = __io_address(U8500_MTU0_BASE); in ux500_timer_init()
/linux-2.6.39/arch/arm/plat-nomadik/include/plat/
Dmtu.h11 extern void __iomem *mtu_base;
/linux-2.6.39/arch/arm/mach-nomadik/
Dboard-nhk8815.c255 mtu_base = io_p2v(NOMADIK_MTU0_BASE); in nomadik_timer_init()