Lines Matching refs:sm501_freq
517 unsigned long sm501_freq; /* the actual frequency achieved */ in sm501_set_clock() local
534 sm501_freq = (sm501_calc_pll(2 * req_freq, in sm501_set_clock()
544 sm501_freq = (sm501_select_clock(2 * req_freq, in sm501_set_clock()
560 sm501_freq = (sm501_select_clock(2 * req_freq, &to, 3) / 2); in sm501_set_clock()
572 sm501_freq = sm501_select_clock( req_freq, &to, 3); in sm501_set_clock()
629 return sm501_freq; in sm501_set_clock()
644 unsigned long sm501_freq; /* the frequency achieveable by the 501 */ in sm501_find_clock() local
651 sm501_freq = (sm501_calc_pll(2 * req_freq, in sm501_find_clock()
654 sm501_freq = (sm501_select_clock(2 * req_freq, in sm501_find_clock()
660 sm501_freq = (sm501_select_clock(2 * req_freq, &to, 3) / 2); in sm501_find_clock()
665 sm501_freq = sm501_select_clock(req_freq, &to, 3); in sm501_find_clock()
669 sm501_freq = 0; /* error */ in sm501_find_clock()
672 return sm501_freq; in sm501_find_clock()