Lines Matching refs:bank_params

166 struct bank_params {  struct
179 struct bank_params bank_params[MAX_SDRAM_BANK]; argument
232 struct bank_params *bank_params; in imxrt_sdram_init() local
241 for (i = 0, bank_params = params->bank_params; in imxrt_sdram_init()
242 i < params->no_sdram_banks; bank_params++, in imxrt_sdram_init()
244 writel((bank_params->base_address & 0xfffff000) in imxrt_sdram_init()
245 | bank_params->memory_size << SEMC_BR_MS_SHIFT in imxrt_sdram_init()
247 &regs->br[bank_params->target_bank]); in imxrt_sdram_init()
286 for (i = 0, bank_params = params->bank_params; in imxrt_sdram_init()
287 i < params->no_sdram_banks; bank_params++, in imxrt_sdram_init()
290 imxrt_sdram_ipcmd(regs, bank_params->base_address, SD_CC_IPREA, in imxrt_sdram_init()
292 imxrt_sdram_ipcmd(regs, bank_params->base_address, SD_CC_IAF, in imxrt_sdram_init()
294 imxrt_sdram_ipcmd(regs, bank_params->base_address, SD_CC_IAF, in imxrt_sdram_init()
296 imxrt_sdram_ipcmd(regs, bank_params->base_address, SD_CC_IMS, in imxrt_sdram_init()
342 struct bank_params *bank_params; in imxrt_semc_of_to_plat() local
354 bank_params = &params->bank_params[bank]; in imxrt_semc_of_to_plat()
356 (unsigned long *)&bank_params->target_bank); in imxrt_semc_of_to_plat()
357 if (bank_params->target_bank >= MAX_SDRAM_BANK) { in imxrt_semc_of_to_plat()
359 bank_params->target_bank); in imxrt_semc_of_to_plat()
365 &bank_params->memory_size); in imxrt_semc_of_to_plat()
373 &bank_params->base_address); in imxrt_semc_of_to_plat()
380 bank_params->target_bank); in imxrt_semc_of_to_plat()