| /linux-6.15/drivers/mmc/core/ |
| H 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()
|
| H A D | sdio.c | 666 u32 rocr = 0; in mmc_sdio_init_card() local 684 err = mmc_send_io_op_cond(host, ocr, &rocr); in mmc_sdio_init_card() 704 if ((rocr & R4_MEMORY_PRESENT) && in mmc_sdio_init_card() 705 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { in mmc_sdio_init_card() 742 if (rocr & ocr & R4_18V_PRESENT) { in mmc_sdio_init_card() 1211 u32 ocr, rocr; in mmc_attach_sdio() local 1225 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio() 1230 if (!rocr) { in mmc_attach_sdio() 1238 err = mmc_sdio_init_card(host, rocr, NULL); in mmc_attach_sdio()
|
| H A D | sd.c | 815 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument 865 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid() 877 rocr && (*rocr & SD_ROCR_S18A)) { in mmc_sd_get_cid() 1412 u32 rocr = 0; in mmc_sd_init_card() local 1417 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card() 1459 bool is_sduc = (rocr & sduc_arg) == sduc_arg; in mmc_sd_init_card() 1511 if (rocr & SD_ROCR_S18A && mmc_host_uhs(host)) { in mmc_sd_init_card() 1839 u32 ocr, rocr; in mmc_attach_sd() local 1868 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd() 1873 if (!rocr) { in mmc_attach_sd() [all …]
|
| H A D | sd_ops.c | 172 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument 195 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond() 196 *rocr = cmd.resp[0]; in mmc_send_app_op_cond()
|
| H A D | sd_uhs2.c | 869 u32 rocr; in sd_uhs2_legacy_init() local 899 rocr = mmc_select_voltage(host, ocr); in sd_uhs2_legacy_init() 904 if (!rocr) in sd_uhs2_legacy_init() 905 rocr = host->ocr_avail; in sd_uhs2_legacy_init() 907 rocr |= (SD_OCR_CCS | SD_OCR_XPC); in sd_uhs2_legacy_init() 910 ocr = rocr; in sd_uhs2_legacy_init() 912 err = mmc_send_app_op_cond(host, ocr, &rocr); in sd_uhs2_legacy_init()
|
| H A D | sd.h | 12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
| H A D | sd_ops.h | 18 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
| H A D | sdio_ops.h | 18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
| H A D | mmc_ops.h | 30 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
| H A D | mmc_ops.c | 231 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument 251 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond() 252 *rocr = cmd.resp[0]; in mmc_send_op_cond()
|
| H A D | mmc.c | 1604 u32 rocr; in mmc_init_card() local 1622 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card() 1728 if (rocr & BIT(30)) in mmc_init_card() 2300 u32 ocr, rocr; in mmc_attach_mmc() local 2325 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc() 2330 if (!rocr) { in mmc_attach_mmc() 2338 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()
|