Lines Matching refs:cfg
95 static int s3c2412_calc_bank(struct s3c_cpufreq_config *cfg, in s3c2412_calc_bank() argument
98 unsigned int hclk = cfg->freq.hclk_tns; in s3c2412_calc_bank()
118 struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_debugfs() argument
142 int s3c2412_iotiming_calc(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_calc() argument
154 ret = s3c2412_calc_bank(cfg, bt); in s3c2412_iotiming_calc()
175 void s3c2412_iotiming_set(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_set() argument
205 static void s3c2412_iotiming_getbank(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_getbank() argument
209 unsigned long clk = cfg->freq.hclk_tns; /* ssmc clock??? */ in s3c2412_iotiming_getbank()
232 int s3c2412_iotiming_get(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_get() argument
252 s3c2412_iotiming_getbank(cfg, bt, bank); in s3c2412_iotiming_get()
263 void s3c2412_cpufreq_setrefresh(struct s3c_cpufreq_config *cfg) in s3c2412_cpufreq_setrefresh() argument
265 struct s3c_cpufreq_board *board = cfg->board; in s3c2412_cpufreq_setrefresh()
277 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10); in s3c2412_cpufreq_setrefresh()