Lines Matching refs:ext

444 static int mmc_set_power_class_HS200(struct sd_card *card, struct mmc_ext_csd *ext)  in mmc_set_power_class_HS200()  argument
450 cmd.arg = ((MMC_SWITCH_PWR_CLASS_ARG) | (ext->pwr_class_200MHZ_VCCQ195 << 8)); in mmc_set_power_class_HS200()
458 static int mmc_set_timing(struct sd_card *card, struct mmc_ext_csd *ext) in mmc_set_timing() argument
464 if ((ext->device_type.MMC_HS200_SDR_1200MV || ext->device_type.MMC_HS200_SDR_1800MV) && in mmc_set_timing()
475 } else if (ext->device_type.MMC_HS_52_DV) { in mmc_set_timing()
477 } else if (ext->device_type.MMC_HS_26_DV) { in mmc_set_timing()
501 ret = mmc_set_power_class_HS200(card, ext); in mmc_set_timing()
523 if ((ext->device_type.MMC_HS400_DDR_1200MV || ext->device_type.MMC_HS400_DDR_1800MV) && in mmc_set_timing()
600 static inline void mmc_decode_ext_csd(struct mmc_ext_csd *ext, uint8_t *raw) in mmc_decode_ext_csd() argument
602 ext->sec_count = in mmc_decode_ext_csd()
604 ext->bus_width = raw[183U]; in mmc_decode_ext_csd()
605 ext->hs_timing = raw[185U]; in mmc_decode_ext_csd()
606 ext->device_type.MMC_HS400_DDR_1200MV = ((1 << 7U) & raw[196U]); in mmc_decode_ext_csd()
607 ext->device_type.MMC_HS400_DDR_1800MV = ((1 << 6U) & raw[196U]); in mmc_decode_ext_csd()
608 ext->device_type.MMC_HS200_SDR_1200MV = ((1 << 5U) & raw[196U]); in mmc_decode_ext_csd()
609 ext->device_type.MMC_HS200_SDR_1800MV = ((1 << 4U) & raw[196U]); in mmc_decode_ext_csd()
610 ext->device_type.MMC_HS_DDR_1200MV = ((1 << 3U) & raw[196U]); in mmc_decode_ext_csd()
611 ext->device_type.MMC_HS_DDR_1800MV = ((1 << 2U) & raw[196U]); in mmc_decode_ext_csd()
612 ext->device_type.MMC_HS_52_DV = ((1 << 1U) & raw[196U]); in mmc_decode_ext_csd()
613 ext->device_type.MMC_HS_26_DV = ((1 << 0U) & raw[196U]); in mmc_decode_ext_csd()
614 ext->rev = raw[192U]; in mmc_decode_ext_csd()
615 ext->power_class = (raw[187] & 0x0F); in mmc_decode_ext_csd()
616 ext->mmc_driver_strengths = raw[197U]; in mmc_decode_ext_csd()
617 ext->pwr_class_200MHZ_VCCQ195 = raw[237U]; in mmc_decode_ext_csd()
618 ext->cache_size = in mmc_decode_ext_csd()