Home
last modified time | relevance | path

Searched full:bdf (Results 1 – 25 of 55) sorted by relevance

123

/linux/Documentation/ABI/testing/
H A Dsysfs-driver-ccp1 What: /sys/bus/pci/devices/<BDF>/fused_part
6 The /sys/bus/pci/devices/<BDF>/fused_part file reports
11 What: /sys/bus/pci/devices/<BDF>/debug_lock_on
16 The /sys/bus/pci/devices/<BDF>/debug_lock_on reports
22 What: /sys/bus/pci/devices/<BDF>/tsme_status
27 The /sys/bus/pci/devices/<BDF>/tsme_status file reports
33 What: /sys/bus/pci/devices/<BDF>/anti_rollback_status
38 The /sys/bus/pci/devices/<BDF>/anti_rollback_status file reports
44 What: /sys/bus/pci/devices/<BDF>/rpmc_production_enabled
49 The /sys/bus/pci/devices/<BDF>/rpmc_production_enabled file reports
[all …]
H A Dsysfs-class-intel_pmt-features1 What: /sys/class/intel_pmt/features-<PCI BDF>/
6 The `features-<PCI BDF>/` directory represents the "features"
16 /sys/class/intel_pmt/features-<PCI BDF>/
66 For a device with PCI BDF `0000:00:03.1`, the directory tree could look like:
/linux/Documentation/admin-guide/perf/
H A Dhisi-pcie-pmu.rst68 "bdf" interfaces for users.
73 "bdf" filter will be in effect, because "bdf=0" meaning 0000:000:00.0.
91 - bdf
93 "bdf" filter can only be used in bandwidth events, target Endpoint is
94 selected by configuring BDF to "bdf". Counter only counts the bandwidth of
97 For example, "bdf=0x3900" means BDF of target Endpoint is 0000:39:00.0.
101 $# perf stat -e hisi_pcie0_core0/rx_mrd_flux,bdf=0x3900/ sleep 5
H A Dhns3-pmu.rst35 The "bdf_min" and "bdf_max" files show the supported bdf range of each
106 PMU collect performance statistic of one PF/VF. The function id is BDF of
112 BDF func
120 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,bdf=0x3500,queue=0xFFFF/ -I 1000
124 is BDF of PF/VF, the "queue" filter option must be set to the exact queue
128 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,bdf=0x3500,queue=0/ -I 1000
132 id is BDF of PF/VF, the "intr" filter option must be set to the exact
136 $# perf stat -a -e hns3_pmu_sicl_0/config=0x00301,bdf=0x3500,intr=0/ -I 1000
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dpci_reset.sh22 local bdf=$(echo $DEVLINK_DEV | cut -d '/' -f 2)
30 if [ ! -f /sys/bus/pci/devices/$bdf/reset_method ]; then
36 [[ $(cat /sys/bus/pci/devices/$bdf/reset_method) == "bus" ]]
41 echo 1 > /sys/bus/pci/devices/$bdf/reset
/linux/drivers/edac/
H A Dskx_common.h261 /* SAD device BDF */
263 /* PCU device BDF */
265 /* UTIL device BDF */
267 /* URACU device BDF */
269 /* DDR mdev device BDF */
271 /* HBM mdev device BDF */
/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c73 /* Minimum and maximum BDF of root ports monitored by PMU */
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()
314 /* Need to explicitly set filter of "port" or "bdf" */ in hisi_pcie_pmu_valid_filter()
771 HISI_PCIE_PMU_FORMAT_ATTR(bdf, "config2:16-31"),
/linux/drivers/acpi/
H A 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()
/linux/arch/x86/hyperv/
H A Dirqdomain.c132 dev_id.pci.bdf.bus = PCI_BUS_NUM(data.rid); in hv_build_pci_dev_id()
133 dev_id.pci.bdf.device = PCI_SLOT(data.rid); in hv_build_pci_dev_id()
134 dev_id.pci.bdf.function = PCI_FUNC(data.rid); in hv_build_pci_dev_id()
/linux/drivers/net/wireless/ath/ath12k/
H A Dacpi.c47 ath12k_warn(ab, "invalid ACPI DSM BDF size: %d\n", in ath12k_acpi_dsm_get_data()
394 ath12k_warn(ab, "failed to get ACPI BDF EXT: %d\n", ret); in ath12k_acpi_start()
494 "acpi bdf variant longer than the buffer (variant: %s)\n", in ath12k_acpi_check_bdf_variant_name()
H A Dacpi.h63 #define ATH12K_ACPI_BDF_ANCHOR_STRING "BDF"
H A Dcore.c736 "wrong smbios bdf ext type length (%d).\n", in ath12k_core_check_cc_code_bdfext()
764 ath12k_dbg(ab, ATH12K_DBG_BOOT, "bdf variant name not found.\n"); in ath12k_core_check_cc_code_bdfext()
771 "bdf variant magic does not match.\n"); in ath12k_core_check_cc_code_bdfext()
780 "bdf variant name contains non ascii chars.\n"); in ath12k_core_check_cc_code_bdfext()
790 "bdf variant string is longer than the buffer can accommodate\n"); in ath12k_core_check_cc_code_bdfext()
795 "found and validated bdf variant smbios_type 0x%x bdf %s\n", in ath12k_core_check_cc_code_bdfext()
/linux/include/linux/
H A Dintel_tpmi.h28 TPMI_INFO_ID = 0x81, /* Special ID for PCI BDF and Package ID information */
/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.h206 * @upper_bdf: the upper BDF range of the PCI devices managed by this PTT device
207 * @lower_bdf: the lower BDF range of the PCI devices managed by this PTT device
/linux/drivers/gpu/drm/xe/
H A Dxe_device_sysfs.c218 * $ cat /sys/bus/pci/devices/<bdf>/auto_link_downgrade_capable
234 * $ cat /sys/bus/pci/devices/<bdf>/auto_link_downgrade_status
/linux/Documentation/devicetree/bindings/virtio/
H A Dpci-iommu.yaml66 * itself. Omit BDF 00:01.0.
/linux/drivers/misc/ocxl/
H A Docxl_internal.h88 __be16 bdf; member
H A 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()
/linux/drivers/net/wireless/ath/ath10k/
H A Dqmi.c294 /* end = 1 triggers a CRC check on the BDF. If this fails, we in ath10k_qmi_bdf_dnld_send_sync()
296 * willing to use the BDF. For some platforms, all the valid in ath10k_qmi_bdf_dnld_send_sync()
314 ath10k_dbg(ar, ATH10K_DBG_QMI, "qmi bdf download request completed\n"); in ath10k_qmi_bdf_dnld_send_sync()
868 ath10k_dbg(ar, ATH10K_DBG_QMI, "DT bdf variant name not set.\n"); in ath10k_qmi_fetch_board_file()
H A Dcore.c1106 "wrong smbios bdf ext type length (%d).\n", in ath10k_core_check_bdfext()
1113 ath10k_dbg(ar, ATH10K_DBG_BOOT, "bdf variant name not found.\n"); in ath10k_core_check_bdfext()
1122 "bdf variant magic does not match.\n"); in ath10k_core_check_bdfext()
1129 "bdf variant name contains non ascii chars.\n"); in ath10k_core_check_bdfext()
1138 "bdf variant string is longer than the buffer can accommodate (variant: %s)\n", in ath10k_core_check_bdfext()
1144 "found and validated bdf variant smbios_type 0x%x bdf %s\n", in ath10k_core_check_bdfext()
1178 "bdf variant string is longer than the buffer can accommodate (variant: %s)\n", in ath10k_core_check_dt()
3444 ath10k_dbg(ar, ATH10K_DBG_BOOT, "SMBIOS bdf variant name not set.\n"); in ath10k_core_probe_fw()
3448 ath10k_dbg(ar, ATH10K_DBG_BOOT, "DT bdf variant name not set.\n"); in ath10k_core_probe_fw()
/linux/arch/x86/kernel/
H A Dearly_printk.c285 * Part the param to get the BDF values in early_pci_serial_init()
305 * Find the device from the BDF in early_pci_serial_init()
/linux/Documentation/devicetree/bindings/iommu/
H A Driscv,iommu.yaml135 * itself. Omit BDF 00:01.0.
/linux/Documentation/devicetree/bindings/pci/
H A Drenesas,pci-rcar-gen2.yaml82 form <bdf 0 0 0 0>.
/linux/arch/powerpc/platforms/powernv/
H A Docxl.c43 * for a (BDF, pasid) combination. When it receives a command, the NPU
288 * used by the function BDF identifier. in pnv_ocxl_get_pasid_count()
/linux/include/hyperv/
H A Dhvhdk_mini.h371 union hv_pci_bdf bdf; member

123