Lines Matching refs:cregs
87 void __iomem *cregs = qep->qcregs; in qe_stop() local
107 sbus_writel(CREG_CTRL_RESET, cregs + CREG_CTRL); in qe_stop()
110 u32 tmp = sbus_readl(cregs + CREG_CTRL); in qe_stop()
144 void __iomem *cregs = qep->qcregs; in qe_init() local
157 sbus_writel(qblk_dvma + qib_offset(qe_rxd, 0), cregs + CREG_RXDS); in qe_init()
158 sbus_writel(qblk_dvma + qib_offset(qe_txd, 0), cregs + CREG_TXDS); in qe_init()
161 sbus_writel(0, cregs + CREG_RIMASK); in qe_init()
162 sbus_writel(1, cregs + CREG_TIMASK); in qe_init()
164 sbus_writel(0, cregs + CREG_QMASK); in qe_init()
165 sbus_writel(CREG_MMASK_RXCOLL, cregs + CREG_MMASK); in qe_init()
169 sbus_writel(tmp, cregs + CREG_RXRBUFPTR); in qe_init()
170 sbus_writel(tmp, cregs + CREG_RXWBUFPTR); in qe_init()
172 tmp = sbus_readl(cregs + CREG_RXRBUFPTR) + in qe_init()
174 sbus_writel(tmp, cregs + CREG_TXRBUFPTR); in qe_init()
175 sbus_writel(tmp, cregs + CREG_TXWBUFPTR); in qe_init()
178 sbus_writel(0, cregs + CREG_CCNT); in qe_init()
181 sbus_writel(0, cregs + CREG_PIPG); in qe_init()