Home
last modified time | relevance | path

Searched refs:cq_head (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/snic/
Dvnic_cq.c48 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in svnic_cq_init() argument
60 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init()
75 iowrite32(0, &cq->ctrl->cq_head); in svnic_cq_clean()
Dvnic_cq.h33 u32 cq_head; /* 0x20 */ member
105 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Dvnic_cq.c58 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in vnic_cq_init() argument
70 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init()
87 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean()
Dvnic_cq.h35 u32 cq_head; /* 0x20 */ member
117 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dvnic_cq.c53 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in vnic_cq_init() argument
65 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init()
80 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean()
Dvnic_cq.h43 u32 cq_head; /* 0x20 */ member
115 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
/kernel/linux/linux-5.10/drivers/dma/
Dhisi_dma.c96 u32 cq_head; member
232 chan->cq_head = 0; in hisi_dma_free_chan_resources()
439 cqe = chan->cq + chan->cq_head; in hisi_dma_irq()
442 chan->cq_head = (chan->cq_head + 1) % in hisi_dma_irq()
446 chan->cq_head); in hisi_dma_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c27 cqe_hdr = (struct nix_cqe_hdr_s *)CQE_ADDR(cq, cq->cq_head); in otx2_get_next_cqe()
31 cq->cq_head++; in otx2_get_next_cqe()
32 cq->cq_head &= (cq->cqe_cnt - 1); in otx2_get_next_cqe()
310 cqe = (struct nix_cqe_rx_s *)CQE_ADDR(cq, cq->cq_head); in otx2_rx_napi_handler()
317 cq->cq_head++; in otx2_rx_napi_handler()
318 cq->cq_head &= (cq->cqe_cnt - 1); in otx2_rx_napi_handler()
Dotx2_txrx.h128 u32 cq_head; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_uk.c1094 u32 cq_head; in i40iw_clean_cq() local
1097 cq_head = cq->cq_ring.head; in i40iw_clean_cq()
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()
1114 cq_head = (cq_head + 1) % cq->cq_ring.size; in i40iw_clean_cq()
1115 if (!cq_head) in i40iw_clean_cq()
Di40iw_verbs.h107 u16 cq_head; member
/kernel/linux/linux-5.10/drivers/nvme/host/
Dpci.c203 u16 cq_head; member
976 struct nvme_completion *hcqe = &nvmeq->cqes[nvmeq->cq_head]; in nvme_cqe_pending()
983 u16 head = nvmeq->cq_head; in nvme_ring_cq_doorbell()
1030 u32 tmp = nvmeq->cq_head + 1; in nvme_update_cq_head()
1033 nvmeq->cq_head = 0; in nvme_update_cq_head()
1036 nvmeq->cq_head = tmp; in nvme_update_cq_head()
1051 nvme_handle_cqe(nvmeq, nvmeq->cq_head); in nvme_process_cq()
1525 nvmeq->cq_head = 0; in nvme_alloc_queue()
1560 nvmeq->cq_head = 0; in nvme_init_queue()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dqm.h257 u16 cq_head; member
Dqm.c611 if (qp->qp_status.cq_head == QM_Q_DEPTH - 1) { in qm_cq_head_update()
613 qp->qp_status.cq_head = 0; in qm_cq_head_update()
615 qp->qp_status.cq_head++; in qm_cq_head_update()
627 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
634 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
636 qp->qp_status.cq_head, 0); in qm_poll_qp()
642 qp->qp_status.cq_head, 1); in qm_poll_qp()
758 qp_status->cq_head = 0; in qm_init_qp_status()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c961 u64 cq_head; in nicvf_poll() local
974 cq_head = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_HEAD, in nicvf_poll()
978 cq->cq_idx, cq_head); in nicvf_poll()