Home
last modified time | relevance | path

Searched refs:hinic_wqs (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.h58 struct hinic_wqs { struct
93 int hinic_wqs_alloc(struct hinic_wqs *wqs, int num_wqs, argument
96 void hinic_wqs_free(struct hinic_wqs *wqs);
98 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq,
102 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq);
Dhinic_hw_wq.c140 static int wqs_allocate_page(struct hinic_wqs *wqs, int page_idx) in wqs_allocate_page()
153 static void wqs_free_page(struct hinic_wqs *wqs, int page_idx) in wqs_free_page()
195 static int alloc_page_arrays(struct hinic_wqs *wqs) in alloc_page_arrays()
226 static void free_page_arrays(struct hinic_wqs *wqs) in free_page_arrays()
236 static int wqs_next_block(struct hinic_wqs *wqs, int *page_idx, in wqs_next_block()
264 static void wqs_return_block(struct hinic_wqs *wqs, int page_idx, in wqs_return_block()
282 static void init_wqs_blocks_arr(struct hinic_wqs *wqs) in init_wqs_blocks_arr()
309 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc()
361 void hinic_wqs_free(struct hinic_wqs *wqs) in hinic_wqs_free()
509 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
[all …]
Dhinic_hw_io.h62 struct hinic_wqs wqs;