Searched refs:tmrptr (Results 1 – 2 of 2) sorted by relevance
/linux/arch/mips/kernel/ |
H A 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 …]
|
/linux/arch/mips/txx9/generic/ |
H A D | setup.c | 332 struct txx9_tmr_reg __iomem *tmrptr = in txx9_wdt_now() local 335 __raw_writel(TXx9_TMWTMR_WDIS | TXx9_TMWTMR_TWC, &tmrptr->wtmr); in txx9_wdt_now() 336 __raw_writel(0, &tmrptr->tcr); in txx9_wdt_now() 338 __raw_writel(TXx9_TMWTMR_TWIE, &tmrptr->wtmr); in txx9_wdt_now() 339 __raw_writel(1, &tmrptr->cpra); /* immediate */ in txx9_wdt_now() 341 &tmrptr->tcr); in txx9_wdt_now()
|