Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A 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);
H A Dhinic_hw_wq.c137 static int wqs_allocate_page(struct hinic_wqs *wqs, int page_idx) in wqs_allocate_page()
150 static void wqs_free_page(struct hinic_wqs *wqs, int page_idx) in wqs_free_page()
190 static int alloc_page_arrays(struct hinic_wqs *wqs) in alloc_page_arrays()
221 static void free_page_arrays(struct hinic_wqs *wqs) in free_page_arrays()
231 static int wqs_next_block(struct hinic_wqs *wqs, int *page_idx, in wqs_next_block()
259 static void wqs_return_block(struct hinic_wqs *wqs, int page_idx, in wqs_return_block()
277 static void init_wqs_blocks_arr(struct hinic_wqs *wqs) in init_wqs_blocks_arr()
304 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc()
356 void hinic_wqs_free(struct hinic_wqs *wqs) in hinic_wqs_free()
503 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
[all …]
H A Dhinic_hw_io.h65 struct hinic_wqs wqs;