Lines Matching refs:emif_nr
866 u32 emif_nr = emif_num(base); in get_emif_mem_size() local
869 dev_details.cs0_device_details = emif_get_device_details(emif_nr, CS0, in get_emif_mem_size()
871 dev_details.cs1_device_details = emif_get_device_details(emif_nr, CS1, in get_emif_mem_size()
1072 static void display_sdram_details(u32 emif_nr, u32 cs, in display_sdram_details() argument
1080 debug("EMIF%d CS%d\t", emif_nr, cs); in display_sdram_details()
1187 struct lpddr2_device_details *emif_get_device_details(u32 emif_nr, u8 cs, in emif_get_device_details() argument
1191 u32 base = (emif_nr == 1) ? EMIF1_BASE : EMIF2_BASE; in emif_get_device_details()
1216 u32 in_sdram, emif_nr; in do_sdram_init() local
1221 emif_nr = (base == EMIF1_BASE) ? 1 : 2; in do_sdram_init()
1224 emif_get_reg_dump(emif_nr, ®s); in do_sdram_init()
1244 dev_details.cs0_device_details = emif_get_device_details(emif_nr, CS0, in do_sdram_init()
1246 dev_details.cs1_device_details = emif_get_device_details(emif_nr, CS1, in do_sdram_init()
1262 emif_get_device_timings(emif_nr, &dev_details.cs0_device_timings, in do_sdram_init()