/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | core.c | 151 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 D | core.h | 119 void *cq_base; member
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | user.h | 291 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 D | uk.c | 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 D | defs.h | 944 (_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 D | type.h | 625 struct irdma_cqe *cq_base; member 771 struct irdma_cqe *cq_base; member
|
H A D | puda.c | 241 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 D | ctrl.c | 2645 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 D | verbs.c | 1968 info.cq_base = kmem_buf.va; in irdma_resize_cq() 2184 ukinfo->cq_base = iwcq->kmem.va; in irdma_create_cq()
|
H A D | hw.c | 1059 info.cq_base = ccq->mem_cq.va; in irdma_create_ccq()
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | irq.c | 136 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 D | qlge.rst | 79 .cq_base = (void *)0x0,
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.c | 411 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 D | ionic_lif.h | 68 void *cq_base; member
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 1464 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 D | qplib_fp.h | 346 #define BNXT_QPLIB_MAX_CQE_ENTRY_SIZE sizeof(struct cq_base)
|
H A D | ib_verbs.c | 2982 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 D | roce_hsi.h | 3716 struct cq_base { struct
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_main.c | 987 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 D | qlge.h | 1463 void *cq_base; member
|
/openbmc/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 6779 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()
|