Lines Matching refs:u_int
44 u_int mdcnfg;
45 u_int mdrefr;
46 u_int mdcas[3];
122 static inline u_int ns_to_cycles(u_int ns, u_int khz) in ns_to_cycles()
130 static inline void set_mdcas(u_int *mdcas, int delayed, u_int rcd) in set_mdcas()
132 u_int shift; in set_mdcas()
143 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing()
146 u_int mem_khz, sd_khz, trp, twr; in sdram_calculate_timing()
198 static inline void sdram_set_refresh(u_int dri) in sdram_set_refresh()
213 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) in sdram_update_refresh()
215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
216 u_int dri = ns_to_cycles(ns_row, cpu_khz / 2) / 32; in sdram_update_refresh()