Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.c152 if (qcq->cq_base) in pdsc_qcq_free()
154 qcq->cq_base, qcq->cq_base_pa); in pdsc_qcq_free()
194 void *q_base, *cq_base; in pdsc_qcq_alloc() local
250 cq_base = PTR_ALIGN(q_base + in pdsc_qcq_alloc()
273 qcq->cq_base = dma_alloc_coherent(dev, qcq->cq_size, in pdsc_qcq_alloc()
276 if (!qcq->cq_base) { in pdsc_qcq_alloc()
280 cq_base = PTR_ALIGN(qcq->cq_base, PDS_PAGE_SIZE); in pdsc_qcq_alloc()
284 pdsc_cq_map(&qcq->cq, cq_base, cq_base_pa); in pdsc_qcq_alloc()
/linux/drivers/infiniband/hw/irdma/
H A Duser.h437 void irdma_uk_cq_resize(struct irdma_cq_uk *cq, void *cq_base, int size);
533 struct irdma_cqe *cq_base; member
573 struct irdma_cqe *cq_base; member
H A Dverbs.c2110 info.cq_base = kmem_buf.va; in irdma_resize_cq()
2629 ukinfo->cq_base = iwcq->kmem.va; in irdma_create_cq()
H A Dhw.c1169 info.cq_base = ccq->mem_cq.va; in irdma_create_ccq()
/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()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c439 if (qcq->cq_base) { in ionic_qcq_free()
440 dma_free_coherent(dev, qcq->cq_size, qcq->cq_base, qcq->cq_base_pa); in ionic_qcq_free()
441 qcq->cq_base = NULL; in ionic_qcq_free()
699 new->cq_base = dma_alloc_coherent(dev, new->cq_size, &new->cq_base_pa, in ionic_qcq_alloc()
701 if (!new->cq_base) { in ionic_qcq_alloc()
706 new->cq.base = PTR_ALIGN(new->cq_base, PAGE_SIZE); in ionic_qcq_alloc()
734 dma_free_coherent(dev, new->cq_size, new->cq_base, new->cq_base_pa); in ionic_qcq_alloc()
827 memset(qcq->cq_base, 0, qcq->cq_size); in ionic_qcq_sanitize()
2915 swap(a->cq_base, b->cq_base); in ionic_swap_queues()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1539 struct cq_base *hw_cqe; in __clean_cq()
2223 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_create_cq()
2323 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_resize_cq()
2483 struct cq_base *peek_hwcqe; in do_wa9060()
2892 struct cq_base *hw_cqe; in bnxt_qplib_is_cq_empty()
3138 struct cq_base *hw_cqe; in bnxt_qplib_poll_cq()
H A Dib_verbs.c3186 entries * sizeof(struct cq_base), in bnxt_re_create_cq()
3318 entries * sizeof(struct cq_base), in bnxt_re_resize_cq()
4396 resp.cqe_sz = sizeof(struct cq_base); in bnxt_re_alloc_ucontext()
/linux/drivers/infiniband/hw/ionic/
H A Dionic_controlpath.c57 *cqid = dev->lif_cfg.cq_base + in ionic_get_cqid()
69 u32 bitid = ionic_qid_to_bitid(cqid - dev->lif_cfg.cq_base, in ionic_put_cqid()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c7268 struct hl_cq_entry *cq_base; in gaudi2_send_job_to_kdma() local
7302 cq_base = cq->kernel_address; in gaudi2_send_job_to_kdma()
7303 polling_addr = (u32 *)&cq_base[cq->ci]; in gaudi2_send_job_to_kdma()