Home
last modified time | relevance | path

Searched refs:tmrptr (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/mips/kernel/
Dcevt-txx9.c26 struct txx9_tmr_reg __iomem *tmrptr; member
33 return __raw_readl(&txx9_cs->tmrptr->trr); in txx9_cs_read()
52 struct txx9_tmr_reg __iomem *tmrptr; in txx9_clocksource_init() local
56 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clocksource_init()
57 __raw_writel(TCR_BASE, &tmrptr->tcr); in txx9_clocksource_init()
58 __raw_writel(0, &tmrptr->tisr); in txx9_clocksource_init()
59 __raw_writel(TIMER_CCD, &tmrptr->ccdr); in txx9_clocksource_init()
60 __raw_writel(TXx9_TMITMR_TZCE, &tmrptr->itmr); in txx9_clocksource_init()
61 __raw_writel(1 << TXX9_CLOCKSOURCE_BITS, &tmrptr->cpra); in txx9_clocksource_init()
62 __raw_writel(TCR_BASE | TXx9_TMTCR_TCE, &tmrptr->tcr); in txx9_clocksource_init()
[all …]
/linux-3.4.99/arch/mips/txx9/generic/
Dsetup.c453 struct txx9_tmr_reg __iomem *tmrptr = in txx9_wdt_now() local
456 __raw_writel(TXx9_TMWTMR_WDIS | TXx9_TMWTMR_TWC, &tmrptr->wtmr); in txx9_wdt_now()
457 __raw_writel(0, &tmrptr->tcr); in txx9_wdt_now()
459 __raw_writel(TXx9_TMWTMR_TWIE, &tmrptr->wtmr); in txx9_wdt_now()
460 __raw_writel(1, &tmrptr->cpra); /* immediate */ in txx9_wdt_now()
462 &tmrptr->tcr); in txx9_wdt_now()