Lines Matching full:sdram

8  *  7 - SDRAM auto-power-up failure (rev A0)
10 * SDRAM reads (rev A0, B0, B1)
14 * The SDRAM type can be passed on the command line as cpu_sa1110.sdram=type
144 struct sdram_params *sdram) in sdram_calculate_timing() argument
152 * If SDCLK would invalidate the SDRAM timings, in sdram_calculate_timing()
158 if ((ns_to_cycles(sdram->tck, sd_khz) > 1) || in sdram_calculate_timing()
164 twr = ns_to_cycles(sdram->twr, mem_khz); in sdram_calculate_timing()
167 trp = ns_to_cycles(sdram->trp, mem_khz) - 1; 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()
186 ns_to_cycles(sdram->trcd, mem_khz)); in sdram_calculate_timing()
196 * Set the SDRAM refresh rate.
213 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh() argument
215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
231 struct sdram_params *sdram = &sdram_params; in sa1110_target() local
236 sdram_calculate_timing(&sd, sa11x0_freq_table[ppcr].frequency, sdram); in sa1110_target()
242 * scope on to the SDRAM signals to work out why. in sa1110_target()
270 * This means that we won't access SDRAM for the duration of in sa1110_target()
297 * Now, return the SDRAM refresh back to normal. in sa1110_target()
299 sdram_update_refresh(sa11x0_freq_table[ppcr].frequency, sdram); in sa1110_target()
324 struct sdram_params *sdram; in sa1110_find_sdram() local
326 for (sdram = sdram_tbl; sdram < sdram_tbl + ARRAY_SIZE(sdram_tbl); in sa1110_find_sdram()
327 sdram++) in sa1110_find_sdram()
328 if (strcmp(name, sdram->name) == 0) in sa1110_find_sdram()
329 return sdram; in sa1110_find_sdram()
338 struct sdram_params *sdram; in sa1110_clk_init() local
351 sdram = sa1110_find_sdram(name); in sa1110_clk_init()
352 if (sdram) { in sa1110_clk_init()
353 printk(KERN_DEBUG "SDRAM: tck: %d trcd: %d trp: %d" in sa1110_clk_init()
355 sdram->tck, sdram->trcd, sdram->trp, in sa1110_clk_init()
356 sdram->twr, sdram->refresh, sdram->cas_latency); in sa1110_clk_init()
358 memcpy(&sdram_params, sdram, sizeof(sdram_params)); in sa1110_clk_init()
366 module_param_string(sdram, sdram_name, sizeof(sdram_name), 0);