Home
last modified time | relevance | path

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

/linux/drivers/scsi/snic/
H A Dvnic_cq.c34 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in svnic_cq_init() argument
46 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init()
61 iowrite32(0, &cq->ctrl->cq_head); in svnic_cq_clean()
H A Dvnic_cq.h19 u32 cq_head; /* 0x20 */ member
91 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
/linux/drivers/scsi/fnic/
H A Dvnic_cq.c41 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in vnic_cq_init() argument
53 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init()
68 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean()
H A Dvnic_cq.h31 u32 cq_head; /* 0x20 */ member
103 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_cq.h22 u32 cq_head; /* 0x20 */ member
89 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_queue.c295 cqe = funq->cqes + (funq->cq_head << funq->cqe_size_log2); in __fun_process_cq()
305 if (++funq->cq_head == funq->cq_depth) { in __fun_process_cq()
306 funq->cq_head = 0; in __fun_process_cq()
331 funq->cqid, new_cqes, max, funq->cq_head, funq->cq_phase); in __fun_process_cq()
349 db = funq->cq_head | FUN_DB_IRQ_ARM_F; in fun_process_cq()
/linux/drivers/dma/
H A Dhisi_dma.c152 u32 cq_head; member
472 chan->cq_head = 0; in hisi_dma_free_chan_resources()
738 cqe = chan->cq + chan->cq_head; in hisi_dma_irq()
741 chan->cq_head = (chan->cq_head + 1) % hdma_dev->chan_depth; in hisi_dma_irq()
743 chan->qp_num, chan->cq_head); in hisi_dma_irq()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c72 cq->cq_head = (status >> 20) & 0xFFFFF; in otx2_nix_cq_op_status()
73 if (cq->cq_tail < cq->cq_head) in otx2_nix_cq_op_status()
74 cq->pend_cqe = (cq->cqe_cnt - cq->cq_head) + in otx2_nix_cq_op_status()
77 cq->pend_cqe = cq->cq_tail - cq->cq_head; in otx2_nix_cq_op_status()
86 cqe_hdr = (struct nix_cqe_hdr_s *)CQE_ADDR(cq, cq->cq_head); in otx2_get_next_cqe()
90 cq->cq_head++; in otx2_get_next_cqe()
91 cq->cq_head &= (cq->cqe_cnt - 1); in otx2_get_next_cqe()
409 cqe = (struct nix_cqe_rx_s *)CQE_ADDR(cq, cq->cq_head); in otx2_rx_napi_handler()
416 cq->cq_head++; in otx2_rx_napi_handler()
417 cq->cq_head &= (cq->cqe_cnt - 1); in otx2_rx_napi_handler()
H A Dotx2_txrx.h149 u32 cq_head; member
/linux/drivers/nvme/host/
H A Dapple.c144 u16 cq_head; member
618 struct nvme_completion *hcqe = &q->cqes[q->cq_head]; in apple_nvme_cqe_pending()
658 u32 tmp = q->cq_head + 1; in apple_nvme_update_cq_head()
661 q->cq_head = 0; in apple_nvme_update_cq_head()
664 q->cq_head = tmp; in apple_nvme_update_cq_head()
681 apple_nvme_handle_cqe(q, iob, q->cq_head); in apple_nvme_poll_cq()
686 writel(q->cq_head, q->cq_db); in apple_nvme_poll_cq()
1029 q->cq_head = 0; in apple_nvme_init_queue()
H A Dpci.c380 u16 cq_head; member
1547 struct nvme_completion *hcqe = &nvmeq->cqes[nvmeq->cq_head]; in nvme_cqe_pending()
1554 u16 head = nvmeq->cq_head; in nvme_ring_cq_doorbell()
1610 u32 tmp = nvmeq->cq_head + 1; in nvme_update_cq_head()
1613 nvmeq->cq_head = 0; in nvme_update_cq_head()
1616 nvmeq->cq_head = tmp; in nvme_update_cq_head()
1632 nvme_handle_cqe(nvmeq, iob, nvmeq->cq_head); in nvme_poll_cq()
2167 nvmeq->cq_head = 0; in nvme_alloc_queue()
2203 nvmeq->cq_head = 0; in nvme_init_queue()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_txrx.h170 unsigned int cq_head; /* CQ head index */ member