Home
last modified time | relevance | path

Searched refs:vf_cnt (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/usnic/
A Dusnic_ib_sysfs.c75 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()
A Dusnic_ib_main.c433 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()
A Dusnic_ib.h84 struct kref vf_cnt; member
A Dusnic_ib_verbs.c306 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
311 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_mfw_req.h105 u32 vf_cnt; /* Num VF assigned to this PF. */ member
A Dbnx2x_main.c3419 ether_stat->vf_cnt = IS_SRIOV(bp) ? bp->vfdb->sriov.nr_virtfn : 0; in bnx2x_drv_info_ether_stat()
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/
A Dnic_main.c101 int vf_cnt = pci_sriov_get_totalvfs(nic->pdev); in nic_enable_mbx_intr() local
106 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