Lines Matching refs:vio_dring_state
40 static inline u32 vnet_tx_dring_avail(struct vio_dring_state *dr) in vnet_tx_dring_avail()
156 struct vio_dring_state *dr; in vnet_handshake_complete()
247 static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, in vnet_send_ack()
248 u32 start, u32 end, u8 vio_dring_state) in vnet_send_ack() argument
260 .state = vio_dring_state, in vnet_send_ack()
280 static u32 next_idx(u32 idx, struct vio_dring_state *dr) in next_idx()
287 static u32 prev_idx(u32 idx, struct vio_dring_state *dr) in prev_idx()
298 struct vio_dring_state *dr, in get_rx_desc()
314 struct vio_dring_state *dr, in put_rx_desc()
330 struct vio_dring_state *dr, in vnet_walk_rx_one()
359 static int vnet_walk_rx(struct vnet_port *port, struct vio_dring_state *dr, in vnet_walk_rx()
395 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_RX_RING]; in vnet_rx()
416 static int idx_is_pending(struct vio_dring_state *dr, u32 end) in idx_is_pending()
433 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vnet_ack()
488 struct vio_dring_state *dr; in maybe_tx_wakeup()
583 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in __vnet_tx_trigger()
647 struct vio_dring_state *dr; in vnet_start_xmit()
910 struct vio_dring_state *dr; in vnet_port_free_tx_bufs()
942 struct vio_dring_state *dr; in vnet_port_alloc_tx_bufs()