Searched defs:c2_port (Results 1 – 2 of 2) sorted by relevance
95 static void c2_set_rxbufsize(struct c2_port *c2_port) in c2_set_rxbufsize()209 static inline int c2_rx_alloc(struct c2_port *c2_port, struct c2_element *elem) in c2_rx_alloc()258 static int c2_rx_fill(struct c2_port *c2_port) in c2_rx_fill()277 static void c2_rx_clean(struct c2_port *c2_port) in c2_rx_clean()324 static void c2_tx_clean(struct c2_port *c2_port) in c2_tx_clean()381 struct c2_port *c2_port = netdev_priv(netdev); in c2_tx_interrupt() local420 static void c2_rx_error(struct c2_port *c2_port, struct c2_element *elem) in c2_rx_error()463 struct c2_port *c2_port = netdev_priv(netdev); in c2_rx_interrupt() local587 struct c2_port *c2_port = netdev_priv(netdev); in c2_up() local693 struct c2_port *c2_port = netdev_priv(netdev); in c2_down() local[all …]
357 struct c2_port { struct358 u32 msg_enable;359 struct c2_dev *c2dev;360 struct net_device *netdev;362 spinlock_t tx_lock;363 u32 tx_avail;364 struct c2_ring tx_ring;365 struct c2_ring rx_ring;367 void *mem; /* PCI memory for host rings */368 dma_addr_t dma;[all …]