Searched refs:raw_scr (Results 1 – 1 of 1) sorted by relevance
21 static inline void sdmmc_decode_scr(struct sd_scr *scr, uint32_t *raw_scr, uint8_t *version) in sdmmc_decode_scr() argument26 scr->scr_structure = (uint8_t)((raw_scr[0U] & 0xF0000000U) >> 28U); in sdmmc_decode_scr()27 scr->sd_spec = (uint8_t)((raw_scr[0U] & 0xF000000U) >> 24U); in sdmmc_decode_scr()28 if ((uint8_t)((raw_scr[0U] & 0x800000U) >> 23U)) { in sdmmc_decode_scr()31 scr->sd_sec = (uint8_t)((raw_scr[0U] & 0x700000U) >> 20U); in sdmmc_decode_scr()32 scr->sd_width = (uint8_t)((raw_scr[0U] & 0xF0000U) >> 16U); in sdmmc_decode_scr()33 if ((uint8_t)((raw_scr[0U] & 0x8000U) >> 15U)) { in sdmmc_decode_scr()36 scr->sd_ext_sec = (uint8_t)((raw_scr[0U] & 0x7800U) >> 10U); in sdmmc_decode_scr()37 scr->cmd_support = (uint8_t)(raw_scr[0U] & 0x3U); in sdmmc_decode_scr()38 scr->rsvd = raw_scr[1U]; in sdmmc_decode_scr()[all …]