Lines Matching defs:port

45 #define get_msci(port)	  (phy_node(port) ?   MSCI1_OFFSET :   MSCI0_OFFSET)  argument
46 #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET) argument
47 #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET) argument
54 static inline struct net_device *port_to_dev(port_t *port) in port_to_dev()
87 static inline u16 next_desc(port_t *port, u16 desc, int transmit) in next_desc()
94 static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit) in desc_abs_number()
105 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset()
112 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address()
125 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset()
132 static inline void sca_set_carrier(port_t *port) in sca_set_carrier()
150 static void sca_init_port(port_t *port) in sca_init_port()
222 static inline void sca_msci_intr(port_t *port) in sca_msci_intr()
243 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
290 static inline void sca_rx_intr(port_t *port) in sca_rx_intr()
342 static inline void sca_tx_intr(port_t *port) in sca_tx_intr()
388 port_t *port = get_port(card, i); in sca_intr() local
407 static void sca_set_port(port_t *port) in sca_set_port()
462 port_t *port = dev_to_port(dev); in sca_open() local
526 port_t *port = dev_to_port(dev); in sca_close() local
568 port_t *port = dev_to_port(dev); in sca_dump_rings() local
622 port_t *port = dev_to_port(dev); in sca_xmit() local