Searched refs:raw_cid (Results 1 – 2 of 2) sorted by relevance
729 uint32_t *raw_cid) in sdhc_decode_cid() argument731 cid->manufacturer = (uint8_t)((raw_cid[3U] & 0xFF000000U) >> 24U); in sdhc_decode_cid()732 cid->application = (uint16_t)((raw_cid[3U] & 0xFFFF00U) >> 8U); in sdhc_decode_cid()734 cid->name[0U] = (uint8_t)((raw_cid[3U] & 0xFFU)); in sdhc_decode_cid()735 cid->name[1U] = (uint8_t)((raw_cid[2U] & 0xFF000000U) >> 24U); in sdhc_decode_cid()736 cid->name[2U] = (uint8_t)((raw_cid[2U] & 0xFF0000U) >> 16U); in sdhc_decode_cid()737 cid->name[3U] = (uint8_t)((raw_cid[2U] & 0xFF00U) >> 8U); in sdhc_decode_cid()738 cid->name[4U] = (uint8_t)((raw_cid[2U] & 0xFFU)); in sdhc_decode_cid()740 cid->version = (uint8_t)((raw_cid[1U] & 0xFF000000U) >> 24U); in sdhc_decode_cid()742 cid->ser_num = (uint32_t)((raw_cid[1U] & 0xFFFFFFU) << 8U); in sdhc_decode_cid()[all …]
176 static inline void sdmmc_decode_cid(struct sd_cid *cid, uint32_t *raw_cid) in sdmmc_decode_cid() argument178 cid->manufacturer = (uint8_t)((raw_cid[3U] & 0xFF000000U) >> 24U); in sdmmc_decode_cid()179 cid->application = (uint16_t)((raw_cid[3U] & 0xFFFF00U) >> 8U); in sdmmc_decode_cid()181 cid->name[0U] = (uint8_t)((raw_cid[3U] & 0xFFU)); in sdmmc_decode_cid()182 cid->name[1U] = (uint8_t)((raw_cid[2U] & 0xFF000000U) >> 24U); in sdmmc_decode_cid()183 cid->name[2U] = (uint8_t)((raw_cid[2U] & 0xFF0000U) >> 16U); in sdmmc_decode_cid()184 cid->name[3U] = (uint8_t)((raw_cid[2U] & 0xFF00U) >> 8U); in sdmmc_decode_cid()185 cid->name[4U] = (uint8_t)((raw_cid[2U] & 0xFFU)); in sdmmc_decode_cid()187 cid->version = (uint8_t)((raw_cid[1U] & 0xFF000000U) >> 24U); in sdmmc_decode_cid()189 cid->ser_num = (uint32_t)((raw_cid[1U] & 0xFFFFFFU) << 8U); in sdmmc_decode_cid()[all …]