Searched refs:vf_cnt (Results 1 – 7 of 7) sorted by relevance
75 if (kref_read(&us_ibdev->vf_cnt) > 0) { in config_show()93 kref_read(&us_ibdev->vf_cnt)); in config_show()134 return sysfs_emit(buf, "%u\n", kref_read(&us_ibdev->vf_cnt)); in max_vf_show()
433 kref_init(&us_ibdev->vf_cnt); in usnic_ib_device_add()464 dev = container_of(kref, struct usnic_ib_dev, vf_cnt)->pdev; in usnic_ib_undiscover_pf()497 kref_get(&us_ibdev->vf_cnt); in usnic_ib_discover_pf()623 kref_put(&pf->vf_cnt, usnic_ib_undiscover_pf); in usnic_ib_pci_remove()
84 struct kref vf_cnt; member
306 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()311 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
105 u32 vf_cnt; /* Num VF assigned to this PF. */ member
3419 ether_stat->vf_cnt = IS_SRIOV(bp) ? bp->vfdb->sriov.nr_virtfn : 0; in bnx2x_drv_info_ether_stat()
101 int vf_cnt = pci_sriov_get_totalvfs(nic->pdev); in nic_enable_mbx_intr() local106 nic_reg_write(nic, NIC_PF_MAILBOX_INT, INTR_MASK(vf_cnt)); in nic_enable_mbx_intr()109 nic_reg_write(nic, NIC_PF_MAILBOX_ENA_W1S, INTR_MASK(vf_cnt)); in nic_enable_mbx_intr()111 if (vf_cnt > 64) { in nic_enable_mbx_intr()113 INTR_MASK(vf_cnt - 64)); in nic_enable_mbx_intr()115 INTR_MASK(vf_cnt - 64)); in nic_enable_mbx_intr()
Completed in 35 milliseconds