Searched refs:mfrac (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/clk/ |
D | ics8n3qv01.c | 33 u64 n, mint, mfrac; in ics8n3qv01_get_fout_calc() local 61 mfrac = ((reg_a & 0x01) << 17) | /* MFRACi[17] */ in ics8n3qv01_get_fout_calc() 68 + mfrac * ICS8N3QV01_FREF_LL / 262144LL in ics8n3qv01_get_fout_calc() 82 u64 mfrac; in ics8n3qv01_calc_parameters() local 100 mfrac = ((u64)fvcoiic % 114285000LL) * 262144LL in ics8n3qv01_calc_parameters() 104 *_mfrac = mfrac; in ics8n3qv01_calc_parameters() 113 uint n, mint, mfrac; in ics8n3qv01_set_rate() local 137 res = ics8n3qv01_calc_parameters(fout_prog, &mint, &mfrac, &n); in ics8n3qv01_set_rate() 150 reg[0] |= (mfrac >> 17) & 0x01; in ics8n3qv01_set_rate() 153 reg[1] = mfrac >> 9; in ics8n3qv01_set_rate() [all …]
|
/external/u-boot/board/gdsys/common/ |
D | osd.c | 136 unsigned long long mfrac; in ics8n3qv01_get_fout_calc() local 150 mfrac = ((reg_a & 0x01) << 17) | (reg_b << 9) | (reg_c << 1) in ics8n3qv01_get_fout_calc() 155 + mfrac * ICS8N3QV01_FREF_LL / 262144LL in ics8n3qv01_get_fout_calc() 174 unsigned long long mfrac; in ics8n3qv01_calc_parameters() local 187 mfrac = ((unsigned long long)fvcoiic % 114285000LL) * 262144LL in ics8n3qv01_calc_parameters() 191 *_mfrac = mfrac; in ics8n3qv01_calc_parameters() 199 unsigned int mfrac; in ics8n3qv01_set() local 211 ics8n3qv01_calc_parameters(fout_prog, &mint, &mfrac, &n); in ics8n3qv01_set() 215 reg0 |= (mfrac >> 17) & 0x01; in ics8n3qv01_set() 218 reg4 = mfrac >> 9; in ics8n3qv01_set() [all …]
|