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)
177 sca_out(0, transmit ? DSR_TX(phy_node(port)) : in sca_init_port()
178 DSR_RX(phy_node(port)), card); in sca_init_port()
180 sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) : in sca_init_port()
181 DCR_RX(phy_node(port)), card); in sca_init_port()
194 sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) : in sca_init_port()
195 DCR_RX(phy_node(port)), card); in sca_init_port()
201 sca_out(0x14, DMR_RX(phy_node(port)), card); in sca_init_port()
202 sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)), in sca_init_port()
205 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_init_port()
208 sca_out(0x14, DMR_TX(phy_node(port)), card); in sca_init_port()
210 sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card); in sca_init_port()
292 u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ in sca_rx_intr()
296 DSR_RX(phy_node(port)), card); in sca_rx_intr()
334 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_rx_intr()
348 stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */ in sca_tx_intr()
352 DSR_TX(phy_node(port)), card); in sca_tx_intr()
505 sca_out(sca_in(IER0, card) | (phy_node(port) ? 0xC0 : 0x0C), in sca_open()
508 sca_out(sca_in(IER1, card) | (phy_node(port) ? 0xF0 : 0x0F), in sca_open()
529 sca_out(sca_in(IER0, card) & (phy_node(port) ? 0x0F : 0xF0), in sca_close()
532 sca_out(sca_in(IER1, card) & (phy_node(port) ? 0x0F : 0xF0), in sca_close()
577 sca_in(DSR_RX(phy_node(port)), card), port->rxin, in sca_dump_rings()
578 sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
587 sca_in(DSR_TX(phy_node(port)), card), port->txin, port->txlast, in sca_dump_rings()
588 sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
661 sca_out(DSR_DE, DSR_TX(phy_node(port)), card); /* Enable TX DMA */ in sca_xmit()