Searched refs:mdcnfg (Results 1 – 4 of 4) sorted by relevance
47 u_int mdcnfg; member165 sd->mdcnfg = MDCNFG & 0x007f007f; in sdram_calculate_timing()174 sd->mdcnfg |= trp << 8; in sdram_calculate_timing()175 sd->mdcnfg |= trp << 24; in sdram_calculate_timing()176 sd->mdcnfg |= sdram->cas_latency << 12; in sdram_calculate_timing()177 sd->mdcnfg |= sdram->cas_latency << 28; in sdram_calculate_timing()178 sd->mdcnfg |= twr << 14; in sdram_calculate_timing()179 sd->mdcnfg |= twr << 30; in sdram_calculate_timing()193 sd->mdcnfg, sd->mdrefr, sd->mdcas[0], sd->mdcas[1], in sdram_calculate_timing()294 : "r" (&MDCNFG), "r" (&PPCR), "0" (sd.mdcnfg), in sa1110_target()
99 u32 mdcnfg; member161 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings()176 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings()
39 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) argument40 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) argument67 u32 mdcnfg; in get_sdram_rows() local72 mdcnfg = readl_relaxed(MDCNFG); in get_sdram_rows()74 if (mdcnfg & (MDCNFG_DE2 | MDCNFG_DE3)) in get_sdram_rows()75 drac2 = MDCNFG_DRAC2(mdcnfg); in get_sdram_rows()77 if (mdcnfg & (MDCNFG_DE0 | MDCNFG_DE1)) in get_sdram_rows()78 drac0 = MDCNFG_DRAC0(mdcnfg); in get_sdram_rows()
57 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) argument58 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) argument72 u32 mdcnfg; in get_sdram_rows() local77 mdcnfg = readl_relaxed(MDCNFG); in get_sdram_rows()79 if (mdcnfg & (MDCNFG_DE2 | MDCNFG_DE3)) in get_sdram_rows()80 drac2 = MDCNFG_DRAC2(mdcnfg); in get_sdram_rows()82 if (mdcnfg & (MDCNFG_DE0 | MDCNFG_DE1)) in get_sdram_rows()83 drac0 = MDCNFG_DRAC0(mdcnfg); in get_sdram_rows()