Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/acpi/
Dtables.c589 int table_offset = 0; in acpi_table_initrd_override() local
599 while (table_offset + ACPI_HEADER_SIZE <= all_tables_size) { in acpi_table_initrd_override()
600 table = acpi_os_map_memory(acpi_tables_addr + table_offset, in acpi_table_initrd_override()
602 if (table_offset + table->length > all_tables_size) { in acpi_table_initrd_override()
630 *address = acpi_tables_addr + table_offset; in acpi_table_initrd_override()
638 table_offset += table_length; in acpi_table_initrd_override()
646 int table_offset = 0; in acpi_table_initrd_scan() local
654 while (table_offset + ACPI_HEADER_SIZE <= all_tables_size) { in acpi_table_initrd_scan()
655 table = acpi_os_map_memory(acpi_tables_addr + table_offset, in acpi_table_initrd_scan()
657 if (table_offset + table->length > all_tables_size) { in acpi_table_initrd_scan()
[all …]
/Linux-v4.19/arch/x86/pci/
Dxen.c296 u32 table_offset, bir; in xen_initdom_setup_msi_irqs() local
300 &table_offset); in xen_initdom_setup_msi_irqs()
301 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in xen_initdom_setup_msi_irqs()
/Linux-v4.19/drivers/acpi/acpica/
Dacapps.h90 acpi_status ac_validate_table_header(FILE * file, long table_offset);
/Linux-v4.19/drivers/pci/
Dmsi.c654 u32 table_offset; in msix_map_region() local
659 &table_offset); in msix_map_region()
660 bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR); in msix_map_region()
665 table_offset &= PCI_MSIX_TABLE_OFFSET; in msix_map_region()
666 phys_addr = pci_resource_start(dev, bir) + table_offset; in msix_map_region()
/Linux-v4.19/tools/objtool/
Dcheck.c929 unsigned long table_offset; in find_switch_table() local
959 table_offset = text_rela->addend; in find_switch_table()
961 table_offset += 4; in find_switch_table()
967 if (find_symbol_containing(file->rodata, table_offset)) in find_switch_table()
970 rodata_rela = find_rela_by_dest(file->rodata, table_offset); in find_switch_table()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dcik.c6426 u32 table_offset, table_size; in cik_init_cp_pg_table() local
6445 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6451 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6457 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6463 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6469 table_offset = le32_to_cpu(hdr->jt_offset); in cik_init_cp_pg_table()
6475 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in cik_init_cp_pg_table()
6484 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
6487 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
6490 table_offset = CP_ME_TABLE_OFFSET; in cik_init_cp_pg_table()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dgfx_v7_0.c3793 u32 table_offset, table_size; in gfx_v7_0_init_cp_pg_table() local
3810 table_offset = le32_to_cpu(hdr->jt_offset); in gfx_v7_0_init_cp_pg_table()
3818 table_offset = le32_to_cpu(hdr->jt_offset); in gfx_v7_0_init_cp_pg_table()
3826 table_offset = le32_to_cpu(hdr->jt_offset); in gfx_v7_0_init_cp_pg_table()
3834 table_offset = le32_to_cpu(hdr->jt_offset); in gfx_v7_0_init_cp_pg_table()
3842 table_offset = le32_to_cpu(hdr->jt_offset); in gfx_v7_0_init_cp_pg_table()
3848 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in gfx_v7_0_init_cp_pg_table()
Dgfx_v9_0.c864 u32 table_offset, table_size; in rv_init_cp_jump_table() local
875 table_offset = le32_to_cpu(hdr->jt_offset); in rv_init_cp_jump_table()
883 table_offset = le32_to_cpu(hdr->jt_offset); in rv_init_cp_jump_table()
891 table_offset = le32_to_cpu(hdr->jt_offset); in rv_init_cp_jump_table()
899 table_offset = le32_to_cpu(hdr->jt_offset); in rv_init_cp_jump_table()
907 table_offset = le32_to_cpu(hdr->jt_offset); in rv_init_cp_jump_table()
913 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in rv_init_cp_jump_table()
Dgfx_v8_0.c1310 u32 table_offset, table_size; in cz_init_cp_jump_table() local
1324 table_offset = le32_to_cpu(hdr->jt_offset); in cz_init_cp_jump_table()
1332 table_offset = le32_to_cpu(hdr->jt_offset); in cz_init_cp_jump_table()
1340 table_offset = le32_to_cpu(hdr->jt_offset); in cz_init_cp_jump_table()
1348 table_offset = le32_to_cpu(hdr->jt_offset); in cz_init_cp_jump_table()
1356 table_offset = le32_to_cpu(hdr->jt_offset); in cz_init_cp_jump_table()
1362 cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); in cz_init_cp_jump_table()
/Linux-v4.19/drivers/acpi/nfit/
Dcore.c2191 u64 line_no, table_skip_count, table_offset; in to_interleave_offset() local
2197 table_offset = table_skip_count * mmio->table_size; in to_interleave_offset()
2199 return mmio->base_offset + line_offset + table_offset + sub_line_offset; in to_interleave_offset()
/Linux-v4.19/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()