Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocesspptables.c80 if (table_offset > 0) in get_vce_clock_info_array_offset()
93 if (table_offset > 0) { in get_vce_clock_info_array_size()
108 if (table_offset > 0) in get_vce_clock_voltage_limit_table_offset()
121 if (table_offset > 0) { in get_vce_clock_voltage_limit_table_size()
134 if (table_offset > 0) in get_vce_state_table_offset()
146 if (table_offset > 0) in get_vce_state_table()
180 if (table_offset > 0) in get_uvd_clock_info_array_offset()
195 + table_offset); in get_uvd_clock_info_array_size()
210 if (table_offset > 0) in get_uvd_clock_voltage_limit_table_offset()
211 return table_offset + in get_uvd_clock_voltage_limit_table_offset()
[all …]
/openbmc/linux/tools/objtool/arch/x86/
H A Dspecial.c93 unsigned long table_offset; in arch_find_switch_table() local
102 table_offset = reloc_addend(text_reloc); in arch_find_switch_table()
106 table_offset += 4; in arch_find_switch_table()
117 if (find_symbol_containing(table_sec, table_offset) && in arch_find_switch_table()
126 rodata_reloc = find_reloc_by_dest(file->elf, table_sec, table_offset); in arch_find_switch_table()
/openbmc/linux/drivers/acpi/
H A Dtables.c707 int table_offset = 0; in acpi_table_initrd_override() local
717 while (table_offset + ACPI_HEADER_SIZE <= all_tables_size) { in acpi_table_initrd_override()
718 table = acpi_os_map_memory(acpi_tables_addr + table_offset, in acpi_table_initrd_override()
720 if (table_offset + table->length > all_tables_size) { in acpi_table_initrd_override()
748 *address = acpi_tables_addr + table_offset; in acpi_table_initrd_override()
756 table_offset += table_length; in acpi_table_initrd_override()
764 int table_offset = 0; in acpi_table_initrd_scan() local
772 while (table_offset + ACPI_HEADER_SIZE <= all_tables_size) { in acpi_table_initrd_scan()
773 table = acpi_os_map_memory(acpi_tables_addr + table_offset, in acpi_table_initrd_scan()
775 if (table_offset + table->length > all_tables_size) { in acpi_table_initrd_scan()
[all …]
/openbmc/qemu/hw/pci/
H A Dmsix.c314 unsigned table_offset, MemoryRegion *pba_bar, in msix_init() argument
338 ranges_overlap(table_offset, table_size, pba_offset, pba_size)) || in msix_init()
339 table_offset + table_size > memory_region_size(table_bar) || in msix_init()
341 (table_offset | pba_offset) & PCI_MSIX_FLAGS_BIRMASK) { in msix_init()
361 pci_set_long(config + PCI_MSIX_TABLE, table_offset | table_bar_nr); in msix_init()
376 memory_region_add_subregion(table_bar, table_offset, &dev->msix_table_mmio); in msix_init()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_rlc.c195 u32 table_offset, table_size; in amdgpu_gfx_rlc_setup_cp_table() local
208 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
216 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
224 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
232 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
240 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
246 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in amdgpu_gfx_rlc_setup_cp_table()
H A Dmmsch_v4_0.h58 uint32_t table_offset; member
H A Dmmsch_v3_0.h45 uint32_t table_offset; member
H A Dmmsch_v1_0.h50 uint32_t table_offset; member
H A Djpeg_v4_0.c438 header.jpegdec.table_offset = 0; in jpeg_v4_0_start_sriov()
462 header.jpegdec.table_offset = header.total_size; in jpeg_v4_0_start_sriov()
H A Djpeg_v4_0_3.c225 header.mjpegdec0[j].table_offset = item_offset; in jpeg_v4_0_3_start_sriov()
229 header.mjpegdec1[j - 4].table_offset = item_offset; in jpeg_v4_0_3_start_sriov()
/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/linux/drivers/pci/msi/
H A Dmsi.c561 u32 table_offset; in msix_map_region() local
566 &table_offset); in msix_map_region()
567 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in msix_map_region()
572 table_offset &= PCI_MSIX_TABLE_OFFSET; in msix_map_region()
573 phys_addr = pci_resource_start(dev, bir) + table_offset; in msix_map_region()
/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()
H A Dvpc.c109 uint64_t table_offset; member
403 s->bat_offset = be64_to_cpu(dyndisk_header.table_offset); in vpc_open()
872 dyndisk_header.table_offset = cpu_to_be64(3 * 512); in create_dynamic_disk()
H A Dqcow2-refcount.c541 uint64_t table_offset, block_offset, end_offset; in qcow2_refcount_area() local
611 table_offset = start_offset + additional_refblock_count * s->cluster_size; in qcow2_refcount_area()
612 end_offset = table_offset + table_clusters * s->cluster_size; in qcow2_refcount_area()
674 assert(block_offset == table_offset); in qcow2_refcount_area()
689 ret = bdrv_pwrite_sync(bs->file, table_offset, in qcow2_refcount_area()
704 data.d64 = cpu_to_be64(table_offset); in qcow2_refcount_area()
721 s->refcount_table_offset = table_offset; in qcow2_refcount_area()
/openbmc/linux/arch/x86/pci/
H A Dxen.c298 u32 table_offset, bir; in xen_initdom_setup_msi_irqs() local
302 &table_offset); in xen_initdom_setup_msi_irqs()
303 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in xen_initdom_setup_msi_irqs()
/openbmc/qemu/include/hw/pci/
H A Dmsix.h12 unsigned table_offset, MemoryRegion *pba_bar,
/openbmc/linux/drivers/acpi/acpica/
H A Dacapps.h90 acpi_status ac_validate_table_header(FILE * file, long table_offset);
/openbmc/qemu/hw/riscv/
H A Dvirt-acpi-build.c289 isa_offset = table_data->len - table.table_offset; in build_rhct()
309 cmo_offset = table_data->len - table.table_offset; in build_rhct()
340 mmu_offset = table_data->len - table.table_offset; in build_rhct()
/openbmc/qemu/hw/vfio/
H A Dpci.h113 uint32_t table_offset; member
H A Dpci.c1397 start = vdev->msix->table_offset & qemu_real_host_page_mask(); in vfio_pci_fixup_msix_region()
1398 end = REAL_HOST_PAGE_ALIGN((uint64_t)vdev->msix->table_offset + in vfio_pci_fixup_msix_region()
1521 vdev->msix->table_offset = 0; in vfio_pci_relocate_msix()
1529 vdev->msix->table_offset = vdev->bars[target_bar].size / 2; in vfio_pci_relocate_msix()
1535 vdev->msix->pba_offset = vdev->msix->table_offset + in vfio_pci_relocate_msix()
1539 vdev->msix->table_bar, vdev->msix->table_offset); in vfio_pci_relocate_msix()
1590 msix->table_offset = table & ~PCI_MSIX_FLAGS_BIRMASK; in vfio_msix_early_setup()
1636 msix->table_offset, msix->entries, in vfio_msix_early_setup()
1654 vdev->msix->table_bar, vdev->msix->table_offset, in vfio_msix_setup()
/openbmc/qemu/include/hw/s390x/
H A Ds390-pci-bus.h256 uint32_t table_offset; member
/openbmc/qemu/hw/acpi/
H A Daml-build.c1712 desc->table_offset = array->len; in acpi_table_begin()
1743 uint32_t table_len = desc->array->len - desc->table_offset; in acpi_table_end()
1745 gchar *len_ptr = &desc->array->data[desc->table_offset + 4]; in acpi_table_end()
1754 desc->table_offset, table_len, desc->table_offset + checksum_offset); in acpi_table_end()
/openbmc/qemu/include/hw/acpi/
H A Daml-build.h424 unsigned table_offset; member
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dcik.c6415 u32 table_offset, table_size; in cik_init_cp_pg_table() local
6434 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6440 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6446 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6452 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6458 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6464 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in cik_init_cp_pg_table()
6473 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
6476 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
6479 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
[all …]

12