Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-hisi-hpre1 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 …]
Ddebugfs-hisi-zip1 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 …]
Ddebugfs-hisi-sec1 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 …]
Dsysfs-bus-event_source-devices-hisi_ptt82 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters/<bdf>
108 What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/requester_filters/<bdf>
Ddebugfs-intel-iommu222 What: /sys/kernel/debug/iommu/intel/<bdf>/domain_translation_struct
/linux-6.12.1/drivers/perf/hisilicon/
Dhns3_pmu.c318 #define GET_PCI_DEVFN(bdf) ((bdf) & 0xff) argument
336 HNS3_PMU_FILTER_ATTR(bdf, config1, 8, 23);
480 u16 bdf = hns3_pmu->bdf_min; in bdf_min_show() local
482 return sysfs_emit(buf, "%02x:%02x.%x\n", PCI_BUS_NUM(bdf), in bdf_min_show()
483 PCI_SLOT(bdf), PCI_FUNC(bdf)); in bdf_min_show()
491 u16 bdf = hns3_pmu->bdf_max; in bdf_max_show() local
493 return sysfs_emit(buf, "%02x:%02x.%x\n", PCI_BUS_NUM(bdf), in bdf_max_show()
494 PCI_SLOT(bdf), PCI_FUNC(bdf)); in bdf_max_show()
657 HNS3_PMU_FORMAT_ATTR(bdf, "config1:8-23"),
814 static bool hns3_pmu_valid_bdf(struct hns3_pmu *hns3_pmu, u16 bdf) in hns3_pmu_valid_bdf() argument
[all …]
Dhisi_pcie_pmu.c85 #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"),
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/
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-6.12.1/drivers/crypto/intel/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()
/linux-6.12.1/Documentation/admin-guide/perf/
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
Dhns3-pmu.rst35 The "bdf_min" and "bdf_max" files show the supported bdf range of each
120 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,bdf=0x3500,queue=0xFFFF/ -I 1000
128 $# perf stat -a -e hns3_pmu_sicl_0/config=0x1020F,bdf=0x3500,queue=0/ -I 1000
136 $# perf stat -a -e hns3_pmu_sicl_0/config=0x00301,bdf=0x3500,intr=0/ -I 1000
/linux-6.12.1/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()
/linux-6.12.1/arch/x86/hyperv/
Dirqdomain.c127 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-6.12.1/drivers/misc/ocxl/
Docxl_internal.h88 __be16 bdf; member
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-6.12.1/drivers/infiniband/hw/efa/
Defa_main.c284 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()
Defa_admin_cmds_defs.h1000 u16 bdf; member
/linux-6.12.1/Documentation/networking/device_drivers/wwan/
Dt7xx.rst63 $ cat /sys/bus/pci/devices/${bdf}/t7xx_mode
68 $ echo fastboot_switching > /sys/bus/pci/devices/${bdf}/t7xx_mode
/linux-6.12.1/include/misc/
Docxl.h450 u64 amr, u16 bdf, struct mm_struct *mm,
/linux-6.12.1/include/acpi/
Dactbl3.h572 u16 bdf; member
/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-qcom.c1050 u32 bdf; in qcom_pcie_config_sid_1_9_0() member
1090 __be16 bdf_be = cpu_to_be16(map[i].bdf); in qcom_pcie_config_sid_1_9_0()
1113 val = map[i].bdf << 16 | (map[i].smmu_sid - smmu_sid_base) << 8 | 0; in qcom_pcie_config_sid_1_9_0()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1991 u32 bdf; in kfd_find_numa_node_in_srat() local
2038 bdf = *((u16 *)(&gpu->device_handle[0])) << 16 | in kfd_find_numa_node_in_srat()
2040 if (bdf == pci_id) { in kfd_find_numa_node_in_srat()
/linux-6.12.1/include/asm-generic/
Dhyperv-tlfs.h749 union hv_pci_bdf bdf; member
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h932 u16 bdf; member
/linux-6.12.1/arch/powerpc/include/asm/
Dopal.h31 int64_t opal_npu_map_lpar(uint64_t phb_id, uint64_t bdf, uint64_t lparid,

12