Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocesspptables.c75 uint16_t table_offset = get_vce_table_offset(hwmgr, in get_vce_clock_info_array_offset() local
78 if (table_offset > 0) in get_vce_clock_info_array_offset()
79 return table_offset + 1; in get_vce_clock_info_array_offset()
87 uint16_t table_offset = get_vce_clock_info_array_offset(hwmgr, in get_vce_clock_info_array_size() local
91 if (table_offset > 0) { in get_vce_clock_info_array_size()
93 (((unsigned long) powerplay_table) + table_offset); in get_vce_clock_info_array_size()
103 uint16_t table_offset = get_vce_clock_info_array_offset(hwmgr, in get_vce_clock_voltage_limit_table_offset() local
106 if (table_offset > 0) in get_vce_clock_voltage_limit_table_offset()
107 return table_offset + get_vce_clock_info_array_size(hwmgr, in get_vce_clock_voltage_limit_table_offset()
116 uint16_t table_offset = get_vce_clock_voltage_limit_table_offset(hwmgr, powerplay_table); in get_vce_clock_voltage_limit_table_size() local
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rlc.c198 u32 table_offset, table_size; in amdgpu_gfx_rlc_setup_cp_table() local
211 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
219 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
227 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
235 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
243 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
249 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in amdgpu_gfx_rlc_setup_cp_table()
/Linux-v5.4/drivers/acpi/
Dtables.c641 int table_offset = 0; in acpi_table_initrd_override() local
651 while (table_offset + ACPI_HEADER_SIZE <= all_tables_size) { in acpi_table_initrd_override()
652 table = acpi_os_map_memory(acpi_tables_addr + table_offset, in acpi_table_initrd_override()
654 if (table_offset + table->length > all_tables_size) { in acpi_table_initrd_override()
682 *address = acpi_tables_addr + table_offset; in acpi_table_initrd_override()
690 table_offset += table_length; in acpi_table_initrd_override()
698 int table_offset = 0; in acpi_table_initrd_scan() local
706 while (table_offset + ACPI_HEADER_SIZE <= all_tables_size) { in acpi_table_initrd_scan()
707 table = acpi_os_map_memory(acpi_tables_addr + table_offset, in acpi_table_initrd_scan()
709 if (table_offset + table->length > all_tables_size) { in acpi_table_initrd_scan()
[all …]
/Linux-v5.4/arch/x86/pci/
Dxen.c297 u32 table_offset, bir; in xen_initdom_setup_msi_irqs() local
301 &table_offset); in xen_initdom_setup_msi_irqs()
302 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in xen_initdom_setup_msi_irqs()
/Linux-v5.4/drivers/acpi/acpica/
Dacapps.h90 acpi_status ac_validate_table_header(FILE * file, long table_offset);
/Linux-v5.4/drivers/pci/
Dmsi.c676 u32 table_offset; in msix_map_region() local
681 &table_offset); in msix_map_region()
682 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in msix_map_region()
687 table_offset &= PCI_MSIX_TABLE_OFFSET; in msix_map_region()
688 phys_addr = pci_resource_start(dev, bir) + table_offset; in msix_map_region()
/Linux-v5.4/tools/objtool/
Dcheck.c1004 unsigned long table_offset; in find_jump_table() local
1035 table_offset = text_rela->addend; in find_jump_table()
1039 table_offset += 4; in find_jump_table()
1050 if (find_symbol_containing(table_sec, table_offset) && in find_jump_table()
1055 table_rela = find_rela_by_dest(table_sec, table_offset); in find_jump_table()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dcik.c6430 u32 table_offset, table_size; in cik_init_cp_pg_table() local
6449 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6455 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6461 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6467 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6473 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6479 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in cik_init_cp_pg_table()
6488 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
6491 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
6494 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
[all …]
/Linux-v5.4/drivers/acpi/nfit/
Dcore.c2383 u64 line_no, table_skip_count, table_offset; in to_interleave_offset() local
2389 table_offset = table_skip_count * mmio->table_size; in to_interleave_offset()
2391 return mmio->base_offset + line_offset + table_offset + sub_line_offset; in to_interleave_offset()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Db44.c1504 static void bwfilter_table(struct b44 *bp, u8 *pp, u32 bytes, u32 table_offset) in bwfilter_table() argument
1510 bw32(bp, B44_FILT_ADDR, table_offset + i); in bwfilter_table()