Searched refs:tbl_size (Results 1 – 11 of 11) sorted by relevance
/drivers/acpi/ |
D | tables.c | 205 acpi_size tbl_size; in acpi_table_parse_entries() local 214 acpi_get_table_with_size(id, acpi_apic_instance, &table_header, &tbl_size); in acpi_table_parse_entries() 216 acpi_get_table_with_size(id, 0, &table_header, &tbl_size); in acpi_table_parse_entries() 254 early_acpi_os_unmap_memory((char *)table_header, tbl_size); in acpi_table_parse_entries() 257 early_acpi_os_unmap_memory((char *)table_header, tbl_size); in acpi_table_parse_entries() 283 acpi_size tbl_size; in acpi_table_parse() local 292 acpi_get_table_with_size(id, acpi_apic_instance, &table, &tbl_size); in acpi_table_parse() 294 acpi_get_table_with_size(id, 0, &table, &tbl_size); in acpi_table_parse() 298 early_acpi_os_unmap_memory(table, tbl_size); in acpi_table_parse() 312 acpi_size tbl_size; in check_multiple_madt() local [all …]
|
/drivers/acpi/acpica/ |
D | tbxface.c | 322 acpi_size *tbl_size) in ACPI_EXPORT_SYMBOL() 352 *tbl_size = acpi_gbl_root_table_list.tables[i].length; in ACPI_EXPORT_SYMBOL() 371 acpi_size tbl_size; in ACPI_EXPORT_SYMBOL() local 374 instance, out_table, &tbl_size); in ACPI_EXPORT_SYMBOL()
|
/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 602 acpi_size tbl_size; in radeon_acpi_vfct_bios() local 607 if (!ACPI_SUCCESS(acpi_get_table_with_size("VFCT", 1, &hdr, &tbl_size))) in radeon_acpi_vfct_bios() 609 if (tbl_size < sizeof(UEFI_ACPI_VFCT)) { in radeon_acpi_vfct_bios() 615 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) > tbl_size) { in radeon_acpi_vfct_bios() 635 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) { in radeon_acpi_vfct_bios()
|
/drivers/power/ |
D | bq24190_charger.c | 213 static u8 bq24190_find_idx(const int tbl[], int tbl_size, int v) in bq24190_find_idx() argument 217 for (i = 1; i < tbl_size; i++) in bq24190_find_idx() 278 const int tbl[], int tbl_size, in bq24190_get_field_val() argument 288 v = (v >= tbl_size) ? (tbl_size - 1) : v; in bq24190_get_field_val() 296 const int tbl[], int tbl_size, in bq24190_set_field_val() argument 301 idx = bq24190_find_idx(tbl, tbl_size, val); in bq24190_set_field_val()
|
D | ab8500_fg.c | 866 int i, tbl_size; in ab8500_fg_volt_to_capacity() local 871 tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements; in ab8500_fg_volt_to_capacity() 873 for (i = 0; i < tbl_size; ++i) { in ab8500_fg_volt_to_capacity() 878 if ((i > 0) && (i < tbl_size)) { in ab8500_fg_volt_to_capacity() 918 int i, tbl_size; in ab8500_fg_battery_resistance() local 923 tbl_size = di->bm->bat_type[di->bm->batt_id].n_batres_tbl_elements; in ab8500_fg_battery_resistance() 925 for (i = 0; i < tbl_size; ++i) { in ab8500_fg_battery_resistance() 930 if ((i > 0) && (i < tbl_size)) { in ab8500_fg_battery_resistance() 939 resist = tbl[tbl_size - 1].resist; in ab8500_fg_battery_resistance()
|
D | ab8500_btemp.c | 474 const struct abx500_res_to_temp *tbl, int tbl_size, int res) in ab8500_btemp_res_to_temp() argument 485 else if (res <= tbl[tbl_size - 1].resist) in ab8500_btemp_res_to_temp() 486 i = tbl_size - 2; in ab8500_btemp_res_to_temp()
|
/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipe.c | 606 table_size = gamma->tbl_size; in ipipe_validate_gamma_params() 652 gamma->tbl_size = gamma_param->tbl_size; in ipipe_set_gamma_params() 660 table_size = gamma->tbl_size; in ipipe_set_gamma_params() 690 gamma_param->tbl_size = gamma->tbl_size; in ipipe_get_gamma_params() 695 table_size = gamma->tbl_size; in ipipe_get_gamma_params()
|
D | davinci_vpfe_user.h | 930 enum vpfe_ipipe_gamma_tbl_size tbl_size; member
|
D | dm365_ipipe_hw.c | 752 (gamma->tbl_size << GAMMA_TBL_SIZE_SHIFT); in ipipe_set_gamma_regs() 759 table_size = gamma->tbl_size; in ipipe_set_gamma_regs()
|
/drivers/scsi/ |
D | scsi_lib.c | 2089 unsigned int cmd_size, sgl_size, tbl_size; in scsi_mq_setup_tags() local 2091 tbl_size = shost->sg_tablesize; in scsi_mq_setup_tags() 2092 if (tbl_size > SCSI_MAX_SG_SEGMENTS) in scsi_mq_setup_tags() 2093 tbl_size = SCSI_MAX_SG_SEGMENTS; in scsi_mq_setup_tags() 2094 sgl_size = tbl_size * sizeof(struct scatterlist); in scsi_mq_setup_tags()
|
/drivers/iommu/ |
D | amd_iommu_init.c | 240 static inline unsigned long tbl_size(int entry_size) in tbl_size() function 1922 dev_table_size = tbl_size(DEV_TABLE_ENTRY_SIZE); in early_amd_iommu_init() 1923 alias_table_size = tbl_size(ALIAS_TABLE_ENTRY_SIZE); in early_amd_iommu_init() 1924 rlookup_table_size = tbl_size(RLOOKUP_TABLE_ENTRY_SIZE); in early_amd_iommu_init()
|