Lines Matching refs:phy_node

45 #define get_msci(port)	  (phy_node(port) ?   MSCI1_OFFSET :   MSCI0_OFFSET)
46 #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET)
47 #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET)
180 sca_out(0, transmit ? DSR_TX(phy_node(port)) : in sca_init_port()
181 DSR_RX(phy_node(port)), card); in sca_init_port()
183 sca_out(DCR_ABORT, transmit ? DCR_TX(phy_node(port)) : in sca_init_port()
184 DCR_RX(phy_node(port)), card); in sca_init_port()
197 sca_out(DCR_CLEAR_EOF, transmit ? DCR_TX(phy_node(port)) : in sca_init_port()
198 DCR_RX(phy_node(port)), card); in sca_init_port()
204 sca_out(0x14, DMR_RX(phy_node(port)), card); in sca_init_port()
205 sca_out(DIR_EOME | DIR_BOFE, DIR_RX(phy_node(port)), in sca_init_port()
208 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_init_port()
211 sca_out(0x14, DMR_TX(phy_node(port)), card); in sca_init_port()
213 sca_out(DIR_BOFE, DIR_TX(phy_node(port)), card); in sca_init_port()
295 u8 stat = sca_in(DSR_RX(phy_node(port)), card); /* read DMA Status */ in sca_rx_intr()
299 DSR_RX(phy_node(port)), card); in sca_rx_intr()
337 sca_out(DSR_DE, DSR_RX(phy_node(port)), card); in sca_rx_intr()
351 stat = sca_in(DSR_TX(phy_node(port)), card); /* read DMA Status */ in sca_tx_intr()
355 DSR_TX(phy_node(port)), card); in sca_tx_intr()
508 sca_out(sca_in(IER0, card) | (phy_node(port) ? 0xC0 : 0x0C), in sca_open()
511 sca_out(sca_in(IER1, card) | (phy_node(port) ? 0xF0 : 0x0F), in sca_open()
532 sca_out(sca_in(IER0, card) & (phy_node(port) ? 0x0F : 0xF0), in sca_close()
535 sca_out(sca_in(IER1, card) & (phy_node(port) ? 0x0F : 0xF0), in sca_close()
580 sca_in(DSR_RX(phy_node(port)), card), port->rxin, in sca_dump_rings()
581 sca_in(DSR_RX(phy_node(port)), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
590 sca_in(DSR_TX(phy_node(port)), card), port->txin, port->txlast, in sca_dump_rings()
591 sca_in(DSR_TX(phy_node(port)), card) & DSR_DE ? "" : "in"); in sca_dump_rings()
664 sca_out(DSR_DE, DSR_TX(phy_node(port)), card); /* Enable TX DMA */ in sca_xmit()