Home
last modified time | relevance | path

Searched refs:bdf (Results 1 – 12 of 12) sorted by relevance

/drivers/perf/hisilicon/
Dhns3_pmu.c318 #define GET_PCI_DEVFN(bdf) ((bdf) & 0xff) argument
336 HNS3_PMU_FILTER_ATTR(bdf, config1, 8, 23);
490 u16 bdf = hns3_pmu->bdf_min; in bdf_min_show() local
492 return sysfs_emit(buf, "%02x:%02x.%x\n", PCI_BUS_NUM(bdf), in bdf_min_show()
493 PCI_SLOT(bdf), PCI_FUNC(bdf)); in bdf_min_show()
501 u16 bdf = hns3_pmu->bdf_max; in bdf_max_show() local
503 return sysfs_emit(buf, "%02x:%02x.%x\n", PCI_BUS_NUM(bdf), in bdf_max_show()
504 PCI_SLOT(bdf), PCI_FUNC(bdf)); in bdf_max_show()
667 HNS3_PMU_FORMAT_ATTR(bdf, "config1:8-23"),
824 static bool hns3_pmu_valid_bdf(struct hns3_pmu *hns3_pmu, u16 bdf) in hns3_pmu_valid_bdf() argument
[all …]
Dhisi_pcie_pmu.c81 #define GET_PCI_DEVFN(bdf) ((bdf) & 0xff) argument
95 HISI_PCIE_PMU_FILTER_ATTR(bdf, config2, 31, 16);
259 static bool hisi_pcie_pmu_valid_requester_id(struct hisi_pcie_pmu *pcie_pmu, u32 bdf) in hisi_pcie_pmu_valid_requester_id() argument
264 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()
265 GET_PCI_DEVFN(bdf)); in hisi_pcie_pmu_valid_requester_id()
716 HISI_PCIE_PMU_FORMAT_ATTR(bdf, "config2:16-31"),
/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c15 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()
362 if (ptr->bdf != ~0 && !ptr->attached) in adf_get_num_dettached_vfs()
/drivers/acpi/
Dviot.c78 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/
Defa_main.c271 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_BUS, dev->pdev->bus->number); in efa_set_host_info()
272 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_DEVICE, in efa_set_host_info()
274 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_FUNCTION, in efa_set_host_info()
Defa_admin_cmds_defs.h947 u16 bdf; member
/drivers/misc/ocxl/
Dlink.c539 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()
Docxl_internal.h88 __be16 bdf; member
/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1897 u32 bdf; in kfd_find_numa_node_in_srat() local
1944 bdf = *((u16 *)(&gpu->device_handle[0])) << 16 | in kfd_find_numa_node_in_srat()
1946 if (bdf == pci_id) { in kfd_find_numa_node_in_srat()
/drivers/pci/controller/dwc/
Dpcie-qcom.c1436 u32 bdf; in qcom_pcie_config_sid_sm8250() member
1470 __be16 bdf_be = cpu_to_be16(map[i].bdf); in qcom_pcie_config_sid_sm8250()
1494 val = map[i].bdf << 16 | (map[i].smmu_sid - smmu_sid_base) << 8 | 0; in qcom_pcie_config_sid_sm8250()
/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h860 u16 bdf; member
Dena_netdev.c3208 host_info->bdf = (pdev->bus->number << 8) | pdev->devfn; in ena_config_host_info()