Searched refs:pci_sbdf_t (Results 1 – 12 of 12) sorted by relevance
/xen/xen/include/xen/ |
A D | pci.h | 38 ((pci_sbdf_t){ .sbdf = (((s) & 0xffff) << 16) | PCI_BDF(b, d, f) }) 40 ((pci_sbdf_t){ .sbdf = (((s) & 0xffff) << 16) | ((bdf) & 0xffff) }) 42 ((pci_sbdf_t){ .sbdf = (((s) & 0xffff) << 16) | PCI_BDF2(b, df) }) 63 } pci_sbdf_t; typedef 94 pci_sbdf_t sbdf; 179 uint8_t pci_conf_read8(pci_sbdf_t sbdf, unsigned int reg); 180 uint16_t pci_conf_read16(pci_sbdf_t sbdf, unsigned int reg); 181 uint32_t pci_conf_read32(pci_sbdf_t sbdf, unsigned int reg); 182 void pci_conf_write8(pci_sbdf_t sbdf, unsigned int reg, uint8_t data); 183 void pci_conf_write16(pci_sbdf_t sbdf, unsigned int reg, uint16_t data); [all …]
|
A D | vpci.h | 42 uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, unsigned int size); 43 void vpci_write(pci_sbdf_t sbdf, unsigned int reg, unsigned int size, 224 static inline uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, in vpci_read() 231 static inline void vpci_write(pci_sbdf_t sbdf, unsigned int reg, in vpci_write()
|
/xen/xen/arch/x86/x86_64/ |
A D | pci.c | 14 uint8_t pci_conf_read8(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read8() 27 uint16_t pci_conf_read16(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read16() 40 uint32_t pci_conf_read32(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read32() 53 void pci_conf_write8(pci_sbdf_t sbdf, unsigned int reg, uint8_t data) in pci_conf_write8() 61 void pci_conf_write16(pci_sbdf_t sbdf, unsigned int reg, uint16_t data) in pci_conf_write16() 69 void pci_conf_write32(pci_sbdf_t sbdf, unsigned int reg, uint32_t data) in pci_conf_write32()
|
/xen/xen/arch/x86/hvm/ |
A D | io.c | 264 pci_sbdf_t *sbdf) in hvm_pci_decode_addr() 303 pci_sbdf_t sbdf; in vpci_portio_read() 335 pci_sbdf_t sbdf; in vpci_portio_write() 408 paddr_t addr, pci_sbdf_t *sbdf) in vpci_mmcfg_decode_addr() 436 pci_sbdf_t sbdf; in vpci_mmcfg_read() 480 pci_sbdf_t sbdf; in vpci_mmcfg_write()
|
A D | ioreq.c | 1274 pci_sbdf_t sbdf; in hvm_select_ioreq_server()
|
/xen/xen/drivers/vpci/ |
A D | vpci.c | 205 static uint32_t vpci_read_hw(pci_sbdf_t sbdf, unsigned int reg, in vpci_read_hw() 250 static void vpci_write_hw(pci_sbdf_t sbdf, unsigned int reg, unsigned int size, in vpci_write_hw() 305 uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, unsigned int size) in vpci_read() 407 void vpci_write(pci_sbdf_t sbdf, unsigned int reg, unsigned int size, in vpci_write()
|
/xen/tools/tests/vpci/ |
A D | main.c | 74 data = vpci_read((pci_sbdf_t){ .sbdf = 0 }, reg, size); \ 85 vpci_write((pci_sbdf_t){ .sbdf = 0 }, reg, size, data); \
|
A D | emul.h | 81 } pci_sbdf_t; typedef
|
/xen/xen/include/asm-x86/hvm/ |
A D | io.h | 166 pci_sbdf_t *sbdf);
|
/xen/xen/arch/x86/cpu/ |
A D | amd.c | 575 pci_sbdf_t sbdf = PCI_SBDF(0, 0, 0x18 | node, 4); in amd_log_freq()
|
/xen/xen/arch/x86/ |
A D | msi.c | 129 pci_sbdf_t sbdf = dev->sbdf; in memory_decoded()
|
/xen/xen/drivers/passthrough/ |
A D | pci.c | 643 unsigned int pci_size_mem_bar(pci_sbdf_t sbdf, unsigned int pos, in pci_size_mem_bar()
|
Completed in 22 milliseconds