Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mmc/core/
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()
Dsd.c792 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument
839 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid()
847 if (!mmc_host_is_spi(host) && rocr && in mmc_sd_get_cid()
848 ((*rocr & 0x41000000) == 0x41000000)) { in mmc_sd_get_cid()
1003 u32 rocr = 0; in mmc_sd_init_card() local
1008 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card()
1107 if (rocr & SD_ROCR_S18A && mmc_host_uhs(host)) { in mmc_sd_init_card()
1336 u32 ocr, rocr; in mmc_attach_sd() local
1365 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd()
1370 if (!rocr) { in mmc_attach_sd()
[all …]
Dsdio.c649 u32 rocr = 0; in mmc_sdio_init_card() local
667 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card()
687 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card()
688 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card()
722 if (rocr & ocr & R4_18V_PRESENT) { in mmc_sdio_init_card()
1171 u32 ocr, rocr; in mmc_attach_sdio() local
1185 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio()
1190 if (!rocr) { in mmc_attach_sdio()
1198 err = mmc_sdio_init_card(host, rocr, NULL); in mmc_attach_sdio()
Dsd_ops.c117 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument
155 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond()
156 *rocr = cmd.resp[0]; in mmc_send_app_op_cond()
Dsd.h12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
Dsd_ops.h17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dsdio_ops.h18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dmmc_ops.h26 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dmmc_ops.c171 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument
209 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond()
210 *rocr = cmd.resp[0]; in mmc_send_op_cond()
Dmmc.c1559 u32 rocr; in mmc_init_card() local
1577 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1683 if (rocr & BIT(30)) in mmc_init_card()
2216 u32 ocr, rocr; in mmc_attach_mmc() local
2241 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc()
2246 if (!rocr) { in mmc_attach_mmc()
2254 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()