qidx 216 drivers/crypto/ccp/ccp-dev-v5.c n = head_idx + COMMANDS_PER_QUEUE - cmd_q->qidx - 1; qidx 238 drivers/crypto/ccp/ccp-dev-v5.c mP = (u32 *) &cmd_q->qbase[cmd_q->qidx]; qidx 243 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qidx = (cmd_q->qidx + 1) % COMMANDS_PER_QUEUE; qidx 249 drivers/crypto/ccp/ccp-dev-v5.c tail = low_address(cmd_q->qdma_tail + cmd_q->qidx * Q_DESC_SIZE); qidx 828 drivers/crypto/ccp/ccp-dev-v5.c cmd_q->qidx = 0; qidx 274 drivers/crypto/ccp/ccp-dev.h unsigned int qidx; qidx 387 drivers/crypto/chelsio/chcr_ipsec.c u32 qidx; qidx 395 drivers/crypto/chelsio/chcr_ipsec.c qidx = skb->queue_mapping; qidx 396 drivers/crypto/chelsio/chcr_ipsec.c q = &adap->sge.ethtxq[qidx + pi->first_qset]; qidx 437 drivers/crypto/chelsio/chcr_ipsec.c u32 ctrl0, qidx; qidx 443 drivers/crypto/chelsio/chcr_ipsec.c qidx = skb->queue_mapping; qidx 444 drivers/crypto/chelsio/chcr_ipsec.c q = &adap->sge.ethtxq[qidx + pi->first_qset]; qidx 482 drivers/crypto/chelsio/chcr_ipsec.c unsigned int qidx; qidx 486 drivers/crypto/chelsio/chcr_ipsec.c qidx = skb->queue_mapping; qidx 487 drivers/crypto/chelsio/chcr_ipsec.c q = &adap->sge.ethtxq[qidx + pi->first_qset]; qidx 542 drivers/crypto/chelsio/chcr_ipsec.c int qidx = skb_get_queue_mapping(skb); qidx 543 drivers/crypto/chelsio/chcr_ipsec.c struct sge_eth_txq *q = &adap->sge.ethtxq[qidx + pi->first_qset]; qidx 678 drivers/crypto/chelsio/chcr_ipsec.c int qidx, left, credits; qidx 700 drivers/crypto/chelsio/chcr_ipsec.c qidx = skb->queue_mapping; qidx 701 drivers/crypto/chelsio/chcr_ipsec.c q = &adap->sge.ethtxq[qidx + pi->first_qset]; qidx 713 drivers/crypto/chelsio/chcr_ipsec.c dev->name, qidx, credits, ndesc, txq_avail(&q->q), qidx 1745 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c int qidx = 0, abs_vfid; qidx 1794 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c qidx = cid & ((1 << BNX2X_VF_CID_WND)-1); qidx 1808 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, qidx); qidx 1809 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vfq_get(vf, qidx)->sp_obj.complete_cmd(bp, qidx 1811 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c qidx)->sp_obj, qidx 1816 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, qidx); qidx 1817 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bnx2x_vf_handle_classification_eqe(bp, vfq_get(vf, qidx), elem); qidx 1821 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, qidx); qidx 1826 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, qidx); qidx 1831 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, qidx); qidx 26 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx); qidx 684 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx) qidx 694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c req->vf_qid = qidx; qidx 706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c BNX2X_ERR("Sending TEARDOWN for queue %d failed: %d\n", qidx, qidx 713 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c BNX2X_ERR("TEARDOWN for queue %d failed: %d\n", qidx, qidx 2927 drivers/net/ethernet/broadcom/bnxt/bnxt.c u8 qidx; qidx 2954 drivers/net/ethernet/broadcom/bnxt/bnxt.c qidx = bp->tc_to_qidx[j]; qidx 2955 drivers/net/ethernet/broadcom/bnxt/bnxt.c ring->queue_id = bp->q_info[qidx].queue_id; qidx 51 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c u8 qidx; qidx 56 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c qidx = bp->tc_to_qidx[ets->prio_tc[i]]; qidx 57 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c pri2cos[i] = bp->q_info[qidx].queue_id; qidx 101 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c u8 qidx = bp->tc_to_qidx[i]; qidx 105 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c qidx); qidx 108 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c cos2bw.queue_id = bp->q_info[qidx].queue_id; qidx 124 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c data = &req.unused_0 + qidx * (sizeof(cos2bw) - 4); qidx 126 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (qidx == 0) { qidx 260 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c u8 qidx = bp->tc_to_qidx[i]; qidx 262 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (!BNXT_LLQ(bp->q_info[qidx].queue_profile)) { qidx 215 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c int stats, qidx; qidx 218 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (qidx = 0; qidx < nic->qs->rq_cnt; qidx++) { qidx 220 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c sprintf(*data, "rxq%d: %s", qidx + start_qidx, qidx 226 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { qidx 228 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c sprintf(*data, "txq%d: %s", qidx + start_qidx, qidx 302 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c int stat, qidx; qidx 307 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (qidx = 0; qidx < nic->qs->rq_cnt; qidx++) { qidx 308 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_update_rq_stats(nic, qidx); qidx 310 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c *((*data)++) = ((u64 *)&nic->qs->rq[qidx].stats) qidx 314 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { qidx 315 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_update_sq_stats(nic, qidx); qidx 317 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c *((*data)++) = ((u64 *)&nic->qs->sq[qidx].stats) qidx 75 drivers/net/ethernet/cavium/thunder/nicvf_main.c static inline u8 nicvf_netdev_qidx(struct nicvf *nic, u8 qidx) qidx 78 drivers/net/ethernet/cavium/thunder/nicvf_main.c return qidx + ((nic->sqs_id + 1) * MAX_CMP_QUEUES_PER_QS); qidx 80 drivers/net/ethernet/cavium/thunder/nicvf_main.c return qidx; qidx 104 drivers/net/ethernet/cavium/thunder/nicvf_main.c u64 qidx, u64 val) qidx 108 drivers/net/ethernet/cavium/thunder/nicvf_main.c writeq_relaxed(val, addr + (qidx << NIC_Q_NUM_SHIFT)); qidx 111 drivers/net/ethernet/cavium/thunder/nicvf_main.c u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) qidx 115 drivers/net/ethernet/cavium/thunder/nicvf_main.c return readq_relaxed(addr + (qidx << NIC_Q_NUM_SHIFT)); qidx 992 drivers/net/ethernet/cavium/thunder/nicvf_main.c int qidx; qidx 998 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) { qidx 1000 drivers/net/ethernet/cavium/thunder/nicvf_main.c qidx); qidx 1004 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_disable_intr(nic, NICVF_INTR_CQ, qidx); qidx 1005 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_sq_disable(nic, qidx); qidx 1006 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_cq_intr_handler(nic->netdev, qidx, NULL, 0); qidx 1007 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_cmp_queue_config(nic, qs, qidx, true); qidx 1008 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_sq_free_used_descs(nic->netdev, &qs->sq[qidx], qidx); qidx 1009 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_sq_enable(nic, &qs->sq[qidx], qidx); qidx 1011 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_enable_intr(nic, NICVF_INTR_CQ, qidx); qidx 1046 drivers/net/ethernet/cavium/thunder/nicvf_main.c int qidx = cq_poll->cq_idx; qidx 1051 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_disable_intr(nic, NICVF_INTR_CQ, qidx); qidx 1057 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_clear_intr(nic, NICVF_INTR_CQ, qidx); qidx 1065 drivers/net/ethernet/cavium/thunder/nicvf_main.c u8 qidx; qidx 1071 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < nic->qs->rbdr_cnt; qidx++) { qidx 1072 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (!nicvf_is_intr_enabled(nic, NICVF_INTR_RBDR, qidx)) qidx 1074 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_disable_intr(nic, NICVF_INTR_RBDR, qidx); qidx 1077 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_clear_intr(nic, NICVF_INTR_RBDR, qidx); qidx 1316 drivers/net/ethernet/cavium/thunder/nicvf_main.c int qidx; qidx 1318 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < nic->qs->cq_cnt; qidx++) { qidx 1319 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll = nic->napi[qidx]; qidx 1322 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->napi[qidx] = NULL; qidx 1329 drivers/net/ethernet/cavium/thunder/nicvf_main.c int irq, qidx; qidx 1350 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < nic->sqs_count; qidx++) { qidx 1351 drivers/net/ethernet/cavium/thunder/nicvf_main.c if (!nic->snicvf[qidx]) qidx 1353 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_stop(nic->snicvf[qidx]->netdev); qidx 1354 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->snicvf[qidx] = NULL; qidx 1359 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) { qidx 1360 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_disable_intr(nic, NICVF_INTR_RBDR, qidx); qidx 1361 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_clear_intr(nic, NICVF_INTR_RBDR, qidx); qidx 1375 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < nic->qs->cq_cnt; qidx++) { qidx 1376 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll = nic->napi[qidx]; qidx 1383 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_disable_intr(nic, NICVF_INTR_CQ, qidx); qidx 1384 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_clear_intr(nic, NICVF_INTR_CQ, qidx); qidx 1391 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < netdev->num_tx_queues; qidx++) qidx 1392 drivers/net/ethernet/cavium/thunder/nicvf_main.c netdev_tx_reset_queue(netdev_get_tx_queue(netdev, qidx)); qidx 1454 drivers/net/ethernet/cavium/thunder/nicvf_main.c int cpu, err, qidx; qidx 1470 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) { qidx 1476 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll->cq_idx = qidx; qidx 1481 drivers/net/ethernet/cavium/thunder/nicvf_main.c nic->napi[qidx] = cq_poll; qidx 1549 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) qidx 1550 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_enable_intr(nic, NICVF_INTR_CQ, qidx); qidx 1553 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) qidx 1554 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_enable_intr(nic, NICVF_INTR_RBDR, qidx); qidx 1573 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) { qidx 1574 drivers/net/ethernet/cavium/thunder/nicvf_main.c cq_poll = nic->napi[qidx]; qidx 1664 drivers/net/ethernet/cavium/thunder/nicvf_main.c int qidx, cpu; qidx 1719 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->rq_cnt; qidx++) qidx 1720 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_rq_stats(nic, qidx); qidx 1721 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (qidx = 0; qidx < qs->sq_cnt; qidx++) qidx 1722 drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_update_sq_stats(nic, qidx); qidx 31 drivers/net/ethernet/cavium/thunder/nicvf_queues.c static int nicvf_poll_reg(struct nicvf *nic, int qidx, qidx 42 drivers/net/ethernet/cavium/thunder/nicvf_queues.c reg_val = nicvf_queue_reg_read(nic, reg, qidx); qidx 504 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct snd_queue *sq, int q_len, int qidx) qidx 524 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx += ((nic->sqs_id + 1) * MAX_SND_QUEUES_PER_QS); qidx 525 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (qidx < nic->pnicvf->xdp_tx_queues) { qidx 627 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct queue_set *qs, int qidx) qidx 630 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_CFG, qidx, 0); qidx 632 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_poll_reg(nic, qidx, NIC_QSET_SQ_0_7_STATUS, 21, 1, 0x01)) qidx 635 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_CFG, qidx, NICVF_SQ_RESET); qidx 639 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct queue_set *qs, int qidx) qidx 649 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct queue_set *qs, int qidx) qidx 652 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_CFG2, qidx, 0); qidx 654 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_CFG, qidx, 0); qidx 656 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_CFG, qidx, NICVF_CQ_RESET); qidx 660 drivers/net/ethernet/cavium/thunder/nicvf_queues.c struct rbdr *rbdr, int qidx) qidx 668 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx) >> 3; qidx 671 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx) >> 3; qidx 676 drivers/net/ethernet/cavium/thunder/nicvf_queues.c fifo_state = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_STATUS0, qidx); qidx 679 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, NICVF_RBDR_RESET); qidx 682 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_RBDR_0_1_CFG, qidx, 0); qidx 683 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_poll_reg(nic, qidx, NIC_QSET_RBDR_0_1_STATUS0, 62, 2, 0x00)) qidx 688 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx); qidx 700 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, NICVF_RBDR_RESET); qidx 702 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_poll_reg(nic, qidx, NIC_QSET_RBDR_0_1_STATUS0, 62, 2, 0x02)) qidx 704 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_RBDR_0_1_CFG, qidx, 0x00); qidx 705 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_poll_reg(nic, qidx, NIC_QSET_RBDR_0_1_STATUS0, 62, 2, 0x00)) qidx 745 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx, bool enable) qidx 751 drivers/net/ethernet/cavium/thunder/nicvf_queues.c rq = &qs->rq[qidx]; qidx 755 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_RQ_0_7_CFG, qidx, 0); qidx 758 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_rcv_queue(nic, qs, qidx); qidx 764 drivers/net/ethernet/cavium/thunder/nicvf_queues.c rq->cq_idx = qidx; qidx 773 drivers/net/ethernet/cavium/thunder/nicvf_queues.c WARN_ON(xdp_rxq_info_reg(&rq->xdp_rxq, nic->netdev, qidx) < 0); qidx 778 drivers/net/ethernet/cavium/thunder/nicvf_queues.c mbx.rq.rq_num = qidx; qidx 800 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (!nic->sqs_mode && (qidx == 0)) { qidx 813 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_RQ_0_7_CFG, qidx, *(u64 *)&rq_cfg); qidx 818 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx, bool enable) qidx 823 drivers/net/ethernet/cavium/thunder/nicvf_queues.c cq = &qs->cq[qidx]; qidx 827 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_cmp_queue(nic, qs, qidx); qidx 832 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_CFG, qidx, NICVF_CQ_RESET); qidx 840 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, (u64)(cq->dmem.phys_base)); qidx 849 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_CFG, qidx, *(u64 *)&cq_cfg); qidx 852 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_THRESH, qidx, cq->thresh); qidx 854 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, CMP_QUEUE_TIMER_THRESH); qidx 859 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx, bool enable) qidx 865 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq = &qs->sq[qidx]; qidx 869 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_snd_queue(nic, qs, qidx); qidx 874 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_CFG, qidx, NICVF_SQ_RESET); qidx 877 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq->cq_idx = qidx; qidx 882 drivers/net/ethernet/cavium/thunder/nicvf_queues.c mbx.sq.sq_num = qidx; qidx 889 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, (u64)(sq->dmem.phys_base)); qidx 902 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_CFG, qidx, *(u64 *)&sq_cfg); qidx 905 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_THRESH, qidx, sq->thresh); qidx 908 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (cpu_online(qidx)) { qidx 909 drivers/net/ethernet/cavium/thunder/nicvf_queues.c cpumask_set_cpu(qidx, &sq->affinity_mask); qidx 911 drivers/net/ethernet/cavium/thunder/nicvf_queues.c &sq->affinity_mask, qidx); qidx 917 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx, bool enable) qidx 922 drivers/net/ethernet/cavium/thunder/nicvf_queues.c rbdr = &qs->rbdr[qidx]; qidx 923 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_reclaim_rbdr(nic, rbdr, qidx); qidx 929 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, (u64)(rbdr->dmem.phys_base)); qidx 941 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, *(u64 *)&rbdr_cfg); qidx 945 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, qs->rbdr_len - 1); qidx 949 drivers/net/ethernet/cavium/thunder/nicvf_queues.c qidx, rbdr->thresh - 1); qidx 990 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx; qidx 994 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) qidx 995 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_free_rbdr(nic, &qs->rbdr[qidx]); qidx 998 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) qidx 999 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_free_cmp_queue(nic, &qs->cq[qidx]); qidx 1002 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->sq_cnt; qidx++) qidx 1003 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_free_snd_queue(nic, &qs->sq[qidx]); qidx 1008 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx; qidx 1012 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) { qidx 1013 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_init_rbdr(nic, &qs->rbdr[qidx], qs->rbdr_len, qidx 1019 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->sq_cnt; qidx++) { qidx 1020 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_init_snd_queue(nic, &qs->sq[qidx], qs->sq_len, qidx)) qidx 1025 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) { qidx 1026 drivers/net/ethernet/cavium/thunder/nicvf_queues.c if (nicvf_init_cmp_queue(nic, &qs->cq[qidx], qs->cq_len)) qidx 1068 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx; qidx 1086 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->sq_cnt; qidx++) qidx 1087 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_snd_queue_config(nic, qs, qidx, enable); qidx 1088 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) qidx 1089 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_cmp_queue_config(nic, qs, qidx, enable); qidx 1090 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) qidx 1091 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_rbdr_config(nic, qs, qidx, enable); qidx 1092 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->rq_cnt; qidx++) qidx 1093 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_rcv_queue_config(nic, qs, qidx, enable); qidx 1095 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->rq_cnt; qidx++) qidx 1096 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_rcv_queue_config(nic, qs, qidx, disable); qidx 1097 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) qidx 1098 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_rbdr_config(nic, qs, qidx, disable); qidx 1099 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->sq_cnt; qidx++) qidx 1100 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_snd_queue_config(nic, qs, qidx, disable); qidx 1101 drivers/net/ethernet/cavium/thunder/nicvf_queues.c for (qidx = 0; qidx < qs->cq_cnt; qidx++) qidx 1102 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_cmp_queue_config(nic, qs, qidx, disable); qidx 1159 drivers/net/ethernet/cavium/thunder/nicvf_queues.c void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx) qidx 1163 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq_cfg = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_CFG, qidx); qidx 1165 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_CFG, qidx, sq_cfg); qidx 1167 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_DOOR, qidx, 0); qidx 1170 drivers/net/ethernet/cavium/thunder/nicvf_queues.c void nicvf_sq_disable(struct nicvf *nic, int qidx) qidx 1174 drivers/net/ethernet/cavium/thunder/nicvf_queues.c sq_cfg = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_CFG, qidx); qidx 1176 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_CFG, qidx, sq_cfg); qidx 1180 drivers/net/ethernet/cavium/thunder/nicvf_queues.c int qidx) qidx 1187 drivers/net/ethernet/cavium/thunder/nicvf_queues.c head = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_HEAD, qidx) >> 4; qidx 1188 drivers/net/ethernet/cavium/thunder/nicvf_queues.c tail = nicvf_queue_reg_read(nic, NIC_QSET_SQ_0_7_TAIL, qidx) >> 4; qidx 336 drivers/net/ethernet/cavium/thunder/nicvf_queues.h int qidx, bool enable); qidx 338 drivers/net/ethernet/cavium/thunder/nicvf_queues.h void nicvf_sq_enable(struct nicvf *nic, struct snd_queue *sq, int qidx); qidx 339 drivers/net/ethernet/cavium/thunder/nicvf_queues.h void nicvf_sq_disable(struct nicvf *nic, int qidx); qidx 342 drivers/net/ethernet/cavium/thunder/nicvf_queues.h struct snd_queue *sq, int qidx); qidx 365 drivers/net/ethernet/cavium/thunder/nicvf_queues.h u64 qidx, u64 val); qidx 367 drivers/net/ethernet/cavium/thunder/nicvf_queues.h u64 offset, u64 qidx); qidx 403 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c int i, j, err, qidx = 0; qidx 409 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c err = request_irq(adap->msix_info[qidx + 1].vec, qidx 411 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->sge.qs[qidx]. qidx 413 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->msix_info[qidx + 1].desc, qidx 414 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c &adap->sge.qs[qidx]); qidx 416 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c while (--qidx >= 0) qidx 417 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c free_irq(adap->msix_info[qidx + 1].vec, qidx 418 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c &adap->sge.qs[qidx]); qidx 421 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c qidx++; qidx 942 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c static int send_pktsched_cmd(struct adapter *adap, int sched, int qidx, int lo, qidx 959 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c req->idx = qidx; qidx 2620 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c int qidx; qidx 2622 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c for (qidx = pi->first_qset; qidx < pi->first_qset + pi->nqsets; qidx++) { qidx 2623 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c struct sge_qset *qs = &adapter->sge.qs[qidx]; qidx 167 drivers/net/ethernet/chelsio/cxgb3/sge.c static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx) qidx 169 drivers/net/ethernet/chelsio/cxgb3/sge.c return container_of(q, struct sge_qset, fl[qidx]); qidx 177 drivers/net/ethernet/chelsio/cxgb3/sge.c static inline struct sge_qset *txq_to_qset(const struct sge_txq *q, int qidx) qidx 179 drivers/net/ethernet/chelsio/cxgb3/sge.c return container_of(q, struct sge_qset, txq[qidx]); qidx 1265 drivers/net/ethernet/chelsio/cxgb3/sge.c int qidx; qidx 1283 drivers/net/ethernet/chelsio/cxgb3/sge.c qidx = skb_get_queue_mapping(skb); qidx 1284 drivers/net/ethernet/chelsio/cxgb3/sge.c qs = &pi->qs[qidx]; qidx 1286 drivers/net/ethernet/chelsio/cxgb3/sge.c txq = netdev_get_tx_queue(dev, qidx); qidx 5080 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int i, n10g = 0, qidx = 0; qidx 5139 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c pi->first_qset = qidx; qidx 5141 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c qidx += pi->nqsets; qidx 5159 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c pi->first_qset = qidx; qidx 5161 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c qidx += pi->nqsets; qidx 5165 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c s->ethqsets = qidx; qidx 5166 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c s->max_ethqsets = qidx; /* MSI-X may lower it later */ qidx 1367 drivers/net/ethernet/chelsio/cxgb4/sge.c int qidx, credits; qidx 1410 drivers/net/ethernet/chelsio/cxgb4/sge.c qidx = skb_get_queue_mapping(skb); qidx 1422 drivers/net/ethernet/chelsio/cxgb4/sge.c q = &adap->sge.ethtxq[qidx + pi->first_qset]; qidx 1447 drivers/net/ethernet/chelsio/cxgb4/sge.c dev->name, qidx); qidx 1710 drivers/net/ethernet/chelsio/cxgb4/sge.c int qidx, credits, max_pkt_len; qidx 1741 drivers/net/ethernet/chelsio/cxgb4/sge.c qidx = skb_get_queue_mapping(skb); qidx 1742 drivers/net/ethernet/chelsio/cxgb4/sge.c WARN_ON(qidx >= pi->nqsets); qidx 1743 drivers/net/ethernet/chelsio/cxgb4/sge.c txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; qidx 1767 drivers/net/ethernet/chelsio/cxgb4/sge.c dev->name, qidx); qidx 2734 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c int q10g, n10g, qidx, pidx, qs; qidx 2770 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c qidx = 0; qidx 2774 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c pi->first_qset = qidx; qidx 2776 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c qidx += pi->nqsets; qidx 2778 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c s->ethqsets = qidx; qidx 1161 drivers/net/ethernet/chelsio/cxgb4vf/sge.c int qidx, credits, max_pkt_len; qidx 1196 drivers/net/ethernet/chelsio/cxgb4vf/sge.c qidx = skb_get_queue_mapping(skb); qidx 1197 drivers/net/ethernet/chelsio/cxgb4vf/sge.c BUG_ON(qidx >= pi->nqsets); qidx 1198 drivers/net/ethernet/chelsio/cxgb4vf/sge.c txq = &adapter->sge.ethtxq[pi->first_qset + qidx]; qidx 1229 drivers/net/ethernet/chelsio/cxgb4vf/sge.c dev->name, qidx); qidx 466 drivers/net/ethernet/marvell/octeontx2/af/mbox.h u32 qidx; qidx 487 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!pfvf->rq_ctx || req->qidx >= pfvf->rq_ctx->qsize) qidx 491 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!pfvf->sq_ctx || req->qidx >= pfvf->sq_ctx->qsize) qidx 495 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!pfvf->cq_ctx || req->qidx >= pfvf->cq_ctx->qsize) qidx 502 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (req->qidx >= (256UL << (cfg & 0xF)))) qidx 509 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (req->qidx >= (256UL << (cfg & 0xF)))) qidx 537 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c inst.cindex = req->qidx; qidx 604 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __set_bit(req->qidx, pfvf->rq_bmap); qidx 606 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __set_bit(req->qidx, pfvf->sq_bmap); qidx 608 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __set_bit(req->qidx, pfvf->cq_bmap); qidx 614 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (test_bit(req->qidx, pfvf->rq_bmap) & qidx 617 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __set_bit(req->qidx, pfvf->rq_bmap); qidx 619 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __clear_bit(req->qidx, pfvf->rq_bmap); qidx 623 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (test_bit(req->qidx, pfvf->sq_bmap) & qidx 626 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __set_bit(req->qidx, pfvf->sq_bmap); qidx 628 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __clear_bit(req->qidx, pfvf->sq_bmap); qidx 632 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (test_bit(req->qidx, pfvf->cq_bmap) & qidx 635 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __set_bit(req->qidx, pfvf->cq_bmap); qidx 637 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c __clear_bit(req->qidx, pfvf->cq_bmap); qidx 671 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c int qidx, q_cnt = 0; qidx 702 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c for (qidx = 0; qidx < q_cnt; qidx++) { qidx 703 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (!test_bit(qidx, bmap)) qidx 705 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c aq_req.qidx = qidx; qidx 712 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c "RQ" : "SQ"), qidx); qidx 1631 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c aq_req.qidx = mce; qidx 989 drivers/net/ethernet/netronome/nfp/nfp_net_common.c u16 qidx; qidx 992 drivers/net/ethernet/netronome/nfp/nfp_net_common.c qidx = skb_get_queue_mapping(skb); qidx 993 drivers/net/ethernet/netronome/nfp/nfp_net_common.c tx_ring = &dp->tx_rings[qidx]; qidx 1000 drivers/net/ethernet/netronome/nfp/nfp_net_common.c qidx, tx_ring->wr_p, tx_ring->rd_p); qidx 1001 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nd_q = netdev_get_tx_queue(dp->netdev, qidx); qidx 1999 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c int qidx, hslot; qidx 2004 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c qidx = 2 * fifo; qidx 2006 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c qidx++; qidx 2008 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c pktout = brcmu_pktq_penq_head(&entry->psq, qidx, skb); qidx 2010 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c bphy_err(drvr, "%s queue %d full\n", entry->name, qidx); qidx 1837 drivers/nvme/host/fc.c unsigned int qidx) qidx 1839 drivers/nvme/host/fc.c struct nvme_fc_queue *queue = &ctrl->queues[qidx]; qidx 1923 drivers/nvme/host/fc.c struct nvme_fc_queue *queue, unsigned int qidx) qidx 1926 drivers/nvme/host/fc.c ctrl->lport->ops->delete_queue(&ctrl->lport->localport, qidx, qidx 1942 drivers/nvme/host/fc.c struct nvme_fc_queue *queue, unsigned int qidx, u16 qsize) qidx 1949 drivers/nvme/host/fc.c qidx, qsize, &queue->lldd_handle); qidx 282 drivers/nvme/target/fcloop.c unsigned int qidx, u16 qsize, qidx 745 drivers/scsi/csiostor/csio_wr.c csio_wr_cleanup_eq_stpg(struct csio_hw *hw, int qidx) qidx 747 drivers/scsi/csiostor/csio_wr.c struct csio_q *q = csio_hw_to_wrm(hw)->q_arr[qidx]; qidx 762 drivers/scsi/csiostor/csio_wr.c csio_wr_cleanup_iq_ftr(struct csio_hw *hw, int qidx) qidx 765 drivers/scsi/csiostor/csio_wr.c struct csio_q *q = wrm->q_arr[qidx]; qidx 862 drivers/scsi/csiostor/csio_wr.c csio_wr_get(struct csio_hw *hw, int qidx, uint32_t size, qidx 866 drivers/scsi/csiostor/csio_wr.c struct csio_q *q = wrm->q_arr[qidx]; qidx 877 drivers/scsi/csiostor/csio_wr.c CSIO_DB_ASSERT((qidx >= 0) && (qidx < wrm->free_qidx)); qidx 981 drivers/scsi/csiostor/csio_wr.c csio_wr_issue(struct csio_hw *hw, int qidx, bool prio) qidx 984 drivers/scsi/csiostor/csio_wr.c struct csio_q *q = wrm->q_arr[qidx]; qidx 986 drivers/scsi/csiostor/csio_wr.c CSIO_DB_ASSERT((qidx >= 0) && (qidx < wrm->free_qidx)); qidx 1262 drivers/scsi/csiostor/csio_wr.c csio_wr_process_iq_idx(struct csio_hw *hw, int qidx, qidx 1269 drivers/scsi/csiostor/csio_wr.c struct csio_q *iq = wrm->q_arr[qidx]; qidx 3688 drivers/scsi/lpfc/lpfc_debugfs.c int qidx; qidx 3690 drivers/scsi/lpfc/lpfc_debugfs.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 3691 drivers/scsi/lpfc/lpfc_debugfs.c qp = phba->sli4_hba.hdwq[qidx].io_wq; qidx 4135 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t qidx, quetp, queid, index, count, offset, value; qidx 4173 drivers/scsi/lpfc/lpfc_debugfs.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 4174 drivers/scsi/lpfc/lpfc_debugfs.c qp = phba->sli4_hba.hdwq[qidx].hba_eq; qidx 4224 drivers/scsi/lpfc/lpfc_debugfs.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx 4225 drivers/scsi/lpfc/lpfc_debugfs.c qidx++) { qidx 4226 drivers/scsi/lpfc/lpfc_debugfs.c qp = phba->sli4_hba.hdwq[qidx].io_cq; qidx 4280 drivers/scsi/lpfc/lpfc_debugfs.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 4281 drivers/scsi/lpfc/lpfc_debugfs.c qp = phba->sli4_hba.hdwq[qidx].io_wq; qidx 514 drivers/scsi/lpfc/lpfc_debugfs.h lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int qidx) qidx 518 drivers/scsi/lpfc/lpfc_debugfs.h qp = phba->sli4_hba.hdwq[qidx].hba_eq; qidx 520 drivers/scsi/lpfc/lpfc_debugfs.h pr_err("EQ[Idx:%d|Qid:%d]\n", qidx, qp->queue_id); qidx 9240 drivers/scsi/lpfc/lpfc_init.c int qidx, uint32_t qtype) qidx 9248 drivers/scsi/lpfc/lpfc_init.c ((eq) ? ((cq) ? "WQ" : "CQ") : "EQ"), qidx); qidx 9258 drivers/scsi/lpfc/lpfc_init.c qidx, (uint32_t)rc); qidx 9269 drivers/scsi/lpfc/lpfc_init.c qidx, cq->queue_id, qidx, eq->queue_id); qidx 9276 drivers/scsi/lpfc/lpfc_init.c qidx, (uint32_t)rc); qidx 9288 drivers/scsi/lpfc/lpfc_init.c qidx, wq->queue_id, wq->assoc_qid, qidx, cq->queue_id); qidx 9319 drivers/scsi/lpfc/lpfc_init.c int qidx; qidx 9324 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_irq_chann; qidx++) { qidx 9326 drivers/scsi/lpfc/lpfc_init.c eq = phba->sli4_hba.hba_eq_hdl[qidx].eq; qidx 9360 drivers/scsi/lpfc/lpfc_init.c int qidx, cpu; qidx 9423 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_irq_chann; qidx++) { qidx 9433 drivers/scsi/lpfc/lpfc_init.c if (qidx != cpup->eq) qidx 9459 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 9460 drivers/scsi/lpfc/lpfc_init.c cpu = lpfc_find_cpu_handle(phba, qidx, LPFC_FIND_BY_HDWQ); qidx 9466 drivers/scsi/lpfc/lpfc_init.c qp[qidx].io_cq, qidx 9467 drivers/scsi/lpfc/lpfc_init.c qp[qidx].io_wq, qidx 9468 drivers/scsi/lpfc/lpfc_init.c &phba->sli4_hba.hdwq[qidx].io_cq_map, qidx 9469 drivers/scsi/lpfc/lpfc_init.c qidx, qidx 9475 drivers/scsi/lpfc/lpfc_init.c qidx, (uint32_t)rc); qidx 9676 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_irq_chann; qidx 9677 drivers/scsi/lpfc/lpfc_init.c qidx += LPFC_MAX_EQ_DELAY_EQID_CNT) qidx 9678 drivers/scsi/lpfc/lpfc_init.c lpfc_modify_hba_eq_delay(phba, qidx, LPFC_MAX_EQ_DELAY_EQID_CNT, qidx 9719 drivers/scsi/lpfc/lpfc_init.c int qidx; qidx 9753 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_nvmet_mrq; qidx++) qidx 9756 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.nvmet_mrq_hdr[qidx], qidx 9757 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.nvmet_mrq_data[qidx]); qidx 9762 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_nvmet_mrq; qidx++) qidx 9764 drivers/scsi/lpfc/lpfc_init.c phba, phba->sli4_hba.nvmet_cqset[qidx]); qidx 9771 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 9773 drivers/scsi/lpfc/lpfc_init.c qp = &phba->sli4_hba.hdwq[qidx]; qidx 9778 drivers/scsi/lpfc/lpfc_init.c for (qidx = 0; qidx < phba->cfg_irq_chann; qidx++) { qidx 9780 drivers/scsi/lpfc/lpfc_init.c eq = phba->sli4_hba.hba_eq_hdl[qidx].eq; qidx 215 drivers/scsi/lpfc/lpfc_nvme.c unsigned int qidx, u16 qsize, qidx 233 drivers/scsi/lpfc/lpfc_nvme.c qhandle->qidx = qidx; qidx 239 drivers/scsi/lpfc/lpfc_nvme.c if (qidx) { qidx 241 drivers/scsi/lpfc/lpfc_nvme.c qhandle->index = ((qidx - 1) % qidx 245 drivers/scsi/lpfc/lpfc_nvme.c qhandle->index = qidx; qidx 251 drivers/scsi/lpfc/lpfc_nvme.c qidx, qhandle->cpu_id, qhandle->index, qhandle); qidx 272 drivers/scsi/lpfc/lpfc_nvme.c unsigned int qidx, qidx 286 drivers/scsi/lpfc/lpfc_nvme.c lport, qidx, handle); qidx 1600 drivers/scsi/lpfc/lpfc_nvme.c if (!lpfc_queue_info->qidx && !pnvme_fcreq->sg_cnt) { qidx 1661 drivers/scsi/lpfc/lpfc_nvme.c lpfc_ncmd->qidx = lpfc_queue_info->qidx; qidx 42 drivers/scsi/lpfc/lpfc_nvme.h uint32_t qidx; /* queue index passed to create */ qidx 1913 drivers/scsi/lpfc/lpfc_nvmet.c uint32_t qidx; qidx 1920 drivers/scsi/lpfc/lpfc_nvmet.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 1921 drivers/scsi/lpfc/lpfc_nvmet.c wq = phba->sli4_hba.hdwq[qidx].io_wq; qidx 5551 drivers/scsi/lpfc/lpfc_sli.c int qidx; qidx 5564 drivers/scsi/lpfc/lpfc_sli.c for (qidx = 0; qidx < phba->cfg_hdw_queue; qidx++) { qidx 5565 drivers/scsi/lpfc/lpfc_sli.c qp = &sli4_hba->hdwq[qidx]; qidx 5572 drivers/scsi/lpfc/lpfc_sli.c for (qidx = 0; qidx < phba->cfg_irq_chann; qidx++) { qidx 5573 drivers/scsi/lpfc/lpfc_sli.c eq = sli4_hba->hba_eq_hdl[qidx].eq; qidx 5581 drivers/scsi/lpfc/lpfc_sli.c for (qidx = 0; qidx < phba->cfg_nvmet_mrq; qidx++) { qidx 5583 drivers/scsi/lpfc/lpfc_sli.c sli4_hba->nvmet_cqset[qidx], 0, qidx 14047 drivers/scsi/lpfc/lpfc_sli.c uint32_t qidx = eq->hdwq; qidx 14088 drivers/scsi/lpfc/lpfc_sli.c phba->sli4_hba.hdwq[qidx].hba_eq); qidx 14300 drivers/scsi/lpfc/lpfc_sli.c int qidx; qidx 14311 drivers/scsi/lpfc/lpfc_sli.c for (qidx = 0; qidx < phba->cfg_irq_chann; qidx++) { qidx 14313 drivers/scsi/lpfc/lpfc_sli.c &phba->sli4_hba.hba_eq_hdl[qidx]); qidx 14645 drivers/scsi/lpfc/lpfc_sli.c int qidx; qidx 14660 drivers/scsi/lpfc/lpfc_sli.c for (qidx = startq; qidx < phba->cfg_irq_chann; qidx++) { qidx 14661 drivers/scsi/lpfc/lpfc_sli.c eq = phba->sli4_hba.hba_eq_hdl[qidx].eq; qidx 14696 drivers/scsi/lpfc/lpfc_sli.c for (qidx = startq; qidx < phba->cfg_irq_chann; qidx++) { qidx 14697 drivers/scsi/lpfc/lpfc_sli.c eq = phba->sli4_hba.hba_eq_hdl[qidx].eq; qidx 441 drivers/scsi/lpfc/lpfc_sli.h uint16_t qidx; qidx 4442 drivers/scsi/ncr53c8xx.c u16 qidx; qidx 4448 drivers/scsi/ncr53c8xx.c qidx = np->squeueput + 2; qidx 4449 drivers/scsi/ncr53c8xx.c if (qidx >= MAX_START + MAX_START) qidx = 1; qidx 4451 drivers/scsi/ncr53c8xx.c np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle)); qidx 4455 drivers/scsi/ncr53c8xx.c np->squeueput = qidx; qidx 81 drivers/scsi/qla2xxx/qla_nvme.c unsigned int qidx, u16 qsize, void **handle) qidx 87 drivers/scsi/qla2xxx/qla_nvme.c if (!qidx) qidx 88 drivers/scsi/qla2xxx/qla_nvme.c qidx++; qidx 95 drivers/scsi/qla2xxx/qla_nvme.c __func__, handle, qidx, qsize); qidx 97 drivers/scsi/qla2xxx/qla_nvme.c if (qidx > qla_nvme_fc_transport.max_hw_queues) { qidx 100 drivers/scsi/qla2xxx/qla_nvme.c __func__, qidx, qla_nvme_fc_transport.max_hw_queues); qidx 104 drivers/scsi/qla2xxx/qla_nvme.c if (ha->queue_pair_map[qidx]) { qidx 105 drivers/scsi/qla2xxx/qla_nvme.c *handle = ha->queue_pair_map[qidx]; qidx 108 drivers/scsi/qla2xxx/qla_nvme.c *handle, qidx); qidx 1469 drivers/scsi/sym53c8xx_2/sym_hipd.c u_short qidx; qidx 1502 drivers/scsi/sym53c8xx_2/sym_hipd.c qidx = np->squeueput + 2; qidx 1503 drivers/scsi/sym53c8xx_2/sym_hipd.c if (qidx >= MAX_QUEUE*2) qidx = 0; qidx 1505 drivers/scsi/sym53c8xx_2/sym_hipd.c np->squeue [qidx] = cpu_to_scr(np->idletask_ba); qidx 1509 drivers/scsi/sym53c8xx_2/sym_hipd.c np->squeueput = qidx; qidx 390 include/linux/nvme-fc-driver.h unsigned int qidx, u16 qsize, qidx 393 include/linux/nvme-fc-driver.h unsigned int qidx, void *handle);