Home
last modified time | relevance | path

Searched refs:bus_n (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/cmd/
H A Dw1.c46 int bus_n = 0, dev_n = 0, offset = 0, len = 512; in w1_read() local
53 bus_n = simple_strtoul(argv[2], NULL, 10); in w1_read()
69 ret = w1_get_bus(bus_n, &bus); in w1_read()
/openbmc/qemu/hw/i386/
H A Dintel_iommu.c2108 uint8_t bus_n, devfn; in vtd_context_device_invalidate() local
2130 bus_n = VTD_SID_TO_BUS(source_id); in vtd_context_device_invalidate()
2135 if ((pci_bus_num(vtd_as->bus) == bus_n) && in vtd_context_device_invalidate()
2137 trace_vtd_inv_desc_cc_device(bus_n, VTD_PCI_SLOT(vtd_as->devfn), in vtd_context_device_invalidate()
3687 uint8_t bus_n = pci_bus_num(vtd_as->bus); in vtd_report_ir_illegal_access() local
3688 uint16_t sid = PCI_BUILD_BDF(bus_n, vtd_as->devfn); in vtd_report_ir_illegal_access()
3695 if (vtd_dev_to_context_entry(s, bus_n, vtd_as->devfn, &ce) == 0) { in vtd_report_ir_illegal_access()
4019 uint8_t bus_n = pci_bus_num(vtd_as->bus); in vtd_iommu_replay() local
4026 if (vtd_dev_to_context_entry(s, bus_n, vtd_as->devfn, &ce) == 0) { in vtd_iommu_replay()
4029 bus_n, PCI_SLOT(vtd_as->devfn), in vtd_iommu_replay()
[all …]
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c871 uint8_t bus_n, devfn; in smmu_find_sdev() local
874 bus_n = PCI_BUS_NUM(sid); in smmu_find_sdev()
875 smmu_bus = smmu_find_smmu_pcibus(s, bus_n); in smmu_find_sdev()
/openbmc/qemu/hw/virtio/
H A Dvirtio-iommu.c180 uint8_t bus_n, devfn; in virtio_iommu_mr() local
184 bus_n = PCI_BUS_NUM(sid); in virtio_iommu_mr()
185 iommu_pci_bus = iommu_find_iommu_pcibus(s, bus_n); in virtio_iommu_mr()
/openbmc/qemu/hw/pci/
H A Dpci.c1043 uint8_t bus_n; in pci_req_id_cache_extract() local
1051 bus_n = pci_dev_bus_num(cache->dev); in pci_req_id_cache_extract()
1052 result = PCI_BUILD_BDF(bus_n, 0); in pci_req_id_cache_extract()