Home
last modified time | relevance | path

Searched refs:div_ctrl_setting (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_chal_sd.c587 uint32_t div_ctrl_setting; in chal_sd_freq_2_div_ctrl_setting() local
597 div_ctrl_setting = BASE_CLK_FREQ / (2 * desired_freq); in chal_sd_freq_2_div_ctrl_setting()
599 actual_freq = BASE_CLK_FREQ / (2 * div_ctrl_setting); in chal_sd_freq_2_div_ctrl_setting()
606 div_ctrl_setting++; in chal_sd_freq_2_div_ctrl_setting()
609 return div_ctrl_setting; in chal_sd_freq_2_div_ctrl_setting()
612 int32_t chal_sd_set_clock(CHAL_HANDLE *sd_handle, uint32_t div_ctrl_setting, in chal_sd_set_clock() argument
618 uint32_t clk_sel_high_byte = 0xFF & (div_ctrl_setting >> 8); in chal_sd_set_clock()
619 uint32_t clk_sel_low_byte = 0xFF & div_ctrl_setting; in chal_sd_set_clock()
625 div_ctrl_setting, on); in chal_sd_set_clock()
Demmc_csl_sdcard.c62 uint32_t div_ctrl_setting; in process_csd_mmc_speed() local
94 div_ctrl_setting = in process_csd_mmc_speed()
99 div_ctrl_setting = in process_csd_mmc_speed()
107 chal_sd_set_clock((CHAL_HANDLE *) handle->device, div_ctrl_setting, 0); in process_csd_mmc_speed()
109 chal_sd_set_clock((CHAL_HANDLE *) handle->device, div_ctrl_setting, 1); in process_csd_mmc_speed()
/external/arm-trusted-firmware/include/drivers/brcm/emmc/
Demmc_chal_sd.h182 uint32_t div_ctrl_setting, uint32_t on);