Lines Matching refs:cfg
91 static int s3c2412_calc_bank(struct s3c_cpufreq_config *cfg, in s3c2412_calc_bank() argument
94 unsigned int hclk = cfg->freq.hclk_tns; in s3c2412_calc_bank()
114 struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_debugfs() argument
138 int s3c2412_iotiming_calc(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_calc() argument
150 ret = s3c2412_calc_bank(cfg, bt); in s3c2412_iotiming_calc()
171 void s3c2412_iotiming_set(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_set() argument
201 static void s3c2412_iotiming_getbank(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_getbank() argument
205 unsigned long clk = cfg->freq.hclk_tns; /* ssmc clock??? */ in s3c2412_iotiming_getbank()
228 int s3c2412_iotiming_get(struct s3c_cpufreq_config *cfg, in s3c2412_iotiming_get() argument
246 s3c2412_iotiming_getbank(cfg, bt, bank); in s3c2412_iotiming_get()
257 void s3c2412_cpufreq_setrefresh(struct s3c_cpufreq_config *cfg) in s3c2412_cpufreq_setrefresh() argument
259 struct s3c_cpufreq_board *board = cfg->board; in s3c2412_cpufreq_setrefresh()
271 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10); in s3c2412_cpufreq_setrefresh()