Lines Matching defs:cid
130 struct sdmmc_cid cid; /* decoded CID value */
782 * Read the CSD and CID from all cards and assign each card a unique
809 DPRINTF(("Couldn't read CID\n"));
825 * Remember the CID returned in the CMD2 response for
857 * Read the CSDs and decode the raw CID for each card.
873 printf("CID: ");
874 sdmmc_print_cid(&sc->cid);
926 sdmmc_dump_data("CID", cmd.c_resp, sizeof(cmd.c_resp));
1100 struct sdmmc_cid *cid = &sc->cid;
1103 cid->mid = SD_CID_MID(resp);
1104 cid->oid = SD_CID_OID(resp);
1105 SD_CID_PNM_CPY(resp, cid->pnm);
1106 cid->rev = SD_CID_REV(resp);
1107 cid->psn = SD_CID_PSN(resp);
1108 cid->mdt = SD_CID_MDT(resp);
1113 cid->mid = MMC_CID_MID_V1(resp);
1114 MMC_CID_PNM_V1_CPY(resp, cid->pnm);
1115 cid->rev = MMC_CID_REV_V1(resp);
1116 cid->psn = MMC_CID_PSN_V1(resp);
1117 cid->mdt = MMC_CID_MDT_V1(resp);
1122 cid->mid = MMC_CID_MID_V2(resp);
1123 cid->oid = MMC_CID_OID_V2(resp);
1124 MMC_CID_PNM_V2_CPY(resp, cid->pnm);
1125 cid->psn = MMC_CID_PSN_V2(resp);
1137 sdmmc_print_cid(struct sdmmc_cid *cid)
1141 " mdt=%03x\n", cid->mid, cid->oid, cid->pnm, cid->rev, cid->psn,
1142 cid->mdt);