Searched refs:hclk_tns (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
H A D | iotiming-s3c2410.c | 82 * @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. 87 static inline unsigned int to_div(unsigned int cyc, unsigned int hclk_tns) to_div() argument 92 return DIV_ROUND_UP(cyc, hclk_tns); to_div() 98 * @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. 105 static unsigned int calc_0124(unsigned int cyc, unsigned long hclk_tns, calc_0124() argument 108 unsigned int div = to_div(cyc, hclk_tns); calc_0124() 112 __func__, cyc, hclk_tns, shift, div); calc_0124() 146 * @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. 154 unsigned long hclk_tns, unsigned long *v) calc_tacc() 156 unsigned int div = to_div(cyc, hclk_tns); calc_tacc() 160 __func__, cyc, nwait_en, hclk_tns, div); calc_tacc() 220 unsigned long hclk = cfg->freq.hclk_tns; s3c2410_calc_bank() 265 * @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. 268 static unsigned int get_tacc(unsigned long hclk_tns, get_tacc() argument 272 return hclk_tns * tacc_tab[val]; get_tacc() 277 * @hclk_tns: The cycle time for HCLK, in 10ths of nanoseconds. 280 static unsigned int get_0124(unsigned long hclk_tns, get_0124() argument 284 return hclk_tns * ((val == 3) ? 4 : val); get_0124() 299 unsigned long hclk = cfg->freq.hclk_tns; s3c2410_iotiming_getbank() 320 unsigned long hclk = cfg->freq.hclk_tns; s3c2410_iotiming_debugfs() 153 calc_tacc(unsigned int cyc, int nwait_en, unsigned long hclk_tns, unsigned long *v) calc_tacc() argument
|
H A D | iotiming-s3c2412.c | 98 unsigned int hclk = cfg->freq.hclk_tns; s3c2412_calc_bank() 209 unsigned long clk = cfg->freq.hclk_tns; /* ssmc clock??? */ s3c2412_iotiming_getbank()
|
/linux-4.4.14/arch/arm/plat-samsung/include/plat/ |
H A D | cpu-freq.h | 24 * @hclk_tns: HCLK cycle time in 10ths of nano-seconds. 32 * The @hclk_tns field is a useful cache for the parts of the drivers that 38 unsigned long hclk_tns; /* in 10ths of ns */ member in struct:s3c_freq
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | s3c24xx-cpufreq-debugfs.c | 89 cfg->freq.hclk, print_ns(cfg->freq.hclk_tns)); info_show() 145 seq_printf(seq, "hclk period is %lu.%lu ns\n", print_ns(cfg->freq.hclk_tns)); io_show()
|
H A D | s3c24xx-cpufreq.c | 75 cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10); s3c_cpufreq_getcur() 90 cfg->freq.hclk_tns = 1000000000 / (cfg->freq.hclk / 10); s3c_cpufreq_calc()
|
Completed in 628 milliseconds