Searched refs:sdram (Results 1 – 2 of 2) sorted by relevance
144 struct sdram_params *sdram) in sdram_calculate_timing() argument158 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()213 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh() argument215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()231 struct sdram_params *sdram = &sdram_params; in sa1110_target() local[all …]
15 struct dentry *sdram; member