Lines Matching defs:port

42 #define get_msci(port)	  (phy_node(port) ?   MSCI1_OFFSET :   MSCI0_OFFSET)  argument
43 #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET) argument
44 #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET) argument
50 static inline struct net_device *port_to_dev(port_t *port) in port_to_dev()
89 static inline u16 next_desc(port_t *port, u16 desc, int transmit) in next_desc()
95 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()
111 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address()
123 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset()
129 static inline void sca_set_carrier(port_t *port) in sca_set_carrier()
146 static void sca_init_port(port_t *port) in sca_init_port()
217 static inline void sca_msci_intr(port_t *port) in sca_msci_intr()
237 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
284 static inline void sca_rx_intr(port_t *port) in sca_rx_intr()
336 static inline void sca_tx_intr(port_t *port) in sca_tx_intr()
382 port_t *port = get_port(card, i); in sca_intr() local
401 static void sca_set_port(port_t *port) in sca_set_port()
454 port_t *port = dev_to_port(dev); in sca_open() local
535 port_t *port = dev_to_port(dev); in sca_close() local
575 port_t *port = dev_to_port(dev); in sca_dump_rings() local
628 port_t *port = dev_to_port(dev); in sca_xmit() local