Lines Matching refs:sbus_writel
67 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset()
107 sbus_writel(CREG_CTRL_RESET, cregs + CREG_CTRL); in qe_stop()
156 sbus_writel(qep->qblock_dvma + qib_offset(qe_rxd, 0), cregs + CREG_RXDS); in qe_init()
157 sbus_writel(qep->qblock_dvma + qib_offset(qe_txd, 0), cregs + CREG_TXDS); in qe_init()
160 sbus_writel(0, cregs + CREG_RIMASK); in qe_init()
161 sbus_writel(1, cregs + CREG_TIMASK); in qe_init()
163 sbus_writel(0, cregs + CREG_QMASK); in qe_init()
164 sbus_writel(CREG_MMASK_RXCOLL, cregs + CREG_MMASK); in qe_init()
168 sbus_writel(tmp, cregs + CREG_RXRBUFPTR); in qe_init()
169 sbus_writel(tmp, cregs + CREG_RXWBUFPTR); in qe_init()
173 sbus_writel(tmp, cregs + CREG_TXRBUFPTR); in qe_init()
174 sbus_writel(tmp, cregs + CREG_TXWBUFPTR); in qe_init()
177 sbus_writel(0, cregs + CREG_CCNT); in qe_init()
180 sbus_writel(0, cregs + CREG_PIPG); in qe_init()
499 sbus_writel(1, qep->qcregs + CREG_TIMASK); in qec_interrupt()
605 sbus_writel(CREG_CTRL_TWAKEUP, qep->qcregs + CREG_CTRL); in qe_start_xmit()
617 sbus_writel(0, qep->qcregs + CREG_TIMASK); in qe_start_xmit()
728 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); in qec_init_once()
730 sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); in qec_init_once()
732 sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); in qec_init_once()
738 sbus_writel(GLOB_PSIZE_2048, qecp->gregs + GLOB_PSIZE); in qec_init_once()
741 sbus_writel((resource_size(&op->resource[1]) >> 2), in qec_init_once()
747 sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, in qec_init_once()
749 sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, in qec_init_once()