Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/mmc/
H A Dmmc.c86 uint32_t raw_cid[4]; /* Raw bits of the CID */ member
1091 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_sd()
1096 cid->prv = mmc_get_bits(raw_cid, 128, 56, 8); in mmc_decode_cid_sd()
1097 cid->psn = mmc_get_bits(raw_cid, 128, 24, 32); in mmc_decode_cid_sd()
1109 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_mmc()
1114 cid->prv = mmc_get_bits(raw_cid, 128, 48, 8); in mmc_decode_cid_mmc()
1586 uint32_t raw_cid[4]; in mmc_discover_cards() local
1603 err = mmc_all_send_cid(sc, raw_cid); in mmc_discover_cards()
1614 if (memcmp(ivar->raw_cid, raw_cid, sizeof(raw_cid)) == in mmc_discover_cards()
1624 raw_cid[0], raw_cid[1], raw_cid[2], raw_cid[3]); in mmc_discover_cards()
[all …]
/freebsd-14.2/sys/cam/mmc/
H A Dmmc_da.c366 mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid) in mmc_decode_cid_sd() argument
372 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_sd()
373 cid->oid = mmc_get_bits(raw_cid, 128, 104, 16); in mmc_decode_cid_sd()
377 cid->prv = mmc_get_bits(raw_cid, 128, 56, 8); in mmc_decode_cid_sd()
378 cid->psn = mmc_get_bits(raw_cid, 128, 24, 32); in mmc_decode_cid_sd()
380 cid->mdt_month = mmc_get_bits(raw_cid, 128, 8, 4); in mmc_decode_cid_sd()
390 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); in mmc_decode_cid_mmc()
391 cid->oid = mmc_get_bits(raw_cid, 128, 104, 8); in mmc_decode_cid_mmc()
395 cid->prv = mmc_get_bits(raw_cid, 128, 48, 8); in mmc_decode_cid_mmc()
396 cid->psn = mmc_get_bits(raw_cid, 128, 16, 32); in mmc_decode_cid_mmc()
[all …]