Searched refs:rocr (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/mmc/core/ |
D | sd.c | 694 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 …]
|
D | sdio_ops.c | 22 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()
|
D | sdio.c | 557 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()
|
D | sd.h | 8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
D | sd_ops.h | 16 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | sdio_ops.h | 17 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | sd_ops.c | 150 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()
|
D | mmc_ops.h | 19 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | mmc_ops.c | 184 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()
|
D | mmc.c | 1373 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()
|