Lines Matching refs:port_t
57 static inline port_t *dev_to_port(struct net_device *dev) in dev_to_port()
62 static inline void enable_intr(port_t *port) in enable_intr()
69 static inline void disable_intr(port_t *port) in disable_intr()
75 static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit) in desc_abs_number()
84 static inline u16 desc_offset(port_t *port, u16 desc, int transmit) in desc_offset()
90 static inline pkt_desc __iomem *desc_address(port_t *port, u16 desc, in desc_address()
97 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset()
103 static inline void sca_set_carrier(port_t *port) in sca_set_carrier()
120 static void sca_init_port(port_t *port) in sca_init_port()
181 static inline void sca_msci_intr(port_t *port) in sca_msci_intr()
193 static inline void sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, in sca_rx()
223 static inline int sca_rx_done(port_t *port, int budget) in sca_rx_done()
278 static inline void sca_tx_done(port_t *port) in sca_tx_done()
318 port_t *port = container_of(napi, port_t, napi); in sca_poll()
346 port_t *port = get_port(card, i); in sca_intr()
357 static void sca_set_port(port_t *port) in sca_set_port()
411 port_t *port = dev_to_port(dev); in sca_open()
487 port_t *port = dev_to_port(dev); in sca_close()
521 port_t *port = dev_to_port(dev); in sca_dump_rings()
566 port_t *port = dev_to_port(dev); in sca_xmit()