Home
last modified time | relevance | path

Searched refs:cq_base (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/amd/pds_core/
H A Dcore.c151 if (qcq->cq_base) in pdsc_qcq_free()
153 qcq->cq_base, qcq->cq_base_pa); in pdsc_qcq_free()
194 void *q_base, *cq_base; in pdsc_qcq_alloc() local
251 cq_base = PTR_ALIGN(q_base + in pdsc_qcq_alloc()
274 qcq->cq_base = dma_alloc_coherent(dev, qcq->cq_size, in pdsc_qcq_alloc()
277 if (!qcq->cq_base) { in pdsc_qcq_alloc()
281 cq_base = PTR_ALIGN(qcq->cq_base, PDS_PAGE_SIZE); in pdsc_qcq_alloc()
285 pdsc_cq_map(&qcq->cq, cq_base, cq_base_pa); in pdsc_qcq_alloc()
H A Dcore.h119 void *cq_base; member
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dirq.c84 struct hl_cq_entry *cq_entry, *cq_base; in hl_irq_handler_cq() local
93 cq_base = cq->kernel_address; in hl_irq_handler_cq()
96 bool entry_ready = ((le32_to_cpu(cq_base[cq->ci].data) & in hl_irq_handler_cq()
103 cq_entry = (struct hl_cq_entry *) &cq_base[cq->ci]; in hl_irq_handler_cq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Duser.h291 void irdma_uk_cq_resize(struct irdma_cq_uk *cq, void *cq_base, int size);
352 struct irdma_cqe *cq_base; member
391 struct irdma_cqe *cq_base; member
H A Duk.c890 * @cq_base: new cq buffer addr
893 void irdma_uk_cq_resize(struct irdma_cq_uk *cq, void *cq_base, int cq_size) in irdma_uk_cq_resize() argument
895 cq->cq_base = cq_base; in irdma_uk_cq_resize()
1008 ext_cqe = cq->cq_base[peek_head].buf; in irdma_uk_cq_poll_cmpl()
1475 cq->cq_base = info->cq_base; in irdma_uk_cq_init()
1502 cqe = ((struct irdma_extended_cqe *)(cq->cq_base))[cq_head].buf; in irdma_uk_clean_cq()
1504 cqe = cq->cq_base[cq_head].buf; in irdma_uk_clean_cq()
H A Ddefs.h944 (_cq)->cq_base[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
949 ((_cq)->cq_base))[IRDMA_RING_CURRENT_HEAD((_cq)->cq_ring)].buf \
H A Dtype.h625 struct irdma_cqe *cq_base; member
771 struct irdma_cqe *cq_base; member
H A Dpuda.c241 ext_cqe = cq_uk->cq_base[peek_head].buf; in irdma_puda_poll_info()
801 init_info->cq_base = mem->va; in irdma_puda_cq_create()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dirq.c136 struct hl_cq_entry *cq_entry, *cq_base; in hl_irq_handler_cq() local
146 cq_base = cq->kernel_address; in hl_irq_handler_cq()
149 cq_entry = (struct hl_cq_entry *) &cq_base[cq->ci]; in hl_irq_handler_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_user.h365 struct i40iw_cqe *cq_base; member
397 struct i40iw_cqe *cq_base; member
H A Di40iw_uk.c1062 cq->cq_base = (struct i40iw_cqe *)info->cq_base; in i40iw_cq_uk_init()
1101 cqe = (u64 *)&(((struct i40iw_extended_cqe *)cq->cq_base)[cq_head]); in i40iw_clean_cq()
1103 cqe = (u64 *)&cq->cq_base[cq_head]; in i40iw_clean_cq()
H A Di40iw_type.h525 struct i40iw_cqe *cq_base; member
657 struct i40iw_cqe *cq_base; member
963 u64 cq_base; member
H A Di40iw_d.h118 &((_cq)->cq_base[I40IW_RING_GETCURRENT_HEAD((_cq)->cq_ring)]) \
123 ((_cq)->cq_base))[I40IW_RING_GETCURRENT_HEAD((_cq)->cq_ring)]) \
H A Di40iw_main.c653 info.cq_base = ccq->mem_cq.va; in i40iw_create_ccq()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c378 if (qcq->cq_base) { in ionic_qcq_free()
379 dma_free_coherent(dev, qcq->cq_size, qcq->cq_base, qcq->cq_base_pa); in ionic_qcq_free()
380 qcq->cq_base = NULL; in ionic_qcq_free()
497 void *q_base, *cq_base, *sg_base; in ionic_qcq_alloc() local
569 cq_base = PTR_ALIGN(q_base + q_size, PAGE_SIZE); in ionic_qcq_alloc()
571 ionic_cq_map(&new->cq, cq_base, cq_base_pa); in ionic_qcq_alloc()
587 new->cq_base = dma_alloc_coherent(dev, new->cq_size, &new->cq_base_pa, in ionic_qcq_alloc()
589 if (!new->cq_base) { in ionic_qcq_alloc()
594 cq_base = PTR_ALIGN(new->cq_base, PAGE_SIZ in ionic_qcq_alloc()
[all...]
H A Dionic_lif.h64 void *cq_base; member
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c413 if (qcq->cq_base) { in ionic_qcq_free()
414 dma_free_coherent(dev, qcq->cq_size, qcq->cq_base, qcq->cq_base_pa); in ionic_qcq_free()
415 qcq->cq_base = NULL; in ionic_qcq_free()
540 void *q_base, *cq_base, *sg_base; in ionic_qcq_alloc() local
614 cq_base = PTR_ALIGN(q_base + q_size, PAGE_SIZE); in ionic_qcq_alloc()
616 ionic_cq_map(&new->cq, cq_base, cq_base_pa); in ionic_qcq_alloc()
660 new->cq_base = dma_alloc_coherent(dev, new->cq_size, &new->cq_base_pa, in ionic_qcq_alloc()
662 if (!new->cq_base) { in ionic_qcq_alloc()
667 cq_base = PTR_ALIGN(new->cq_base, PAGE_SIZ in ionic_qcq_alloc()
[all...]
H A Dionic_lif.h68 void *cq_base; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1458 struct cq_base *hw_cqe; in __clean_cq()
2092 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_create_cq()
2168 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_resize_cq()
2326 struct cq_base *peek_hwcqe; in do_wa9060()
2689 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty()
2936 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq()
H A Dqplib_fp.h343 #define BNXT_QPLIB_MAX_CQE_ENTRY_SIZE sizeof(struct cq_base)
H A Dib_verbs.c2959 entries * sizeof(struct cq_base), in bnxt_re_create_cq()
3087 entries * sizeof(struct cq_base), in bnxt_re_resize_cq()
4141 resp.cqe_sz = sizeof(struct cq_base); in bnxt_re_alloc_ucontext()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.h341 #define BNXT_QPLIB_MAX_CQE_ENTRY_SIZE sizeof(struct cq_base)
H A Dqplib_fp.c1431 struct cq_base *hw_cqe; in __clean_cq()
2062 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_create_cq()
2244 struct cq_base *peek_hwcqe; in do_wa9060()
2610 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty()
2859 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq()
/kernel/linux/linux-5.10/drivers/staging/qlge/
H A Dqlge_main.c991 rx_ring->curr_entry = rx_ring->cq_base; in ql_update_cq()
2858 if (rx_ring->cq_base) { in ql_free_rx_resources()
2861 rx_ring->cq_base, rx_ring->cq_base_dma); in ql_free_rx_resources()
2862 rx_ring->cq_base = NULL; in ql_free_rx_resources()
2876 rx_ring->cq_base = in ql_alloc_rx_resources()
2880 if (!rx_ring->cq_base) { in ql_alloc_rx_resources()
2997 rx_ring->curr_entry = rx_ring->cq_base; in ql_start_rx_ring()
/kernel/linux/linux-6.6/drivers/staging/qlge/
H A Dqlge_main.c987 rx_ring->curr_entry = rx_ring->cq_base; in qlge_update_cq()
2840 if (rx_ring->cq_base) { in qlge_free_rx_resources()
2843 rx_ring->cq_base, rx_ring->cq_base_dma); in qlge_free_rx_resources()
2844 rx_ring->cq_base = NULL; in qlge_free_rx_resources()
2857 rx_ring->cq_base = in qlge_alloc_rx_resources()
2861 if (!rx_ring->cq_base) { in qlge_alloc_rx_resources()
2978 rx_ring->curr_entry = rx_ring->cq_base; in qlge_start_rx_ring()

Completed in 60 milliseconds

12