/openbmc/linux/sound/soc/codecs/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A 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()
|
/openbmc/qemu/scripts/ |
H A D | block-coroutine-wrapper.py | 318 with open(sys.argv[1], 'w', encoding='utf-8') as f_out: 319 f_out.write(gen_header()) 322 f_out.write(gen_wrappers(f_in.read())) 323 f_out.write('\n')
|
/openbmc/linux/drivers/media/tuners/ |
H A 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 …]
|
/openbmc/qemu/tests/avocado/ |
H A D | boot_linux_console.py | 280 with open(kernel_path, 'wb') as f_out: 281 shutil.copyfileobj(f_in, f_out) 1249 with open(image_path, 'r+b') as f_out: 1250 f_out.seek(8 * 1024) 1251 shutil.copyfileobj(f_in, f_out)
|
H A D | replay_kernel.py | 528 with open(kernel_path, 'wb') as f_out: 529 shutil.copyfileobj(f_in, f_out)
|
/openbmc/linux/fs/ |
H A 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()
|
/openbmc/linux/drivers/video/fbdev/intelfb/ |
H A 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()
|
/openbmc/linux/drivers/video/fbdev/i810/ |
H A 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()
|
/openbmc/linux/drivers/video/fbdev/ |
H A 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()
|
H A 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()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | iotests.py | 140 with bz2.open(sample_fname) as f_in, open(fname, 'wb') as f_out: 141 shutil.copyfileobj(f_in, f_out)
|
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/ |
H A D | 0004-mmal_20.patch | 3003 …atic bool to_zc_validate_fmt(const video_format_t * const f_in, const video_format_t * const f_out) 3006 + f_out->i_chroma == VLC_CODEC_MMAL_ZC_I420)) 3010 + if (f_in->i_height != f_out->i_height || 3011 + f_in->i_width != f_out->i_width)
|