Searched refs:rocr (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/mmc/core/ |
D | sd.c | 718 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument 765 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid() 773 if (!mmc_host_is_spi(host) && rocr && in mmc_sd_get_cid() 774 ((*rocr & 0x41000000) == 0x41000000)) { in mmc_sd_get_cid() 929 u32 rocr = 0; in mmc_sd_init_card() local 934 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card() 1030 if (rocr & SD_ROCR_S18A && mmc_host_uhs(host)) { in mmc_sd_init_card() 1249 u32 ocr, rocr; in mmc_attach_sd() local 1272 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd() 1277 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 60 if (rocr) in mmc_send_io_op_cond() 61 *rocr = cmd.resp[mmc_host_is_spi(host) ? 1 : 0]; in mmc_send_io_op_cond()
|
D | sdio.c | 571 u32 rocr = 0; in mmc_sdio_init_card() local 590 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card() 613 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card() 614 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card() 648 if (!powered_resume && (rocr & ocr & R4_18V_PRESENT)) { in mmc_sdio_init_card() 1091 u32 ocr, rocr; in mmc_attach_sdio() local 1105 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio() 1110 if (!rocr) { in mmc_attach_sdio() 1118 err = mmc_sdio_init_card(host, rocr, NULL, 0); in mmc_attach_sdio()
|
D | sd_ops.c | 142 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument 180 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond() 181 *rocr = cmd.resp[0]; in mmc_send_app_op_cond()
|
D | sd.h | 12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
D | sd_ops.h | 22 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | sdio_ops.h | 22 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | mmc_ops.h | 24 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | mmc.c | 1554 u32 rocr; in mmc_init_card() local 1572 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card() 1676 if (rocr & BIT(30)) in mmc_init_card() 2189 u32 ocr, rocr; in mmc_attach_mmc() local 2214 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc() 2219 if (!rocr) { in mmc_attach_mmc() 2227 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()
|
D | mmc_ops.c | 173 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument 205 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond() 206 *rocr = cmd.resp[0]; in mmc_send_op_cond()
|