Home
last modified time | relevance | path

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

/openbmc/linux/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
/openbmc/linux/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.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()
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()
H A 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()
H A Dverbs.c1968 info.cq_base = kmem_buf.va; in irdma_resize_cq()
2184 ukinfo->cq_base = iwcq->kmem.va; in irdma_create_cq()
H A Dhw.c1059 info.cq_base = ccq->mem_cq.va; in irdma_create_ccq()
/openbmc/linux/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()
/openbmc/linux/Documentation/networking/device_drivers/qlogic/
H A Dqlge.rst79 .cq_base = (void *)0x0,
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c411 if (qcq->cq_base) { in ionic_qcq_free()
412 dma_free_coherent(dev, qcq->cq_size, qcq->cq_base, qcq->cq_base_pa); in ionic_qcq_free()
413 qcq->cq_base = NULL; in ionic_qcq_free()
538 void *q_base, *cq_base, *sg_base; in ionic_qcq_alloc() local
612 cq_base = PTR_ALIGN(q_base + q_size, PAGE_SIZE); in ionic_qcq_alloc()
614 ionic_cq_map(&new->cq, cq_base, cq_base_pa); in ionic_qcq_alloc()
660 if (!new->cq_base) { in ionic_qcq_alloc()
665 cq_base = PTR_ALIGN(new->cq_base, PAGE_SIZE); in ionic_qcq_alloc()
667 ionic_cq_map(&new->cq, cq_base, cq_base_pa); in ionic_qcq_alloc()
782 memset(qcq->cq_base, 0, qcq->cq_size); in ionic_qcq_sanitize()
[all …]
H A Dionic_lif.h68 void *cq_base; member
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1464 struct cq_base *hw_cqe; in __clean_cq()
2147 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_create_cq()
2225 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_resize_cq()
2385 struct cq_base *peek_hwcqe; in do_wa9060()
2751 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty()
2997 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq()
H A Dqplib_fp.h346 #define BNXT_QPLIB_MAX_CQE_ENTRY_SIZE sizeof(struct cq_base)
H A Dib_verbs.c2982 entries * sizeof(struct cq_base), in bnxt_re_create_cq()
3109 entries * sizeof(struct cq_base), in bnxt_re_resize_cq()
4164 resp.cqe_sz = sizeof(struct cq_base); in bnxt_re_alloc_ucontext()
H A Droce_hsi.h3716 struct cq_base { struct
/openbmc/linux/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()
H A Dqlge.h1463 void *cq_base; member
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A 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()