Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.h50 struct hinic_wqs { struct
85 int hinic_wqs_alloc(struct hinic_wqs *wqs, int num_wqs, argument
88 void hinic_wqs_free(struct hinic_wqs *wqs);
90 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq,
94 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq);
Dhinic_hw_wq.c136 static int wqs_allocate_page(struct hinic_wqs *wqs, int page_idx) in wqs_allocate_page()
149 static void wqs_free_page(struct hinic_wqs *wqs, int page_idx) in wqs_free_page()
191 static int alloc_page_arrays(struct hinic_wqs *wqs) in alloc_page_arrays()
222 static void free_page_arrays(struct hinic_wqs *wqs) in free_page_arrays()
232 static int wqs_next_block(struct hinic_wqs *wqs, int *page_idx, in wqs_next_block()
260 static void wqs_return_block(struct hinic_wqs *wqs, int page_idx, in wqs_return_block()
278 static void init_wqs_blocks_arr(struct hinic_wqs *wqs) in init_wqs_blocks_arr()
305 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc()
357 void hinic_wqs_free(struct hinic_wqs *wqs) in hinic_wqs_free()
504 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
[all …]
Dhinic_hw_io.h65 struct hinic_wqs wqs;