Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/cavium/cpt/
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()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnic_main.c1239 u16 total_vf_cnt; in nic_sriov_init() local
1247 pci_read_config_word(pdev, (pos + PCI_SRIOV_TOTAL_VF), &total_vf_cnt); in nic_sriov_init()
1248 if (total_vf_cnt < nic->num_vf_en) in nic_sriov_init()
1249 nic->num_vf_en = total_vf_cnt; in nic_sriov_init()
1251 if (!total_vf_cnt) in nic_sriov_init()