Lines Matching refs:ocr
833 u32 mmc_select_voltage(struct mmc_host *host, u32 ocr)
837 ocr &= host->ocr_avail;
839 bit = ffs(ocr);
843 ocr &= 3 << bit;
850 ocr = 0;
853 return ocr;
880 /* If ocr is set, we use it */
881 if (host->ocr)
882 bit = ffs(host->ocr) - 1;
1399 u32 ocr;
1452 err = mmc_send_io_op_cond(host, 0, &ocr);
1454 if (mmc_attach_sdio(host, ocr)) {
1457 if (mmc_send_app_op_cond(host, 0, &ocr))
1460 if (mmc_attach_sd(host, ocr))
1469 err = mmc_send_app_op_cond(host, 0, &ocr);
1471 if (mmc_attach_sd(host, ocr))
1479 err = mmc_send_op_cond(host, 0, &ocr);
1481 if (mmc_attach_mmc(host, ocr))
1665 mmc_select_voltage(host, host->ocr);