Searched refs:div_ctrl_setting (Results 1 – 3 of 3) sorted by relevance
587 uint32_t div_ctrl_setting; in chal_sd_freq_2_div_ctrl_setting() local597 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() argument618 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()
62 uint32_t div_ctrl_setting; in process_csd_mmc_speed() local94 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()
182 uint32_t div_ctrl_setting, uint32_t on);