Searched refs:rocr (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/mmc/core/ |
A D | sdio_ops.c | 18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_io_op_cond() argument 56 if (rocr) in mmc_send_io_op_cond() 57 *rocr = cmd.resp[mmc_host_is_spi(host) ? 1 : 0]; in mmc_send_io_op_cond()
|
A D | sdio.c | 649 u32 rocr = 0; in mmc_sdio_init_card() local 667 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card() 687 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card() 688 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card() 722 if (rocr & ocr & R4_18V_PRESENT) { in mmc_sdio_init_card() 1185 u32 ocr, rocr; in mmc_attach_sdio() local 1199 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio() 1204 if (!rocr) { in mmc_attach_sdio() 1212 err = mmc_sdio_init_card(host, rocr, NULL); in mmc_attach_sdio()
|
A D | sd.c | 809 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument 856 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid() 867 if (!mmc_host_is_spi(host) && rocr && (*rocr & 0x01000000)) { in mmc_sd_get_cid() 1396 u32 rocr = 0; in mmc_sd_init_card() local 1401 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card() 1500 if (rocr & SD_ROCR_S18A && mmc_host_uhs(host)) { in mmc_sd_init_card() 1808 u32 ocr, rocr; in mmc_attach_sd() local 1837 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd() 1842 if (!rocr) { in mmc_attach_sd() 1850 err = mmc_sd_init_card(host, rocr, NULL); in mmc_attach_sd()
|
A D | sd_ops.c | 118 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument 156 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond() 157 *rocr = cmd.resp[0]; in mmc_send_app_op_cond()
|
A D | sd.h | 12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
A D | sd_ops.h | 17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
A D | sdio_ops.h | 18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
A D | mmc_ops.h | 29 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
A D | mmc.c | 1577 u32 rocr; in mmc_init_card() local 1595 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card() 1701 if (rocr & BIT(30)) in mmc_init_card() 2258 u32 ocr, rocr; in mmc_attach_mmc() local 2283 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc() 2288 if (!rocr) { in mmc_attach_mmc() 2296 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()
|
A D | mmc_ops.c | 176 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument 214 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond() 215 *rocr = cmd.resp[0]; in mmc_send_op_cond()
|
Completed in 632 milliseconds