Lines Matching refs:ocr
805 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
1571 static int mmc_init_card(struct mmc_host *host, u32 ocr, in mmc_init_card() argument
1595 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1634 card->ocr = ocr; in mmc_init_card()
2131 mmc_power_up(host, host->card->ocr); in _mmc_resume()
2132 err = mmc_init_card(host, host->card->ocr, host->card); in _mmc_resume()
2232 mmc_power_cycle(host, card->ocr); in _mmc_hw_reset()
2235 return mmc_init_card(host, card->ocr, card); in _mmc_hw_reset()
2258 u32 ocr, rocr; in mmc_attach_mmc() local
2266 err = mmc_send_op_cond(host, 0, &ocr); in mmc_attach_mmc()
2278 err = mmc_spi_read_ocr(host, 1, &ocr); in mmc_attach_mmc()
2283 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc()