Searched refs:vio_dring_state (Results 1 – 4 of 4) sorted by relevance
/linux/arch/sparc/include/asm/ |
H A D | vio.h | 273 struct vio_dring_state { struct 295 static inline void *vio_dring_cur(struct vio_dring_state *dr) in vio_dring_cur() argument 300 static inline void *vio_dring_entry(struct vio_dring_state *dr, in vio_dring_entry() 306 static inline u32 vio_dring_avail(struct vio_dring_state *dr, in vio_dring_avail() 313 static inline u32 vio_dring_next(struct vio_dring_state *dr, u32 index) in vio_dring_next() 320 static inline u32 vio_dring_prev(struct vio_dring_state *dr, u32 index) in vio_dring_prev() 398 struct vio_dring_state drings[2];
|
/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 49 static inline u32 vnet_tx_dring_avail(struct vio_dring_state *dr) in vnet_tx_dring_avail() 263 struct vio_dring_state *dr; in sunvnet_handshake_complete_common() 470 static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, in vnet_send_ack() 471 u32 start, u32 end, u8 vio_dring_state) in vnet_send_ack() argument 483 .state = vio_dring_state, in vnet_send_ack() 508 if (err <= 0 && vio_dring_state == VIO_DRING_STOPPED) { in vnet_send_ack() 520 struct vio_dring_state *dr, in get_rx_desc() 536 struct vio_dring_state *dr, in put_rx_desc() 552 struct vio_dring_state *dr, in vnet_walk_rx_one() 587 static int vnet_walk_rx(struct vnet_port *port, struct vio_dring_state *dr, in vnet_walk_rx() [all …]
|
/linux/drivers/block/ |
H A D | sunvdc.c | 117 static inline u32 vdc_tx_dring_avail(struct vio_dring_state *dr) in vdc_tx_dring_avail() 181 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start() 307 static void vdc_end_one(struct vdc_port *port, struct vio_dring_state *dr, in vdc_end_one() 336 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_ack() 427 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in __vdc_tx_trigger() 465 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in __send_request() 541 struct vio_dring_state *dr; in vdc_queue_rq() 575 struct vio_dring_state *dr; in generic_request() 715 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_alloc_tx_ring() 745 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_free_tx_ring() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | viohs.c | 85 struct vio_dring_state *dr; in flush_rx_dring() 137 struct vio_dring_state *dr; in handshake_failure() 178 struct vio_dring_state *dr = &vio->drings[VIO_DRIVER_TX_RING]; in send_dreg() 430 struct vio_dring_state *dr; in process_dreg_info() 503 struct vio_dring_state *dr; in process_dreg_ack() 563 struct vio_dring_state *dr = &vio->drings[VIO_DRIVER_RX_RING]; in process_dunreg()
|