Home
last modified time | relevance | path

Searched refs:total_vf_cnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptpf_main.c508 u16 total_vf_cnt; in cpt_sriov_init() local
518 pci_read_config_word(pdev, (pos + PCI_SRIOV_TOTAL_VF), &total_vf_cnt); in cpt_sriov_init()
519 if (total_vf_cnt < cpt->num_vf_en) in cpt_sriov_init()
520 cpt->num_vf_en = total_vf_cnt; in cpt_sriov_init()
522 if (!total_vf_cnt) in cpt_sriov_init()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic_main.c1257 u16 total_vf_cnt; in nic_sriov_init() local
1265 pci_read_config_word(pdev, (pos + PCI_SRIOV_TOTAL_VF), &total_vf_cnt); in nic_sriov_init()
1266 if (total_vf_cnt < nic->num_vf_en) in nic_sriov_init()
1267 nic->num_vf_en = total_vf_cnt; in nic_sriov_init()
1269 if (!total_vf_cnt) in nic_sriov_init()