Home
last modified time | relevance | path

Searched refs:rocr (Results 1 – 11 of 11) sorted by relevance

/drivers/mmc/core/
A Dsdio.c666 u32 rocr = 0; in mmc_sdio_init_card() local
684 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card()
704 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card()
705 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card()
742 if (rocr & ocr & R4_18V_PRESENT) { in mmc_sdio_init_card()
1211 u32 ocr, rocr; in mmc_attach_sdio() local
1225 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio()
1230 if (!rocr) { in mmc_attach_sdio()
1238 err = mmc_sdio_init_card(host, rocr, NULL); in mmc_attach_sdio()
A Dsdio_ops.c18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_io_op_cond() argument
56 if (rocr) in mmc_send_io_op_cond()
57 *rocr = cmd.resp[mmc_host_is_spi(host) ? 1 : 0]; in mmc_send_io_op_cond()
A Dsd.c831 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument
881 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid()
893 rocr && (*rocr & SD_ROCR_S18A)) { in mmc_sd_get_cid()
1428 u32 rocr = 0; in mmc_sd_init_card() local
1433 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card()
1475 bool is_sduc = (rocr & sduc_arg) == sduc_arg; in mmc_sd_init_card()
1527 if (rocr & SD_ROCR_S18A && mmc_host_can_uhs(host)) { in mmc_sd_init_card()
1860 u32 ocr, rocr; in mmc_attach_sd() local
1889 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd()
1894 if (!rocr) { in mmc_attach_sd()
[all …]
A Dsd_uhs2.c869 u32 rocr; in sd_uhs2_legacy_init() local
899 rocr = mmc_select_voltage(host, ocr); in sd_uhs2_legacy_init()
904 if (!rocr) in sd_uhs2_legacy_init()
905 rocr = host->ocr_avail; in sd_uhs2_legacy_init()
907 rocr |= (SD_OCR_CCS | SD_OCR_XPC); in sd_uhs2_legacy_init()
910 ocr = rocr; in sd_uhs2_legacy_init()
912 err = mmc_send_app_op_cond(host, ocr, &rocr); in sd_uhs2_legacy_init()
A Dsd_ops.c172 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument
195 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond()
196 *rocr = cmd.resp[0]; in mmc_send_app_op_cond()
A Dsd.h12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
A Dsd_ops.h18 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
A Dsdio_ops.h18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
A Dmmc_ops.h30 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
A Dmmc.c1610 u32 rocr; in mmc_init_card() local
1628 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1734 if (rocr & BIT(30)) in mmc_init_card()
2325 u32 ocr, rocr; in mmc_attach_mmc() local
2350 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc()
2355 if (!rocr) { in mmc_attach_mmc()
2363 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()
A Dmmc_ops.c231 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument
251 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond()
252 *rocr = cmd.resp[0]; in mmc_send_op_cond()

Completed in 32 milliseconds