Home
last modified time | relevance | path

Searched refs:pci_conf_read16 (Results 1 – 20 of 20) sorted by relevance

/xen/xen/drivers/passthrough/x86/
A Dats.c38 value = pci_conf_read16(pdev->sbdf, pos + ATS_REG_CTL); in enable_ats_device()
60 value = pci_conf_read16(pdev->sbdf, pos + ATS_REG_CAP); in enable_ats_device()
82 value = pci_conf_read16(pdev->sbdf, pdev->ats.cap_pos + ATS_REG_CTL); in disable_ats_device()
/xen/xen/drivers/video/
A Dvga.c125 pci_conf_read16(PCI_SBDF3(0, bus, devfn), in video_endboot()
127 !(pci_conf_read16(PCI_SBDF3(0, bus, devfn), PCI_COMMAND) & in video_endboot()
144 if ( pci_conf_read16(PCI_SBDF3(0, b, df), in video_endboot()
/xen/xen/arch/x86/
A Dmsi.c137 return pci_conf_read16(sbdf, PCI_COMMAND) & PCI_COMMAND_MEMORY; in memory_decoded()
142 uint16_t control = pci_conf_read16(dev->sbdf, msix_control_reg(pos)); in msix_memory_decoded()
271 uint16_t control = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in __msi_set_enable()
305 control = pci_conf_read16(dev->sbdf, msix_control_reg(pos)); in msix_set_enable()
350 control = pci_conf_read16(pdev->sbdf, in msi_set_mask_bit()
522 control = pci_conf_read16(pdev->sbdf, cpos); in setup_msi_irq()
623 control = pci_conf_read16(dev->sbdf, msi_control_reg(pos)); in msi_capability_init()
693 uint16_t ctrl = pci_conf_read16(PCI_SBDF(seg, bus, slot, func), in read_pci_mem_bar()
790 control = pci_conf_read16(dev->sbdf, msix_control_reg(pos)); in msix_capability_init()
1119 u16 control = pci_conf_read16(dev->sbdf, in __pci_disable_msix()
[all …]
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()
/xen/xen/drivers/passthrough/vtd/
A Dquirks.c78 ggc = pci_conf_read16(IGD_DEV, GGC); in is_igd_vt_enabled_quirk()
92 vid = pci_conf_read16(IGD_DEV, 0); in cantiga_b3_errata_init()
425 if ( pci_conf_read16(pdev->sbdf, PCI_VENDOR_ID) != PCI_VENDOR_ID_INTEL ) in pci_vtd_quirk()
428 switch ( pci_conf_read16(pdev->sbdf, PCI_DEVICE_ID) ) in pci_vtd_quirk()
/xen/xen/drivers/passthrough/
A Dpci.c250 val = pci_conf_read16(pdev->sbdf, PCI_COMMAND); in check_pdev()
253 val = pci_conf_read16(pdev->sbdf, PCI_STATUS); in check_pdev()
267 val = pci_conf_read16(pdev->sbdf, PCI_BRIDGE_CONTROL); in check_pdev()
271 val = pci_conf_read16(pdev->sbdf, PCI_SEC_STATUS); in check_pdev()
291 uint16_t vendor = pci_conf_read16(pdev->sbdf, PCI_VENDOR_ID); in apply_quirks()
292 uint16_t device = pci_conf_read16(pdev->sbdf, PCI_DEVICE_ID); in apply_quirks()
367 ctrl = pci_conf_read16(pdev->sbdf, msix_control_reg(pos)); in alloc_pdev()
621 cap = pci_conf_read16(pdev->sbdf, pos + PCI_ACS_CAP); in pci_enable_acs()
622 ctrl = pci_conf_read16(pdev->sbdf, pos + PCI_ACS_CTRL); in pci_enable_acs()
1112 cword = pci_conf_read16(pdev->sbdf, PCI_COMMAND); in pci_check_disable_device()
[all …]
A Dats.h38 value = pci_conf_read16(PCI_SBDF3(seg, bus, devfn), pos + ATS_REG_CTL); in pci_ats_enabled()
/xen/xen/drivers/vpci/
A Dvpci.c117 return pci_conf_read16(pdev->sbdf, reg); in vpci_hw_read16()
224 data |= pci_conf_read16(sbdf, reg + 1) << 8; in vpci_read_hw()
228 data = pci_conf_read16(sbdf, reg); in vpci_read_hw()
234 data = pci_conf_read16(sbdf, reg); in vpci_read_hw()
A Dheader.c336 uint16_t current_cmd = pci_conf_read16(pdev->sbdf, reg); in cmd_write()
370 if ( pci_conf_read16(pdev->sbdf, PCI_COMMAND) & PCI_COMMAND_MEMORY ) in bar_write()
406 uint16_t cmd = pci_conf_read16(pdev->sbdf, PCI_COMMAND); in rom_write()
484 cmd = pci_conf_read16(pdev->sbdf, PCI_COMMAND); in init_bars()
A Dmsi.c212 control = pci_conf_read16(pdev->sbdf, msi_control_reg(pos)); in init_msi()
A Dmsix.c460 control = pci_conf_read16(pdev->sbdf, msix_control_reg(msix_offset)); in init_msix()
/xen/xen/drivers/pci/
A Dpci.c18 status = pci_conf_read16(PCI_SBDF(seg, bus, dev, func), PCI_STATUS); in pci_find_cap_offset()
119 uint16_t cmd = pci_conf_read16(pdev->sbdf, PCI_COMMAND); in pci_intx()
/xen/tools/tests/vpci/
A Demul.h101 #define pci_conf_read16(...) 0xffff macro
/xen/xen/arch/x86/x86_64/
A Dpci.c27 uint16_t pci_conf_read16(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read16() function
A Dmmconfig-shared.c68 win = pci_conf_read16(PCI_SBDF(0, 0, 0, 0), 0xce); in pci_mmcfg_e7520()
/xen/xen/drivers/char/
A Dns16550.c846 uart->cr = pci_conf_read16(PCI_SBDF(0, uart->ps_bdf[0], uart->ps_bdf[1], in ns16550_suspend()
1066 nextf = (f || (pci_conf_read16(PCI_SBDF(0, b, d, f), in pci_uart_config()
1070 switch ( pci_conf_read16(PCI_SBDF(0, b, d, f), in pci_uart_config()
1088 u16 vendor = pci_conf_read16(PCI_SBDF(0, b, d, f), in pci_uart_config()
1090 u16 device = pci_conf_read16(PCI_SBDF(0, b, d, f), in pci_uart_config()
A Dehci-dbgp.c1023 if ( pci_conf_read16(PCI_SBDF(0, dbgp->bus, dbgp->slot, dbgp->func), in detect_set_debug_port()
1427 dbgp->pci_cr = pci_conf_read16(PCI_SBDF(0, dbgp->bus, dbgp->slot, in ehci_dbgp_suspend()
/xen/xen/include/xen/
A Dpci.h180 uint16_t pci_conf_read16(pci_sbdf_t sbdf, unsigned int reg);
/xen/xen/drivers/passthrough/amd/
A Diommu_init.c780 control = pci_conf_read16(PCI_SBDF2(iommu->seg, iommu->bdf), in set_iommu_interrupt_handler()

Completed in 36 milliseconds