Searched refs:freq_mhz (Results 1 – 7 of 7) sorted by relevance
70 u32 freq_mhz; in stb6000_set_params() local82 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 …]
86 u32 freq_mhz = req->rate / 1000000; in sun6i_a31_get_pll1_factors() local93 u32 round_freq_6 = round_down(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 …]
249 u32 freq_mhz; in get_dynamic_power() local256 freq_mhz = freq / 1000000; in get_dynamic_power()257 power = (u64)dfc_power->dyn_power_coeff * freq_mhz * voltage * voltage; in get_dynamic_power()
162 u32 freq_mhz = freq_table[i].frequency / 1000; in update_freq_table() local184 power = (u64)capacitance * freq_mhz * voltage_mv * voltage_mv; in update_freq_table()
99 freq_table[i].frequency = sfi_cpufreq_array[i].freq_mhz * 1000; in sfi_cpufreq_init()
132 u32 freq_mhz; /* in MHZ */ member
731 __le32 freq_mhz; member