Searched refs:freq_mhz (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stb6000.c | 70 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr_smu_msg.c | 200 …nt dcn30_smu_set_hard_min_by_freq(struct clk_mgr_internal *clk_mgr, PPCLK_e clk, uint16_t freq_mhz) in dcn30_smu_set_hard_min_by_freq() argument 205 uint32_t param = (clk << 16) | freq_mhz; in dcn30_smu_set_hard_min_by_freq() 207 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() 218 …nt dcn30_smu_set_hard_max_by_freq(struct clk_mgr_internal *clk_mgr, PPCLK_e clk, uint16_t freq_mhz) in dcn30_smu_set_hard_max_by_freq() argument 223 uint32_t param = (clk << 16) | freq_mhz; in dcn30_smu_set_hard_max_by_freq() 225 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() 284 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 286 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() 289 DALSMC_MSG_SetMinDeepSleepDcefclk, freq_mhz, NULL); in dcn30_smu_set_min_deep_sleep_dcef_clk()
|
D | dcn30_clk_mgr_smu_msg.h | 99 …t dcn30_smu_set_hard_min_by_freq(struct clk_mgr_internal *clk_mgr, PPCLK_e clk, uint16_t freq_mhz); 100 …t dcn30_smu_set_hard_max_by_freq(struct clk_mgr_internal *clk_mgr, PPCLK_e clk, uint16_t freq_mhz); 103 … dcn30_smu_set_min_deep_sleep_dcef_clk(struct clk_mgr_internal *clk_mgr, uint32_t freq_mhz);
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
D | clk-sunxi.c | 86 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 …]
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | devfreq_cooling.c | 207 u32 freq_mhz; in get_dynamic_power() local 214 freq_mhz = freq / 1000000; in get_dynamic_power() 215 power = (u64)dfc_power->dyn_power_coeff * freq_mhz * voltage * voltage; in get_dynamic_power()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | sfi-cpufreq.c | 99 freq_table[i].frequency = sfi_cpufreq_array[i].freq_mhz * 1000; in sfi_cpufreq_init()
|
/kernel/linux/linux-5.10/include/linux/ |
D | sfi.h | 132 u32 freq_mhz; /* in MHZ */ member
|
/kernel/linux/linux-5.10/drivers/memory/samsung/ |
D | exynos5422-dmc.c | 1185 u32 freq_mhz, clk_period_ps; in of_get_dram_timings() local 1226 freq_mhz = dmc->opp[idx].freq_hz / 1000000; in of_get_dram_timings() 1227 clk_period_ps = 1000000 / freq_mhz; in of_get_dram_timings()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
D | wmi.h | 721 __le32 freq_mhz; member
|