Home
last modified time | relevance | path

Searched refs:raw_scr (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/subsys/sd/
Dsdmmc.c22 uint32_t *raw_scr, uint8_t *version) in sdmmc_decode_scr() argument
27 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdmmc_decode_scr()
28 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdmmc_decode_scr()
29 if ((uint8_t)((raw_scr[0U] & 0x800000U) >> 23U)) { in sdmmc_decode_scr()
32 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdmmc_decode_scr()
33 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdmmc_decode_scr()
34 if ((uint8_t)((raw_scr[0U] & 0x8000U) >> 15U)) { in sdmmc_decode_scr()
37 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdmmc_decode_scr()
38 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdmmc_decode_scr()
39 scr->rsvd = raw_scr[1U]; in sdmmc_decode_scr()
[all …]
/Zephyr-Core-3.5.0/drivers/disk/
Dsdmmc_sdhc.h691 uint32_t *raw_scr, uint32_t *version) in sdhc_decode_scr() argument
695 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdhc_decode_scr()
696 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdhc_decode_scr()
697 if ((uint8_t)((raw_scr[0U] & 0x800000U) >> 23U)) in sdhc_decode_scr()
699 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdhc_decode_scr()
700 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdhc_decode_scr()
701 if ((uint8_t)((raw_scr[0U] & 0x8000U) >> 15U)) in sdhc_decode_scr()
703 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdhc_decode_scr()
704 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdhc_decode_scr()
705 scr->rsvd = raw_scr[1U]; in sdhc_decode_scr()