Lines Matching refs:deviation
646 static int clk_fs660c32_get_pe(int m, int si, unsigned long *deviation, in clk_fs660c32_get_pe() argument
672 if (new_deviation < *deviation) { in clk_fs660c32_get_pe()
677 *deviation = new_deviation; in clk_fs660c32_get_pe()
689 unsigned long deviation = ~0; in clk_fs660c32_dig_get_params() local
695 for (si = 0; (si <= 8) && deviation; si++) { in clk_fs660c32_dig_get_params()
698 r1 = clk_fs660c32_get_pe(0, si, &deviation, in clk_fs660c32_dig_get_params()
700 r2 = clk_fs660c32_get_pe(31, si, &deviation, in clk_fs660c32_dig_get_params()
708 for (m = 1; (m < 31) && deviation; m++) in clk_fs660c32_dig_get_params()
709 clk_fs660c32_get_pe(m, si, &deviation, in clk_fs660c32_dig_get_params()
714 if (deviation == ~0) /* No solution found */ in clk_fs660c32_dig_get_params()
718 if (deviation) { in clk_fs660c32_dig_get_params()
736 if (new_deviation < deviation) { in clk_fs660c32_dig_get_params()
738 deviation = new_deviation; in clk_fs660c32_dig_get_params()