Lines Matching refs:mmc_csd
27 static struct mmc_csd_emmc mmc_csd; variable
207 } else if (mmc_csd.spec_vers == 4U) { in mmc_set_ios()
273 mmc_dev_info->block_size = BIT_32(mmc_csd.read_bl_len); in mmc_fill_device_info()
275 c_size = ((unsigned long long)mmc_csd.c_size_high << 2U) | in mmc_fill_device_info()
276 (unsigned long long)mmc_csd.c_size_low; in mmc_fill_device_info()
280 BIT_64(mmc_csd.c_size_mult + 2U) * in mmc_fill_device_info()
286 assert(mmc_csd.csd_structure == 1U); in mmc_fill_device_info()
291 csd_sd_v2 = (struct mmc_csd_sd_v2 *)&mmc_csd; in mmc_fill_device_info()
308 speed_idx = (mmc_csd.tran_speed & CSD_TRAN_SPEED_MULT_MASK) >> in mmc_fill_device_info()
319 freq_unit = mmc_csd.tran_speed & CSD_TRAN_SPEED_UNIT_MASK; in mmc_fill_device_info()
476 memcpy(&mmc_csd, &resp_data, sizeof(resp_data)); in mmc_enumerate()