• Home
  • Raw
  • Download

Lines Matching refs:ocr

106 static int sdio_read_cccr(struct mmc_card *card, u32 ocr)  in sdio_read_cccr()  argument
110 int uhs = ocr & R4_18V_PRESENT; in sdio_read_cccr()
589 static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr, in mmc_sdio_init_card() argument
596 u32 ocr_card = ocr; in mmc_sdio_init_card()
603 ocr |= R4_18V_PRESENT; in mmc_sdio_init_card()
608 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
615 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card()
639 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card()
669 if (!powered_resume && (rocr & ocr & R4_18V_PRESENT)) { in mmc_sdio_init_card()
680 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
684 ocr &= ~R4_18V_PRESENT; in mmc_sdio_init_card()
748 err = sdio_read_cccr(card, ocr); in mmc_sdio_init_card()
779 card->ocr = ocr_card; in mmc_sdio_init_card()
804 if ((ocr & R4_18V_PRESENT) && card->sw_caps.sd3_bus_mode) { in mmc_sdio_init_card()
980 mmc_power_up(host, host->card->ocr); in mmc_sdio_resume()
998 err = mmc_sdio_init_card(host, host->card->ocr, host->card, in mmc_sdio_resume()
1059 ret = mmc_sdio_init_card(host, host->card->ocr, host->card, in mmc_sdio_power_restore()
1080 mmc_power_up(host, host->card->ocr); in mmc_sdio_runtime_resume()
1103 u32 ocr, rocr; in mmc_attach_sdio() local
1109 err = mmc_send_io_op_cond(host, 0, &ocr); in mmc_attach_sdio()
1118 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio()
1158 funcs = (ocr & 0x70000000) >> 28; in mmc_attach_sdio()
1241 u32 ocr; in sdio_reset_comm() local
1252 err = mmc_send_io_op_cond(host, 0, &ocr); in sdio_reset_comm()
1256 rocr = mmc_select_voltage(host, ocr); in sdio_reset_comm()