Searched refs:cq_mask (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | fdinfo.c | 58 unsigned int sq_mask = ctx->sq_entries - 1, cq_mask = ctx->cq_entries - 1; in io_uring_show_fdinfo() local 85 seq_printf(m, "CqMask:\t0x%x\n", cq_mask); in io_uring_show_fdinfo() 126 struct io_uring_cqe *cqe = &r->cqes[(entry & cq_mask) << cq_shift]; in io_uring_show_fdinfo() 129 entry & cq_mask, cqe->user_data, cqe->res, in io_uring_show_fdinfo()
|
/openbmc/qemu/hw/riscv/ |
H A D | riscv-iommu.h | 51 uint32_t cq_mask; /* Command queue index bit mask */ member
|
H A D | riscv-iommu.c | 1548 tail = riscv_iommu_reg_get32(s, RISCV_IOMMU_REG_CQT) & s->cq_mask; in riscv_iommu_process_cq_tail() 1549 head = riscv_iommu_reg_get32(s, RISCV_IOMMU_REG_CQH) & s->cq_mask; in riscv_iommu_process_cq_tail() 1682 head = (head + 1) & s->cq_mask; in riscv_iommu_process_cq_tail() 1703 s->cq_mask = (2ULL << get_field(base, RISCV_IOMMU_CQB_LOG2SZ)) - 1; in riscv_iommu_process_cq_control() 1705 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_CQT], ~s->cq_mask); in riscv_iommu_process_cq_control()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_rx.c | 350 if (unlikely(q->cq_head == q->cq_mask)) { in advance_cq() 631 q->cq_mask = ncqe - 1; in fun_rxq_create_sw() 685 dma_free_coherent(q->dma_dev, (q->cq_mask + 1) * FUNETH_CQE_SIZE, in fun_rxq_free_sw() 700 unsigned int ncqe = q->cq_mask + 1; in fun_rxq_create_dev()
|
H A D | funeth_txrx.h | 171 unsigned int cq_mask; /* CQ depth - 1 */ member
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 990 memcpy(mask, &req->cq_mask, in rvu_nix_blk_aq_enq_inst() 1064 ena = (req->rq.ena & req->cq_mask.ena) | in rvu_nix_blk_aq_enq_inst() 1066 ~req->cq_mask.ena); in rvu_nix_blk_aq_enq_inst() 1125 memcpy(&aq_req.cq_mask, &req->cq_mask, sizeof(struct nix_cq_ctx_s)); in rvu_nix_verify_aq_ctx() 1129 aq_req.cq_mask.cq_err = 0; in rvu_nix_verify_aq_ctx() 1130 aq_req.cq_mask.wrptr = 0; in rvu_nix_verify_aq_ctx() 1131 aq_req.cq_mask.tail = 0; in rvu_nix_verify_aq_ctx() 1132 aq_req.cq_mask.head = 0; in rvu_nix_verify_aq_ctx() 1133 aq_req.cq_mask.avg_level = 0; in rvu_nix_verify_aq_ctx() 1134 aq_req.cq_mask.update_time = 0; in rvu_nix_verify_aq_ctx() [all …]
|
H A D | mbox.h | 917 struct nix_cq_ctx_s cq_mask; member 953 struct nix_cq_ctx_s cq_mask; member
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 364 aq->cq_mask.bpid = GENMASK(8, 0); in otx2_update_bpid_in_rqctx()
|