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)) :
177 DSR_RX(phy_node(port)), card);
179 sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) :
180 DCR_RX(phy_node(port)), card);
193 sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) :
194 DCR_RX(phy_node(port)), card);
200 sca_out(0x14, DMR_RX(phy_node(port)), card);
201 sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)),
204 sca_out(DSR_DE, DSR_RX(phy_node(port)), card);
207 sca_out(0x14, DMR_TX(phy_node(port)), card);
209 sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card);
289 u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */
293 DSR_RX(phy_node(port)), card);
332 sca_out(DSR_DE, DSR_RX(phy_node(port)), card);
345 stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */
349 DSR_TX(phy_node(port)), card);
518 sca_out(sca_in(IER0, card) | (phy_node(port) ? 0xC0 : 0x0C),
521 sca_out(sca_in(IER1, card) | (phy_node(port) ? 0xF0 : 0x0F),
541 sca_out(sca_in(IER0, card) & (phy_node(port) ? 0x0F : 0xF0),
544 sca_out(sca_in(IER1, card) & (phy_node(port) ? 0x0F : 0xF0),
587 sca_in(DSR_RX(phy_node(port)), card), port->rxin,
588 sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in");
597 sca_in(DSR_TX(phy_node(port)), card), port->txin, port->txlast,
598 sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in");
671 sca_out(DSR_DE, DSR_TX(phy_node(port)), card); /* Enable TX DMA */