Lines Matching refs:theirs
53 struct k210_pll_config *theirs) in dm_test_k210_pll_compare() argument
55 return (u32)ours->f * theirs->r * theirs->od != in dm_test_k210_pll_compare()
56 (u32)theirs->f * ours->r * ours->od; in dm_test_k210_pll_compare()
61 struct k210_pll_config ours, theirs; in dm_test_k210_pll() local
64 ut_asserteq(-EINVAL, k210_pll_calc_config(0, 26000000, &theirs)); in dm_test_k210_pll()
65 ut_asserteq(-EINVAL, k210_pll_calc_config(390000000, 0, &theirs)); in dm_test_k210_pll()
67 &theirs)); in dm_test_k210_pll()
69 &theirs)); in dm_test_k210_pll()
71 &theirs)); in dm_test_k210_pll()
75 ut_assertok(k210_pll_calc_config(390000000, 26000000, &theirs)); in dm_test_k210_pll()
76 ut_assertok(dm_test_k210_pll_compare(&ours, &theirs)); in dm_test_k210_pll()
79 ut_assertok(k210_pll_calc_config(26000000, 390000000, &theirs)); in dm_test_k210_pll()
80 ut_assertok(dm_test_k210_pll_compare(&ours, &theirs)); in dm_test_k210_pll()
83 ut_assertok(k210_pll_calc_config(400000000, 26000000, &theirs)); in dm_test_k210_pll()
84 ut_assertok(dm_test_k210_pll_compare(&ours, &theirs)); in dm_test_k210_pll()
87 ut_assertok(k210_pll_calc_config(27000000, 26000000, &theirs)); in dm_test_k210_pll()
88 ut_assertok(dm_test_k210_pll_compare(&ours, &theirs)); in dm_test_k210_pll()
91 ut_assertok(k210_pll_calc_config(26000000, 27000000, &theirs)); in dm_test_k210_pll()
92 ut_assertok(dm_test_k210_pll_compare(&ours, &theirs)); in dm_test_k210_pll()