/tf-a-ffa_el3_spmc/drivers/renesas/common/emmc/ |
A D | emmc_mount.c | 237 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 D | emmc_utility.c | 195 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 D | emmc_def.h | 40 EMMC_ERROR_CODE emmc_set_request_mmc_clock(uint32_t *freq);
|
/tf-a-ffa_el3_spmc/drivers/renesas/common/delay/ |
A D | micro_delay.c | 20 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 D | fvp-ve-Cortex-A5x1.dts | 69 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 D | hisi_dvfs.c | 41 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 D | hikey_ddr.c | 1085 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 D | stm32mp_clkfunc.c | 23 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 D | platform_common.c | 205 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 D | stm32mp_clkfunc.h | 16 int fdt_osc_read_freq(const char *name, uint32_t *freq);
|
A D | bsec.h | 154 uint8_t freq; /* SAFMEM CLOCK see freq value define member
|
/tf-a-ffa_el3_spmc/plat/imx/imx7/common/ |
A D | imx7_bl2_el3_common.c | 124 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 D | stm32_sdmmc2.c | 150 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 D | regs.c | 367 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 D | mce_private.h | 159 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 D | mi2cv.c | 245 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 D | nvg.c | 233 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 D | ari.c | 358 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 D | imx_sip_handler.c | 58 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 D | dfs.c | 49 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 D | dram_spec_timing.c | 206 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 D | ti_sci.h | 138 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 D | soc.h | 130 uint32_t freq; member
|
/tf-a-ffa_el3_spmc/drivers/st/bsec/ |
A D | bsec.c | 185 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 D | i2c.c | 439 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()
|