Searched refs:table_offset (Results 1 – 8 of 8) sorted by relevance
| /openbmc/qemu/hw/pci/ |
| H A D | msix.c | 323 unsigned table_offset, MemoryRegion *pba_bar, in msix_init() argument 347 ranges_overlap(table_offset, table_size, pba_offset, pba_size)) || in msix_init() 348 table_offset + table_size > memory_region_size(table_bar) || in msix_init() 350 (table_offset | pba_offset) & PCI_MSIX_FLAGS_BIRMASK) { in msix_init() 370 pci_set_long(config + PCI_MSIX_TABLE, table_offset | table_bar_nr); in msix_init() 385 memory_region_add_subregion(table_bar, table_offset, &dev->msix_table_mmio); in msix_init()
|
| /openbmc/qemu/tests/image-fuzzer/qcow2/ |
| H A D | layout.py | 398 def create_table_entry(table_offset, block_cluster, block_size, argument 401 offset = table_offset + UINT64_S * (cluster // block_size) 442 table_offset = min(table_clusters) * self.cluster_size 457 rfc_table.append(create_table_entry(table_offset, 465 self.header['refcount_table_offset'][0].value = table_offset
|
| /openbmc/qemu/hw/riscv/ |
| H A D | riscv-iommu-sys.c | 118 uint32_t table_offset = RISCV_IOMMU_REG_MSI_CONFIG; in riscv_iommu_sysdev_init_msi() local 127 memory_region_add_subregion(&iommu->regs_mr, table_offset, in riscv_iommu_sysdev_init_msi()
|
| H A D | virt-acpi-build.c | 318 isa_offset = table_data->len - table.table_offset; in build_rhct() 338 cmo_offset = table_data->len - table.table_offset; in build_rhct() 368 mmu_offset = table_data->len - table.table_offset; in build_rhct() 725 iommu_offset = table_data->len - table.table_offset; in build_rimt()
|
| /openbmc/qemu/block/ |
| H A D | qcow2-cache.c | 56 ptrdiff_t table_offset = (uint8_t *) table - (uint8_t *) c->table_array; in qcow2_cache_get_table_idx() local 57 int idx = table_offset / c->table_size; in qcow2_cache_get_table_idx() 58 assert(idx >= 0 && idx < c->size && table_offset % c->table_size == 0); in qcow2_cache_get_table_idx()
|
| /openbmc/qemu/include/hw/pci/ |
| H A D | msix.h | 12 unsigned table_offset, MemoryRegion *pba_bar,
|
| /openbmc/qemu/hw/i3c/ |
| H A D | dw-i3c.c | 640 int table_offset = dw_i3c_addr_table_index_from_addr(s, addr); in dw_i3c_handle_ctlr_req() local 642 if (table_offset < 0) { in dw_i3c_handle_ctlr_req() 647 table_offset += (ARRAY_FIELD_EX32(s->regs, DEVICE_ADDR_TABLE_POINTER, in dw_i3c_handle_ctlr_req() 649 if (FIELD_EX32(s->regs[table_offset], DEVICE_ADDR_TABLE_LOC1, MR_REJECT)) { in dw_i3c_handle_ctlr_req() 669 int table_offset = dw_i3c_addr_table_index_from_addr(s, addr); in dw_i3c_handle_targ_irq() local 671 if (table_offset < 0) { in dw_i3c_handle_targ_irq() 676 table_offset += (ARRAY_FIELD_EX32(s->regs, DEVICE_ADDR_TABLE_POINTER, in dw_i3c_handle_targ_irq() 678 if (FIELD_EX32(s->regs[table_offset], DEVICE_ADDR_TABLE_LOC1, SIR_REJECT)) { in dw_i3c_handle_targ_irq()
|
| /openbmc/qemu/include/hw/s390x/ |
| H A D | s390-pci-bus.h | 256 uint32_t table_offset; member
|