Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-6.6/Documentation/ABI/testing/
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 …]
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 …]
Dsysfs-driver-qat1 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 …]
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 …]
Ddebugfs-driver-qat1 What: /sys/kernel/debug/qat_<device>_<BDF>/qat/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
Dsysfs-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>
/kernel/linux/linux-5.10/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>/regs
36 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
43 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
50 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
59 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq
66 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq
[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>/qm/qm_regs
24 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
31 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
39 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq
46 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq
52 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/abnormal_irq
58 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/create_qp_err
64 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err
[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>/qm/regs
36 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q
43 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable
52 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq
59 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_irq
65 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/abnormal_irq
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/perf/
Dhisi-pcie-pmu.rst54 "bdf" interfaces for users, and these two interfaces aren't supported at the
73 - bdf
75 "bdf" filter can only be used in bandwidth events, target Endpoint is
76 selected by configuring BDF to "bdf". Counter only counts the bandwidth of
79 For example, "bdf=0x3900" means BDF of target Endpoint is 0000:39:00.0.
83 $# 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
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
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
Dhns3_pmu.c311 /* maximum and minimum bdf allowed by PMU */
318 #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"),
[all …]
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);
270 static bool hisi_pcie_pmu_valid_requester_id(struct hisi_pcie_pmu *pcie_pmu, u32 bdf) in hisi_pcie_pmu_valid_requester_id() argument
275 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()
276 GET_PCI_DEVFN(bdf)); in hisi_pcie_pmu_valid_requester_id()
763 HISI_PCIE_PMU_FORMAT_ATTR(bdf, "config2:16-31"),
/kernel/linux/linux-5.10/drivers/iommu/loongson/
Diommu.c189 unsigned short bdf; in update_dev_table() local
210 bdf = dev_data->bdf; in update_dev_table()
223 pr_info("%s bdf %x domain_id %d index %x" in update_dev_table()
225 __func__, bdf, domain_id, index, in update_dev_table()
228 val = bdf & 0xffff; in update_dev_table()
241 pr_info("%s bdf %x domain_id %d index %x" in update_dev_table()
243 __func__, bdf, domain_id, index, in update_dev_table()
698 unsigned short bdf, devid; in iommu_init_device() local
704 bdf = pdev->devfn & 0xff; in iommu_init_device()
709 bdf = bus->self->devfn & 0xff; in iommu_init_device()
[all …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
359 if (ptr->bdf != ~0 && !ptr->attached) in adf_get_num_dettached_vfs()
/kernel/linux/linux-6.6/drivers/edac/
Dskx_common.h228 /* SAD device BDF */
230 /* PCU device BDF */
232 /* UTIL device BDF */
234 /* URACU device BDF */
236 /* DDR mdev device BDF */
238 /* HBM mdev device BDF */
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c71 uint16_t bdf; member
940 static struct amdgpu_acpi_dev_info *amdgpu_acpi_get_dev(u16 bdf) in amdgpu_acpi_get_dev() argument
948 if (acpi_dev->bdf == bdf) in amdgpu_acpi_get_dev()
955 struct amdgpu_acpi_xcc_info *xcc_info, u16 bdf) in amdgpu_acpi_dev_init() argument
968 tmp->bdf = bdf; in amdgpu_acpi_dev_init()
1020 tmp->bdf, tmp->supp_xcp_mode, tmp->xcp_mode, tmp->mem_mode, in amdgpu_acpi_dev_init()
1036 u16 *bdf) in amdgpu_acpi_get_xcc_info() argument
1068 *bdf = (obj->integer.value >> 48) & 0xFFFF; in amdgpu_acpi_get_xcc_info()
1092 u16 bdf; in amdgpu_acpi_enumerate_xcc() local
1120 ret = amdgpu_acpi_get_xcc_info(xcc_info, &bdf); in amdgpu_acpi_enumerate_xcc()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/virtio/
Diommu.txt15 size.lo). phys.hi should contain the device's BDF as
43 * itself. Omit BDF 00:01.0.
/kernel/linux/linux-5.10/drivers/pci/pcie/
Dedr.c107 * Firmware returns DPC port BDF details in following format: in acpi_dpc_port_get()
191 * If recovery is successful, send _OST(0xF, BDF << 16 | 0x80) in edr_handle_event()
192 * to firmware. If not successful, send _OST(0xF, BDF << 16 | 0x81). in edr_handle_event()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/pci/pcie/
Dedr.c113 * Firmware returns DPC port BDF details in following format: in acpi_dpc_port_get()
206 * If recovery is successful, send _OST(0xF, BDF << 16 | 0x80) in edr_handle_event()
207 * to firmware. If not successful, send _OST(0xF, BDF << 16 | 0x81). in edr_handle_event()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/virtio/
Dpci-iommu.yaml40 BDF as 0b00000000 bbbbbbbb dddddfff 00000000. The other cells should be
68 * itself. Omit BDF 00:01.0.
/kernel/linux/linux-6.6/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()

12345