Lines Matching refs:u
36 info->u.h1.subsystem_id, info->u.h1.subsystem_vendor_id)); in print_pci2pci_bridge_info()
38 " secondary_latency %02x\n", info->u.h1.primary_bus, in print_pci2pci_bridge_info()
39 info->u.h1.secondary_bus, info->u.h1.subordinate_bus, info->u.h1.secondary_latency)); in print_pci2pci_bridge_info()
40 uint32 io_base = ((uint32)info->u.h1.io_base & 0xf0) << 8; in print_pci2pci_bridge_info()
41 if (info->u.h1.io_base & 1) in print_pci2pci_bridge_info()
42 io_base += ((uint32)info->u.h1.io_base_upper16 << 16); in print_pci2pci_bridge_info()
43 uint32 io_limit = (((uint32)info->u.h1.io_limit & 0xf0) << 8) + 0xfff; in print_pci2pci_bridge_info()
44 if (info->u.h1.io_limit & 1) in print_pci2pci_bridge_info()
45 io_limit += info->u.h1.io_limit_upper16 << 16; in print_pci2pci_bridge_info()
48 uint32 memory_base = ((uint32)info->u.h1.memory_base & 0xfff0) << 16; in print_pci2pci_bridge_info()
49 uint32 memory_limit = (((uint32)info->u.h1.memory_limit & 0xfff0) << 16) in print_pci2pci_bridge_info()
54 ((uint32)info->u.h1.prefetchable_memory_base & 0xfff0) << 16; in print_pci2pci_bridge_info()
55 if (info->u.h1.prefetchable_memory_base & 1) { in print_pci2pci_bridge_info()
57 (uint64)info->u.h1.prefetchable_memory_base_upper32 << 32; in print_pci2pci_bridge_info()
60 (((uint32)info->u.h1.prefetchable_memory_limit & 0xfff0) << 16) in print_pci2pci_bridge_info()
62 if (info->u.h1.prefetchable_memory_limit & 1) { in print_pci2pci_bridge_info()
64 (uint64)info->u.h1.prefetchable_memory_limit_upper32 << 32; in print_pci2pci_bridge_info()
69 info->u.h1.bridge_control, info->u.h1.secondary_status)); in print_pci2pci_bridge_info()
71 info->u.h1.interrupt_line, info->u.h1.interrupt_pin)); in print_pci2pci_bridge_info()
73 info->u.h1.rom_base, info->u.h1.rom_base_pci)); in print_pci2pci_bridge_info()
76 "size %08" B_PRIx32 ", flags %02x\n", i, info->u.h1.base_registers[i], in print_pci2pci_bridge_info()
77 info->u.h1.base_registers_pci[i], info->u.h1.base_register_sizes[i], in print_pci2pci_bridge_info()
78 info->u.h1.base_register_flags[i])); in print_pci2pci_bridge_info()
86 info->u.h2.subsystem_id, info->u.h2.subsystem_vendor_id)); in print_pci2cardbus_bridge_info()
88 "secondary_latency %02x\n", info->u.h2.primary_bus, in print_pci2cardbus_bridge_info()
89 info->u.h2.secondary_bus, info->u.h2.subordinate_bus, in print_pci2cardbus_bridge_info()
90 info->u.h2.secondary_latency)); in print_pci2cardbus_bridge_info()
92 info->u.h2.bridge_control, info->u.h2.secondary_status)); in print_pci2cardbus_bridge_info()
94 B_PRIx32 "\n", info->u.h2.memory_base_upper32, info->u.h2.memory_base)); in print_pci2cardbus_bridge_info()
96 B_PRIx32 "\n", info->u.h2.memory_limit_upper32, info->u.h2.memory_limit)); in print_pci2cardbus_bridge_info()
98 info->u.h2.io_base_upper32, info->u.h2.io_base)); in print_pci2cardbus_bridge_info()
100 info->u.h2.io_limit_upper32, info->u.h2.io_limit)); in print_pci2cardbus_bridge_info()
108 "%08" B_PRIx32 "\n", info->u.h0.rom_base, info->u.h0.rom_base_pci, in print_generic_info()
109 info->u.h0.rom_size)); in print_generic_info()
111 "subsystem_vendor_id %04x\n", info->u.h0.cardbus_cis, in print_generic_info()
112 info->u.h0.subsystem_id, info->u.h0.subsystem_vendor_id)); in print_generic_info()
114 "max_latency %02x\n", info->u.h0.interrupt_line, info->u.h0.interrupt_pin, in print_generic_info()
115 info->u.h0.min_grant, info->u.h0.max_latency)); in print_generic_info()
117 if ((info->u.h0.base_register_flags[i] & PCI_address_type) == PCI_address_type_64) { in print_generic_info()
120 info->u.h0.base_registers[i] | ((uint64)info->u.h0.base_registers[i + 1] << 32), in print_generic_info()
121 info->u.h0.base_registers_pci[i] | ((uint64)info->u.h0.base_registers_pci[i + 1] << 32), in print_generic_info()
122 info->u.h0.base_register_sizes[i] | ((uint64)info->u.h0.base_register_sizes[i + 1] << 32), in print_generic_info()
123 info->u.h0.base_register_flags[i], info->u.h0.base_register_flags[i + 1])); in print_generic_info()
127 "size %08" B_PRIx32 ", flags %02x\n", i, info->u.h0.base_registers[i], in print_generic_info()
128 info->u.h0.base_registers_pci[i], info->u.h0.base_register_sizes[i], in print_generic_info()
129 info->u.h0.base_register_flags[i])); in print_generic_info()
258 …get_device_info(info->vendor_id, info->device_id, info->u.h0.subsystem_vendor_id, info->u.h0.subsy… in print_info_basic()