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