Searched refs:mdcnfg (Results 1 – 2 of 2) sorted by relevance
28 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) argument29 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) argument35 u32 mdcnfg; in pxa2xx_smemc_get_sdram_rows() local40 mdcnfg = readl_relaxed(MDCNFG); in pxa2xx_smemc_get_sdram_rows()42 if (mdcnfg & (MDCNFG_DE2 | MDCNFG_DE3)) in pxa2xx_smemc_get_sdram_rows()43 drac2 = MDCNFG_DRAC2(mdcnfg); in pxa2xx_smemc_get_sdram_rows()45 if (mdcnfg & (MDCNFG_DE0 | MDCNFG_DE1)) in pxa2xx_smemc_get_sdram_rows()46 drac0 = MDCNFG_DRAC0(mdcnfg); in pxa2xx_smemc_get_sdram_rows()
44 u_int mdcnfg; member162 sd->mdcnfg = MDCNFG & 0x007f007f; in sdram_calculate_timing()171 sd->mdcnfg |= trp << 8; in sdram_calculate_timing()172 sd->mdcnfg |= trp << 24; in sdram_calculate_timing()173 sd->mdcnfg |= sdram->cas_latency << 12; in sdram_calculate_timing()174 sd->mdcnfg |= sdram->cas_latency << 28; in sdram_calculate_timing()175 sd->mdcnfg |= twr << 14; in sdram_calculate_timing()176 sd->mdcnfg |= twr << 30; in sdram_calculate_timing()190 sd->mdcnfg, sd->mdrefr, sd->mdcas[0], sd->mdcas[1], in sdram_calculate_timing()291 : "r" (&MDCNFG), "r" (&PPCR), "0" (sd.mdcnfg), in sa1110_target()