Searched refs:ext_csd (Results 1 – 3 of 3) sorted by relevance
124 uint8_t ext_csd[MMC_EXTCSD_SIZE]; member231 const uint8_t *ext_csd; in mmcsd_attach() local262 err = mmc_send_ext_csd(mmcbus, dev, sc->ext_csd); in mmcsd_attach()270 ext_csd = sc->ext_csd; in mmcsd_attach()285 if ((ext_csd[EXT_CSD_SEC_FEATURE_SUPPORT] & in mmcsd_attach()300 rev = ext_csd[EXT_CSD_REV]; in mmcsd_attach()308 size = le32dec(&ext_csd[EXT_CSD_CACHE_SIZE]); in mmcsd_attach()328 comp = (ext_csd[EXT_CSD_PART_SET] & EXT_CSD_PART_SET_COMPLETED) != 0; in mmcsd_attach()341 size = ext_csd[EXT_CSD_ENH_SIZE_MULT] + in mmcsd_attach()342 (ext_csd[EXT_CSD_ENH_SIZE_MULT + 1] << 8) + in mmcsd_attach()[all …]
822 const uint8_t *ext_csd; in mmc_set_power_class() local 836 ext_csd = ivar->raw_ext_csd; in mmc_set_power_class() 841 value = ext_csd[EXT_CSD_PWR_CL_26_195]; in mmc_set_power_class() 845 value = ext_csd[EXT_CSD_PWR_CL_52_195_DDR]; in mmc_set_power_class() 847 value = ext_csd[EXT_CSD_PWR_CL_52_195]; in mmc_set_power_class() 849 value = ext_csd[EXT_CSD_PWR_CL_200_195]; in mmc_set_power_class() 861 value = ext_csd[EXT_CSD_PWR_CL_26_360]; in mmc_set_power_class() 865 value = ext_csd[EXT_CSD_PWR_CL_52_360_DDR]; in mmc_set_power_class() 867 value = ext_csd[EXT_CSD_PWR_CL_52_360]; in mmc_set_power_class() 870 value = ext_csd[EXT_CSD_PWR_CL_200_360_DD in mmc_set_power_class() 1588 const uint8_t *ext_csd; mmc_discover_cards() local [all...]
1632 const uint8_t *ext_csd; in sdda_process_mmc_partitions() local1636 ext_csd = sc->raw_ext_csd; in sdda_process_mmc_partitions()1643 rev = ext_csd[EXT_CSD_REV]; in sdda_process_mmc_partitions()1649 comp = (ext_csd[EXT_CSD_PART_SET] & EXT_CSD_PART_SET_COMPLETED) != 0; in sdda_process_mmc_partitions()1662 size = ext_csd[EXT_CSD_ENH_SIZE_MULT] + in sdda_process_mmc_partitions()1663 (ext_csd[EXT_CSD_ENH_SIZE_MULT + 1] << 8) + in sdda_process_mmc_partitions()1664 (ext_csd[EXT_CSD_ENH_SIZE_MULT + 2] << 16); in sdda_process_mmc_partitions()1666 (ext_csd[EXT_CSD_PART_SUPPORT] & in sdda_process_mmc_partitions()1668 (ext_csd[EXT_CSD_PART_ATTR] & (EXT_CSD_PART_ATTR_ENH_USR)) != 0) { in sdda_process_mmc_partitions()1669 erase_size = ext_csd[EXT_CSD_ERASE_GRP_SIZE] * 1024 * in sdda_process_mmc_partitions()[all …]