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() local691 struct c2_port *c2_port = netdev_priv(netdev); in c2_down() local[all …]
356 struct c2_port { struct357 u32 msg_enable;358 struct c2_dev *c2dev;359 struct net_device *netdev;361 spinlock_t tx_lock;362 u32 tx_avail;363 struct c2_ring tx_ring;364 struct c2_ring rx_ring;366 void *mem; /* PCI memory for host rings */367 dma_addr_t dma;[all …]