Lines Matching refs:max_vfs
333 temp = oct->sriov_info.max_vfs & 0xff; in cn23xx_setup_global_mac_regs()
716 if (!oct->sriov_info.max_vfs) in cn23xx_setup_pf_mbox()
719 for (i = 0; i < oct->sriov_info.max_vfs; i++) { in cn23xx_setup_pf_mbox()
777 if (!oct->sriov_info.max_vfs) in cn23xx_free_pf_mbox()
780 for (i = 0; i < oct->sriov_info.max_vfs; i++) { in cn23xx_free_pf_mbox()
1117 (oct->sriov_info.max_vfs > 0)) { in cn23xx_enable_pf_interrupt()
1139 (oct->sriov_info.max_vfs > 0)) { in cn23xx_disable_pf_interrupt()
1254 u32 max_rings, total_rings, max_vfs, rings_per_vf; in cn23xx_sriov_config() local
1281 max_vfs = min_t(u32, in cn23xx_sriov_config()
1285 max_vfs = 0; in cn23xx_sriov_config()
1289 total_rings = num_pf_rings + max_vfs; in cn23xx_sriov_config()
1295 oct->sriov_info.max_vfs = max_vfs; in cn23xx_sriov_config()
1300 oct->sriov_info.trs, oct->sriov_info.max_vfs, in cn23xx_sriov_config()