Home
last modified time | relevance | path

Searched refs:EXT_CSD_SEC_CNT (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dmmc.c399 card->ext_csd.raw_sectors[0] = ext_csd[EXT_CSD_SEC_CNT + 0]; in mmc_decode_ext_csd()
400 card->ext_csd.raw_sectors[1] = ext_csd[EXT_CSD_SEC_CNT + 1]; in mmc_decode_ext_csd()
401 card->ext_csd.raw_sectors[2] = ext_csd[EXT_CSD_SEC_CNT + 2]; in mmc_decode_ext_csd()
402 card->ext_csd.raw_sectors[3] = ext_csd[EXT_CSD_SEC_CNT + 3]; in mmc_decode_ext_csd()
405 ext_csd[EXT_CSD_SEC_CNT + 0] << 0 | in mmc_decode_ext_csd()
406 ext_csd[EXT_CSD_SEC_CNT + 1] << 8 | in mmc_decode_ext_csd()
407 ext_csd[EXT_CSD_SEC_CNT + 2] << 16 | in mmc_decode_ext_csd()
408 ext_csd[EXT_CSD_SEC_CNT + 3] << 24; in mmc_decode_ext_csd()
821 bw_ext_csd[EXT_CSD_SEC_CNT + 0]) && in mmc_compare_ext_csds()
823 bw_ext_csd[EXT_CSD_SEC_CNT + 1]) && in mmc_compare_ext_csds()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dmmc.c830 !memcmp(&ext_csd[EXT_CSD_SEC_CNT], in mmc_select_bus_width()
831 &test_csd[EXT_CSD_SEC_CNT], 4)) { in mmc_select_bus_width()
1902 capacity = ext_csd[EXT_CSD_SEC_CNT] << 0
1903 | ext_csd[EXT_CSD_SEC_CNT + 1] << 8
1904 | ext_csd[EXT_CSD_SEC_CNT + 2] << 16
1905 | ext_csd[EXT_CSD_SEC_CNT + 3] << 24;
2020 capacity = (ext_csd[EXT_CSD_SEC_CNT]) |
2021 (ext_csd[EXT_CSD_SEC_CNT + 1] << 8) |
2022 (ext_csd[EXT_CSD_SEC_CNT + 2] << 16) |
2023 (ext_csd[EXT_CSD_SEC_CNT + 3] << 24);
/OK3568_Linux_fs/kernel/include/linux/mmc/
H A Dmmc.h289 #define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */ macro
/OK3568_Linux_fs/u-boot/include/
H A Dmmc.h197 #define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */ macro