Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mmc/core/
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()
Dsd.c729 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument
776 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid()
784 if (!mmc_host_is_spi(host) && rocr && in mmc_sd_get_cid()
785 ((*rocr & 0x41000000) == 0x41000000)) { in mmc_sd_get_cid()
919 u32 rocr = 0; in mmc_sd_init_card() local
924 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card()
990 if (rocr & SD_ROCR_S18A) { in mmc_sd_init_card()
1236 u32 ocr, rocr; in mmc_attach_sd() local
1260 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd()
1265 if (!rocr) { in mmc_attach_sd()
[all …]
Dsdio.c588 u32 rocr = 0; in mmc_sdio_init_card() local
608 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card()
631 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card()
632 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card()
662 if (!powered_resume && (rocr & ocr & R4_18V_PRESENT)) { in mmc_sdio_init_card()
1078 u32 ocr, rocr; in mmc_attach_sdio() local
1093 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio()
1098 if (!rocr) { in mmc_attach_sdio()
1106 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);
Dsdio_ops.h15 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
Dsd_ops.h16 int mmc_send_app_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.c183 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument
217 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond()
218 *rocr = cmd.resp[0]; in mmc_send_op_cond()
Dmmc.c1207 u32 rocr; in mmc_init_card() local
1226 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card()
1332 if (!(mmc_card_blockaddr(card)) && (rocr & (1<<30))) in mmc_init_card()
1862 u32 ocr, rocr; in mmc_attach_mmc() local
1888 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc()
1893 if (!rocr) { in mmc_attach_mmc()
1901 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()