/Linux-v4.19/drivers/firmware/efi/ |
D | tpm.c | 22 unsigned int tbl_size; in efi_tpm_eventlog_init() local 35 tbl_size = sizeof(*log_tbl) + log_tbl->size; in efi_tpm_eventlog_init() 36 memblock_reserve(efi.tpm_log, tbl_size); in efi_tpm_eventlog_init()
|
D | memattr.c | 18 static int __initdata tbl_size; variable 44 tbl_size = sizeof(*tbl) + tbl->num_entries * tbl->desc_size; in efi_memattr_init() 45 memblock_reserve(efi.mem_attr_table, tbl_size); in efi_memattr_init() 141 if (tbl_size <= sizeof(*tbl)) in efi_memattr_apply_permissions() 153 tbl = memremap(efi.mem_attr_table, tbl_size, MEMREMAP_WB); in efi_memattr_apply_permissions()
|
/Linux-v4.19/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-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_bios.c | 352 acpi_size tbl_size; in amdgpu_acpi_vfct_bios() local 358 tbl_size = hdr->length; in amdgpu_acpi_vfct_bios() 359 if (tbl_size < sizeof(UEFI_ACPI_VFCT)) { in amdgpu_acpi_vfct_bios() 367 while (offset < tbl_size) { in amdgpu_acpi_vfct_bios() 372 if (offset > tbl_size) { in amdgpu_acpi_vfct_bios() 378 if (offset > tbl_size) { in amdgpu_acpi_vfct_bios()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 600 acpi_size tbl_size; in radeon_acpi_vfct_bios() local 606 tbl_size = hdr->length; in radeon_acpi_vfct_bios() 607 if (tbl_size < sizeof(UEFI_ACPI_VFCT)) { in radeon_acpi_vfct_bios() 615 while (offset < tbl_size) { in radeon_acpi_vfct_bios() 620 if (offset > tbl_size) { in radeon_acpi_vfct_bios() 626 if (offset > tbl_size) { in radeon_acpi_vfct_bios()
|
/Linux-v4.19/drivers/power/supply/ |
D | rt9455_charger.c | 263 static unsigned int rt9455_find_idx(const int tbl[], int tbl_size, int v) in rt9455_find_idx() argument 273 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx() 277 return (tbl_size - 1); in rt9455_find_idx() 282 const int tbl[], int tbl_size, int *val) in rt9455_get_field_val() argument 291 v = (v >= tbl_size) ? (tbl_size - 1) : v; in rt9455_get_field_val() 299 const int tbl[], int tbl_size, int val) in rt9455_set_field_val() argument 301 unsigned int idx = rt9455_find_idx(tbl, tbl_size, val); in rt9455_set_field_val()
|
D | bq24190_charger.c | 225 static u8 bq24190_find_idx(const int tbl[], int tbl_size, int v) in bq24190_find_idx() argument 229 for (i = 1; i < tbl_size; i++) in bq24190_find_idx() 290 const int tbl[], int tbl_size, in bq24190_get_field_val() argument 300 v = (v >= tbl_size) ? (tbl_size - 1) : v; in bq24190_get_field_val() 308 const int tbl[], int tbl_size, in bq24190_set_field_val() argument 313 idx = bq24190_find_idx(tbl, tbl_size, val); in bq24190_set_field_val()
|
D | ab8500_fg.c | 856 int i, tbl_size; in ab8500_fg_volt_to_capacity() local 861 tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements; in ab8500_fg_volt_to_capacity() 863 for (i = 0; i < tbl_size; ++i) { in ab8500_fg_volt_to_capacity() 868 if ((i > 0) && (i < tbl_size)) { in ab8500_fg_volt_to_capacity() 908 int i, tbl_size; in ab8500_fg_battery_resistance() local 913 tbl_size = di->bm->bat_type[di->bm->batt_id].n_batres_tbl_elements; in ab8500_fg_battery_resistance() 915 for (i = 0; i < tbl_size; ++i) { in ab8500_fg_battery_resistance() 920 if ((i > 0) && (i < tbl_size)) { in ab8500_fg_battery_resistance() 929 resist = tbl[tbl_size - 1].resist; in ab8500_fg_battery_resistance()
|
D | ab8500_btemp.c | 426 const struct abx500_res_to_temp *tbl, int tbl_size, int res) in ab8500_btemp_res_to_temp() argument 437 else if (res <= tbl[tbl_size - 1].resist) in ab8500_btemp_res_to_temp() 438 i = tbl_size - 2; in ab8500_btemp_res_to_temp()
|
D | bq25890_charger.c | 325 u32 tbl_size = bq25890_tables[id].lt.size; in bq25890_find_idx() local 327 for (idx = 1; idx < tbl_size && tbl[idx] <= value; idx++) in bq25890_find_idx()
|
/Linux-v4.19/drivers/acpi/pmic/ |
D | tps68470_pmic.c | 280 unsigned int tbl_size) in tps68470_pmic_common_handler() argument 289 ret = pmic_get_reg_bit(address, tbl, tbl_size, ®, &bitmask); in tps68470_pmic_common_handler()
|
/Linux-v4.19/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 898 size_t tbl_size; in ena_com_indirect_table_allocate() local 914 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate() 918 dma_zalloc_coherent(ena_dev->dmadev, tbl_size, in ena_com_indirect_table_allocate() 923 tbl_size = (1ULL << log_size) * sizeof(u16); in ena_com_indirect_table_allocate() 925 devm_kzalloc(ena_dev->dmadev, tbl_size, GFP_KERNEL); in ena_com_indirect_table_allocate() 934 tbl_size = (1ULL << log_size) * in ena_com_indirect_table_allocate() 937 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_allocate() 948 size_t tbl_size = (1ULL << rss->tbl_log_size) * in ena_com_indirect_table_destroy() local 952 dma_free_coherent(ena_dev->dmadev, tbl_size, rss->rss_ind_tbl, in ena_com_indirect_table_destroy() 2370 u32 tbl_size; in ena_com_indirect_table_get() local [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | mmu.h | 203 unsigned long tbl_size);
|
/Linux-v4.19/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipe.c | 605 table_size = gamma->tbl_size; in ipipe_validate_gamma_params() 651 gamma->tbl_size = gamma_param->tbl_size; in ipipe_set_gamma_params() 659 table_size = gamma->tbl_size; in ipipe_set_gamma_params() 689 gamma_param->tbl_size = gamma->tbl_size; in ipipe_get_gamma_params() 694 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 | 751 (gamma->tbl_size << GAMMA_TBL_SIZE_SHIFT); in ipipe_set_gamma_regs() 758 table_size = gamma->tbl_size; in ipipe_set_gamma_regs()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | pgtable-book3s64.c | 29 unsigned long tbl_size);
|
/Linux-v4.19/drivers/iommu/ |
D | amd_iommu_init.c | 297 static inline unsigned long tbl_size(int entry_size) in tbl_size() function 2469 dev_table_size = tbl_size(DEV_TABLE_ENTRY_SIZE); in early_amd_iommu_init() 2470 alias_table_size = tbl_size(ALIAS_TABLE_ENTRY_SIZE); in early_amd_iommu_init() 2471 rlookup_table_size = tbl_size(RLOOKUP_TABLE_ENTRY_SIZE); in early_amd_iommu_init()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 1473 u16 tbl_size; member
|
D | i40e_common.c | 1304 sec->tbl_size = 1; in i40evf_add_pinfo_to_list()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_type.h | 1552 u16 tbl_size; member
|
D | i40e_common.c | 5530 sec->tbl_size = 1; in i40e_add_pinfo_to_list()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 1392 uint32_t tbl_size, i; in get_ss_info_from_internal_ss_info_tbl_V2_1() local 1402 tbl_size = (le16_to_cpu(header->sHeader.usStructureSize) in get_ss_info_from_internal_ss_info_tbl_V2_1() 1408 for (i = 0; i < tbl_size; i++) { in get_ss_info_from_internal_ss_info_tbl_V2_1()
|
/Linux-v4.19/kernel/ |
D | workqueue.c | 4053 size_t tbl_size = 0; in __alloc_workqueue_key() local 4074 tbl_size = nr_node_ids * sizeof(wq->numa_pwq_tbl[0]); in __alloc_workqueue_key() 4076 wq = kzalloc(sizeof(*wq) + tbl_size, GFP_KERNEL); in __alloc_workqueue_key()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 500 p_config->tbl_size = p_rss->rss_table_size_log; in qed_sp_vport_update_rss() 513 1 << p_config->tbl_size); in qed_sp_vport_update_rss()
|