Lines Matching refs:ndiv
798 u32 ndiv = (fphi * odf * idf) / quartz; in set_mclock() local
802 if (ndiv >= 7 && ndiv <= 71) in set_mclock()
804 else if (ndiv >= 72 && ndiv <= 79) in set_mclock()
806 else if (ndiv >= 80 && ndiv <= 87) in set_mclock()
808 else if (ndiv >= 88 && ndiv <= 95) in set_mclock()
810 else if (ndiv >= 96 && ndiv <= 103) in set_mclock()
812 else if (ndiv >= 104 && ndiv <= 111) in set_mclock()
814 else if (ndiv >= 112 && ndiv <= 119) in set_mclock()
816 else if (ndiv >= 120 && ndiv <= 127) in set_mclock()
818 else if (ndiv >= 128 && ndiv <= 135) in set_mclock()
820 else if (ndiv >= 136 && ndiv <= 143) in set_mclock()
822 else if (ndiv >= 144 && ndiv <= 151) in set_mclock()
824 else if (ndiv >= 152 && ndiv <= 159) in set_mclock()
826 else if (ndiv >= 160 && ndiv <= 167) in set_mclock()
828 else if (ndiv >= 168 && ndiv <= 175) in set_mclock()
830 else if (ndiv >= 176 && ndiv <= 183) in set_mclock()
832 else if (ndiv >= 184 && ndiv <= 191) in set_mclock()
834 else if (ndiv >= 192 && ndiv <= 199) in set_mclock()
836 else if (ndiv >= 200 && ndiv <= 207) in set_mclock()
838 else if (ndiv >= 208 && ndiv <= 215) in set_mclock()
840 else if (ndiv >= 216 && ndiv <= 223) in set_mclock()
842 else if (ndiv >= 224 && ndiv <= 225) in set_mclock()
847 write_reg(state, RSTV0910_NCOARSE1, ndiv); in set_mclock()
849 fvco = (quartz * 2 * ndiv) / idf; in set_mclock()