Searched refs:bdf (Results 1 – 12 of 12) sorted by relevance
| /drivers/perf/hisilicon/ |
| A D | hns3_pmu.c | 318 #define GET_PCI_DEVFN(bdf) ((bdf) & 0xff) argument 480 u16 bdf = hns3_pmu->bdf_min; in bdf_min_show() local 483 PCI_SLOT(bdf), PCI_FUNC(bdf)); in bdf_min_show() 494 PCI_SLOT(bdf), PCI_FUNC(bdf)); in bdf_max_show() 818 if (bdf < hns3_pmu->bdf_min || bdf > hns3_pmu->bdf_max) { in hns3_pmu_valid_bdf() 824 PCI_BUS_NUM(bdf), in hns3_pmu_valid_bdf() 825 GET_PCI_DEVFN(bdf)); in hns3_pmu_valid_bdf() 840 val = GET_PCI_DEVFN(bdf); in hns3_pmu_set_qid_para() 958 return bdf; in hns3_pmu_is_enabled_func_mode() 973 return bdf; in hns3_pmu_is_enabled_func_queue_mode() [all …]
|
| A D | hisi_pcie_pmu.c | 85 #define GET_PCI_DEVFN(bdf) ((bdf) & 0xff) argument 100 HISI_PCIE_PMU_FILTER_ATTR(bdf, config2, 31, 16); 282 static bool hisi_pcie_pmu_valid_requester_id(struct hisi_pcie_pmu *pcie_pmu, u32 bdf) in hisi_pcie_pmu_valid_requester_id() argument 287 pdev = pci_get_domain_bus_and_slot(pci_domain_nr(pcie_pmu->pdev->bus), PCI_BUS_NUM(bdf), in hisi_pcie_pmu_valid_requester_id() 288 GET_PCI_DEVFN(bdf)); in hisi_pcie_pmu_valid_requester_id() 771 HISI_PCIE_PMU_FORMAT_ATTR(bdf, "config2:16-31"),
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_dev_mgr.c | 15 u32 bdf; member 34 static struct vf_id_map *adf_find_vf(u32 bdf) in adf_find_vf() argument 42 if (ptr->bdf == bdf) in adf_find_vf() 76 if (map->bdf != -1) { in adf_clean_vf_map() 81 if (vf && map->bdf == -1) in adf_clean_vf_map() 180 map->bdf = ~0; in adf_devmgr_add_dev() 220 map->bdf = adf_get_vf_num(accel_dev); in adf_devmgr_add_dev() 352 if (ptr->bdf != ~0 && !ptr->attached) in adf_get_num_dettached_vfs()
|
| /drivers/acpi/ |
| A D | viot.c | 78 u16 segment, u16 bdf) in viot_get_pci_iommu_fwnode() argument 83 pdev = pci_get_domain_bus_and_slot(segment, PCI_BUS_NUM(bdf), in viot_get_pci_iommu_fwnode() 84 bdf & 0xff); in viot_get_pci_iommu_fwnode() 156 node->pci.bdf); in viot_get_iommu()
|
| /drivers/infiniband/hw/efa/ |
| A D | efa_main.c | 283 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_BUS, dev->pdev->bus->number); in efa_set_host_info() 284 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_DEVICE, in efa_set_host_info() 286 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_FUNCTION, in efa_set_host_info()
|
| A D | efa_admin_cmds_defs.h | 1065 u16 bdf; member
|
| /drivers/misc/ocxl/ |
| A D | link.c | 539 u64 amr, u16 bdf, struct mm_struct *mm, in ocxl_link_add_pe() argument 577 pe->bdf = cpu_to_be16(bdf); in ocxl_link_add_pe()
|
| A D | ocxl_internal.h | 88 __be16 bdf; member
|
| /drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_crat.c | 2018 u32 bdf; in kfd_find_numa_node_in_srat() local 2065 bdf = *((u16 *)(&gpu->device_handle[0])) << 16 | in kfd_find_numa_node_in_srat() 2067 if (bdf == pci_id) { in kfd_find_numa_node_in_srat()
|
| /drivers/net/ethernet/amazon/ena/ |
| A D | ena_admin_defs.h | 941 u16 bdf; member
|
| A D | ena_netdev.c | 2722 host_info->bdf = pci_dev_id(pdev); in ena_config_host_info()
|
| /drivers/pci/controller/dwc/ |
| A D | pcie-qcom.c | 1075 u32 bdf; in qcom_pcie_config_sid_1_9_0() member 1115 __be16 bdf_be = cpu_to_be16(map[i].bdf); in qcom_pcie_config_sid_1_9_0() 1138 val = map[i].bdf << 16 | (map[i].smmu_sid - smmu_sid_base) << 8 | 0; in qcom_pcie_config_sid_1_9_0()
|
Completed in 42 milliseconds