Lines Matching refs:vfres
2307 struct vf_resources *vfres = &adapter->params.vfres; in resources_show() local
2311 desc " (" #var "):", vfres->var) in resources_show()
2449 struct vf_resources *vfres = &adapter->params.vfres; in size_nports_qsets() local
2455 adapter->params.nports = vfres->nvi; in size_nports_qsets()
2468 pmask_nports = hweight32(adapter->params.vfres.pmask); in size_nports_qsets()
2473 adapter->params.vfres.pmask); in size_nports_qsets()
2493 ethqsets = vfres->niqflint - 1 - (msi == MSI_MSI); in size_nports_qsets()
2494 if (vfres->nethctrl != ethqsets) in size_nports_qsets()
2495 ethqsets = min(vfres->nethctrl, ethqsets); in size_nports_qsets()
2496 if (vfres->neq < ethqsets*2) in size_nports_qsets()
2497 ethqsets = vfres->neq/2; in size_nports_qsets()
2628 if (adapter->params.vfres.pmask == 0) { in adap_init0()
2633 if (adapter->params.vfres.nvi == 0) { in adap_init0()
2874 pmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask()
2885 rmask = adapter->params.vfres.pmask; in cxgb4vf_get_port_mask()
3116 } else if (naddr && adapter->params.vfres.nvi == 1) { in cxgb4vf_pci_probe()