• Home
  • Raw
  • Download

Lines Matching refs:mmc_dev_info

30 static struct mmc_device_info *mmc_dev_info;  variable
198 if (mmc_dev_info->mmc_dev_type != MMC_IS_EMMC) { in mmc_set_ios()
229 switch (mmc_dev_info->mmc_dev_type) { in mmc_fill_device_info()
231 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
263 mmc_dev_info->device_size = (unsigned long long)nb_blocks * in mmc_fill_device_info()
264 mmc_dev_info->block_size; in mmc_fill_device_info()
273 mmc_dev_info->block_size = BIT_32(mmc_csd.read_bl_len); in mmc_fill_device_info()
279 mmc_dev_info->device_size = (c_size + 1U) * in mmc_fill_device_info()
281 mmc_dev_info->block_size; in mmc_fill_device_info()
288 mmc_dev_info->block_size = MMC_BLOCK_SIZE; in mmc_fill_device_info()
295 mmc_dev_info->device_size = (c_size + 1U) << MULT_BY_512K_SHIFT; in mmc_fill_device_info()
313 if (mmc_dev_info->mmc_dev_type == MMC_IS_EMMC) { in mmc_fill_device_info()
314 mmc_dev_info->max_bus_freq = tran_speed_base[speed_idx]; in mmc_fill_device_info()
316 mmc_dev_info->max_bus_freq = sd_tran_speed_base[speed_idx]; in mmc_fill_device_info()
321 mmc_dev_info->max_bus_freq *= 10U; in mmc_fill_device_info()
325 mmc_dev_info->max_bus_freq *= 10000U; in mmc_fill_device_info()
346 mmc_dev_info->ocr_voltage, MMC_RESPONSE_R3, in sd_send_op_cond()
356 mmc_dev_info->mmc_dev_type = MMC_IS_SD_HC; in sd_send_op_cond()
358 mmc_dev_info->mmc_dev_type = MMC_IS_SD; in sd_send_op_cond()
430 if (mmc_dev_info->mmc_dev_type == MMC_IS_EMMC) { in mmc_enumerate()
452 if (mmc_dev_info->mmc_dev_type == MMC_IS_EMMC) { in mmc_enumerate()
533 (mmc_dev_info->mmc_dev_type != MMC_IS_SD_HC)) { in mmc_read_blocks()
734 mmc_dev_info = device_info; in mmc_init()