Lines Matching refs:hnae_ring
221 struct hnae_ring { struct
265 static inline int ring_dist(struct hnae_ring *ring, int begin, int end) in ring_dist() argument
273 static inline int ring_space(struct hnae_ring *ring) in ring_space()
279 static inline int is_ring_empty(struct hnae_ring *ring) in is_ring_empty()
295 int (*alloc_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);
296 void (*free_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);
297 int (*map_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);
298 void (*unmap_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);
305 struct hnae_ring rx_ring, tx_ring;
413 void (*toggle_ring_irq)(struct hnae_ring *ring, u32 val);
497 static inline int hnae_reserve_buffer_map(struct hnae_ring *ring, in hnae_reserve_buffer_map()
519 static inline int hnae_alloc_buffer_attach(struct hnae_ring *ring, int i) in hnae_alloc_buffer_attach()
531 static inline void hnae_buffer_detach(struct hnae_ring *ring, int i) in hnae_buffer_detach()
537 static inline void hnae_free_buffer_detach(struct hnae_ring *ring, int i) in hnae_free_buffer_detach()
550 static inline void hnae_replace_buffer(struct hnae_ring *ring, int i, in hnae_replace_buffer()
563 static inline void hnae_reuse_buffer(struct hnae_ring *ring, int i) in hnae_reuse_buffer()