Searched refs:tbl_size (Results 1 - 11 of 11) sorted by relevance

/drivers/acpi/
H A Dtables.c205 acpi_size tbl_size; local
214 acpi_get_table_with_size(id, acpi_apic_instance, &table_header, &tbl_size);
216 acpi_get_table_with_size(id, 0, &table_header, &tbl_size);
254 early_acpi_os_unmap_memory((char *)table_header, tbl_size);
257 early_acpi_os_unmap_memory((char *)table_header, tbl_size);
283 acpi_size tbl_size; local
292 acpi_get_table_with_size(id, acpi_apic_instance, &table, &tbl_size);
294 acpi_get_table_with_size(id, 0, &table, &tbl_size);
298 early_acpi_os_unmap_memory(table, tbl_size);
312 acpi_size tbl_size; local
[all...]
/drivers/acpi/acpica/
H A Dtbxface.c322 acpi_size *tbl_size)
352 *tbl_size = acpi_gbl_root_table_list.tables[i].length;
371 acpi_size tbl_size; local
374 instance, out_table, &tbl_size);
/drivers/gpu/drm/radeon/
H A Dradeon_bios.c598 acpi_size tbl_size; local
603 if (!ACPI_SUCCESS(acpi_get_table_with_size("VFCT", 1, &hdr, &tbl_size)))
605 if (tbl_size < sizeof(UEFI_ACPI_VFCT)) {
611 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) > tbl_size) {
631 if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) {
/drivers/power/
H A Dbq24190_charger.c209 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that
210 * the values in 'tbl' are sorted from smallest to largest and 'tbl_size'
213 static u8 bq24190_find_idx(const int tbl[], int tbl_size, int v) argument
217 for (i = 1; i < tbl_size; i++)
278 const int tbl[], int tbl_size,
288 v = (v >= tbl_size) ? (tbl_size - 1) : v;
296 const int tbl[], int tbl_size,
301 idx = bq24190_find_idx(tbl, tbl_size, val);
276 bq24190_get_field_val(struct bq24190_dev_info *bdi, u8 reg, u8 mask, u8 shift, const int tbl[], int tbl_size, int *val) argument
294 bq24190_set_field_val(struct bq24190_dev_info *bdi, u8 reg, u8 mask, u8 shift, const int tbl[], int tbl_size, int val) argument
H A Dab8500_fg.c866 int i, tbl_size; local
871 tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements;
873 for (i = 0; i < tbl_size; ++i) {
878 if ((i > 0) && (i < tbl_size)) {
918 int i, tbl_size; local
923 tbl_size = di->bm->bat_type[di->bm->batt_id].n_batres_tbl_elements;
925 for (i = 0; i < tbl_size; ++i) {
930 if ((i > 0) && (i < tbl_size)) {
939 resist = tbl[tbl_size - 1].resist;
H A Dab8500_btemp.c467 * @tbl_size: size of the resistance to temperature table
474 const struct abx500_res_to_temp *tbl, int tbl_size, int res)
485 else if (res <= tbl[tbl_size - 1].resist)
486 i = tbl_size - 2;
473 ab8500_btemp_res_to_temp(struct ab8500_btemp *di, const struct abx500_res_to_temp *tbl, int tbl_size, int res) argument
/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipe.c606 table_size = gamma->tbl_size;
652 gamma->tbl_size = gamma_param->tbl_size;
660 table_size = gamma->tbl_size;
690 gamma_param->tbl_size = gamma->tbl_size;
695 table_size = gamma->tbl_size;
H A Ddavinci_vpfe_user.h930 enum vpfe_ipipe_gamma_tbl_size tbl_size; member in struct:vpfe_ipipe_gamma
H A Ddm365_ipipe_hw.c752 (gamma->tbl_size << GAMMA_TBL_SIZE_SHIFT);
759 table_size = gamma->tbl_size;
/drivers/iommu/
H A Damd_iommu_init.c236 static inline unsigned long tbl_size(int entry_size) function
1889 dev_table_size = tbl_size(DEV_TABLE_ENTRY_SIZE);
1890 alias_table_size = tbl_size(ALIAS_TABLE_ENTRY_SIZE);
1891 rlookup_table_size = tbl_size(RLOOKUP_TABLE_ENTRY_SIZE);
/drivers/scsi/
H A Dscsi_lib.c2082 unsigned int cmd_size, sgl_size, tbl_size; local
2084 tbl_size = shost->sg_tablesize;
2085 if (tbl_size > SCSI_MAX_SG_SEGMENTS)
2086 tbl_size = SCSI_MAX_SG_SEGMENTS;
2087 sgl_size = tbl_size * sizeof(struct scatterlist);

Completed in 223 milliseconds