Searched refs:hexfreq (Results 1 – 1 of 1) sorted by relevance
163 int hexfreq; in vx_calc_clock_from_freq() local168 hexfreq = (28224000 * 10) / freq; in vx_calc_clock_from_freq()169 hexfreq = (hexfreq + 5) / 10; in vx_calc_clock_from_freq()172 if (snd_BUG_ON(hexfreq <= 0x00000200)) in vx_calc_clock_from_freq()175 if (hexfreq <= 0x03ff) in vx_calc_clock_from_freq()176 return hexfreq - 0x00000201; in vx_calc_clock_from_freq()177 if (hexfreq <= 0x07ff) in vx_calc_clock_from_freq()178 return (hexfreq / 2) - 1; in vx_calc_clock_from_freq()179 if (hexfreq <= 0x0fff) in vx_calc_clock_from_freq()180 return (hexfreq / 4) + 0x000001ff; in vx_calc_clock_from_freq()