Searched refs:tmrptr (Results 1 – 2 of 2) sorted by relevance
/arch/mips/kernel/ |
D | cevt-txx9.c | 27 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/ |
D | setup.c | 397 struct txx9_tmr_reg __iomem *tmrptr = in txx9_wdt_now() local 400 __raw_writel(TXx9_TMWTMR_WDIS | TXx9_TMWTMR_TWC, &tmrptr->wtmr); in txx9_wdt_now() 401 __raw_writel(0, &tmrptr->tcr); in txx9_wdt_now() 403 __raw_writel(TXx9_TMWTMR_TWIE, &tmrptr->wtmr); in txx9_wdt_now() 404 __raw_writel(1, &tmrptr->cpra); /* immediate */ in txx9_wdt_now() 406 &tmrptr->tcr); in txx9_wdt_now()
|