Lines Matching refs:ocr
791 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
1548 static int mmc_init_card(struct mmc_host *host, u32 ocr, in mmc_init_card() argument
1572 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1611 card->ocr = ocr; in mmc_init_card()
2074 mmc_power_up(host, host->card->ocr); in _mmc_resume()
2075 err = mmc_init_card(host, host->card->ocr, host->card); in _mmc_resume()
2175 mmc_power_cycle(host, card->ocr); in _mmc_hw_reset()
2178 return mmc_init_card(host, card->ocr, card); in _mmc_hw_reset()
2199 u32 ocr, rocr; in mmc_attach_mmc() local
2207 err = mmc_send_op_cond(host, 0, &ocr); in mmc_attach_mmc()
2219 err = mmc_spi_read_ocr(host, 1, &ocr); in mmc_attach_mmc()
2224 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc()