Searched refs:div_factor (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/clk/qcom/ |
A D | clk-spmi-pmic-div.c | 40 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 D | test_fprobe.c | 11 #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 D | test_kprobes.c | 13 #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 D | ix2505v.c | 124 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 D | hfi_plat_bufs_v6.c | 1122 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 D | lpass-va-macro.c | 1401 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 D | wcd9335.c | 2850 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 D | wcd934x.c | 4754 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 D | dce_clock_source.h | 322 unsigned short div_factor; member
|
A D | dce_clock_source.c | 992 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