Lines Matching refs:sm501_freq
527 unsigned long sm501_freq; /* the actual frequency achieved */ in sm501_set_clock() local
543 sm501_freq = (sm501_calc_pll(2 * req_freq, in sm501_set_clock()
553 sm501_freq = (sm501_select_clock(2 * req_freq, in sm501_set_clock()
569 sm501_freq = (sm501_select_clock(2 * req_freq, &to, 3) / 2); in sm501_set_clock()
581 sm501_freq = sm501_select_clock( req_freq, &to, 3); in sm501_set_clock()
638 return sm501_freq; in sm501_set_clock()
653 unsigned long sm501_freq; /* the frequency achieveable by the 501 */ in sm501_find_clock() local
660 sm501_freq = (sm501_calc_pll(2 * req_freq, in sm501_find_clock()
663 sm501_freq = (sm501_select_clock(2 * req_freq, in sm501_find_clock()
669 sm501_freq = (sm501_select_clock(2 * req_freq, &to, 3) / 2); in sm501_find_clock()
674 sm501_freq = sm501_select_clock(req_freq, &to, 3); in sm501_find_clock()
678 sm501_freq = 0; /* error */ in sm501_find_clock()
681 return sm501_freq; in sm501_find_clock()