Lines Matching defs:cyc
77 * @cyc: The cycle time, in 10ths of nanoseconds.
83 static inline unsigned int to_div(unsigned int cyc, unsigned int hclk_tns)
85 if (cyc == 0)
88 return DIV_ROUND_UP(cyc, hclk_tns);
93 * @cyc: The cycle time, in 10ths of nanoseconds.
101 static unsigned int calc_0124(unsigned int cyc, unsigned long hclk_tns,
104 unsigned int div = to_div(cyc, hclk_tns);
107 s3c_freq_iodbg("%s: cyc=%d, hclk=%lu, shift=%d => div %d\n",
108 __func__, cyc, hclk_tns, shift, div);
132 static int calc_tacp(unsigned int cyc, unsigned long hclk, unsigned long *v)
140 * @cyc: The cycle time, in 10ths of nanoseconds.
149 static int calc_tacc(unsigned int cyc, int nwait_en,
152 unsigned int div = to_div(cyc, hclk_tns);
155 s3c_freq_iodbg("%s: cyc=%u, nwait=%d, hclk=%lu => div=%u\n",
156 __func__, cyc, nwait_en, hclk_tns, div);