Home
last modified time | relevance | path

Searched refs:div_factor (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/clk/qcom/
A Dclk-spmi-pmic-div.c40 if (!div_factor) in div_factor_to_div()
41 div_factor = 1; in div_factor_to_div()
43 return 1 << (div_factor - 1); in div_factor_to_div()
62 unsigned int div_factor) in __spmi_pmic_clkdiv_set_enable_state() argument
83 unsigned int div_factor; in spmi_pmic_clkdiv_set_enable_state() local
86 div_factor &= DIV_CTL1_DIV_FACTOR_MASK; in spmi_pmic_clkdiv_set_enable_state()
117 unsigned int div, div_factor; in clk_spmi_pmic_div_round_rate() local
120 div_factor = div_to_div_factor(div); in clk_spmi_pmic_div_round_rate()
121 div = div_factor_to_div(div_factor); in clk_spmi_pmic_div_round_rate()
130 unsigned int div_factor; in clk_spmi_pmic_div_recalc_rate() local
[all …]
/linux-6.3-rc2/lib/
A Dtest_fprobe.c11 #define div_factor 3 macro
25 return (value / div_factor); in fprobe_selftest_target()
30 return (value / div_factor) + 1; in fprobe_selftest_target2()
39 entry_val = (rand1 / div_factor); in fp_entry_handler()
51 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
53 exit_val = entry_val + div_factor; in fp_exit_handler()
98 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe()
104 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe()
124 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe_syms()
130 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe_syms()
[all …]
A Dtest_kprobes.c13 #define div_factor 3 macro
28 return (value / div_factor); in kprobe_target()
33 return (value / div_factor); in kprobe_recursed_target()
52 posth_val = preh_val + div_factor; in kp_post_handler()
73 return (value / div_factor) + 1; in kprobe_target2()
105 preh_val = (rand1 / div_factor) + 1; in kp_pre_handler2()
113 posth_val = preh_val + div_factor; in kp_post_handler2()
178 krph_val = (rand1 / div_factor); in entry_handler()
187 KUNIT_EXPECT_EQ(current_test, ret, rand1 / div_factor); in return_handler()
212 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in return_handler2()
[all …]
/linux-6.3-rc2/drivers/media/dvb-frontends/
A Dix2505v.c124 u32 div_factor, N , A, x; in ix2505v_set_params() local
147 div_factor = (frequency * ref) / 40; /* local osc = 4Mhz */ in ix2505v_set_params()
148 x = div_factor / psc; in ix2505v_set_params()
/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A Dhfi_plat_bufs_v6.c1122 u32 div_factor = 1; in calculate_dec_input_frame_size() local
1134 div_factor = 4; in calculate_dec_input_frame_size()
1139 div_factor = 1; in calculate_dec_input_frame_size()
1141 div_factor = 2; in calculate_dec_input_frame_size()
1144 frame_size = base_res_mbs * MB_SIZE_IN_PIXEL * 3 / 2 / div_factor; in calculate_dec_input_frame_size()
/linux-6.3-rc2/sound/soc/codecs/
A Dlpass-va-macro.c1401 u32 div_factor; in va_macro_validate_dmic_sample_rate() local
1407 div_factor = mclk_rate / dmic_sample_rate; in va_macro_validate_dmic_sample_rate()
1409 switch (div_factor) { in va_macro_validate_dmic_sample_rate()
A Dwcd9335.c2850 u32 div_factor; in wcd9335_get_dmic_clk_val() local
2870 div_factor = mclk_rate / dmic_clk_rate; in wcd9335_get_dmic_clk_val()
2871 switch (div_factor) { in wcd9335_get_dmic_clk_val()
2893 __func__, div_factor, mclk_rate, dmic_clk_rate); in wcd9335_get_dmic_clk_val()
A Dwcd934x.c4754 u32 div_factor; in wcd934x_get_dmic_clk_val() local
4770 div_factor = mclk_rate / dmic_clk_rate; in wcd934x_get_dmic_clk_val()
4771 switch (div_factor) { in wcd934x_get_dmic_clk_val()
4793 __func__, div_factor, mclk_rate, dmic_clk_rate); in wcd934x_get_dmic_clk_val()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_clock_source.h322 unsigned short div_factor; member
A Ddce_clock_source.c992 REG_WRITE(MODULO[inst], dp_dto_ref_khz * e->div_factor); in dcn31_program_pix_clk()
1271 REG_WRITE(MODULO[inst], dp_dto_ref_khz * e->div_factor); in dcn3_program_pix_clk()

Completed in 115 milliseconds