Home
last modified time | relevance | path

Searched refs:ext_csd (Results 1 – 6 of 6) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/mmc/
Dmmc.c727 int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd) in mmc_send_ext_csd() argument
738 data.dest = (char *)ext_csd; in mmc_send_ext_csd()
891 u8 *ext_csd = mmc->ext_csd; in mmc_get_capabilities() local
903 if (!ext_csd) { in mmc_get_capabilities()
910 cardtype = ext_csd[EXT_CSD_CARD_TYPE]; in mmc_get_capabilities()
935 if (ext_csd[EXT_CSD_STROBE_SUPPORT] && in mmc_get_capabilities()
1010 ALLOC_CACHE_ALIGN_BUFFER(u8, ext_csd, MMC_MAX_BLOCK_LEN); in mmc_hwpart_config()
1069 err = mmc_send_ext_csd(mmc, ext_csd); in mmc_hwpart_config()
1074 (ext_csd[EXT_CSD_MAX_ENH_SIZE_MULT+2] << 16) + in mmc_hwpart_config()
1075 (ext_csd[EXT_CSD_MAX_ENH_SIZE_MULT+1] << 8) + in mmc_hwpart_config()
[all …]
Dmmc_boot.c176 ALLOC_CACHE_ALIGN_BUFFER(u8, ext_csd, MMC_MAX_BLOCK_LEN); in mmc_set_boot_config()
178 err = mmc_send_ext_csd(mmc, ext_csd); in mmc_set_boot_config()
184 rev = ext_csd[EXT_CSD_REV]; in mmc_set_boot_config()
185 rst_n_en = ext_csd[EXT_CSD_RST_N_FUNCTION] & EXT_CSD_RST_N_EN_MASK; in mmc_set_boot_config()
195 (ext_csd[EXT_CSD_WR_REL_PARAM] & EXT_CSD_HS_CTRL_REL)) { in mmc_set_boot_config()
196 val = ext_csd[EXT_CSD_WR_REL_SET]; in mmc_set_boot_config()
222 if (ext_csd[EXT_CSD_PART_CONF] != part_conf) { in mmc_set_boot_config()
232 if (ext_csd[EXT_CSD_BOOT_BUS_WIDTH] != bus_cond) { in mmc_set_boot_config()
245 err = mmc_send_ext_csd(mmc, ext_csd); in mmc_set_boot_config()
251 if (part_conf != ext_csd[EXT_CSD_PART_CONF] || in mmc_set_boot_config()
[all …]
Dhimci.c1150 unsigned char ext_csd[512]; in print_ext_csd() local
1155 int err = mmc_send_ext_csd(mmc, ext_csd); in print_ext_csd()
1165 ext_csd[tmp], ext_csd[tmp + 1], ext_csd[tmp + 2], in print_ext_csd()
1166 ext_csd[tmp + 3], ext_csd[tmp + 4], ext_csd[tmp + 5], in print_ext_csd()
1167 ext_csd[tmp + 6], ext_csd[tmp + 7]); in print_ext_csd()
/third_party/uboot/u-boot-2020.01/drivers/tee/optee/
Drpmb.c106 if (!mmc->ext_csd) in rpmb_get_dev_info()
112 info->rel_wr_sec_c = mmc->ext_csd[222]; in rpmb_get_dev_info()
113 info->rpmb_size_mult = mmc->ext_csd[168]; in rpmb_get_dev_info()
/third_party/uboot/u-boot-2020.01/cmd/
Dmmc.c102 ALLOC_CACHE_ALIGN_BUFFER(u8, ext_csd, MMC_MAX_BLOCK_LEN); in print_mmcreg()
111 err = mmc_send_ext_csd(mmc, ext_csd); in print_mmcreg()
122 ext_csd[i], in print_mmcreg()
123 ext_csd[i+1], in print_mmcreg()
124 ext_csd[i+2], in print_mmcreg()
125 ext_csd[i+3], in print_mmcreg()
126 ext_csd[i+4], in print_mmcreg()
127 ext_csd[i+5], in print_mmcreg()
128 ext_csd[i+6], in print_mmcreg()
129 ext_csd[i+7]); in print_mmcreg()
/third_party/uboot/u-boot-2020.01/include/
Dmmc.h666 u8 *ext_csd; member
786 int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd);