Home
last modified time | relevance | path

Searched refs:mdcnfg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm/mach-pxa/
H A Dpxa2xx.c28 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) argument
29 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) argument
35 u32 mdcnfg; in pxa2xx_smemc_get_sdram_rows() local
40 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()
/openbmc/linux/drivers/cpufreq/
H A Dsa1110-cpufreq.c44 u_int mdcnfg; member
162 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()