Searched refs:mdcnfg (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/arch/arm/mach-pxa/ |
H A D | pxa2xx.c | 28 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) 29 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) 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() [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 44 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() [all...] |
H A D | sa1100-cpufreq.c | 83 u32 mdcnfg; member 93 /*speed, mdcnfg, mdcas0, mdcas1, mdcas2, clock freq */ 145 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings() 160 MDCNFG = settings->mdcnfg; in sa1100_update_dram_timings()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 44 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() [all...] |
/kernel/linux/linux-5.10/drivers/clk/pxa/ |
H A D | clk-pxa25x.c | 36 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) 37 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) 64 u32 mdcnfg; in get_sdram_rows() local 69 mdcnfg = readl_relaxed(MDCNFG); in get_sdram_rows() 71 if (mdcnfg & (MDCNFG_DE2 | MDCNFG_DE3)) in get_sdram_rows() 72 drac2 = MDCNFG_DRAC2(mdcnfg); in get_sdram_rows() 74 if (mdcnfg & (MDCNFG_DE0 | MDCNFG_DE1)) in get_sdram_rows() 75 drac0 = MDCNFG_DRAC0(mdcnfg); in get_sdram_rows() [all...] |
H A D | clk-pxa27x.c | 53 #define MDCNFG_DRAC2(mdcnfg) (((mdcnfg) >> 21) & 0x3) 54 #define MDCNFG_DRAC0(mdcnfg) (((mdcnfg) >> 5) & 0x3) 68 u32 mdcnfg; in get_sdram_rows() local 73 mdcnfg = readl_relaxed(MDCNFG); in get_sdram_rows() 75 if (mdcnfg & (MDCNFG_DE2 | MDCNFG_DE3)) in get_sdram_rows() 76 drac2 = MDCNFG_DRAC2(mdcnfg); in get_sdram_rows() 78 if (mdcnfg & (MDCNFG_DE0 | MDCNFG_DE1)) in get_sdram_rows() 79 drac0 = MDCNFG_DRAC0(mdcnfg); in get_sdram_rows() [all...] |
Completed in 4 milliseconds