Lines Matching refs:DP_OUT

123 	DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_PAGE1);	/* Select page 1 */  in dp83902a_init()
127 DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_PAGE0); /* Select page 0 */ in dp83902a_init()
151 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_STOP); /* Brutal */ in dp83902a_stop()
152 DP_OUT(base, DP_ISR, 0xFF); /* Clear any pending interrupts */ in dp83902a_stop()
153 DP_OUT(base, DP_IMR, 0x00); /* Disable all interrupts */ in dp83902a_stop()
175 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_STOP); /* Brutal */ in dp83902a_start()
176 DP_OUT(base, DP_DCR, DP_DCR_INIT); in dp83902a_start()
177 DP_OUT(base, DP_RBCH, 0); /* Remote byte count */ in dp83902a_start()
178 DP_OUT(base, DP_RBCL, 0); in dp83902a_start()
179 DP_OUT(base, DP_RCR, DP_RCR_MON); /* Accept no packets */ in dp83902a_start()
180 DP_OUT(base, DP_TCR, DP_TCR_LOCAL); /* Transmitter [virtually] off */ in dp83902a_start()
181 DP_OUT(base, DP_TPSR, dp->tx_buf1); /* Transmitter start page */ in dp83902a_start()
186 DP_OUT(base, DP_PSTART, dp->rx_buf_start); /* Receive ring start page */ in dp83902a_start()
187 DP_OUT(base, DP_BNDRY, dp->rx_buf_end - 1); /* Receive ring boundary */ in dp83902a_start()
188 DP_OUT(base, DP_PSTOP, dp->rx_buf_end); /* Receive ring end page */ in dp83902a_start()
191 DP_OUT(base, DP_ISR, 0xFF); /* Clear any pending interrupts */ in dp83902a_start()
192 DP_OUT(base, DP_IMR, DP_IMR_All); /* Enable all interrupts */ in dp83902a_start()
193 DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_PAGE1 | DP_CR_STOP); /* Select page 1 */ in dp83902a_start()
194 DP_OUT(base, DP_P1_CURP, dp->rx_buf_start); /* Current page - next free page for Rx */ in dp83902a_start()
200 DP_OUT(base, DP_P1_PAR0+i, enaddr[i]); in dp83902a_start()
203 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_START); in dp83902a_start()
204 DP_OUT(base, DP_TCR, DP_TCR_NORMAL); /* Normal transmit operations */ in dp83902a_start()
205 DP_OUT(base, DP_RCR, DP_RCR_AB); /* Accept broadcast, no errors, no multicast */ in dp83902a_start()
229 DP_OUT(base, DP_ISR, (DP_ISR_TxP | DP_ISR_TxE)); in dp83902a_start_xmit()
230 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_START); in dp83902a_start_xmit()
231 DP_OUT(base, DP_TBCL, len & 0xFF); in dp83902a_start_xmit()
232 DP_OUT(base, DP_TBCH, len >> 8); in dp83902a_start_xmit()
233 DP_OUT(base, DP_TPSR, start_page); in dp83902a_start_xmit()
234 DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_TXPKT | DP_CR_START); in dp83902a_start_xmit()
276 DP_OUT(base, DP_ISR, DP_ISR_RDC); /* Clear end of DMA */ in dp83902a_send()
287 DP_OUT(base, DP_RSAL, 0x100 - len); in dp83902a_send()
288 DP_OUT(base, DP_RSAH, (start_page - 1) & 0xff); in dp83902a_send()
289 DP_OUT(base, DP_RBCL, len); in dp83902a_send()
290 DP_OUT(base, DP_RBCH, 0); in dp83902a_send()
291 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_RDMA | DP_CR_START); in dp83902a_send()
304 DP_OUT(base, DP_RSAL, 0); in dp83902a_send()
305 DP_OUT(base, DP_RSAH, start_page); in dp83902a_send()
306 DP_OUT(base, DP_RBCL, pkt_len & 0xFF); in dp83902a_send()
307 DP_OUT(base, DP_RBCH, pkt_len >> 8); in dp83902a_send()
308 DP_OUT(base, DP_CR, DP_CR_WDMA | DP_CR_START); in dp83902a_send()
353 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_START); in dp83902a_send()
387 DP_OUT(base, DP_CR, DP_CR_PAGE1 | DP_CR_NODMA | DP_CR_START); in dp83902a_RxEvent()
389 DP_OUT(base, DP_P1_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_START); in dp83902a_RxEvent()
399 DP_OUT(base, DP_RBCL, sizeof(rcv_hdr)); in dp83902a_RxEvent()
400 DP_OUT(base, DP_RBCH, 0); in dp83902a_RxEvent()
401 DP_OUT(base, DP_RSAL, 0); in dp83902a_RxEvent()
402 DP_OUT(base, DP_RSAH, pkt); in dp83902a_RxEvent()
405 DP_OUT(base, DP_BNDRY, dp->rx_buf_end - 1); in dp83902a_RxEvent()
407 DP_OUT(base, DP_BNDRY, cur - 1); /* Update pointer */ in dp83902a_RxEvent()
411 DP_OUT(base, DP_ISR, DP_ISR_RDC); /* Clear end of DMA */ in dp83902a_RxEvent()
412 DP_OUT(base, DP_CR, DP_CR_RDMA | DP_CR_START); in dp83902a_RxEvent()
432 DP_OUT(base, DP_BNDRY, dp->rx_buf_end - 1); in dp83902a_RxEvent()
434 DP_OUT(base, DP_BNDRY, rcv_hdr[1] - 1); /* Update pointer */ in dp83902a_RxEvent()
464 DP_OUT(base, DP_CR, DP_CR_PAGE0 | DP_CR_NODMA | DP_CR_START); in dp83902a_recv()
465 DP_OUT(base, DP_RBCL, len & 0xFF); in dp83902a_recv()
466 DP_OUT(base, DP_RBCH, len >> 8); in dp83902a_recv()
467 DP_OUT(base, DP_RSAL, 4); /* Past header */ in dp83902a_recv()
468 DP_OUT(base, DP_RSAH, dp->rx_next); in dp83902a_recv()
469 DP_OUT(base, DP_ISR, DP_ISR_RDC); /* Clear end of DMA */ in dp83902a_recv()
470 DP_OUT(base, DP_CR, DP_CR_RDMA | DP_CR_START); in dp83902a_recv()
557 DP_OUT(base, DP_ISR, DP_ISR_CNT); in dp83902a_ClearCounters()
572 DP_OUT(base, DP_CR, DP_CR_STOP | DP_CR_NODMA); in dp83902a_Overflow()
576 DP_OUT(base, DP_RBCL, 0); in dp83902a_Overflow()
577 DP_OUT(base, DP_RBCH, 0); in dp83902a_Overflow()
580 DP_OUT(base, DP_TCR, DP_TCR_LOCAL); in dp83902a_Overflow()
581 DP_OUT(base, DP_CR, DP_CR_START | DP_CR_NODMA); in dp83902a_Overflow()
589 DP_OUT(base, DP_ISR, DP_ISR_RxP|DP_ISR_RxE); in dp83902a_Overflow()
592 DP_OUT(base, DP_ISR, DP_ISR_OFLW); in dp83902a_Overflow()
593 DP_OUT(base, DP_TCR, DP_TCR_NORMAL); in dp83902a_Overflow()
601 DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_TXPKT | DP_CR_START); in dp83902a_Overflow()
612 DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_PAGE0 | DP_CR_START); in dp83902a_poll()
636 DP_OUT(base, DP_ISR, isr); /* Clear set bits */ in dp83902a_poll()