Lines Matching refs:bank_params
139 struct bank_params { struct
149 struct bank_params bank_params[MAX_SDRAM_BANK]; argument
173 control = params->bank_params[i].sdram_control; in stm32_sdram_init()
174 timing = params->bank_params[i].sdram_timing; in stm32_sdram_init()
175 target_bank = params->bank_params[i].target_bank; in stm32_sdram_init()
176 ref_count = params->bank_params[i].sdram_ref_count; in stm32_sdram_init()
257 struct bank_params *bank_params; in stm32_fmc_ofdata_to_platdata() local
302 bank_params = ¶ms->bank_params[bank]; in stm32_fmc_ofdata_to_platdata()
304 (long unsigned int *)&bank_params->target_bank); in stm32_fmc_ofdata_to_platdata()
306 if (bank_params->target_bank >= MAX_SDRAM_BANK) { in stm32_fmc_ofdata_to_platdata()
308 bank_params->target_bank); in stm32_fmc_ofdata_to_platdata()
312 debug("Find bank %s %u\n", bank_name, bank_params->target_bank); in stm32_fmc_ofdata_to_platdata()
314 params->bank_params[bank].sdram_control = in stm32_fmc_ofdata_to_platdata()
320 if (!params->bank_params[bank].sdram_control) { in stm32_fmc_ofdata_to_platdata()
327 params->bank_params[bank].sdram_timing = in stm32_fmc_ofdata_to_platdata()
333 if (!params->bank_params[bank].sdram_timing) { in stm32_fmc_ofdata_to_platdata()
340 bank_params->sdram_ref_count = ofnode_read_u32_default(bank_node, in stm32_fmc_ofdata_to_platdata()