| /pciutils/lib/ |
| H A D | i386-io-beos.h | 13 extern int write_isa_io(int pci_bus, void *addr, int size, u32 value); 29 return (u8)read_isa_io(0, (void *)(u32)port, sizeof(u8)); in intel_inb() 35 return (u16)read_isa_io(0, (void *)(u32)port, sizeof(u16)); in intel_inw() 38 static inline u32 41 return (u32)read_isa_io(0, (void *)(u32)port, sizeof(u32)); in intel_inl() 47 write_isa_io(0, (void *)(u32)port, sizeof(value), value); in intel_outb() 53 write_isa_io(0, (void *)(u32)port, sizeof(value), value); in intel_outw() 57 intel_outl (u32 value, u16 port) in intel_outl() 59 write_isa_io(0, (void *)(u32)port, sizeof(value), value); in intel_outl()
|
| H A D | ecam.c | 44 u32 rsdt_address; 46 u32 length; 55 u32 length; 60 u32 oem_revision; 83 u32 reserved; 90 u32 length; 137 u32 length; in check_and_map_sdt() 451 u32 map_length; 744 u32 offset; 819 u32 length; [all …]
|
| H A D | emulated.c | 13 static u32 16 u32 flg = 0; in ioflg_to_pciflg() 34 static u32 35 baseres_to_pcires(pciaddr_t addr, pciaddr_t ioflg, int *have_sec, u32 *sec_val) in baseres_to_pcires() 37 u32 val = ioflg_to_pciflg(ioflg); in baseres_to_pcires() 57 static inline u32 63 static inline u32 67 u32 val; in odd_baseres_to_pcires() 77 u32 ht = PCI_HEADER_TYPE_NORMAL; in pci_emulated_read() 78 u32 val = 0; in pci_emulated_read()
|
| H A D | names-hash.c | 55 static inline unsigned int id_hash(int cat, u32 id12, u32 id34) in id_hash() 66 u32 id12 = id_pair(id1, id2); in pci_id_insert() 67 u32 id34 = id_pair(id3, id4); in pci_id_insert() 91 u32 id12 = id_pair(id1, id2); in pci_id_lookup() 92 u32 id34 = id_pair(id3, id4); in pci_id_lookup()
|
| H A D | i386-io-haiku.h | 106 static inline u32 109 port_io_args args = { POKE_SIGNATURE, port, sizeof(u32), 0 }; in intel_inl() 112 return (u32)args.value; in intel_inl() 130 intel_outl (u32 value, u16 port) in intel_outl() 132 port_io_args args = { POKE_SIGNATURE, port, sizeof(u32), value }; in intel_outl()
|
| H A D | obsd-device.c | 62 u_int32_t u32; in obsd_read() member 86 u.u32 = pi.pi_data; in obsd_read() 97 ((u32 *) buf)[0] = (u32) letoh32(pi.pi_data); in obsd_read() 130 pi.pi_data = ((u32 *) buf)[0]; in obsd_write()
|
| H A D | physmem-access.h | 31 physmem_writel(u32 value, volatile void *ptr) in physmem_writel() 33 *(volatile u32 *)ptr = value; in physmem_writel() 48 static inline u32 51 return *(volatile u32 *)ptr; in physmem_readl()
|
| H A D | access.c | 121 u32 124 u32 buf; in pci_read_long() 165 pci_write_long(struct pci_dev *d, int pos, u32 data) in pci_write_long() 167 u32 buf = cpu_to_le32(data); in pci_write_long() 234 pci_set_property(struct pci_dev *d, u32 key, char *value) in pci_set_property() 263 pci_get_string_property(struct pci_dev *d, u32 prop) in pci_get_string_property()
|
| H A D | sylixos-device.c | 70 u32 data_dword = -1; in sylixos_read() 98 ((u32 *) buf)[0] = cpu_to_le32(data_dword); in sylixos_read() 111 u32 data_dword; in sylixos_write() 136 data_dword = le32_to_cpu(((u32 *) buf)[0]); in sylixos_write()
|
| H A D | generic.c | 37 u32 vd = pci_read_long(t, PCI_VENDOR_ID); in pci_generic_scan_bus() 164 u32 x = pci_read_long(d, PCI_BASE_ADDRESS_0 + i*4); in pci_generic_fill_info() 165 if (!x || x == (u32) ~0) in pci_generic_fill_info() 177 u32 y = pci_read_long(d, PCI_BASE_ADDRESS_0 + (++i)*4); in pci_generic_fill_info() 207 u32 u = pci_read_long(d, reg); in pci_generic_fill_info()
|
| H A D | types.h | 21 typedef DWORD u32; typedef 32 typedef uint32_t u32; typedef 45 typedef u32 pciaddr_t;
|
| H A D | pci.h | 167 u32 rcd_link_cap; /* Link Capabilities register for Restricted CXL Devices */ 189 u32 pci_read_long(struct pci_dev *, int pos) PCI_ABI; 193 int pci_write_long(struct pci_dev *, int pos, u32 data) PCI_ABI; 219 char *pci_get_string_property(struct pci_dev *d, u32 prop) PCI_ABI;
|
| H A D | i386-ports.c | 158 ((u32 *) buf)[0] = cpu_to_le32(intel_inl(addr)); in conf1_read() 190 intel_outl(le32_to_cpu(((u32 *) buf)[0]), addr); in conf1_write() 252 ((u32 *) buf)[0] = cpu_to_le32(intel_inl(addr)); in conf2_read() 288 intel_outl(le32_to_cpu(* (u32 *) buf), addr); in conf2_write()
|
| H A D | darwin.c | 149 ((u32 *) buf)[0] = cpu_to_le32((u32) param.value); in darwin_read() 185 param.value = le32_to_cpu(((u32 *) buf)[0]); in darwin_write()
|
| H A D | i386-io-access.h | 32 u32 value; in intel_inl() 50 intel_outl(u32 value, unsigned short int port) in intel_outl()
|
| H A D | names.h | 17 u32 id12, id34; 45 static inline u32 id_pair(unsigned int x, unsigned int y) in id_pair()
|
| H A D | sysdep.h | 119 static inline u32 swab32(u32 w) in swab32()
|
| H A D | fbsd-device.c | 293 ((u32 *) buf)[0] = cpu_to_le32((u32) pi.pi_data); in fbsd_read() 338 pi.pi_data = le32_to_cpu(((u32 *) buf)[0]); in fbsd_write()
|
| H A D | nbsd-libpci.c | 94 *(u32*)buf = cpu_to_le32(val); in nbsd_read() 135 val = le32_to_cpu(*(u32*)buf); in nbsd_write()
|
| H A D | win32-kldbg.c | 608 u32 length; 613 u32 oem_revision; 615 u32 asl_compiler_revision; 622 u32 reserved;
|
| H A D | internal.h | 128 u32 key; 132 char *pci_set_property(struct pci_dev *d, u32 key, char *value);
|
| /pciutils/ |
| H A D | ls-ecaps.c | 19 u32 tph_cap; in cap_tph() 52 static u32 61 u32 scale; in cap_ltr() 115 u32 t1, t2; in cap_dsn() 336 u32 l; in cap_pri() 385 u32 l; in cap_sriov() 458 u32 l; in cap_multicast() 602 u32 esd; in cap_rclink() 1022 u32 l; in dvsec_cxl_gpf_device() 1338 u32 hdr; in cap_evendor() [all …]
|
| H A D | lspci.c | 194 u32 374 static u32 377 u32 flg; in ioflg_to_pciflg() 410 u32 hw_lower = 0; in show_bases() 411 u32 hw_upper = 0; in show_bases() 549 u32 io_base = get_conf_byte(d, PCI_IO_BASE); in show_htype1() 550 u32 io_limit = get_conf_byte(d, PCI_IO_LIMIT); in show_htype1() 551 u32 io_type = io_base & PCI_IO_RANGE_TYPE_MASK; in show_htype1() 552 u32 mem_base = get_conf_word(d, PCI_MEMORY_BASE); in show_htype1() 553 u32 mem_limit = get_conf_word(d, PCI_MEMORY_LIMIT); in show_htype1() [all …]
|
| H A D | ls-caps.c | 76 u32 t; in cap_agp() 123 u32 status; in cap_pcix_nobridge() 579 u32 offl, offh; in cap_ht() 608 u32 t; in cap_msi() 692 u32 t; in cap_express_dev() 883 u32 t; in cap_express_slot() 933 u32 w; in cap_express_root() 1106 u32 l; in cap_express_dev2() 1337 u32 l = 0; in cap_express_link2() 1559 u32 off; in cap_msix() [all …]
|
| H A D | ls-caps-vendor.c | 22 u32 offset; in show_vendor_caps_virtio() 23 u32 size; in show_vendor_caps_virtio() 24 u32 offset_hi; in show_vendor_caps_virtio() 25 u32 size_hi; in show_vendor_caps_virtio() 87 u32 l; in show_vendor_caps_intel()
|