Home
last modified time | relevance | path

Searched refs:cq_base (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/amd/pds_core/
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()
Dcore.h119 void *cq_base; member
/linux-6.6.21/drivers/infiniband/hw/irdma/
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
Duk.c893 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()
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 \
Dtype.h625 struct irdma_cqe *cq_base; member
771 struct irdma_cqe *cq_base; member
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()
Dctrl.c2645 irdma_uk_cq_resize(&cq->cq_uk, info->cq_base, info->cq_size); in irdma_sc_cq_resize()
4183 cq->cq_uk.cq_base = info->cq_base; in irdma_sc_ccq_init()
Dverbs.c1969 info.cq_base = kmem_buf.va; in irdma_resize_cq()
2185 ukinfo->cq_base = iwcq->kmem.va; in irdma_create_cq()
Dhw.c1059 info.cq_base = ccq->mem_cq.va; in irdma_create_ccq()
/linux-6.6.21/drivers/accel/habanalabs/common/
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()
/linux-6.6.21/Documentation/networking/device_drivers/qlogic/
Dqlge.rst79 .cq_base = (void *)0x0,
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
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_SIZE); in ionic_qcq_alloc()
669 ionic_cq_map(&new->cq, cq_base, cq_base_pa); in ionic_qcq_alloc()
[all …]
Dionic_lif.h68 void *cq_base; member
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
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()
Dqplib_fp.h343 #define BNXT_QPLIB_MAX_CQE_ENTRY_SIZE sizeof(struct cq_base)
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()
Droce_hsi.h3695 struct cq_base { struct
/linux-6.6.21/drivers/staging/qlge/
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()
Dqlge.h1463 void *cq_base; member
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c6779 struct hl_cq_entry *cq_base; in gaudi2_send_job_to_kdma() local
6813 cq_base = cq->kernel_address; in gaudi2_send_job_to_kdma()
6814 polling_addr = (u32 *)&cq_base[cq->ci]; in gaudi2_send_job_to_kdma()