/linux-6.6.21/sound/soc/codecs/ |
D | rl6231.c | 148 unsigned int f_in, f_out, f_max; in rl6231_pll_calc() local 177 f_out = freq_out / div; in rl6231_pll_calc() 184 pll_out = f_out * (k_t + 2); in rl6231_pll_calc() 192 red = abs(f_out - out_t); in rl6231_pll_calc() 204 red = abs(f_out - out_t); in rl6231_pll_calc()
|
D | wm8974.c | 375 static unsigned int wm8974_get_mclkdiv(unsigned int f_in, unsigned int f_out, in wm8974_get_mclkdiv() argument 378 unsigned int ratio = 2 * f_in / f_out; in wm8974_get_mclkdiv() 404 return f_out * ratio / 2; in wm8974_get_mclkdiv()
|
D | wm8940.c | 647 static unsigned int wm8940_get_mclkdiv(unsigned int f_in, unsigned int f_out, in wm8940_get_mclkdiv() argument 650 unsigned int ratio = 2 * f_in / f_out; in wm8940_get_mclkdiv() 676 return f_out * ratio / 2; in wm8940_get_mclkdiv()
|
D | wm8978.c | 450 static int wm8978_enum_mclk(unsigned int f_out, unsigned int f_mclk, in wm8978_enum_mclk() argument 456 unsigned int f_pllout_x4 = 4 * f_out * mclk_numerator[i] / in wm8978_enum_mclk()
|
D | rt5682s.c | 2291 static int find_pll_inter_combination(unsigned int f_in, unsigned int f_out, in find_pll_inter_combination() argument 2298 if (plla_table[i].freq_in == f_in && plla_table[i].freq_out == f_out) { in find_pll_inter_combination() 2306 if (pllb_table[i].freq_in == f_in && pllb_table[i].freq_out == f_out) { in find_pll_inter_combination() 2317 pllb_table[j].freq_out == f_out) { in find_pll_inter_combination()
|
/linux-6.6.21/drivers/media/pci/cobalt/ |
D | cobalt-cpld.c | 228 bool cobalt_cpld_set_freq(struct cobalt *cobalt, unsigned f_out) in cobalt_cpld_set_freq() argument 245 dco = (u64)f_out * mult; in cobalt_cpld_set_freq() 257 dco = (u64)f_out * multipliers[i_best].mult; in cobalt_cpld_set_freq() 278 cobalt_dbg(1, "%u: %6ph\n", f_out, regs); in cobalt_cpld_set_freq()
|
/linux-6.6.21/drivers/media/tuners/ |
D | mt2063.c | 91 u32 f_out; member 508 pAS_Info->f_out) / pAS_Info->f_ref) + pAS_Info->f_out; in MT2063_ResetExclZones() 687 const u32 d = pAS_Info->f_out + pAS_Info->f_out_bw / 2; in IsSpurInBand() 1530 if ((state->AS_Data.f_out < MT2063_MIN_FOUT_FREQ) in MT2063_Tune() 1531 || (state->AS_Data.f_out > MT2063_MAX_FOUT_FREQ)) in MT2063_Tune() 1593 MT2063_Round_fLO(state->AS_Data.f_LO1 - state->AS_Data.f_out - f_in, in MT2063_Tune() 1610 MT2063_Round_fLO(state->AS_Data.f_LO1 - state->AS_Data.f_out - f_in, in MT2063_Tune() 1896 state->AS_Data.f_out = 43750000UL; in mt2063_init() 2068 state->AS_Data.f_out = if_mid; in mt2063_set_analog_params() 2140 state->AS_Data.f_out = if_mid; in mt2063_set_params() [all …]
|
/linux-6.6.21/fs/ |
D | read_write.c | 1565 struct fd f_out; in SYSCALL_DEFINE6() local 1572 f_out = fdget(fd_out); in SYSCALL_DEFINE6() 1573 if (!f_out.file) in SYSCALL_DEFINE6() 1588 pos_out = f_out.file->f_pos; in SYSCALL_DEFINE6() 1595 ret = vfs_copy_file_range(f_in.file, pos_in, f_out.file, pos_out, len, in SYSCALL_DEFINE6() 1612 f_out.file->f_pos = pos_out; in SYSCALL_DEFINE6() 1617 fdput(f_out); in SYSCALL_DEFINE6()
|
/linux-6.6.21/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 939 u32 f_vco, p, p_best = 0, m, f_out = 0; in calc_pll_params() local 976 f_out = calc_vclock3(index, testm, n, p); in calc_pll_params() 982 if (clock > f_out) in calc_pll_params() 983 f_err = clock - f_out; in calc_pll_params() 985 f_err = f_out - clock + 1; in calc_pll_params() 995 } while ((n <= pll->max_n) && (f_out >= clock)); in calc_pll_params()
|
/linux-6.6.21/drivers/video/fbdev/i810/ |
D | i810_main.c | 711 u32 f_out, target_freq, diff = 0, mod_min, diff_min; in i810_calc_dclk() local 714 n_best = m_best = m_target = f_out = 0; in i810_calc_dclk() 732 f_out = (p_divisor * n_reg * 1000000)/(4 * 24 * m_reg); in i810_calc_dclk() 736 if (f_out <= target_freq) { in i810_calc_dclk() 738 diff = target_freq - f_out; in i810_calc_dclk() 741 diff = f_out - target_freq; in i810_calc_dclk()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | neofb.c | 212 long f_out; in neoCalcVCLK() local 215 f_out = ((14318 * (n + 1)) / (d + 1)) >> f; in neoCalcVCLK() 216 f_diff = abs(f_out - freq); in neoCalcVCLK() 223 if (f_out > freq) in neoCalcVCLK()
|
D | i740fb.c | 367 u32 f_out = (((m * I740_REF_FREQ * 4) in i740_calc_vclk() local 370 f_err = (freq - f_out); in i740_calc_vclk()
|