Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 25 of 33) sorted by relevance

12

/tf-a-ffa_el3_spmc/drivers/renesas/common/emmc/
A Demmc_mount.c237 freq = MMC_52MHZ; in emmc_high_speed()
239 freq = MMC_26MHZ; in emmc_high_speed()
241 freq = MMC_20MHZ; in emmc_high_speed()
244 if ((freq == MMC_52MHZ) || (freq == MMC_26MHZ)) { in emmc_high_speed()
520 *freq = MMC_52MHZ; in emmc_calc_tran_speed()
522 *freq = MMC_26MHZ; in emmc_calc_tran_speed()
524 *freq = MMC_20MHZ; in emmc_calc_tran_speed()
526 *freq = MMC_400KHZ; in emmc_calc_tran_speed()
536 switch (freq) { in emmc_set_timeout_register_value()
608 if (freq == NULL) { in emmc_set_request_mmc_clock()
[all …]
A Demmc_utility.c195 uint32_t freq; in emmc_send_idle_cmd() local
219 freq = MMC_400KHZ; in emmc_send_idle_cmd()
220 result = emmc_set_request_mmc_clock(&freq); in emmc_send_idle_cmd()
A Demmc_def.h40 EMMC_ERROR_CODE emmc_set_request_mmc_clock(uint32_t *freq);
/tf-a-ffa_el3_spmc/drivers/renesas/common/delay/
A Dmicro_delay.c20 uint64_t freq; in rcar_micro_delay() local
25 freq = read_cntfrq_el0(); in rcar_micro_delay()
29 wait_time = ((get_count - base_count) * RCAR_CONV_MICROSEC) / freq; in rcar_micro_delay()
/tf-a-ffa_el3_spmc/fdts/
A Dfvp-ve-Cortex-A5x1.dts69 freq-range = <50000000 100000000>;
78 freq-range = <5000000 50000000>;
87 freq-range = <80000000 120000000>;
96 freq-range = <23750000 165000000>;
105 freq-range = <80000000 80000000>;
114 freq-range = <25000000 60000000>;
/tf-a-ffa_el3_spmc/plat/hisilicon/hikey/
A Dhisi_dvfs.c41 unsigned int freq; member
48 unsigned int freq; member
55 unsigned int freq; member
234 if (acpu_dvfs_profile[tar_prof].freq > 800000) { in acpu_dvfs_freq_ascend()
387 if (acpu_dvfs_profile[tar_prof].freq > 800000) in acpu_dvfs_freq_ascend()
452 if (acpu_dvfs_profile[tar_prof].freq > 800000) { in acpu_dvfs_freq_descend()
534 if (acpu_dvfs_profile[tar_prof].freq > 800000) in acpu_dvfs_freq_descend()
671 if (max_freq == hi6220_acpu_profile[i].freq) { in acpu_dvfs_set_freq()
A Dhikey_ddr.c1085 static void ddrc_common_init(int freq) in ddrc_common_init() argument
1108 if (freq == DDR_FREQ_800M) in ddrc_common_init()
1109 mmio_write_32((0xf7128000 + 0x240), 167 * (freq / 2) / 1024); in ddrc_common_init()
1111 mmio_write_32((0xf7128000 + 0x240), 167 * freq / 1024); in ddrc_common_init()
1296 int lpddr3_freq_init(int freq) in lpddr3_freq_init() argument
1300 if (freq > DDR_FREQ_150M) { in lpddr3_freq_init()
1306 if (freq > DDR_FREQ_266M) { in lpddr3_freq_init()
1312 if (freq > DDR_FREQ_400M) { in lpddr3_freq_init()
1318 if (freq > DDR_FREQ_533M) { in lpddr3_freq_init()
1327 static void init_ddr(int freq) in init_ddr() argument
[all …]
/tf-a-ffa_el3_spmc/drivers/st/clk/
A Dstm32mp_clkfunc.c23 int fdt_osc_read_freq(const char *name, uint32_t *freq) in fdt_osc_read_freq() argument
55 *freq = fdt32_to_cpu(*cuint); in fdt_osc_read_freq()
62 *freq = 0; in fdt_osc_read_freq()
/tf-a-ffa_el3_spmc/plat/renesas/common/aarch64/
A Dplatform_common.c205 unsigned int freq; in plat_get_syscnt_freq2() local
207 freq = mmio_read_32(ARM_SYS_CNTCTL_BASE + CNTFID_OFF); in plat_get_syscnt_freq2()
208 if (freq == 0) in plat_get_syscnt_freq2()
211 return freq; in plat_get_syscnt_freq2()
/tf-a-ffa_el3_spmc/include/drivers/st/
A Dstm32mp_clkfunc.h16 int fdt_osc_read_freq(const char *name, uint32_t *freq);
A Dbsec.h154 uint8_t freq; /* SAFMEM CLOCK see freq value define member
/tf-a-ffa_el3_spmc/plat/imx/imx7/common/
A Dimx7_bl2_el3_common.c124 unsigned long freq = SYS_COUNTER_FREQ_IN_TICKS; in imx7_setup_system_counter() local
127 write_cntfrq(freq); in imx7_setup_system_counter()
/tf-a-ffa_el3_spmc/drivers/st/mmc/
A Dstm32_sdmmc2.c150 uint32_t freq = STM32MP_MMC_INIT_FREQ; in stm32_sdmmc2_init() local
154 freq = MIN(sdmmc2_params.max_freq, freq); in stm32_sdmmc2_init()
157 clock_div = div_round_up(sdmmc2_params.clk_rate, freq * 2U); in stm32_sdmmc2_init()
420 uint32_t clock_div, max_freq, freq; in stm32_sdmmc2_set_ios() local
453 freq = MIN(sdmmc2_params.max_freq, max_freq); in stm32_sdmmc2_set_ios()
455 freq = max_freq; in stm32_sdmmc2_set_ios()
458 clock_div = div_round_up(clk_rate, freq * 2U); in stm32_sdmmc2_set_ios()
/tf-a-ffa_el3_spmc/drivers/nxp/ddr/nxp-ddr/
A Dregs.c367 rc0a = freq > 3200U ? 7U : in cal_ddr_sdram_rcw()
368 (freq > 2933U ? 6U : in cal_ddr_sdram_rcw()
369 (freq > 2666U ? 5U : in cal_ddr_sdram_rcw()
370 (freq > 2400U ? 4U : in cal_ddr_sdram_rcw()
371 (freq > 2133U ? 3U : in cal_ddr_sdram_rcw()
372 (freq > 1866U ? 2U : in cal_ddr_sdram_rcw()
373 (freq > 1600U ? 1U : 0U)))))); in cal_ddr_sdram_rcw()
374 rc0f = freq > 3200U ? 3U : in cal_ddr_sdram_rcw()
375 (freq > 2400U ? 2U : in cal_ddr_sdram_rcw()
376 (freq > 2133U ? 1U : 0U)); in cal_ddr_sdram_rcw()
[all …]
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/soc/t186/drivers/include/
A Dmce_private.h159 uint32_t freq,
233 int32_t ari_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable);
255 int32_t nvg_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable);
/tf-a-ffa_el3_spmc/drivers/mentor/i2c/
A Dmi2cv.c245 unsigned int n, m, freq, margin, min_margin = 0xffffffff; in mentor_i2c_bus_speed_set() local
252 freq = CONFIG_SYS_TCLK / (10 * (m + 1) * (2 << n)); in mentor_i2c_bus_speed_set()
253 val = requested_speed - freq; in mentor_i2c_bus_speed_set()
256 if ((freq <= requested_speed) && in mentor_i2c_bus_speed_set()
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/soc/t186/drivers/mce/
A Dnvg.c233 int32_t nvg_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable) in nvg_cc3_ctrl() argument
249 val = (((freq & MCE_AUTO_CC3_FREQ_MASK) << MCE_AUTO_CC3_FREQ_SHIFT) |\ in nvg_cc3_ctrl()
A Dari.c358 int32_t ari_cc3_ctrl(uint32_t ari_base, uint32_t freq, uint32_t volt, uint8_t enable) in ari_cc3_ctrl() argument
375 val = (((freq & MCE_AUTO_CC3_FREQ_MASK) << MCE_AUTO_CC3_FREQ_SHIFT) |\ in ari_cc3_ctrl()
/tf-a-ffa_el3_spmc/plat/imx/common/
A Dimx_sip_handler.c58 static void imx_cpufreq_set_target(uint32_t cluster_id, unsigned long freq) in imx_cpufreq_set_target() argument
60 sc_pm_clock_rate_t rate = (sc_pm_clock_rate_t)freq; in imx_cpufreq_set_target()
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/dram/
A Ddfs.c49 uint32_t freq; member
494 tmp = ((700000 + 10) * timing_config->freq + in gen_rk3399_ctl_params_f0()
640 if (timing_config->freq < 400) in gen_rk3399_ctl_params_f0()
715 if (timing_config->freq <= TDFI_LAT_THRESHOLD_FREQ) { in gen_rk3399_ctl_params_f0()
728 if ((timing_config->freq <= TDFI_LAT_THRESHOLD_FREQ) && in gen_rk3399_ctl_params_f0()
889 if (timing_config->freq < 400) in gen_rk3399_ctl_params_f1()
965 if (timing_config->freq <= TDFI_LAT_THRESHOLD_FREQ) { in gen_rk3399_ctl_params_f1()
1521 if (timing_config->freq > 400) in gen_rk3399_phy_params()
1985 rk3399_dram_status.timing_config.freq = mhz; in prepare_ddr_timing()
2071 rk3399_suspend_status.freq = mhz; in ddr_prepare_for_sys_suspend()
[all …]
A Ddram_spec_timing.c206 uint32_t nmhz = timing_config->freq; in ddr3_get_parameter()
423 uint32_t nmhz = timing_config->freq; in lpddr2_get_parameter()
663 uint32_t nmhz = timing_config->freq; in lpddr3_get_parameter()
959 uint32_t nmhz = timing_config->freq; in lpddr4_get_parameter()
/tf-a-ffa_el3_spmc/plat/ti/k3/common/drivers/ti_sci/
A Dti_sci.h138 int ti_sci_clock_get_freq(uint32_t dev_id, uint8_t clk_id, uint64_t *freq);
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/soc/
A Dsoc.h130 uint32_t freq; member
/tf-a-ffa_el3_spmc/drivers/st/bsec/
A Dbsec.c185 value = ((((uint32_t)cfg->freq << BSEC_CONF_FRQ_SHIFT) & in bsec_set_config()
236 cfg->freq = (uint8_t)((value & BSEC_CONF_FRQ_MASK) >> in bsec_get_config()
/tf-a-ffa_el3_spmc/drivers/brcm/i2c/
A Di2c.c439 static int iproc_i2c_set_clk_freq(uint32_t bus_id, smb_clk_freq_t freq) in iproc_i2c_set_clk_freq() argument
443 switch (freq) { in iproc_i2c_set_clk_freq()

Completed in 54 milliseconds

12