Home
last modified time | relevance | path

Searched refs:freq_mhz (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/media/dvb-frontends/
Dstb6000.c70 u32 freq_mhz; in stb6000_set_params() local
82 freq_mhz = p->frequency / 1000; in stb6000_set_params()
88 if ((freq_mhz > 949) && (freq_mhz < 2151)) { in stb6000_set_params()
91 if (freq_mhz < 1950) in stb6000_set_params()
93 if (freq_mhz < 1800) in stb6000_set_params()
95 if (freq_mhz < 1650) in stb6000_set_params()
97 if (freq_mhz < 1530) in stb6000_set_params()
99 if (freq_mhz < 1470) in stb6000_set_params()
101 if (freq_mhz < 1370) in stb6000_set_params()
103 if (freq_mhz < 1300) in stb6000_set_params()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr_smu_msg.c210 …t dcn30_smu_set_hard_min_by_freq(struct clk_mgr_internal *clk_mgr, uint32_t clk, uint16_t freq_mhz) in dcn30_smu_set_hard_min_by_freq() argument
215 uint32_t param = (clk << 16) | freq_mhz; in dcn30_smu_set_hard_min_by_freq()
217 smu_print("SMU Set hard min by freq: clk = %d, freq_mhz = %d MHz\n", clk, freq_mhz); in dcn30_smu_set_hard_min_by_freq()
228 …t dcn30_smu_set_hard_max_by_freq(struct clk_mgr_internal *clk_mgr, uint32_t clk, uint16_t freq_mhz) in dcn30_smu_set_hard_max_by_freq() argument
233 uint32_t param = (clk << 16) | freq_mhz; in dcn30_smu_set_hard_max_by_freq()
235 smu_print("SMU Set hard max by freq: clk = %d, freq_mhz = %d MHz\n", clk, freq_mhz); in dcn30_smu_set_hard_max_by_freq()
294 void dcn30_smu_set_min_deep_sleep_dcef_clk(struct clk_mgr_internal *clk_mgr, uint32_t freq_mhz) in dcn30_smu_set_min_deep_sleep_dcef_clk() argument
296 smu_print("SMU Set min deep sleep dcef clk: freq_mhz = %d MHz\n", freq_mhz); in dcn30_smu_set_min_deep_sleep_dcef_clk()
299 DALSMC_MSG_SetMinDeepSleepDcefclk, freq_mhz, NULL); in dcn30_smu_set_min_deep_sleep_dcef_clk()
Ddcn30_clk_mgr_smu_msg.h41 … dcn30_smu_set_hard_min_by_freq(struct clk_mgr_internal *clk_mgr, uint32_t clk, uint16_t freq_mhz);
42 … dcn30_smu_set_hard_max_by_freq(struct clk_mgr_internal *clk_mgr, uint32_t clk, uint16_t freq_mhz);
45 … dcn30_smu_set_min_deep_sleep_dcef_clk(struct clk_mgr_internal *clk_mgr, uint32_t freq_mhz);
/linux-6.6.21/drivers/clk/sunxi/
Dclk-sunxi.c86 u32 freq_mhz = req->rate / 1000000; in sun6i_a31_get_pll1_factors() local
93 u32 round_freq_6 = rounddown(freq_mhz, 6); in sun6i_a31_get_pll1_factors()
94 u32 round_freq_16 = round_down(freq_mhz, 16); in sun6i_a31_get_pll1_factors()
97 freq_mhz = round_freq_6; in sun6i_a31_get_pll1_factors()
99 freq_mhz = round_freq_16; in sun6i_a31_get_pll1_factors()
101 req->rate = freq_mhz * 1000000; in sun6i_a31_get_pll1_factors()
104 if (!(freq_mhz % 32)) in sun6i_a31_get_pll1_factors()
107 else if (!(freq_mhz % 9)) in sun6i_a31_get_pll1_factors()
110 else if (!(freq_mhz % 8)) in sun6i_a31_get_pll1_factors()
124 if ((freq_mhz % 6) == 2 || (freq_mhz % 6) == 4) in sun6i_a31_get_pll1_factors()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr_smu_msg.c126 …t dcn32_smu_set_hard_min_by_freq(struct clk_mgr_internal *clk_mgr, uint32_t clk, uint16_t freq_mhz) in dcn32_smu_set_hard_min_by_freq() argument
131 uint32_t param = (clk << 16) | freq_mhz; in dcn32_smu_set_hard_min_by_freq()
133 smu_print("SMU Set hard min by freq: clk = %d, freq_mhz = %d MHz\n", clk, freq_mhz); in dcn32_smu_set_hard_min_by_freq()
Ddcn32_clk_mgr_smu_msg.h45 … dcn32_smu_set_hard_min_by_freq(struct clk_mgr_internal *clk_mgr, uint32_t clk, uint16_t freq_mhz);
/linux-6.6.21/drivers/memory/samsung/
Dexynos5422-dmc.c1180 u32 freq_mhz, clk_period_ps; in of_get_dram_timings() local
1227 freq_mhz = dmc->opp[idx].freq_hz / 1000000; in of_get_dram_timings()
1228 clk_period_ps = 1000000 / freq_mhz; in of_get_dram_timings()
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
Dwmi.h721 __le32 freq_mhz; member