| /pciutils/lib/ |
| H A D | physmem-djgpp.c | 396 size_t offset; in physmem_map() local 474 for (offset = 0; offset < length; offset += (mi.size << pagesize_shift)) in physmem_map() 481 if (!find_sbrk_memory_handle(ptr + offset, length - offset, pagesize, &sh, &sh_size) || in physmem_map() 489 if (offset != 0) in physmem_map() 490 physmem_unmap(physmem, ptr, offset); in physmem_map() 499 mi.size = (length - offset) >> pagesize_shift; in physmem_map() 539 if (offset != 0) in physmem_map() 583 if (offset != 0) in physmem_map() 763 size_t offset; in physmem_unmap() local 798 for (offset = 0; offset < length; offset += (mi.size << pagesize_shift)) in physmem_unmap() [all …]
|
| H A D | rt-thread-smart-dm.c | 77 int offset; in rt_thread_smart_dm_scan() local 98 &offset); in rt_thread_smart_dm_scan() 118 while (buf[offset] && isspace(buf[offset])) in rt_thread_smart_dm_scan() 119 ++offset; in rt_thread_smart_dm_scan() 120 driver = &buf[offset]; in rt_thread_smart_dm_scan() 121 while (buf[offset] && !isspace(buf[offset])) in rt_thread_smart_dm_scan() 122 ++offset; in rt_thread_smart_dm_scan() 123 buf[offset] = '\0'; in rt_thread_smart_dm_scan()
|
| H A D | proc.c | 75 int offset; in proc_scan() local 96 &offset); in proc_scan() 116 while (buf[offset] && isspace(buf[offset])) in proc_scan() 117 ++offset; in proc_scan() 118 driver = &buf[offset]; in proc_scan() 119 while (buf[offset] && !isspace(buf[offset])) in proc_scan() 120 ++offset; in proc_scan() 121 buf[offset] = '\0'; in proc_scan()
|
| H A D | fbsd-device.c | 108 uint32_t offset = 0; in fbsd_scan() local 127 conf.offset = offset; in fbsd_scan() 157 offset += conf.num_matches; in fbsd_scan() 187 conf.offset = 0; in fbsd_fill_info()
|
| H A D | ecam.c | 744 u32 offset; local 746 offset = 32*8*4096 * (bus - start_bus); 747 if (offset >= total_length) 750 *addr = start_addr + offset; 751 *length = total_length - offset; 820 u32 offset; local 855 offset = ((dev & 0x1f) << 15) | ((func & 0x7) << 12) | (pos & 0xfff); 857 if (offset + 4 > length) 860 *reg = (unsigned char *)map + (addr & (pagesize-1)) + offset;
|
| H A D | darwin.c | 50 unsigned int offset :16; member 125 param.address.pci.offset = pos; in darwin_read() 169 param.address.pci.offset = pos; in darwin_write()
|
| H A D | sysfs.c | 219 int offset = (i == 7+6+4) ? 6 : 0; in sysfs_get_resources() local 222 d->bridge_flags[i] = lines[offset+i].flags; in sysfs_get_resources() 223 d->bridge_base_addr[i] = lines[offset+i].base_addr; in sysfs_get_resources() 224 d->bridge_size[i] = lines[offset+i].size; in sysfs_get_resources()
|
| H A D | i386-io-haiku.h | 57 uint8 offset; member
|
| H A D | physmem-windows.c | 344 win32_get_physmem_offset(DWORD *offset) in win32_get_physmem_offset() argument 368 …*offset = DSentry.BaseLow | (DSentry.HighWord.Bytes.BaseMid << 0x10) | (DSentry.HighWord.Bytes.Bas… in win32_get_physmem_offset()
|
| /pciutils/tests/ |
| H A D | cap-vendor-virtio | 13 Vector table: BAR=1 offset=00000000 14 PBA: BAR=1 offset=00000800 16 BAR=2 offset=00003000 size=00040000 19 BAR=2 offset=00002000 size=00001000 21 BAR=2 offset=00001000 size=00001000 23 BAR=2 offset=00000000 size=00001000 49 Vector table: BAR=0 offset=00000000 50 PBA: BAR=0 offset=00002000 52 BAR=0 offset=00003000 size=0000003c 54 BAR=0 offset=0000303c size=00000004 [all …]
|
| H A D | cap-ea-1 | 28 Vector table: BAR=4 offset=00000000 29 PBA: BAR=4 offset=000f0000 64 VF offset: 1, stride: 1, Device ID: a034 66 VF Migration: offset: 00000000, BIR: 0
|
| H A D | cap-pcie-2 | 19 Vector table: BAR=3 offset=00000000 20 PBA: BAR=3 offset=00002000 55 VF offset: 384, stride: 2, Device ID: 10ca 57 VF Migration: offset: 00000000, BIR: 0
|
| H A D | cap-phy32 | 42 Vector table: BAR=0 offset=00004000 43 PBA: BAR=0 offset=00003000 84 VF offset: 32, stride: 1, Device ID: a826 87 VF Migration: offset: 00000000, BIR: 0
|
| H A D | cap-doe | 10 Vector table: BAR=4 offset=00000000 11 PBA: BAR=4 offset=00000800
|
| H A D | cap-address-xlation | 29 Vector table: BAR=2 offset=000f0000 30 PBA: BAR=2 offset=000f9000
|
| H A D | pri-pasid | 25 Vector table: BAR=0 offset=00002000 26 PBA: BAR=0 offset=00003000
|
| H A D | cap-dev3 | 43 Vector table: BAR=0 offset=00002000 44 PBA: BAR=0 offset=00002100
|
| H A D | cap-flitmode | 43 Vector table: BAR=0 offset=00002000 44 PBA: BAR=0 offset=00002100
|
| H A D | cap-ide | 56 VF offset: 32, stride: 1, Device ID: 50a5 60 VF Migration: offset: 00000000, BIR: 0
|
| H A D | cap-dvsec-cxl | 86 VF offset: 16, stride: 2, Device ID: 0d52 91 VF Migration: offset: 00000000, BIR: 0
|
| H A D | cap-vc-and-rcl | 1592 Capabilities: [58] Debug port: BAR=1 offset=00a0 1751 Vector table: BAR=4 offset=00000000 1752 PBA: BAR=4 offset=00000800 2048 Vector table: BAR=0 offset=00000000 2049 PBA: BAR=0 offset=00000000
|
| H A D | cap-aer-root | 335 Vector table: BAR=0 offset=0007c000 336 PBA: BAR=0 offset=0007d000
|
| H A D | cap-exp-lnkcap2 | 1035 Vector table: BAR=1 offset=00000000 1036 PBA: BAR=1 offset=00000fa0
|
| /pciutils/ |
| H A D | setpci.c | 268 unsigned int offset; member 419 printf(" %02x %c %s\n", r->offset, "-BW?L"[r->width], r->name); in dump_registers() 632 op->addr = r->offset; in parse_register() 664 char *base, *offset, *width, *value, *number; in parse_op() local 677 if (offset = strchr(base, '+')) in parse_op() 678 *offset++ = 0; in parse_op() 737 if (offset) in parse_op() 740 if (parse_x32(offset, NULL, &off) <= 0 || off >= 0x1000) in parse_op() 741 parse_err("Invalid offset \"%s\"", offset); in parse_op()
|
| H A D | ls-caps-vendor.c | 22 u32 offset; in show_vendor_caps_virtio() local 59 offset = get_conf_long(d, where + 8); in show_vendor_caps_virtio() 63 get_conf_byte(d, where + 4), offset, size); in show_vendor_caps_virtio() 69 (u64) offset | (u64) offset_hi << 32, in show_vendor_caps_virtio()
|