Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/cpufreq/
Dsa1110-cpufreq.c47 u_int mdcnfg; member
165 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()
Dsa1100-cpufreq.c99 u32 mdcnfg; member
161 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings()
176 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings()
/Linux-v4.19/drivers/clk/pxa/
Dclk-pxa25x.c39 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) argument
40 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) argument
67 u32 mdcnfg; in get_sdram_rows() local
72 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()
Dclk-pxa27x.c57 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) argument
58 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) argument
72 u32 mdcnfg; in get_sdram_rows() local
77 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()