Searched refs:raw_cid (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/mmc/ |
H A D | mmc.c | 85 uint32_t raw_cid[4]; /* Raw bits of the CID */ member 177 static void mmc_decode_cid_mmc(uint32_t *raw_cid, struct mmc_cid *cid, 179 static void mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid); 1084 mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid) in mmc_decode_cid_sd() argument 1090 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_sd() 1091 cid->oid = mmc_get_bits(raw_cid, 128, 104, 16); in mmc_decode_cid_sd() 1093 cid->pnm[i] = mmc_get_bits(raw_cid, 128, 96 - i * 8, 8); in mmc_decode_cid_sd() 1095 cid->prv = mmc_get_bits(raw_cid, 128, 56, 8); in mmc_decode_cid_sd() 1096 cid->psn = mmc_get_bits(raw_cid, 128, 24, 32); in mmc_decode_cid_sd() 1097 cid->mdt_year = mmc_get_bits(raw_cid, 128, 12, 8) + 2000; in mmc_decode_cid_sd() [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 365 mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid) in mmc_decode_cid_sd() argument 371 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_sd() 372 cid->oid = mmc_get_bits(raw_cid, 128, 104, 16); in mmc_decode_cid_sd() 374 cid->pnm[i] = mmc_get_bits(raw_cid, 128, 96 - i * 8, 8); in mmc_decode_cid_sd() 376 cid->prv = mmc_get_bits(raw_cid, 128, 56, 8); in mmc_decode_cid_sd() 377 cid->psn = mmc_get_bits(raw_cid, 128, 24, 32); in mmc_decode_cid_sd() 378 cid->mdt_year = mmc_get_bits(raw_cid, 128, 12, 8) + 2000; in mmc_decode_cid_sd() 379 cid->mdt_month = mmc_get_bits(raw_cid, 128, 8, 4); in mmc_decode_cid_sd() 383 mmc_decode_cid_mmc(uint32_t *raw_cid, struct mmc_cid *cid) in mmc_decode_cid_mmc() argument 389 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_mmc() [all …]
|