Lines Matching defs:port
47 #define get_msci(port) (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) argument
48 #define get_dmac_rx(port) (port->chan ? DMAC1RX_OFFSET : DMAC0RX_OFFSET) argument
49 #define get_dmac_tx(port) (port->chan ? DMAC1TX_OFFSET : DMAC0TX_OFFSET) argument
65 static inline void enable_intr(port_t *port) in enable_intr()
72 static inline void disable_intr(port_t *port) in disable_intr()
78 static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit) in desc_abs_number()
88 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset()
95 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address()
103 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset()
110 static inline void sca_set_carrier(port_t *port) in sca_set_carrier()
128 static void sca_init_port(port_t *port) in sca_init_port()
189 static inline void sca_msci_intr(port_t *port) in sca_msci_intr()
202 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
233 static inline int sca_rx_done(port_t *port, int budget) in sca_rx_done()
289 static inline void sca_tx_done(port_t *port) in sca_tx_done()
330 port_t *port = container_of(napi, port_t, napi); in sca_poll() local
358 port_t *port = get_port(card, i); in sca_intr() local
370 static void sca_set_port(port_t *port) in sca_set_port()
426 port_t *port = dev_to_port(dev); in sca_open() local
485 port_t *port = dev_to_port(dev); in sca_close() local
521 port_t *port = dev_to_port(dev); in sca_dump_rings() local
567 port_t *port = dev_to_port(dev); in sca_xmit() local