Searched refs:rocr (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/mmc/core/ |
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 | sd.c | 729 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 …]
|
D | sdio.c | 588 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()
|
D | sd.h | 8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
D | sdio_ops.h | 15 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | sd_ops.h | 16 int mmc_send_app_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 | 183 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()
|
D | mmc.c | 1207 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()
|