Searched refs:tbl_size (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/drivers/acpi/ |
D | tables.c | 214 acpi_size tbl_size; in acpi_table_parse_entries() local 223 acpi_get_table_with_size(id, acpi_apic_instance, &table_header, &tbl_size); in acpi_table_parse_entries() 225 acpi_get_table_with_size(id, 0, &table_header, &tbl_size); in acpi_table_parse_entries() 244 early_acpi_os_unmap_memory((char *)table_header, tbl_size); in acpi_table_parse_entries() 256 early_acpi_os_unmap_memory((char *)table_header, tbl_size); in acpi_table_parse_entries() 281 acpi_size tbl_size; in acpi_table_parse() local 290 acpi_get_table_with_size(id, acpi_apic_instance, &table, &tbl_size); in acpi_table_parse() 292 acpi_get_table_with_size(id, 0, &table, &tbl_size); in acpi_table_parse() 296 early_acpi_os_unmap_memory(table, tbl_size); in acpi_table_parse() 310 acpi_size tbl_size; in check_multiple_madt() local [all …]
|
/linux-3.4.99/arch/powerpc/boot/ |
D | simple_alloc.c | 129 unsigned long heap_base, tbl_size; in simple_alloc_init() local 135 tbl_size = tbl_entries * sizeof(struct alloc_info); in simple_alloc_init() 138 memset(alloc_tbl, 0, tbl_size); in simple_alloc_init() 140 heap_base = _ALIGN_UP((unsigned long)alloc_tbl + tbl_size, alloc_min); in simple_alloc_init()
|
/linux-3.4.99/drivers/acpi/acpica/ |
D | tbxface.c | 397 acpi_size *tbl_size) in ACPI_EXPORT_SYMBOL() 427 *tbl_size = acpi_gbl_root_table_list.tables[i].length; in ACPI_EXPORT_SYMBOL() 445 acpi_size tbl_size; in ACPI_EXPORT_SYMBOL() local 448 instance, out_table, &tbl_size); in ACPI_EXPORT_SYMBOL()
|
/linux-3.4.99/arch/x86/kernel/apic/ |
D | es7000_32.c | 245 acpi_size tbl_size; in find_unisys_acpi_oem_table() local 250 ret = acpi_get_table_with_size("OEM1", i++, &header, &tbl_size); in find_unisys_acpi_oem_table() 257 early_acpi_os_unmap_memory(header, tbl_size); in find_unisys_acpi_oem_table() 265 early_acpi_os_unmap_memory(header, tbl_size); in find_unisys_acpi_oem_table()
|
/linux-3.4.99/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 557 acpi_size tbl_size; in radeon_acpi_vfct_bios() local 562 if (!ACPI_SUCCESS(acpi_get_table_with_size("VFCT", 1, &hdr, &tbl_size))) in radeon_acpi_vfct_bios() 564 if (tbl_size < sizeof(UEFI_ACPI_VFCT)) { in radeon_acpi_vfct_bios() 570 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) > tbl_size) { in radeon_acpi_vfct_bios() 590 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in radeon_acpi_vfct_bios()
|
/linux-3.4.99/drivers/power/ |
D | ab8500_fg.c | 814 int i, tbl_size; in ab8500_fg_volt_to_capacity() local 819 tbl_size = di->bat->bat_type[di->bat->batt_id].n_v_cap_tbl_elements; in ab8500_fg_volt_to_capacity() 821 for (i = 0; i < tbl_size; ++i) { in ab8500_fg_volt_to_capacity() 826 if ((i > 0) && (i < tbl_size)) { in ab8500_fg_volt_to_capacity() 866 int i, tbl_size; in ab8500_fg_battery_resistance() local 871 tbl_size = di->bat->bat_type[di->bat->batt_id].n_batres_tbl_elements; in ab8500_fg_battery_resistance() 873 for (i = 0; i < tbl_size; ++i) { in ab8500_fg_battery_resistance() 878 if ((i > 0) && (i < tbl_size)) { in ab8500_fg_battery_resistance() 887 resist = tbl[tbl_size - 1].resist; in ab8500_fg_battery_resistance()
|
D | ab8500_btemp.c | 422 const struct abx500_res_to_temp *tbl, int tbl_size, int res) in ab8500_btemp_res_to_temp() argument 433 else if (res <= tbl[tbl_size - 1].resist) in ab8500_btemp_res_to_temp() 434 i = tbl_size - 2; in ab8500_btemp_res_to_temp()
|
/linux-3.4.99/drivers/iommu/ |
D | amd_iommu_init.c | 207 static inline unsigned long tbl_size(int entry_size) in tbl_size() function 1542 dev_table_size = tbl_size(DEV_TABLE_ENTRY_SIZE); in amd_iommu_init_hardware() 1543 alias_table_size = tbl_size(ALIAS_TABLE_ENTRY_SIZE); in amd_iommu_init_hardware() 1544 rlookup_table_size = tbl_size(RLOOKUP_TABLE_ENTRY_SIZE); in amd_iommu_init_hardware()
|
/linux-3.4.99/include/acpi/ |
D | acpixf.h | 177 acpi_size *tbl_size);
|