Home
last modified time | relevance | path

Searched refs:table_offset (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dmsix.c323 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 Dlayout.py398 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 Driscv-iommu-sys.c118 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 Dvirt-acpi-build.c318 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 Dqcow2-cache.c56 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 Dmsix.h12 unsigned table_offset, MemoryRegion *pba_bar,
/openbmc/qemu/hw/i3c/
H A Ddw-i3c.c640 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 Ds390-pci-bus.h256 uint32_t table_offset; member