Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mmc/core/
Dsd.c694 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument
741 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid()
749 if (!mmc_host_is_spi(host) && rocr && in mmc_sd_get_cid()
750 ((*rocr & 0x41000000) == 0x41000000)) { in mmc_sd_get_cid()
898 u32 rocr = 0; in mmc_sd_init_card() local
903 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card()
969 if (rocr & SD_ROCR_S18A) { in mmc_sd_init_card()
1203 u32 ocr, rocr; in mmc_attach_sd() local
1227 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd()
1232 if (!rocr) { in mmc_attach_sd()
[all …]
Dsdio_ops.c22 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_io_op_cond() argument
62 if (rocr) in mmc_send_io_op_cond()
63 *rocr = cmd.resp[mmc_host_is_spi(host) ? 1 : 0]; in mmc_send_io_op_cond()
Dsdio.c557 u32 rocr = 0; in mmc_sdio_init_card() local
577 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card()
600 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card()
601 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card()
631 if (!powered_resume && (rocr & ocr & R4_18V_PRESENT)) { in mmc_sdio_init_card()
1065 u32 ocr, rocr; in mmc_attach_sdio() local
1080 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio()
1085 if (!rocr) { in mmc_attach_sdio()
1093 err = mmc_sdio_init_card(host, rocr, NULL, 0); in mmc_attach_sdio()
Dsd.h8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
Dsd_ops.h16 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dsdio_ops.h17 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dsd_ops.c150 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument
190 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond()
191 *rocr = cmd.resp[0]; in mmc_send_app_op_cond()
Dmmc_ops.h19 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dmmc_ops.c184 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument
218 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond()
219 *rocr = cmd.resp[0]; in mmc_send_op_cond()
Dmmc.c1373 u32 rocr; in mmc_init_card() local
1392 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1498 if (!(mmc_card_blockaddr(card)) && (rocr & (1<<30))) in mmc_init_card()
2012 u32 ocr, rocr; in mmc_attach_mmc() local
2038 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc()
2043 if (!rocr) { in mmc_attach_mmc()
2051 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()