/kernel/linux/linux-5.10/drivers/mmc/core/ |
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()
|
D | sd.c | 798 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) in mmc_sd_get_cid() argument 845 err = mmc_send_app_op_cond(host, ocr, rocr); in mmc_sd_get_cid() 857 rocr && (*rocr & SD_ROCR_S18A)) { in mmc_sd_get_cid() 1013 u32 rocr = 0; in mmc_sd_init_card() local 1018 err = mmc_sd_get_cid(host, ocr, cid, &rocr); in mmc_sd_init_card() 1106 if (rocr & SD_ROCR_S18A && mmc_host_uhs(host)) { in mmc_sd_init_card() 1335 u32 ocr, rocr; in mmc_attach_sd() local 1364 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sd() 1369 if (!rocr) { in mmc_attach_sd() 1377 err = mmc_sd_init_card(host, rocr, NULL); in mmc_attach_sd()
|
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() 724 if (rocr & ocr & R4_18V_PRESENT) { in mmc_sdio_init_card() 1189 u32 ocr, rocr; in mmc_attach_sdio() local 1203 rocr = mmc_select_voltage(host, ocr); in mmc_attach_sdio() 1208 if (!rocr) { in mmc_attach_sdio() 1216 err = mmc_sdio_init_card(host, rocr, NULL); in mmc_attach_sdio()
|
D | sd_ops.c | 117 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_app_op_cond() argument 155 if (rocr && !mmc_host_is_spi(host)) in mmc_send_app_op_cond() 156 *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 | 17 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | sdio_ops.h | 18 int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | mmc_ops.h | 26 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
|
D | mmc_ops.c | 171 int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr) in mmc_send_op_cond() argument 209 if (rocr && !mmc_host_is_spi(host)) in mmc_send_op_cond() 210 *rocr = cmd.resp[0]; in mmc_send_op_cond()
|
D | mmc.c | 1581 u32 rocr; in mmc_init_card() local 1599 err = mmc_send_op_cond(host, ocr | (1 << 30), &rocr); in mmc_init_card() 1705 if (rocr & BIT(30)) in mmc_init_card() 2245 u32 ocr, rocr; in mmc_attach_mmc() local 2270 rocr = mmc_select_voltage(host, ocr); in mmc_attach_mmc() 2275 if (!rocr) { in mmc_attach_mmc() 2283 err = mmc_init_card(host, rocr, NULL); in mmc_attach_mmc()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch | 4179 @@ -847,13 +793,11 @@ int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) 4191 - if (!mmc_host_is_spi(host) && rocr && (*rocr & 0x01000000)) { 4192 + if (!mmc_host_is_spi(host) && rocr && 4193 + ((*rocr & 0x41000000) == 0x41000000)) { 4408 err = mmc_send_io_op_cond(host, ocr, &rocr); 4435 if ((rocr & R4_MEMORY_PRESENT) && 4436 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { 4462 if (rocr & ocr & R4_18V_PRESENT) { 4595 + u32 rocr; 4604 + rocr = mmc_select_voltage(host, ocr); [all …]
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 42810 - err = mmc_send_io_op_cond(host, ocr, &rocr); 42816 + err = mmc_send_io_op_cond(host, ocr, &rocr); 42823 + rocr = 0xa0ffff00; 42827 + err = mmc_send_io_op_cond(host, ocr, &rocr); 42855 if ((rocr & R4_MEMORY_PRESENT) && 42856 mmc_sd_get_cid(host, ocr & rocr, card->raw_cid, NULL) == 0) { 42889 - if (rocr & ocr & R4_18V_PRESENT) { 42890 + if (!powered_resume && (rocr & ocr & R4_18V_PRESENT)) { 43244 - err = mmc_sdio_init_card(host, rocr, NULL); 43245 + err = mmc_sdio_init_card(host, rocr, NULL, 0); [all …]
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 25393 + u32 rocr; 25403 + rocr = mmc_select_voltage(host, ocr); 25404 + if (!rocr) { 25408 + err = mmc_sdio_init_card(host, rocr, card);
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 310331 + u32 rocr; 310341 + rocr = mmc_select_voltage(host, ocr); 310342 + if (!rocr) { 310346 + err = mmc_sdio_init_card(host, rocr, card, 0);
|