Lines Matching refs:ocr

101 static int sdio_read_cccr(struct mmc_card *card, u32 ocr)  in sdio_read_cccr()  argument
105 int uhs = ocr & R4_18V_PRESENT; in sdio_read_cccr()
561 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, in mmc_sdio_init_card() argument
568 u32 ocr_card = ocr; in mmc_sdio_init_card()
574 ocr |= R4_18V_PRESENT; in mmc_sdio_init_card()
579 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
585 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card()
608 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card()
646 if (rocr & ocr & R4_18V_PRESENT) { in mmc_sdio_init_card()
653 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
714 err = sdio_read_cccr(card, ocr); in mmc_sdio_init_card()
717 if (ocr & R4_18V_PRESENT) { in mmc_sdio_init_card()
745 card->ocr = ocr_card; in mmc_sdio_init_card()
770 if ((ocr & R4_18V_PRESENT) && card->sw_caps.sd3_bus_mode) { in mmc_sdio_init_card()
840 mmc_send_if_cond(host, host->card->ocr); in mmc_sdio_reinit_card()
846 return mmc_sdio_init_card(host, host->card->ocr, host->card); in mmc_sdio_reinit_card()
990 mmc_power_up(host, host->card->ocr); in mmc_sdio_resume()
1044 mmc_power_up(host, host->card->ocr); in mmc_sdio_runtime_resume()
1053 mmc_power_cycle(host, host->card->ocr); in mmc_sdio_hw_reset()
1089 u32 ocr, rocr; in mmc_attach_sdio() local
1094 err = mmc_send_io_op_cond(host, 0, &ocr); in mmc_attach_sdio()
1103 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio()
1149 funcs = (ocr & 0x70000000) >> 28; in mmc_attach_sdio()