Home
last modified time | relevance | path

Searched refs:hinic_wq (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.h31 struct hinic_wq { struct
86 struct hinic_wq *wq, struct hinic_hwif *hwif,
91 struct hinic_wq *wq, int cmdq_blocks);
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);
104 struct hinic_hw_wqe *hinic_get_wqe(struct hinic_wq *wq, unsigned int wqe_size,
107 void hinic_put_wqe(struct hinic_wq *wq, unsigned int wqe_size);
109 struct hinic_hw_wqe *hinic_read_wqe(struct hinic_wq *wq, unsigned int wqe_size,
112 struct hinic_hw_wqe *hinic_read_wqe_direct(struct hinic_wq *wq, u16 cons_idx);
114 void hinic_write_wqe(struct hinic_wq *wq, struct hinic_hw_wqe *wqe,
Dhinic_hw_wq.c381 static int alloc_wqes_shadow(struct hinic_wq *wq) in alloc_wqes_shadow()
408 static void free_wqes_shadow(struct hinic_wq *wq) in free_wqes_shadow()
423 static void free_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, in free_wq_pages()
450 static int alloc_wq_pages(struct hinic_wq *wq, struct hinic_hwif *hwif, in alloc_wq_pages()
509 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
581 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq) in hinic_wq_free()
602 struct hinic_wq *wq, struct hinic_hwif *hwif, in hinic_wqs_cmdq_alloc()
685 struct hinic_wq *wq, int cmdq_blocks) in hinic_wqs_cmdq_free()
695 static void copy_wqe_to_shadow(struct hinic_wq *wq, void *shadow_addr, in copy_wqe_to_shadow()
712 static void copy_wqe_from_shadow(struct hinic_wq *wq, void *shadow_addr, in copy_wqe_from_shadow()
[all …]
Dhinic_hw_qp.h88 struct hinic_wq *wq;
104 struct hinic_wq *wq;
138 struct hinic_wq *wq, struct msix_entry *entry, void *ci_addr,
144 struct hinic_wq *wq, struct msix_entry *entry);
Dhinic_hw_qp.c109 struct hinic_wq *wq; in hinic_sq_prepare_ctxt()
166 struct hinic_wq *wq; in hinic_rq_prepare_ctxt()
227 struct hinic_wq *wq = sq->wq; in alloc_sq_skb_arr()
255 struct hinic_wq *wq = rq->wq; in alloc_rq_skb_arr()
288 struct hinic_wq *wq, struct msix_entry *entry, in hinic_init_sq()
327 struct hinic_wq *wq = rq->wq; in alloc_rq_cqe()
370 struct hinic_wq *wq = rq->wq; in free_rq_cqe()
391 struct hinic_wq *wq, struct msix_entry *entry) in hinic_init_rq()
464 struct hinic_wq *wq = sq->wq; in hinic_get_sq_free_wqebbs()
477 struct hinic_wq *wq = rq->wq; in hinic_get_rq_free_wqebbs()
[all …]
Dhinic_hw_io.h64 struct hinic_wq *sq_wq;
65 struct hinic_wq *rq_wq;
Dhinic_hw_cmdq.h142 struct hinic_wq *wq;
162 struct hinic_wq *saved_wqs;
Dhinic_hw_cmdq.c357 struct hinic_wq *wq = cmdq->wq; in cmdq_sync_cmd_direct_resp()
434 struct hinic_wq *wq = cmdq->wq; in cmdq_set_arm_bit()
709 struct hinic_wq *wq = cmdq->wq; in cmdq_init_queue_ctxt()
745 static int init_cmdq(struct hinic_cmdq *cmdq, struct hinic_wq *wq, in init_cmdq()
885 saved_wqs_size = HINIC_MAX_CMDQ_TYPES * sizeof(struct hinic_wq); in hinic_init_cmdqs()
Dhinic_tx.c315 struct hinic_wq *wq = sq->wq; in free_tx_poll()