Home
last modified time | relevance | path

Searched refs:PCI_SBDF (Results 1 – 18 of 18) sorted by relevance

/xen/xen/drivers/char/
A Dns16550.c1070 switch ( pci_conf_read16(PCI_SBDF(0, b, d, f), in pci_uart_config()
1114 bar = pci_conf_read32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1120 pci_conf_write32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1122 len = pci_conf_read32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1124 pci_conf_write32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1132 pci_conf_write32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1136 pci_conf_write32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1150 pci_conf_write32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1152 len = pci_conf_read32(PCI_SBDF(0, b, d, f), in pci_uart_config()
1154 pci_conf_write32(PCI_SBDF(0, b, d, f), in pci_uart_config()
[all …]
A Dehci-dbgp.c686 uint32_t class = pci_conf_read32(PCI_SBDF(0, bus, slot, func), in __find_dbgp()
1011 uint32_t dword = pci_conf_read32(PCI_SBDF(0, dbgp->bus, dbgp->slot, in nvidia_set_debug_port()
1023 if ( pci_conf_read16(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in detect_set_debug_port()
1046 cap = pci_conf_read32(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in ehci_dbgp_bios_handoff()
1053 pci_conf_write8(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in ehci_dbgp_bios_handoff()
1072 pci_conf_write8(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in ehci_dbgp_bios_handoff()
1077 pci_conf_write8(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in ehci_dbgp_bios_handoff()
1323 dbgp->pci_cr = pci_conf_read8(PCI_SBDF(0, dbgp->bus, dbgp->slot, in ehci_dbgp_init_preirq()
1329 pci_conf_write16(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in ehci_dbgp_init_preirq()
1427 dbgp->pci_cr = pci_conf_read16(PCI_SBDF(0, dbgp->bus, dbgp->slot, in ehci_dbgp_suspend()
[all …]
/xen/xen/drivers/passthrough/vtd/
A Dquirks.c41 #define IOH_DEV PCI_SBDF(0, 0, 0, 0)
42 #define IGD_DEV PCI_SBDF(0, 0, 2, 0)
281 device = pci_conf_read32(PCI_SBDF(0, bus, 20, 0), PCI_VENDOR_ID); in tylersburg_intremap_quirk()
282 rev = pci_conf_read8(PCI_SBDF(0, bus, 20, 0), PCI_REVISION_ID); in tylersburg_intremap_quirk()
357 id = pci_conf_read32(PCI_SBDF(0, 0, 0, 0), 0); in me_wifi_quirk()
361 if ( pci_conf_read32(PCI_SBDF(0, 0, 3, 0), 0) == 0xffffffff ) in me_wifi_quirk()
385 if ( pci_conf_read32(PCI_SBDF(0, 0, 22, 0), 0) == 0xffffffff ) in me_wifi_quirk()
A Ddmar.c339 bus = pci_conf_read8(PCI_SBDF(seg, bus, path->dev, path->fn), in acpi_parse_dev_scope()
347 sec_bus = pci_conf_read8(PCI_SBDF(seg, bus, path->dev, path->fn), in acpi_parse_dev_scope()
349 sub_bus = pci_conf_read8(PCI_SBDF(seg, bus, path->dev, path->fn), in acpi_parse_dev_scope()
1120 PCI_SBDF(seg, bus, dev, func).sbdf; in parse_rmrr_param()
/xen/xen/arch/x86/x86_64/
A Dmmconfig-shared.c68 win = pci_conf_read16(PCI_SBDF(0, 0, 0, 0), 0xce); in pci_mmcfg_e7520()
93 pciexbar = pci_conf_read32(PCI_SBDF(0, 0, 0, 0), 0x48); in pci_mmcfg_intel_945()
217 l = pci_conf_read32(PCI_SBDF(0, bus, 0, 0), 0); in pci_mmcfg_nvidia_mcp55()
224 extcfg = pci_conf_read32(PCI_SBDF(0, bus, 0, 0), extcfg_regnum); in pci_mmcfg_nvidia_mcp55()
243 l = pci_conf_read32(PCI_SBDF(0, bus, 0, 0), 0); in pci_mmcfg_nvidia_mcp55()
250 extcfg = pci_conf_read32(PCI_SBDF(0, bus, 0, 0), extcfg_regnum); in pci_mmcfg_nvidia_mcp55()
A Dmmconf-fam10h.c55 id = pci_conf_read32(PCI_SBDF(0, bus, slot, 0), PCI_VENDOR_ID); in get_fam10h_pci_mmconf_base()
86 val = pci_conf_read32(PCI_SBDF(0, bus, slot, 1), in get_fam10h_pci_mmconf_base()
92 val = pci_conf_read32(PCI_SBDF(0, bus, slot, 1), in get_fam10h_pci_mmconf_base()
/xen/xen/drivers/pci/
A Dpci.c18 status = pci_conf_read16(PCI_SBDF(seg, bus, dev, func), PCI_STATUS); in pci_find_cap_offset()
24 pos = pci_conf_read8(PCI_SBDF(seg, bus, dev, func), pos); in pci_find_cap_offset()
29 id = pci_conf_read8(PCI_SBDF(seg, bus, dev, func), pos + PCI_CAP_LIST_ID); in pci_find_cap_offset()
/xen/xen/arch/x86/cpu/
A Damd.c419 nr_nodes = ((pci_conf_read32(PCI_SBDF(0, 0, 0x18, 0), 0x60) >> 4) & in disable_c1_ramping()
423 pmm7 = pci_conf_read8(PCI_SBDF(0, 0, 0x18 + node, 3), 0x87); in disable_c1_ramping()
428 pci_conf_write8(PCI_SBDF(0, 0, 0x18 + node, 3), 0x87, pmm7); in disable_c1_ramping()
575 pci_sbdf_t sbdf = PCI_SBDF(0, 0, 0x18 | node, 4); in amd_log_freq()
834 l = pci_conf_read32(PCI_SBDF(0, 0, 0x18, 3), 0x58); in init_amd()
835 h = pci_conf_read32(PCI_SBDF(0, 0, 0x18, 3), 0x5c); in init_amd()
844 pci_conf_write32(PCI_SBDF(0, 0, 0x18, 3), 0x58, in init_amd()
848 pci_conf_write32(PCI_SBDF(0, 0, 0x18, 3), 0x5c, in init_amd()
/xen/xen/drivers/acpi/
A Dreboot.c26 pci_conf_write8(PCI_SBDF(0, 0, rr->address >> 32, in acpi_reboot()
/xen/xen/arch/x86/
A Dmsi.c271 uint16_t control = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in __msi_set_enable()
277 pci_conf_write16(PCI_SBDF(seg, bus, slot, func), in __msi_set_enable()
693 uint16_t ctrl = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
695 uint16_t num_vf = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
697 uint16_t offset = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
699 uint16_t stride = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
725 else switch ( pci_conf_read8(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
743 addr = pci_conf_read32(PCI_SBDF(seg, bus, slot, func), base + bir * 4); in read_pci_mem_bar()
752 ((uint64_t)pci_conf_read32(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
A Ddmi_scan.c462 if ( pci_conf_read16(PCI_SBDF(0, 0, 0x1f, 0), PCI_VENDOR_ID) != 0x8086 ) in ich10_bios_quirk()
465 switch ( pci_conf_read16(PCI_SBDF(0, 0, 0x1f, 0), PCI_DEVICE_ID) ) { in ich10_bios_quirk()
470 port = (pci_conf_read16(PCI_SBDF(0, 0, 0x1f, 0), 0x40) & 0xff80) + 0x30; in ich10_bios_quirk()
A Dtime.c384 if ( pci_conf_read16(PCI_SBDF(0, 0, 0x1f, 0), in init_hpet()
386 switch ( pci_conf_read16(PCI_SBDF(0, 0, 0x1f, 0), PCI_DEVICE_ID) ) in init_hpet()
400 if ( pci_conf_read16(PCI_SBDF(0, 0, 0, 0), in init_hpet()
402 pci_conf_read16(PCI_SBDF(0, 0, 0, 0), in init_hpet()
A Dmm.c6243 igd_id = pci_conf_read32(PCI_SBDF(0, 0, 2, 0), 0); in get_platform_badpages()
/xen/xen/arch/x86/oprofile/
A Dop_model_athlon.c463 id = pci_conf_read32(PCI_SBDF(0, bus, dev, func), in init_ibs_nmi()
473 PCI_SBDF(0, bus, dev, func), in init_ibs_nmi()
477 value = pci_conf_read32(PCI_SBDF(0, bus, dev, func), in init_ibs_nmi()
/xen/xen/drivers/passthrough/amd/
A Diommu_detect.c48 iommu->cap.header = pci_conf_read32(PCI_SBDF(seg, bus, dev, func), cap_ptr); in get_iommu_capabilities()
A Diommu_init.c1326 id = pci_conf_read32(PCI_SBDF(0, bus, 0x14, 0), PCI_VENDOR_ID); in amd_sp5100_erratum28()
1335 byte = pci_conf_read8(PCI_SBDF(0, bus, 0x14, 0), 0xad); in amd_sp5100_erratum28()
/xen/xen/include/xen/
A Dpci.h37 #define PCI_SBDF(s,b,d,f) \ macro
/xen/xen/drivers/passthrough/
A Dpci.c1010 class_device = pci_conf_read16(PCI_SBDF(seg, bus, d, f), PCI_CLASS_DEVICE); in pdev_type()
1016 creg = pci_conf_read16(PCI_SBDF(seg, bus, d, f), pos + PCI_EXP_FLAGS); in pdev_type()
1080 vendor = pci_conf_read32(PCI_SBDF(seg, bus, dev, func), PCI_VENDOR_ID); in pci_device_detect()
1146 if ( !func && !(pci_conf_read8(PCI_SBDF(pseg->nr, bus, dev, in _scan_pci_devices()

Completed in 66 milliseconds