Searched refs:hnae_desc_cb (Results 1 – 3 of 3) sorted by relevance
213 struct hnae_desc_cb { struct269 struct hnae_desc_cb *desc_cb;346 int (*alloc_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);347 void (*free_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);348 int (*map_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);349 void (*unmap_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb);587 struct hnae_desc_cb *cb) in hnae_reserve_buffer_map()629 struct hnae_desc_cb *cb = &ring->desc_cb[i]; in hnae_free_buffer_detach()640 struct hnae_desc_cb *res_cb) in hnae_replace_buffer()
38 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer()56 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer()69 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer()80 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer()
40 struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; in fill_v2_desc_hw()149 struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_use]; in fill_desc()434 struct hnae_desc_cb *desc_cb) in hns_nic_reuse_page()570 struct hnae_desc_cb *desc_cb; in hns_nic_poll_rx_skb()688 struct hnae_desc_cb res_cbs; in hns_nic_alloc_rx_buffers()689 struct hnae_desc_cb *desc_cb; in hns_nic_alloc_rx_buffers()943 struct hnae_desc_cb *desc_cb = &ring->desc_cb[ring->next_to_clean]; in hns_nic_reclaim_one_desc()