Lines Matching refs:srn
349 u32 q_no, srn, ern; in cn23xx_reset_io_queues() local
352 srn = oct->sriov_info.pf_srn; in cn23xx_reset_io_queues()
353 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_reset_io_queues()
359 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_reset_io_queues()
367 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_reset_io_queues()
405 u32 q_no, ern, srn; in cn23xx_pf_setup_global_input_regs() local
411 srn = oct->sriov_info.pf_srn; in cn23xx_pf_setup_global_input_regs()
412 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_pf_setup_global_input_regs()
443 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_pf_setup_global_input_regs()
478 u32 q_no, ern, srn; in cn23xx_pf_setup_global_output_regs() local
483 srn = oct->sriov_info.pf_srn; in cn23xx_pf_setup_global_output_regs()
484 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_pf_setup_global_output_regs()
493 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_pf_setup_global_output_regs()
793 u32 srn, ern, q_no; in cn23xx_enable_io_queues() local
796 srn = oct->sriov_info.pf_srn; in cn23xx_enable_io_queues()
797 ern = srn + oct->num_iqs; in cn23xx_enable_io_queues()
799 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_enable_io_queues()
801 if (oct->io_qmask.iq64B & BIT_ULL(q_no - srn)) { in cn23xx_enable_io_queues()
810 if (oct->io_qmask.iq & BIT_ULL(q_no - srn)) { in cn23xx_enable_io_queues()
853 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_enable_io_queues()
856 if (oct->io_qmask.oq & BIT_ULL(q_no - srn)) { in cn23xx_enable_io_queues()
872 u32 srn, ern; in cn23xx_disable_io_queues() local
874 srn = oct->sriov_info.pf_srn; in cn23xx_disable_io_queues()
875 ern = srn + oct->num_iqs; in cn23xx_disable_io_queues()
878 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_disable_io_queues()
910 for (q_no = srn; q_no < ern; q_no++) { in cn23xx_disable_io_queues()