| /linux/drivers/scsi/snic/ |
| H A D | vnic_cq.c | 34 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 D | vnic_cq.h | 19 u32 cq_head; /* 0x20 */ member 91 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
|
| /linux/drivers/scsi/fnic/ |
| H A D | vnic_cq.c | 41 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 D | vnic_cq.h | 31 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 D | vnic_cq.h | 22 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 D | fun_queue.c | 295 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 D | hisi_dma.c | 152 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 D | otx2_txrx.c | 72 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 D | otx2_txrx.h | 149 u32 cq_head; member
|
| /linux/drivers/nvme/host/ |
| H A D | apple.c | 144 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 D | pci.c | 380 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 D | funeth_txrx.h | 170 unsigned int cq_head; /* CQ head index */ member
|