/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_cq.c | 53 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in vnic_cq_init() 65 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 80 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean() 52 vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr) vnic_cq_init() argument
|
H A D | vnic_cq.h | 43 u32 cq_head; /* 0x20 */ member 115 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | vnic_cq.c | 48 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in svnic_cq_init() 60 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init() 75 iowrite32(0, &cq->ctrl->cq_head); in svnic_cq_clean() 47 svnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr) svnic_cq_init() argument
|
H A D | vnic_cq.h | 33 u32 cq_head; /* 0x20 */ member 105 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
|
/kernel/linux/linux-6.6/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() 46 iowrite32(cq_head, &cq->ctrl->cq_head); in svnic_cq_init() 61 iowrite32(0, &cq->ctrl->cq_head); in svnic_cq_clean() 33 svnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr) svnic_cq_init() argument
|
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,
|
/kernel/linux/linux-6.6/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() 53 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 68 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean() 40 vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr) vnic_cq_init() argument
|
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,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_cq.c | 58 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in vnic_cq_init() 70 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 87 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean() 57 vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr) vnic_cq_init() argument
|
H A D | vnic_cq.h | 35 u32 cq_head; /* 0x20 */ member 117 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_trace.h | 85 __field(u32, cq_head) 95 __entry->cq_head = rxq->cq_head; 104 __get_str(devname), __entry->qidx, __entry->cq_head,
|
H A D | funeth_rx.c | 350 if (unlikely(q->cq_head == q->cq_mask)) { in advance_cq() 351 q->cq_head = 0; in advance_cq() 355 q->cq_head++; in advance_cq() 515 u32 cq_db_val = q->cq_head; in fun_rxq_napi_poll() 716 q->cq_head = 0; in fun_rxq_create_dev()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_cq.c | 39 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, in vnic_cq_init() 51 iowrite32(cq_head, &cq->ctrl->cq_head); in vnic_cq_init() 68 iowrite32(0, &cq->ctrl->cq_head); in vnic_cq_clean() 38 vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail, unsigned int cq_tail_color, unsigned int interrupt_enable, unsigned int cq_entry_enable, unsigned int cq_message_enable, unsigned int interrupt_offset, u64 cq_message_addr) vnic_cq_init() argument
|
H A D | vnic_cq.h | 22 u32 cq_head; /* 0x20 */ member 104 unsigned int color_enable, unsigned int cq_head, unsigned int cq_tail,
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | fdinfo.c | 61 unsigned int cq_head = READ_ONCE(r->cq.head); in io_uring_show_fdinfo() local 78 * and sq_tail and cq_head are changed by userspace. But it's ok since in io_uring_show_fdinfo() 86 seq_printf(m, "CqHead:\t%u\n", cq_head); in io_uring_show_fdinfo() 122 seq_printf(m, "CQEs:\t%u\n", cq_tail - cq_head); in io_uring_show_fdinfo() 123 cq_entries = min(cq_tail - cq_head, ctx->cq_entries); in io_uring_show_fdinfo() 125 unsigned int entry = i + cq_head; in io_uring_show_fdinfo()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | hisi_dma.c | 96 u32 cq_head; member 236 chan->cq_head = 0; in hisi_dma_free_chan_resources() 442 cqe = chan->cq + chan->cq_head; in hisi_dma_irq() 444 chan->cq_head = (chan->cq_head + 1) % hdma_dev->chan_depth; in hisi_dma_irq() 446 chan->qp_num, chan->cq_head); in hisi_dma_irq()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 27 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()
|
H A D | otx2_txrx.h | 128 u32 cq_head; member
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_uk.c | 1094 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()
|
H A D | i40iw_verbs.h | 107 u16 cq_head; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 50 cq->cq_head = (status >> 20) & 0xFFFFF; in otx2_nix_cq_op_status() 51 if (cq->cq_tail < cq->cq_head) in otx2_nix_cq_op_status() 52 cq->pend_cqe = (cq->cqe_cnt - cq->cq_head) + in otx2_nix_cq_op_status() 55 cq->pend_cqe = cq->cq_tail - cq->cq_head; in otx2_nix_cq_op_status() 64 cqe_hdr = (struct nix_cqe_hdr_s *)CQE_ADDR(cq, cq->cq_head); in otx2_get_next_cqe() 68 cq->cq_head++; in otx2_get_next_cqe() 69 cq->cq_head &= (cq->cqe_cnt - 1); in otx2_get_next_cqe() 404 cqe = (struct nix_cqe_rx_s *)CQE_ADDR(cq, cq->cq_head); in otx2_rx_napi_handler() 411 cq->cq_head++; in otx2_rx_napi_handler() 412 cq->cq_head in otx2_rx_napi_handler() [all...] |
H A D | otx2_txrx.h | 135 u32 cq_head; member
|
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | apple.c | 145 u16 cq_head; member 571 struct nvme_completion *hcqe = &q->cqes[q->cq_head]; in apple_nvme_cqe_pending() 609 u32 tmp = q->cq_head + 1; in apple_nvme_update_cq_head() 612 q->cq_head = 0; in apple_nvme_update_cq_head() 615 q->cq_head = tmp; in apple_nvme_update_cq_head() 632 apple_nvme_handle_cqe(q, iob, q->cq_head); in apple_nvme_poll_cq() 637 writel(q->cq_head, q->cq_db); in apple_nvme_poll_cq() 972 q->cq_head = 0; in apple_nvme_init_queue()
|