Lines Matching defs:rca
126 uint16_t rca; /* relative card address */
671 sdmmc_app_command(struct sdmmc_softc *sc, uint16_t rca,
679 if (rca != 0) {
680 acmd.c_arg = rca << 16;
783 * relative card address (RCA). CMD2 is ignored by SDIO-only cards.
799 * card remains silent once it has been assigned a RCA.
813 /* In MMC mode, find the next available RCA. */
822 sf->rca = next_rca;*/
831 * Silence the card by assigning it a unique RCA, or
832 * querying it for its RCA in the case of SD.
836 DPRINTF(("couldn't set mem RCA\n"));
880 * Retrieve (SD) or set (MMC) the relative card address (RCA).
899 cmd.c_arg = MMC_ARG_RCA(sc->rca);
907 sc->rca = SD_R6_RCA(cmd.c_resp);
999 cmd.c_arg = MMC_ARG_RCA(sc->rca);
1172 cmd.c_arg = MMC_ARG_RCA(sc->rca);
1184 cmd.c_arg = MMC_ARG_RCA(sc->rca);
1209 || (sf && sc->sc_card && sc->sc_card->rca == sf->rca)) {
1216 cmd.c_arg = (sc == NULL) ? 0 : MMC_ARG_RCA(sc->rca);
1270 error = sdmmc_app_command(sc, sc->rca, &cmd);
1349 error = sdmmc_app_command(sc, sc->rca, &cmd);