/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-qat_rl | 1 What: /sys/bus/pci/devices/<BDF>/qat_rl/sla_op 36 What: /sys/bus/pci/devices/<BDF>/qat_rl/rp 64 # echo 4 > /sys/bus/pci/devices/<BDF>/qat_rl/id 65 # cat /sys/bus/pci/devices/<BDF>/qat_rl/rp 69 # echo 0x5 > /sys/bus/pci/devices/<BDF>/qat_rl/rp 73 What: /sys/bus/pci/devices/<BDF>/qat_rl/id 94 # echo "add" > /sys/bus/pci/devices/<BDF>/qat_rl/sla_op 95 # cat /sys/bus/pci/devices/<BDF>/qat_rl/id 99 # echo 7 > /sys/bus/pci/devices/<BDF>/qat_rl/id 100 # echo "get" > /sys/bus/pci/devices/<BDF>/qat_rl/sla_op [all …]
|
H A D | sysfs-driver-ccp | 1 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 D | debugfs-hisi-hpre | 1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs 7 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl 14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en 23 What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm 30 What: /sys/kernel/debug/hisi_hpre/<bdf>/alg_qos 33 Description: The <bdf> is related the function for PF and VF. 35 supports to write <bdf> value to alg_qos in the host. Such as 36 "echo <bdf> value > alg_qos". The qos value is 1~1000, means 40 What: /sys/kernel/debug/hisi_hpre/<bdf>/regs 46 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs [all …]
|
H A D | debugfs-hisi-sec | 1 What: /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable 9 What: /sys/kernel/debug/hisi_sec2/<bdf>/current_qm 17 What: /sys/kernel/debug/hisi_sec2/<bdf>/alg_qos 20 Description: The <bdf> is related the function for PF and VF. 22 supports to write <bdf> value to alg_qos in the host. Such as 23 "echo <bdf> value > alg_qos". The qos value is 1~1000, means 27 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs 34 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q 41 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable 49 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq [all …]
|
H A D | debugfs-hisi-zip | 1 What: /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs 7 What: /sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs 13 What: /sys/kernel/debug/hisi_zip/<bdf>/clear_enable 22 What: /sys/kernel/debug/hisi_zip/<bdf>/current_qm 29 What: /sys/kernel/debug/hisi_zip/<bdf>/alg_qos 32 Description: The <bdf> is related the function for PF and VF. 34 supports to write <bdf> value to alg_qos in the host. Such as 35 "echo <bdf> value > alg_qos". The qos value is 1~1000, means 39 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs 46 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q [all …]
|
H A D | sysfs-driver-qat | 1 What: /sys/bus/pci/devices/<BDF>/qat/state 19 What: /sys/bus/pci/devices/<BDF>/qat/cfg_services 46 is in the `down` state (see /sys/bus/pci/devices/<BDF>/qat/state) 52 # cat /sys/bus/pci/devices/<BDF>/qat/state 54 # cat /sys/bus/pci/devices/<BDF>/qat/cfg_services 56 # echo down > /sys/bus/pci/devices/<BDF>/qat/state 57 # echo dc > /sys/bus/pci/devices/<BDF>/qat/cfg_services 58 # echo up > /sys/bus/pci/devices/<BDF>/qat/state 59 # cat /sys/bus/pci/devices/<BDF>/qat/cfg_services 64 What: /sys/bus/pci/devices/<BDF>/qat/pm_idle_enabled [all …]
|
H A D | sysfs-driver-qat_ras | 1 What: /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable 9 What: /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal 17 What: /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal 25 What: /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters 33 # echo 1 > /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters 34 # cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable 36 # cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal 38 # cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
|
H A D | debugfs-driver-qat | 1 What: /sys/kernel/debug/qat_<device>_<BDF>/fw_counters 12 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/config 32 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_failed 41 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_sent 51 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/status 63 What: /sys/kernel/debug/qat_<device>_<BDF>/pm_status 72 What: /sys/kernel/debug/qat_<device>_<BDF>/cnv_errors 85 What: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/inject_error 108 # cd /sys/kernel/debug/qat_<device>_<BDF>
|
H A D | debugfs-driver-qat_telemetry | 1 What: /sys/kernel/debug/qat_<device>_<BDF>/telemetry/control 37 What: /sys/kernel/debug/qat_<device>_<BDF>/telemetry/device_data 105 What: /sys/kernel/debug/qat_<device>_<BDF>/telemetry/rp_<A/B/C/D>_data 116 retrieved through ``/sys/bus/pci/devices/<BDF>/qat/num_rps``. 169 PCI BDF/VF RP0 RP1 RP2 RP3 201 PCI BDF/VF RP0/service RP1/service RP2/service RP3/service 216 PCI BDF/VF RP0/service RP1/service RP2/service RP3/service
|
/linux/Documentation/admin-guide/perf/ |
H A D | hisi-pcie-pmu.rst | 68 "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 D | hns3-pmu.rst | 35 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 D | pci_reset.sh | 22 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/crypto/intel/qat/qat_common/ |
H 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() 362 if (ptr->bdf != ~0 && !ptr->attached) in adf_get_num_dettached_vfs()
|
/linux/drivers/edac/ |
H A D | skx_common.h | 205 /* SAD device BDF */ 207 /* PCU device BDF */ 209 /* UTIL device BDF */ 211 /* URACU device BDF */ 213 /* DDR mdev device BDF */ 215 /* HBM mdev device BDF */
|
/linux/drivers/perf/hisilicon/ |
H A D | hisi_pcie_pmu.c | 73 /* 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 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()
|
/linux/Documentation/devicetree/bindings/virtio/ |
H A D | pci-iommu.yaml | 40 BDF as 0b00000000 bbbbbbbb dddddfff 00000000. The other cells should be 68 * itself. Omit BDF 00:01.0.
|
/linux/arch/x86/hyperv/ |
H A D | irqdomain.c | 127 dev_id.pci.bdf.bus = PCI_BUS_NUM(data.rid); in hv_build_pci_dev_id() 128 dev_id.pci.bdf.device = PCI_SLOT(data.rid); in hv_build_pci_dev_id() 129 dev_id.pci.bdf.function = PCI_FUNC(data.rid); in hv_build_pci_dev_id()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | core.c | 625 "wrong smbios bdf ext type length (%d).\n", in ath12k_core_check_bdfext() 631 ath12k_dbg(ab, ATH12K_DBG_BOOT, "bdf variant name not found.\n"); in ath12k_core_check_bdfext() 638 "bdf variant magic does not match.\n"); in ath12k_core_check_bdfext() 647 "bdf variant name contains non ascii chars.\n"); in ath12k_core_check_bdfext() 657 "bdf variant string is longer than the buffer can accommodate\n"); in ath12k_core_check_bdfext() 662 "found and validated bdf variant smbios_type 0x%x bdf %s\n", in ath12k_core_check_bdfext()
|
/linux/Documentation/networking/device_drivers/wwan/ |
H A D | t7xx.rst | 63 $ cat /sys/bus/pci/devices/${bdf}/t7xx_mode 68 $ echo fastboot_switching > /sys/bus/pci/devices/${bdf}/t7xx_mode
|
/linux/drivers/hwtracing/ptt/ |
H A D | hisi_ptt.h | 206 * @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/include/linux/ |
H A D | intel_tpmi.h | 26 TPMI_INFO_ID = 0x81, /* Special ID for PCI BDF and Package ID information */
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | core.c | 998 "wrong smbios bdf ext type length (%d).\n", in ath11k_core_check_cc_code_bdfext() 1026 ath11k_dbg(ab, ATH11K_DBG_BOOT, "bdf variant name not found.\n"); in ath11k_core_check_cc_code_bdfext() 1033 "bdf variant magic does not match.\n"); in ath11k_core_check_cc_code_bdfext() 1042 "bdf variant name contains non ascii chars.\n"); in ath11k_core_check_cc_code_bdfext() 1052 "bdf variant string is longer than the buffer can accommodate\n"); in ath11k_core_check_cc_code_bdfext() 1057 "found and validated bdf variant smbios_type 0x%x bdf %s\n", in ath11k_core_check_cc_code_bdfext() 1089 "bdf variant string is longer than the buffer can accommodate (variant: %s)\n", in ath11k_core_check_dt()
|
/linux/drivers/infiniband/hw/efa/ |
H A D | efa_main.c | 284 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_BUS, dev->pdev->bus->number); in efa_set_host_info() 285 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_DEVICE, in efa_set_host_info() 287 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_FUNCTION, in efa_set_host_info()
|
/linux/arch/x86/kernel/ |
H A D | early_printk.c | 240 * Part the param to get the BDF values in early_pci_serial_init() 260 * Find the device from the BDF in early_pci_serial_init()
|