Lines Matching refs:phy_node

42 #define get_msci(port)	  (phy_node(port) ?   MSCI1_OFFSET :   MSCI0_OFFSET)
43 #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET)
44 #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET)
176 sca_out(0, transmit ? DSR_TX(phy_node(port)) : in sca_init_port()
177 DSR_RX(phy_node(port)), card); in sca_init_port()
179 sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) : in sca_init_port()
180 DCR_RX(phy_node(port)), card); in sca_init_port()
193 sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) : in sca_init_port()
194 DCR_RX(phy_node(port)), card); in sca_init_port()
200 sca_out(0x14, DMR_RX(phy_node(port)), card); in sca_init_port()
201 sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)), in sca_init_port()
204 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_init_port()
207 sca_out(0x14, DMR_TX(phy_node(port)), card); in sca_init_port()
209 sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card); in sca_init_port()
289 u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ in sca_rx_intr()
293 DSR_RX(phy_node(port)), card); in sca_rx_intr()
332 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_rx_intr()
345 stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */ in sca_tx_intr()
349 DSR_TX(phy_node(port)), card); in sca_tx_intr()
518 sca_out(sca_in(IER0, card) | (phy_node(port) ? 0xC0 : 0x0C), in sca_open()
521 sca_out(sca_in(IER1, card) | (phy_node(port) ? 0xF0 : 0x0F), in sca_open()
541 sca_out(sca_in(IER0, card) & (phy_node(port) ? 0x0F : 0xF0), in sca_close()
544 sca_out(sca_in(IER1, card) & (phy_node(port) ? 0x0F : 0xF0), in sca_close()
587 sca_in(DSR_RX(phy_node(port)), card), port->rxin, in sca_dump_rings()
588 sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
597 sca_in(DSR_TX(phy_node(port)), card), port->txin, port->txlast, in sca_dump_rings()
598 sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
671 sca_out(DSR_DE, DSR_TX(phy_node(port)), card); /* Enable TX DMA */ in sca_xmit()