Home | History | Annotate | Download | only in boot2440

Lines Matching defs:ocr

475 	uint32_t ocr = 0;
502 SET(ocr, MMC_OCR_HCS);
505 * Read the SD/MMC memory OCR value by issuing CMD55 followed
506 * by ACMD41 to read the OCR value from memory-only SD cards.
512 ISSET(sc->caps, SMC_CAPS_SPI_MODE) ? ocr : 0, &card_ocr);
522 DPRINTF(("couldn't read memory OCR\n"));
533 /* get card OCR */
534 error = sdmmc_mem_spi_read_ocr(sc, ocr, &card_ocr);
536 DPRINTF(("%s: couldn't read SPI memory OCR\n",
551 host_ocr |= ocr;
553 /* Send the new OCR value until all cards are ready. */
556 DPRINTF(("Couldn't send memory OCR\n"));
565 sdmmc_mem_send_if_cond(struct sdmmc_softc *sc, uint32_t ocr, uint32_t *ocrp)
571 cmd.c_arg = ocr;
595 sdmmc_mem_send_op_cond(struct sdmmc_softc *sc, uint32_t ocr, uint32_t *ocrp)
603 * If we change the OCR value, retry the command until the OCR
610 ocr : (ocr & MMC_OCR_HCS);
628 ocr == 0)
639 DPRINTF(("sdmmc_mem_send_op_cond: error=%d, ocr=%x\n",