Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 112) sorted by relevance

12345

/Linux-v4.19/mm/
Dpage_ext.c146 unsigned long table_size; in alloc_node_page_ext() local
162 table_size = get_entry_size() * nr_pages; in alloc_node_page_ext()
165 table_size, PAGE_SIZE, __pa(MAX_DMA_ADDRESS), in alloc_node_page_ext()
170 total_usage += table_size; in alloc_node_page_ext()
233 unsigned long table_size; in init_section_page_ext() local
240 table_size = get_entry_size() * PAGES_PER_SECTION; in init_section_page_ext()
241 base = alloc_page_ext(table_size, nid); in init_section_page_ext()
261 total_usage += table_size; in init_section_page_ext()
271 size_t table_size; in free_page_ext() local
273 table_size = get_entry_size() * PAGES_PER_SECTION; in free_page_ext()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dprocess_pptables_v1_0.c160 uint32_t table_size, i; in get_vddc_lookup_table() local
168 table_size = sizeof(uint32_t) + in get_vddc_lookup_table()
171 table = kzalloc(table_size, GFP_KERNEL); in get_vddc_lookup_table()
321 uint32_t table_size, i; in get_valid_clk() local
328 table_size = sizeof(uint32_t) + in get_valid_clk()
331 table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
373 uint32_t table_size, i; in get_mclk_voltage_dependency_table() local
381 table_size = sizeof(uint32_t) + sizeof(phm_ppt_v1_clock_voltage_dependency_record) in get_mclk_voltage_dependency_table()
384 mclk_table = kzalloc(table_size, GFP_KERNEL); in get_mclk_voltage_dependency_table()
416 uint32_t table_size, i; in get_sclk_voltage_dependency_table() local
[all …]
Dvega10_processpptables.c278 uint32_t table_size, i; in get_mm_clock_voltage_table() local
285 table_size = sizeof(uint32_t) + in get_mm_clock_voltage_table()
288 mm_table = kzalloc(table_size, GFP_KERNEL); in get_mm_clock_voltage_table()
357 uint32_t table_size; in get_tdp_table() local
365 table_size = sizeof(uint32_t) + sizeof(struct phm_tdp_table); in get_tdp_table()
367 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_tdp_table()
505 uint32_t table_size, i; in get_socclk_voltage_dependency_table() local
511 table_size = sizeof(uint32_t) + in get_socclk_voltage_dependency_table()
515 clk_table = kzalloc(table_size, GFP_KERNEL); in get_socclk_voltage_dependency_table()
539 uint32_t table_size, i; in get_mclk_voltage_dependency_table() local
[all …]
Dprocesspptables.c89 uint16_t table_size = 0; in get_vce_clock_info_array_size() local
94 table_size = sizeof(uint8_t) + p->ucNumEntries * sizeof(VCEClockInfo); in get_vce_clock_info_array_size()
97 return table_size; in get_vce_clock_info_array_size()
117 uint16_t table_size = 0; in get_vce_clock_voltage_limit_table_size() local
123table_size = sizeof(uint8_t) + ptable->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Reco… in get_vce_clock_voltage_limit_table_size()
125 return table_size; in get_vce_clock_voltage_limit_table_size()
188 uint16_t table_size = 0; in get_uvd_clock_info_array_size() local
194 table_size = sizeof(UCHAR) + in get_uvd_clock_info_array_size()
198 return table_size; in get_uvd_clock_info_array_size()
315 unsigned long table_size; in get_cac_tdp_table() local
[all …]
/Linux-v4.19/arch/powerpc/mm/
Dinit-common.c56 unsigned long table_size = sizeof(void *) << shift; in pgtable_cache_add() local
57 unsigned long align = table_size; in pgtable_cache_add()
81 new = kmem_cache_create(name, table_size, align, 0, ctor); in pgtable_cache_add()
/Linux-v4.19/drivers/clk/mmp/
Dclk-mix.c112 unsigned int table_size) in _filter_clk_table() argument
121 for (i = 0; i < table_size; i++) { in _filter_clk_table()
223 for (i = 0; i < mix->table_size; i++) { in mmp_clk_mix_determine_rate()
356 for (i = 0; i < mix->table_size; i++) { in mmp_clk_set_parent()
363 if (i < mix->table_size) { in mmp_clk_set_parent()
389 for (i = 0; i < mix->table_size; i++) { in mmp_clk_set_rate()
400 if (i < mix->table_size) in mmp_clk_set_rate()
427 _filter_clk_table(mix, mix->table, mix->table_size); in mmp_clk_mix_init()
465 table_bytes = sizeof(*config->table) * config->table_size; in mmp_clk_register_mix()
470 mix->table_size = config->table_size; in mmp_clk_register_mix()
Dclk.h77 unsigned int table_size; member
90 unsigned int table_size; member
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_gart.c72 ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
81 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_alloc()
85 memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc()
107 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_free()
110 pci_free_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_free()
132 r = radeon_bo_create(rdev, rdev->gart.table_size, in radeon_gart_table_vram_alloc()
/Linux-v4.19/drivers/clk/sunxi-ng/
Dccu_sdm.c39 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_enable()
102 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_has_rate()
130 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_read_rate()
149 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_get_factors()
Dccu_sdm.h41 u32 table_size; member
53 .table_size = ARRAY_SIZE(_table), \
/Linux-v4.19/drivers/acpi/apei/
Deinj.c263 if (trigger_tab->table_size > PAGE_SIZE || in einj_check_trigger_header()
264 trigger_tab->table_size < trigger_tab->header_size) in einj_check_trigger_header()
267 (trigger_tab->table_size - trigger_tab->header_size) / in einj_check_trigger_header()
303 u32 table_size; in __einj_error_trigger() local
332 table_size = trigger_tab->table_size; in __einj_error_trigger()
334 table_size - sizeof(*trigger_tab), in __einj_error_trigger()
339 (unsigned long long)trigger_paddr + table_size - 1); in __einj_error_trigger()
343 trigger_tab = ioremap_cache(trigger_paddr, table_size); in __einj_error_trigger()
400 table_size - sizeof(*trigger_tab)); in __einj_error_trigger()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dmmsch_v1_0.h125 table_size += sizeof(struct mmsch_v1_0_cmd_direct_read_modify_write)/4; \
133 table_size += sizeof(struct mmsch_v1_0_cmd_direct_write)/4; \
141 table_size += sizeof(struct mmsch_v1_0_cmd_direct_polling)/4; \
/Linux-v4.19/drivers/cpufreq/
Ds3c2440-cpufreq.c202 size_t table_size) in run_freq_for() argument
215 index = s3c_cpufreq_addfreq(table, index, table_size, freq); in run_freq_for()
227 size_t table_size) in s3c2440_cpufreq_calctable() argument
237 table, table_size); in s3c2440_cpufreq_calctable()
/Linux-v4.19/drivers/firmware/efi/
Darm-init.c92 size_t table_size; in uefi_init() local
136 table_size = sizeof(efi_config_table_64_t) * efi.systab->nr_tables; in uefi_init()
138 table_size); in uefi_init()
151 early_memunmap(config_tables, table_size); in uefi_init()
/Linux-v4.19/arch/arm/plat-samsung/include/plat/
Dcpu-freq-core.h178 size_t table_size);
269 int index, size_t table_size, in s3c_cpufreq_addfreq() argument
276 if (index >= table_size) in s3c_cpufreq_addfreq()
/Linux-v4.19/drivers/gpu/drm/
Dati_pcigart.c44 gart_info->table_handle = drm_pci_alloc(dev, gart_info->table_size, in drm_ati_alloc_pcigart_table()
74 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
142 max_ati_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/Linux-v4.19/drivers/acpi/
Dtables.c245 acpi_parse_entries_array(char *id, unsigned long table_size, in acpi_parse_entries_array() argument
262 if (!table_size) in acpi_parse_entries_array()
275 ((unsigned long)table_header + table_size); in acpi_parse_entries_array()
320 unsigned long table_size, in acpi_table_parse_entries_array() argument
343 count = acpi_parse_entries_array(id, table_size, table_header, in acpi_table_parse_entries_array()
352 unsigned long table_size, in acpi_table_parse_entries() argument
362 return acpi_table_parse_entries_array(id, table_size, &proc, 1, in acpi_table_parse_entries()
/Linux-v4.19/drivers/iio/health/
Dafe440x.h147 unsigned int table_size; member
160 .table_size = ARRAY_SIZE(_table), \
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_ipipe.c594 int table_size; in ipipe_validate_gamma_params() local
605 table_size = gamma->tbl_size; in ipipe_validate_gamma_params()
607 err = ipipe_validate_gamma_entry(gamma->table_r, table_size); in ipipe_validate_gamma_params()
615 err = ipipe_validate_gamma_entry(gamma->table_b, table_size); in ipipe_validate_gamma_params()
623 err = ipipe_validate_gamma_entry(gamma->table_g, table_size); in ipipe_validate_gamma_params()
639 int table_size; in ipipe_set_gamma_params() local
659 table_size = gamma->tbl_size; in ipipe_set_gamma_params()
662 (table_size * sizeof(struct vpfe_ipipe_gamma_entry))); in ipipe_set_gamma_params()
666 (table_size * sizeof(struct vpfe_ipipe_gamma_entry))); in ipipe_set_gamma_params()
670 (table_size * sizeof(struct vpfe_ipipe_gamma_entry))); in ipipe_set_gamma_params()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/adreno/
Da6xx_hfi.c408 int table_size; in a6xx_hfi_init() local
414 table_size = sizeof(*table); in a6xx_hfi_init()
415 table_size += (ARRAY_SIZE(gmu->queues) * in a6xx_hfi_init()
419 table->size = table_size; in a6xx_hfi_init()
/Linux-v4.19/drivers/power/supply/
Dmax17042_battery.c587 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_init_model() local
590 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_init_model()
596 table_size); in max17042_init_model()
598 table_size); in max17042_init_model()
604 table_size); in max17042_init_model()
615 int table_size = ARRAY_SIZE(chip->pdata->config_data->cell_char_tbl); in max17042_verify_model_lock() local
619 temp_data = kcalloc(table_size, sizeof(*temp_data), GFP_KERNEL); in max17042_verify_model_lock()
624 table_size); in max17042_verify_model_lock()
625 for (i = 0; i < table_size; i++) in max17042_verify_model_lock()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_mcg.c318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local
321 table_size, in mthca_init_mcg_table()
322 table_size - 1, in mthca_init_mcg_table()
/Linux-v4.19/include/drm/
Dati_pcigart.h23 int table_size; member
/Linux-v4.19/include/linux/platform_data/
Dbrcmfmac.h127 int table_size; member
/Linux-v4.19/scripts/
Dkallsyms.c62 static unsigned int table_size, table_cnt; variable
275 if (table_cnt >= table_size) { in read_map()
276 table_size += 10000; in read_map()
277 table = realloc(table, sizeof(*table) * table_size); in read_map()

12345