/openbmc/qemu/hw/misc/ |
H A D | imx6ul_ccm.c | 297 uint64_t freq = CKIH_FREQ; in imx6ul_analog_get_osc_clk() local 306 uint64_t freq = imx6ul_analog_get_osc_clk(dev); in imx6ul_analog_get_pll2_clk() local 322 uint64_t freq = imx6ul_analog_get_osc_clk(dev) * 20; in imx6ul_analog_get_pll3_clk() local 331 uint64_t freq = 0; in imx6ul_analog_get_pll2_pfd0_clk() local 344 uint64_t freq = 0; in imx6ul_analog_get_pll2_pfd2_clk() local 357 uint64_t freq = 0; in imx6ul_analog_pll2_bypass_clk() local 366 uint64_t freq = 0; in imx6ul_ccm_get_periph_clk2_sel_clk() local 396 uint64_t freq = 0; in imx6ul_ccm_get_periph_clk_sel_clk() local 422 uint64_t freq = 0; in imx6ul_ccm_get_periph_clk2_clk() local 434 uint64_t freq = 0; in imx6ul_ccm_get_periph_sel_clk() local [all …]
|
H A D | imx6_ccm.c | 247 uint64_t freq = 24000000; in imx6_analog_get_pll2_clk() local 262 uint64_t freq = 0; in imx6_analog_get_pll2_pfd0_clk() local 274 uint64_t freq = 0; in imx6_analog_get_pll2_pfd2_clk() local 286 uint64_t freq = 0; in imx6_analog_get_periph_clk() local 313 uint64_t freq = 0; in imx6_ccm_get_ahb_clk() local 325 uint64_t freq = 0; in imx6_ccm_get_ipg_clk() local 337 uint64_t freq = 0; in imx6_ccm_get_per_clk() local 349 uint32_t freq = 0; in imx6_ccm_get_clock_frequency() local
|
H A D | imx31_ccm.c | 109 uint32_t freq = 0; in imx31_ccm_get_pll_ref_clk() local 130 uint32_t freq; in imx31_ccm_get_mpll_clk() local 143 uint32_t freq; in imx31_ccm_get_mcu_main_clk() local 160 uint32_t freq; in imx31_ccm_get_hclk_clk() local 173 uint32_t freq; in imx31_ccm_get_ipg_clk() local 186 uint32_t freq = 0; in imx31_ccm_get_clock_frequency() local
|
H A D | imx25_ccm.c | 112 uint32_t freq; in imx25_ccm_get_mpll_clk() local 128 uint32_t freq; in imx25_ccm_get_mcu_clk() local 146 uint32_t freq; in imx25_ccm_get_ahb_clk() local 159 uint32_t freq; in imx25_ccm_get_ipg_clk() local 170 uint32_t freq = 0; in imx25_ccm_get_clock_frequency() local
|
/openbmc/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-audio.c | 31 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq() 281 static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25836_set_audclk_freq() 286 static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq) in cx23885_set_audclk_freq() 328 static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq) in cx231xx_set_audclk_freq() 404 static int set_audclk_freq(struct i2c_client *client, u32 freq) in set_audclk_freq() 504 int cx25840_s_clock_freq(struct v4l2_subdev *sd, u32 freq) in cx25840_s_clock_freq()
|
/openbmc/linux/sound/drivers/vx/ |
H A D | vx_uer.c | 94 int val, freq; in vx_read_uer_status() local 148 static int vx_calc_clock_from_freq(struct vx_core *chip, int freq) in vx_calc_clock_from_freq() 193 void vx_set_internal_clock(struct vx_core *chip, unsigned int freq) in vx_set_internal_clock() 231 int vx_set_clock(struct vx_core *chip, unsigned int freq) in vx_set_clock() 275 int freq; in vx_change_frequency() local
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | syscounter.c | 36 unsigned long freq; in tick_to_time() local 48 unsigned long freq; in us_to_tick() local 62 unsigned long val, freq; in timer_init() local 117 unsigned long freq; in get_tbclk() local
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | timer.c | 33 unsigned long freq; in tick_to_time() local 45 unsigned long freq; in us_to_tick() local 58 unsigned long ctrl, freq; in timer_init() local 117 unsigned long freq; in get_tbclk() local
|
/openbmc/u-boot/arch/arm/cpu/armv8/s32v234/ |
H A D | generic.c | 97 u32 freq = 0; in get_mcu_main_clk() local 132 u32 freq = 0; in get_sys_clk() local 178 u32 freq = 0; in get_peripherals_clk() local 194 u32 auxclk3_div, auxclk3_sel, freq = 0; in get_uart_clk() local 229 u32 freq = 0; in get_fec_clk() local 245 u32 freq = 0; in get_usdhc_clk() local
|
/openbmc/u-boot/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 254 u32 reg, freq; in get_mcu_main_clk() local 290 uint32_t freq, reg, div; in get_ipg_clk() local 305 u32 freq, pred1, pred2, podf; in get_ipg_per_clk() local 324 u32 freq = 0; in get_standard_pll_sel_clk() local 349 unsigned int clk_sel, freq, reg, pred, podf; in get_uart_clk() local 368 u32 ret_val = 0, pdf, pre_pdf, clk_sel, freq; in imx_get_cspiclk() local 385 u32 clk_sel = 0, pred = 0, podf = 0, freq = 0; in get_esdhc_clk() local 705 static int config_core_clk(u32 ref, u32 freq) in config_core_clk() 764 static int config_periph_clk(u32 ref, u32 freq) in config_periph_clk() 842 static int config_ldb_clk(u32 ref, u32 freq) in config_ldb_clk() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tda18271-common.c | 550 int tda18271_calc_main_pll(struct dvb_frontend *fe, u32 freq) in tda18271_calc_main_pll() 573 int tda18271_calc_cal_pll(struct dvb_frontend *fe, u32 freq) in tda18271_calc_cal_pll() 598 int tda18271_calc_bp_filter(struct dvb_frontend *fe, u32 *freq) in tda18271_calc_bp_filter() 615 int tda18271_calc_km(struct dvb_frontend *fe, u32 *freq) in tda18271_calc_km() 632 int tda18271_calc_rf_band(struct dvb_frontend *fe, u32 *freq) in tda18271_calc_rf_band() 649 int tda18271_calc_gain_taper(struct dvb_frontend *fe, u32 *freq) in tda18271_calc_gain_taper() 666 int tda18271_calc_ir_measure(struct dvb_frontend *fe, u32 *freq) in tda18271_calc_ir_measure() 683 int tda18271_calc_rf_cal(struct dvb_frontend *fe, u32 *freq) in tda18271_calc_rf_cal()
|
H A D | tda18271-fe.c | 75 u32 freq, u32 bw) in tda18271_channel_configuration() 243 u32 freq) in tda18271c2_rf_tracking_filters_correction() 326 static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq) in tda18271_calibrate_rf() 437 u32 freq; in tda18271_powerscan() local 559 static int tda18271_rf_tracking_filters_init(struct dvb_frontend *fe, u32 freq) in tda18271_rf_tracking_filters_init() 694 u32 freq, u32 bw) in tda18271c1_rf_tracking_filter_calibration() 885 struct tda18271_std_map_item *map, u32 freq, u32 bw) in tda18271_tune() 925 u32 freq = c->frequency; in tda18271_set_params() local 991 u32 freq = params->frequency * 125 * in tda18271_set_analog_params() local
|
/openbmc/linux/drivers/devfreq/ |
H A D | imx8m-ddrc.c | 82 struct imx8m_ddrc_freq *freq; in imx8m_ddrc_find_freq() local 128 static int imx8m_ddrc_set_freq(struct device *dev, struct imx8m_ddrc_freq *freq) in imx8m_ddrc_set_freq() 230 static int imx8m_ddrc_target(struct device *dev, unsigned long *freq, u32 flags) in imx8m_ddrc_target() 274 static int imx8m_ddrc_get_cur_freq(struct device *dev, unsigned long *freq) in imx8m_ddrc_get_cur_freq() 298 struct imx8m_ddrc_freq *freq = &priv->freq_table[index]; in imx8m_ddrc_init_freq_info() local 334 unsigned long freq; in imx8m_ddrc_check_opps() local
|
H A D | governor_passive.c | 53 unsigned long *freq) in get_target_freq_by_required_opp() 86 unsigned long freq = 0; in get_target_freq_with_cpufreq() local 131 unsigned long *freq) in get_target_freq_with_devfreq() 168 unsigned long *freq) in devfreq_passive_get_target_freq() 345 unsigned long freq = freqs->new; in devfreq_passive_notifier_call() local
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-fsl-ftm.c | 179 static int __init ftm_clockevent_init(unsigned long freq, int irq) in ftm_clockevent_init() 207 static int __init ftm_clocksource_init(unsigned long freq) in ftm_clocksource_init() 263 long freq; in ftm_clk_init() local 276 static int __init ftm_calc_closest_round_cyc(unsigned long freq) in ftm_calc_closest_round_cyc() 300 unsigned long freq; in ftm_timer_init() local
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.h | 33 u8 b43legacy_freq_to_channel_bg(int freq) in b43legacy_freq_to_channel_bg() 46 int freq) in b43legacy_freq_to_channel() 55 int freq; in b43legacy_channel_to_freq_bg() local
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_platform.c | 27 unsigned long freq = 0; in hfi_platform_get_codec_vpp_freq() local 43 unsigned long freq = 0; in hfi_platform_get_codec_vsp_freq() local 59 unsigned long freq = 0; in hfi_platform_get_codec_lp_freq() local
|
/openbmc/linux/sound/pci/lola/ |
H A D | lola_clock.c | 17 unsigned int freq; in lola_sample_rate_convert() local 57 unsigned int freq) in check_gran_clock_compatibility() 159 unsigned int freq = items[j] & 0xff; in lola_init_clock_widget() local 262 int freq = 0; in lola_set_clock() local
|
/openbmc/linux/drivers/net/wireless/intersil/p54/ |
H A D | eeprom.c | 72 u16 freq; member 86 static int p54_get_band_from_freq(u16 freq) in p54_get_band_from_freq() 99 static int same_band(u16 freq, u16 freq2) in same_band() 233 u16 freq, u16 data) in p54_update_channel_param() 326 u16 freq; in p54_generate_channel_lists() local 446 __le16 *freq = source; in p54_convert_rev0() local 498 __le16 *freq = source; in p54_convert_rev1() local 573 u16 freq = 0; in p54_parse_rssical() local 604 struct p54_rssi_db_entry *p54_rssi_find(struct p54_common *priv, const u16 freq) in p54_rssi_find()
|
/openbmc/linux/drivers/thermal/ |
H A D | devfreq_cooling.c | 90 unsigned long freq; in devfreq_cooling_set_cur_state() local 124 static int get_perf_idx(struct em_perf_domain *em_pd, unsigned long freq) in get_perf_idx() 136 static unsigned long get_voltage(struct devfreq *df, unsigned long freq) in get_voltage() 185 unsigned long freq; in devfreq_cooling_get_requested_power() local 266 unsigned long freq, em_power_mw; in devfreq_cooling_power2state() local 322 unsigned long freq; in devfreq_cooling_gen_tables() local
|
/openbmc/linux/arch/m68k/mac/ |
H A D | macboing.c | 164 void mac_mksound( unsigned int freq, unsigned int length ) in mac_mksound() 227 static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_quadra_start_bell() 308 static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_av_start_bell()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | freq_table.c | 38 unsigned int freq; in cpufreq_frequency_table_cpuinfo() local 73 unsigned int freq, next_larger = ~0; in cpufreq_frequency_table_verify() local 132 unsigned int freq, diff, i = 0; in cpufreq_table_index_unsorted() local 212 unsigned int freq) in cpufreq_frequency_table_get_index()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_rps.c | 151 static u8 wait_for_freq(struct intel_rps *rps, u8 freq, int timeout_ms) in wait_for_freq() 188 static u8 rps_set_check(struct intel_rps *rps, u8 freq) in rps_set_check() 550 static u64 measure_frequency_at(struct intel_rps *rps, u32 *cntr, int *freq) in measure_frequency_at() 581 int *freq) in measure_cs_frequency_at() 636 int freq; in live_rps_frequency_cs() member 775 int freq; in live_rps_frequency_srm() member 1107 static u64 measure_power(struct intel_rps *rps, int *freq) in measure_power() 1122 static u64 measure_power_at(struct intel_rps *rps, int *freq) in measure_power_at() 1161 int freq; in live_rps_power() member 1263 u8 freq; in live_rps_dynamic() member
|
/openbmc/u-boot/board/freescale/t208xqds/ |
H A D | t208xqds.c | 32 static const char *freq[4] = { in checkboard() local 378 int freq = QIXIS_READ(clk_freq[0]) << 8 | QIXIS_READ(clk_freq[1]); in get_board_sys_clk() local 416 int freq = QIXIS_READ(clk_freq[2]) << 8 | QIXIS_READ(clk_freq[3]); in get_board_ddr_clk() local
|
/openbmc/u-boot/arch/arm/mach-at91/armv7/ |
H A D | clock.c | 39 static u32 at91_pll_rate(u32 freq, u32 reg) in at91_pll_rate() 57 unsigned freq, mckr; in at91_clock_init() local 261 u32 freq; in at91_get_periph_generated_clk() local
|