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()
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()
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()
497 sbus_writel(1, qep->qcregs + CREG_TIMASK); in qec_interrupt()
603 sbus_writel(CREG_CTRL_TWAKEUP, qep->qcregs + CREG_CTRL); in qe_start_xmit()
615 sbus_writel(0, qep->qcregs + CREG_TIMASK); in qe_start_xmit()
722 sbus_writel(GLOB_CTRL_B64, qecp->gregs + GLOB_CTRL); in qec_init_once()
724 sbus_writel(GLOB_CTRL_B32, qecp->gregs + GLOB_CTRL); in qec_init_once()
726 sbus_writel(GLOB_CTRL_B16, qecp->gregs + GLOB_CTRL); in qec_init_once()
732 sbus_writel(GLOB_PSIZE_2048, qecp->gregs + GLOB_PSIZE); in qec_init_once()
735 sbus_writel((resource_size(&op->resource[1]) >> 2), in qec_init_once()
741 sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, in qec_init_once()
743 sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, in qec_init_once()