Home
last modified time | relevance | path

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

/arch/mips/kernel/
Dcevt-txx9.c27 struct txx9_tmr_reg __iomem *tmrptr; member
34 return __raw_readl(&txx9_cs->tmrptr->trr); in txx9_cs_read()
52 return __raw_readl(&txx9_clocksource.tmrptr->trr); in txx9_read_sched_clock()
58 struct txx9_tmr_reg __iomem *tmrptr; in txx9_clocksource_init() local
62 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clocksource_init()
63 __raw_writel(TCR_BASE, &tmrptr->tcr); in txx9_clocksource_init()
64 __raw_writel(0, &tmrptr->tisr); in txx9_clocksource_init()
65 __raw_writel(TIMER_CCD, &tmrptr->ccdr); in txx9_clocksource_init()
66 __raw_writel(TXx9_TMITMR_TZCE, &tmrptr->itmr); in txx9_clocksource_init()
67 __raw_writel(1 << TXX9_CLOCKSOURCE_BITS, &tmrptr->cpra); in txx9_clocksource_init()
[all …]
/arch/mips/txx9/generic/
Dsetup.c438 struct txx9_tmr_reg __iomem *tmrptr = in txx9_wdt_now() local
441 __raw_writel(TXx9_TMWTMR_WDIS | TXx9_TMWTMR_TWC, &tmrptr->wtmr); in txx9_wdt_now()
442 __raw_writel(0, &tmrptr->tcr); in txx9_wdt_now()
444 __raw_writel(TXx9_TMWTMR_TWIE, &tmrptr->wtmr); in txx9_wdt_now()
445 __raw_writel(1, &tmrptr->cpra); /* immediate */ in txx9_wdt_now()
447 &tmrptr->tcr); in txx9_wdt_now()