Lines Matching refs:bank_params
146 struct bank_params { struct
156 struct bank_params bank_params[MAX_SDRAM_BANK]; argument
180 control = params->bank_params[i].sdram_control; in stm32_sdram_init()
181 timing = params->bank_params[i].sdram_timing; in stm32_sdram_init()
182 target_bank = params->bank_params[i].target_bank; in stm32_sdram_init()
183 ref_count = params->bank_params[i].sdram_ref_count; in stm32_sdram_init()
264 struct bank_params *bank_params; in stm32_fmc_of_to_plat() local
309 bank_params = ¶ms->bank_params[bank]; in stm32_fmc_of_to_plat()
311 (long unsigned int *)&bank_params->target_bank); in stm32_fmc_of_to_plat()
313 if (bank_params->target_bank >= MAX_SDRAM_BANK) { in stm32_fmc_of_to_plat()
315 bank_params->target_bank); in stm32_fmc_of_to_plat()
319 debug("Find bank %s %u\n", bank_name, bank_params->target_bank); in stm32_fmc_of_to_plat()
321 params->bank_params[bank].sdram_control = in stm32_fmc_of_to_plat()
327 if (!params->bank_params[bank].sdram_control) { in stm32_fmc_of_to_plat()
334 params->bank_params[bank].sdram_timing = in stm32_fmc_of_to_plat()
340 if (!params->bank_params[bank].sdram_timing) { in stm32_fmc_of_to_plat()
347 bank_params->sdram_ref_count = ofnode_read_u32_default(bank_node, in stm32_fmc_of_to_plat()