Searched refs:pciaddr_t (Results 1 – 9 of 9) sorted by relevance
| /pciutils/lib/ |
| H A D | pci.h | 148 pciaddr_t base_addr[6]; /* Base addresses including flags in lower bits */ 149 pciaddr_t size[6]; /* Region sizes */ 150 pciaddr_t rom_base_addr; /* Expansion ROM base address */ 151 pciaddr_t rom_size; /* Expansion ROM size */ 157 pciaddr_t flags[6]; /* PCI_IORESOURCE_* flags for regions */ 158 pciaddr_t rom_flags; /* PCI_IORESOURCE_* flags for expansion ROM */ 160 pciaddr_t bridge_base_addr[4]; /* Bridge base addresses (without flags) */ 161 pciaddr_t bridge_size[4]; /* Bridge sizes */ 162 pciaddr_t bridge_flags[4]; /* PCI_IORESOURCE_* flags for bridge addresses */ 182 #define PCI_ADDR_IO_MASK (~(pciaddr_t) 0x3) [all …]
|
| H A D | emulated.c | 14 ioflg_to_pciflg(pciaddr_t ioflg) in ioflg_to_pciflg() 35 baseres_to_pcires(pciaddr_t addr, pciaddr_t ioflg, int *have_sec, u32 *sec_val) in baseres_to_pcires() 58 even_baseres_to_pcires(pciaddr_t addr, pciaddr_t ioflg) in even_baseres_to_pcires() 64 odd_baseres_to_pcires(pciaddr_t addr0, pciaddr_t ioflg0, pciaddr_t addr, pciaddr_t ioflg) in odd_baseres_to_pcires()
|
| H A D | types.h | 41 typedef u64 pciaddr_t; typedef 45 typedef u32 pciaddr_t; typedef
|
| H A D | header.h | 85 #define PCI_BASE_ADDRESS_MEM_MASK (~(pciaddr_t)0x0f) 86 #define PCI_BASE_ADDRESS_IO_MASK (~(pciaddr_t)0x03) 95 #define PCI_ROM_ADDRESS_MASK (~(pciaddr_t)0x7ff)
|
| H A D | generic.c | 179 d->base_addr[i-1] = x | (((pciaddr_t) y) << 32); in pci_generic_fill_info()
|
| H A D | sysfs.c | 159 struct { pciaddr_t flags, base_addr, size; } lines[10]; in sysfs_get_resources()
|
| H A D | win32-cfgmgr32.c | 996 pciaddr_t start, end, size, flags; in fill_resources()
|
| /pciutils/ |
| H A D | lspci.c | 375 ioflg_to_pciflg(pciaddr_t ioflg) in ioflg_to_pciflg() 406 pciaddr_t pos = p->base_addr[i]; in show_bases() 407 pciaddr_t len = (p->known_fields & PCI_FILL_SIZES) ? p->size[i] : 0; in show_bases() 408 pciaddr_t ioflg = (p->known_fields & PCI_FILL_IO_FLAGS) ? p->flags[i] : 0; in show_bases() 448 pciaddr_t a = pos & PCI_BASE_ADDRESS_IO_MASK; in show_bases() 464 pciaddr_t a = pos & PCI_ADDR_MEM_MASK; in show_bases() 498 pciaddr_t rom = p->rom_base_addr; in show_rom() 499 pciaddr_t len = (p->known_fields & PCI_FILL_SIZES) ? p->rom_size : 0; in show_rom() 500 pciaddr_t ioflg = (p->known_fields & PCI_FILL_IO_FLAGS) ? p->rom_flags : 0; in show_rom()
|
| H A D | ChangeLog | 1642 * lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly. 2178 * lspci.c (show_bases): Use new address masking macros and pciaddr_t. 2180 * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
|