Lines Matching refs:ocr
359 static int mmc_init_card(struct mmc_host *host, u32 ocr,
379 err = mmc_send_op_cond(host, ocr | (1 << 30), NULL);
620 err = mmc_init_card(host, host->ocr, host->card);
630 mmc_init_card(host, host->ocr, host->card);
698 int mmc_attach_mmc(struct mmc_host *host, u32 ocr)
711 err = mmc_spi_read_ocr(host, 1, &ocr);
720 if (ocr & 0x7F) {
724 ocr &= ~0x7F;
727 host->ocr = mmc_select_voltage(host, ocr);
732 if (!host->ocr) {
740 err = mmc_init_card(host, host->ocr, NULL);