Searched refs:raw_cid (Results 1 – 1 of 1) sorted by relevance
185 static inline void sdmmc_decode_cid(struct sd_cid *cid, uint32_t *raw_cid) in sdmmc_decode_cid() argument187 cid->manufacturer = (uint8_t)((raw_cid[3U] & 0xFF000000U) >> 24U); in sdmmc_decode_cid()188 cid->application = (uint16_t)((raw_cid[3U] & 0xFFFF00U) >> 8U); in sdmmc_decode_cid()190 cid->name[0U] = (uint8_t)((raw_cid[3U] & 0xFFU)); in sdmmc_decode_cid()191 cid->name[1U] = (uint8_t)((raw_cid[2U] & 0xFF000000U) >> 24U); in sdmmc_decode_cid()192 cid->name[2U] = (uint8_t)((raw_cid[2U] & 0xFF0000U) >> 16U); in sdmmc_decode_cid()193 cid->name[3U] = (uint8_t)((raw_cid[2U] & 0xFF00U) >> 8U); in sdmmc_decode_cid()194 cid->name[4U] = (uint8_t)((raw_cid[2U] & 0xFFU)); in sdmmc_decode_cid()196 cid->version = (uint8_t)((raw_cid[1U] & 0xFF000000U) >> 24U); in sdmmc_decode_cid()198 cid->ser_num = (uint32_t)((raw_cid[1U] & 0xFFFFFFU) << 8U); in sdmmc_decode_cid()[all …]