/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | mmc_core.c | 213 static void dwmac_mmc_read(void __iomem *mmcaddr, struct stmmac_counters *mmc) in dwmac_mmc_read() argument 215 mmc->mmc_tx_octetcount_gb += readl(mmcaddr + MMC_TX_OCTETCOUNT_GB); in dwmac_mmc_read() 216 mmc->mmc_tx_framecount_gb += readl(mmcaddr + MMC_TX_FRAMECOUNT_GB); in dwmac_mmc_read() 217 mmc->mmc_tx_broadcastframe_g += readl(mmcaddr + in dwmac_mmc_read() 219 mmc->mmc_tx_multicastframe_g += readl(mmcaddr + in dwmac_mmc_read() 221 mmc->mmc_tx_64_octets_gb += readl(mmcaddr + MMC_TX_64_OCTETS_GB); in dwmac_mmc_read() 222 mmc->mmc_tx_65_to_127_octets_gb += in dwmac_mmc_read() 224 mmc->mmc_tx_128_to_255_octets_gb += in dwmac_mmc_read() 226 mmc->mmc_tx_256_to_511_octets_gb += in dwmac_mmc_read() 228 mmc->mmc_tx_512_to_1023_octets_gb += in dwmac_mmc_read() [all …]
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | meson-mx-sdhc-mmc.c | 38 void (*init_hw)(struct mmc_host *mmc); 39 void (*set_pdma)(struct mmc_host *mmc); 40 void (*wait_before_send)(struct mmc_host *mmc); 45 struct mmc_host *mmc; member 68 static void meson_mx_sdhc_hw_reset(struct mmc_host *mmc) in meson_mx_sdhc_hw_reset() argument 70 struct meson_mx_sdhc_host *host = mmc_priv(mmc); in meson_mx_sdhc_hw_reset() 82 static void meson_mx_sdhc_clear_fifo(struct mmc_host *mmc) in meson_mx_sdhc_clear_fifo() argument 84 struct meson_mx_sdhc_host *host = mmc_priv(mmc); in meson_mx_sdhc_clear_fifo() 99 dev_warn(mmc_dev(host->mmc), in meson_mx_sdhc_clear_fifo() 105 static void meson_mx_sdhc_wait_cmd_ready(struct mmc_host *mmc) in meson_mx_sdhc_wait_cmd_ready() argument [all …]
|
D | mmc_hsq.c | 22 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler() local 24 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_retry_handler() 29 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests() local 54 if (mmc->ops->request_atomic) in mmc_hsq_pump_requests() 55 ret = mmc->ops->request_atomic(mmc, hsq->mrq); in mmc_hsq_pump_requests() 57 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_pump_requests() 153 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_finalize_request() argument 155 struct mmc_hsq *hsq = mmc->cqe_private; in mmc_hsq_finalize_request() 172 mmc_cqe_request_done(mmc, hsq->mrq); in mmc_hsq_finalize_request() 180 static void mmc_hsq_recovery_start(struct mmc_host *mmc) in mmc_hsq_recovery_start() argument [all …]
|
D | cqhci.c | 50 (cq_host->mmc->max_segs * tag * in get_trans_desc_dma() 57 (cq_host->trans_desc_len * cq_host->mmc->max_segs * tag); in get_trans_desc() 72 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc() 99 pr_err("%s: " DRV_NAME ": " f, mmc_hostname(mmc), ## x) 103 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local 142 cq_host->ops->dumpregs(mmc); in cqhci_dumpregs() 196 cq_host->data_size = cq_host->trans_desc_len * cq_host->mmc->max_segs * in cqhci_host_alloc_tdl() 197 cq_host->mmc->cqe_qdepth; in cqhci_host_alloc_tdl() 200 mmc_hostname(cq_host->mmc), cq_host->desc_size, cq_host->data_size, in cqhci_host_alloc_tdl() 209 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl() [all …]
|
D | davinci_mmc.c | 171 struct mmc_host *mmc; member 274 dev_dbg(mmc_dev(host->mmc), "CMD%d, arg 0x%08x%s\n", in mmc_davinci_start_command() 315 dev_dbg(mmc_dev(host->mmc), "unknown resp_type %04x\n", in mmc_davinci_start_command() 424 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request() 446 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request() 467 host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in mmc_davinci_start_dma_transfer() 473 dma_unmap_sg(mmc_dev(host->mmc), in mmc_davinci_start_dma_transfer() 497 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx"); in davinci_acquire_dma_channels() 499 dev_err(mmc_dev(host->mmc), "Can't get dma_tx channel\n"); in davinci_acquire_dma_channels() 503 host->dma_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in davinci_acquire_dma_channels() [all …]
|
D | meson-mx-sdio.c | 118 struct mmc_host *mmc; member 125 static void meson_mx_mmc_mask_bits(struct mmc_host *mmc, char reg, u32 mask, in meson_mx_mmc_mask_bits() argument 128 struct meson_mx_mmc_host *host = mmc_priv(mmc); in meson_mx_mmc_mask_bits() 155 static void meson_mx_mmc_start_cmd(struct mmc_host *mmc, in meson_mx_mmc_start_cmd() argument 158 struct meson_mx_mmc_host *host = mmc_priv(mmc); in meson_mx_mmc_start_cmd() 197 if (mmc->ios.bus_width == MMC_BUS_WIDTH_4) in meson_mx_mmc_start_cmd() 225 meson_mx_mmc_mask_bits(mmc, MESON_MX_SDIO_IRQC, in meson_mx_mmc_start_cmd() 230 meson_mx_mmc_mask_bits(mmc, MESON_MX_SDIO_IRQS, in meson_mx_mmc_start_cmd() 255 mmc_request_done(host->mmc, mrq); in meson_mx_mmc_request_done() 258 static void meson_mx_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_mmc_set_ios() argument [all …]
|
D | sdhci.c | 41 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 44 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) 160 !mmc_card_is_removable(host->mmc) || mmc_can_gpio_cd(host->mmc)) in sdhci_set_card_detection() 192 pm_runtime_get_noresume(host->mmc->parent); in sdhci_runtime_pm_bus_on() 200 pm_runtime_put_noidle(host->mmc->parent); in sdhci_runtime_pm_bus_off() 227 mmc_hostname(host->mmc), (int)mask); in sdhci_reset() 239 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local 241 if (!mmc->ops->get_cd(mmc)) in sdhci_do_reset() 322 struct mmc_host *mmc = host->mmc; in sdhci_init() local 343 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_init() [all …]
|
D | meson-gx-mmc.c | 151 struct mmc_host *mmc; member 226 static void meson_mmc_get_transfer_mode(struct mmc_host *mmc, in meson_mmc_get_transfer_mode() argument 229 struct meson_host *host = mmc_priv(mmc); in meson_mmc_get_transfer_mode() 275 static void meson_mmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mmc_pre_req() argument 282 meson_mmc_get_transfer_mode(mmc, mrq); in meson_mmc_pre_req() 288 data->sg_count = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mmc_pre_req() 291 dev_err(mmc_dev(mmc), "dma_map_sg failed"); in meson_mmc_pre_req() 294 static void meson_mmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in meson_mmc_post_req() argument 300 dma_unmap_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mmc_post_req() 343 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local [all …]
|
D | tmio_mmc_core.c | 137 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in tmio_mmc_enable_sdio_irq() argument 139 struct tmio_mmc_host *host = mmc_priv(mmc); in tmio_mmc_enable_sdio_irq() 145 pm_runtime_get_sync(mmc_dev(mmc)); in tmio_mmc_enable_sdio_irq() 162 pm_runtime_mark_last_busy(mmc_dev(mmc)); in tmio_mmc_enable_sdio_irq() 163 pm_runtime_put_autosuspend(mmc_dev(mmc)); in tmio_mmc_enable_sdio_irq() 228 mmc_request_done(host->mmc, mrq); in tmio_mmc_reset_work() 587 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local 593 if ((((ireg & TMIO_STAT_CARD_REMOVE) && mmc->card) || in __tmio_mmc_card_detect_irq() 594 ((ireg & TMIO_STAT_CARD_INSERT) && !mmc->card)) && in __tmio_mmc_card_detect_irq() 595 !work_pending(&mmc->detect.work)) in __tmio_mmc_card_detect_irq() [all …]
|
D | pxamci.c | 51 struct mmc_host *mmc; member 79 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local 82 ret = mmc_regulator_get_supply(mmc); in pxamci_init_ocr() 86 if (IS_ERR(mmc->supply.vmmc)) { in pxamci_init_ocr() 88 mmc->ocr_avail = host->pdata ? in pxamci_init_ocr() 100 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local 101 struct regulator *supply = mmc->supply.vmmc; in pxamci_set_power() 104 return mmc_regulator_set_ocr(mmc, supply, vdd); in pxamci_set_power() 112 return host->pdata->setpower(mmc_dev(host->mmc), vdd); in pxamci_set_power() 133 dev_err(mmc_dev(host->mmc), "unable to stop clock\n"); in pxamci_stop_clock() [all …]
|
D | wmt-sdmmc.c | 186 struct mmc_host *mmc; member 223 static void wmt_mci_read_response(struct mmc_host *mmc) in wmt_mci_read_response() argument 230 priv = mmc_priv(mmc); in wmt_mci_read_response() 254 static int wmt_mci_send_command(struct mmc_host *mmc, u8 command, u8 cmdtype, in wmt_mci_send_command() argument 260 priv = mmc_priv(mmc); in wmt_mci_send_command() 303 dma_unmap_sg(mmc_dev(priv->mmc), req->data->sg, in wmt_complete_data_request() 306 dma_unmap_sg(mmc_dev(priv->mmc), req->data->sg, in wmt_complete_data_request() 311 mmc_request_done(priv->mmc, req); in wmt_complete_data_request() 313 wmt_mci_read_response(priv->mmc); in wmt_complete_data_request() 316 mmc_request_done(priv->mmc, req); in wmt_complete_data_request() [all …]
|
D | sunxi-mmc.c | 269 struct mmc_host *mmc; member 315 dev_err(mmc_dev(host->mmc), "fatal err reset timeout\n"); in sunxi_mmc_reset_host() 399 dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sunxi_mmc_map_dma() 402 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in sunxi_mmc_map_dma() 408 dev_err(mmc_dev(host->mmc), in sunxi_mmc_map_dma() 467 dev_err(mmc_dev(host->mmc), "send stop command failed\n"); in sunxi_mmc_send_manual_stop() 489 dev_dbg(mmc_dev(host->mmc), in sunxi_mmc_dump_errinfo() 491 host->mmc->index, cmd->opcode, in sunxi_mmc_dump_errinfo() 550 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sunxi_mmc_finalize_request() 577 dev_dbg(mmc_dev(host->mmc), "irq: rq %p mi %08x idi %08x\n", in sunxi_mmc_irq() [all …]
|
D | mxcmmc.c | 121 struct mmc_host *mmc; member 238 if (!IS_ERR(host->mmc->supply.vmmc)) { in mxcmci_set_power() 240 mmc_regulator_set_ocr(host->mmc, in mxcmci_set_power() 241 host->mmc->supply.vmmc, vdd); in mxcmci_set_power() 243 mmc_regulator_set_ocr(host->mmc, in mxcmci_set_power() 244 host->mmc->supply.vmmc, 0); in mxcmci_set_power() 248 host->pdata->setpower(mmc_dev(host->mmc), vdd); in mxcmci_set_power() 260 dev_dbg(mmc_dev(host->mmc), "mxcmci_softreset\n"); in mxcmci_softreset() 369 dev_dbg(mmc_dev(host->mmc), "%s: 0x%08x\n", __func__, stat); in mxcmci_dma_callback() 397 dev_err(mmc_dev(host->mmc), "unhandled response type 0x%x\n", in mxcmci_start_cmd() [all …]
|
D | omap_hsmmc.c | 171 struct mmc_host *mmc; member 216 static int omap_hsmmc_enable_supply(struct mmc_host *mmc) in omap_hsmmc_enable_supply() argument 219 struct omap_hsmmc_host *host = mmc_priv(mmc); in omap_hsmmc_enable_supply() 220 struct mmc_ios *ios = &mmc->ios; in omap_hsmmc_enable_supply() 222 if (!IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_enable_supply() 223 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply() 229 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { in omap_hsmmc_enable_supply() 230 ret = regulator_enable(mmc->supply.vqmmc); in omap_hsmmc_enable_supply() 232 dev_err(mmc_dev(mmc), "vmmc_aux reg enable failed\n"); in omap_hsmmc_enable_supply() 241 if (!IS_ERR(mmc->supply.vmmc)) in omap_hsmmc_enable_supply() [all …]
|
D | mxs-mmc.c | 51 struct mmc_host *mmc; member 62 static int mxs_mmc_get_cd(struct mmc_host *mmc) in mxs_mmc_get_cd() argument 64 struct mxs_mmc_host *host = mmc_priv(mmc); in mxs_mmc_get_cd() 71 ret = mmc_gpio_get_cd(mmc); in mxs_mmc_get_cd() 75 present = mmc->caps & MMC_CAP_NEEDS_POLL || in mxs_mmc_get_cd() 79 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mxs_mmc_get_cd() 147 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_request_done() 166 mmc_request_done(host->mmc, mrq); in mxs_mmc_request_done() 193 mmc_signal_sdio_irq(host->mmc); in mxs_mmc_irq_handler() 225 dma_map_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma() [all …]
|
D | mmci.c | 335 static int mmci_card_busy(struct mmc_host *mmc) in mmci_card_busy() argument 337 struct mmci_host *host = mmc_priv(mmc); in mmci_card_busy() 448 host->mmc->actual_clock = host->cclk; in mmci_set_clkreg() 450 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) in mmci_set_clkreg() 452 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) in mmci_set_clkreg() 455 if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 || in mmci_set_clkreg() 456 host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) in mmci_set_clkreg() 495 dev_err(mmc_dev(host->mmc), in mmci_validate_data() 555 dev_vdbg(mmc_dev(host->mmc), in mmci_dma_start() 604 mmc_request_done(host->mmc, mrq); in mmci_request_end() [all …]
|
D | usdhi6rol0.c | 159 struct mmc_host *mmc; member 212 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write() 219 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write16() 226 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_read() 234 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_read16() 286 dev_dbg(mmc_dev(host->mmc), in usdhi6_error_code() 290 dev_warn(mmc_dev(host->mmc), in usdhi6_error_code() 298 dev_warn(mmc_dev(host->mmc), "Err sts 0x%x, state %u, CMD%d\n", in usdhi6_error_code() 320 dev_dbg(mmc_dev(host->mmc), "%s(): CMD%u of %u SG: %ux%u @ 0x%x\n", in usdhi6_blk_bounce() 387 dev_dbg(mmc_dev(host->mmc), "Mapped %p (%lx) at %p + %u for CMD%u @ 0x%p\n", in usdhi6_sg_map() [all …]
|
D | sdhci-msm.c | 265 struct mmc_host *mmc; member 335 struct mmc_ios ios = host->mmc->ios; in msm_get_clock_rate_for_bus_mode() 355 struct mmc_ios curr_ios = host->mmc->ios; in msm_set_clock_rate_for_bus_mode() 360 rc = dev_pm_opp_set_rate(mmc_dev(host->mmc), clock); in msm_set_clock_rate_for_bus_mode() 363 mmc_hostname(host->mmc), clock, in msm_set_clock_rate_for_bus_mode() 369 mmc_hostname(host->mmc), clk_get_rate(core_clk), in msm_set_clock_rate_for_bus_mode() 378 struct mmc_host *mmc = host->mmc; in msm_dll_poll_ck_out_en() local 388 dev_err(mmc_dev(mmc), "%s: CK_OUT_EN bit is not %d\n", in msm_dll_poll_ck_out_en() 389 mmc_hostname(mmc), poll); in msm_dll_poll_ck_out_en() 410 struct mmc_host *mmc = host->mmc; in msm_config_cm_dll_phase() local [all …]
|
D | cavium.c | 626 static u64 prepare_ext_dma(struct mmc_host *mmc, struct mmc_request *mrq) in prepare_ext_dma() argument 628 struct cvm_mmc_slot *slot = mmc_priv(mmc); in prepare_ext_dma() 633 mmc_card_is_blockaddr(mmc->card) ? 1 : 0) | in prepare_ext_dma() 640 if (mmc_card_mmc(mmc->card) || (mmc_card_sd(mmc->card) && in prepare_ext_dma() 641 (mmc->card->scr.cmds & SD_SCR_CMD23_SUPPORT))) in prepare_ext_dma() 650 static void cvm_mmc_dma_request(struct mmc_host *mmc, in cvm_mmc_dma_request() argument 653 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_dma_request() 660 dev_err(&mmc->card->dev, in cvm_mmc_dma_request() 676 emm_dma = prepare_ext_dma(mmc, mrq); in cvm_mmc_dma_request() 695 if (mmc_card_sd(mmc->card)) in cvm_mmc_dma_request() [all …]
|
D | omap.c | 113 struct mmc_host *mmc; member 122 struct mmc_host * mmc; member 205 while (host->mmc != NULL) { in mmc_omap_select_slot() 207 wait_event(host->slot_wq, host->mmc == NULL); in mmc_omap_select_slot() 210 host->mmc = slot->mmc; in mmc_omap_select_slot() 220 host->pdata->switch_slot(mmc_dev(slot->mmc), slot->id); in mmc_omap_select_slot() 261 BUG_ON(slot == NULL || host->mmc == NULL); in mmc_omap_release_slot() 286 host->mmc = new_slot->mmc; in mmc_omap_release_slot() 292 host->mmc = NULL; in mmc_omap_release_slot() 301 return slot->pdata->get_cover_state(mmc_dev(slot->mmc), in mmc_omap_cover_is_open() [all …]
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | regulator.c | 106 int mmc_regulator_set_ocr(struct mmc_host *mmc, in mmc_regulator_set_ocr() argument 117 if (result == 0 && !mmc->regulator_enabled) { in mmc_regulator_set_ocr() 120 mmc->regulator_enabled = true; in mmc_regulator_set_ocr() 122 } else if (mmc->regulator_enabled) { in mmc_regulator_set_ocr() 125 mmc->regulator_enabled = false; in mmc_regulator_set_ocr() 129 dev_err(mmc_dev(mmc), in mmc_regulator_set_ocr() 179 int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_regulator_set_vqmmc() argument 181 struct device *dev = mmc_dev(mmc); in mmc_regulator_set_vqmmc() 185 if (IS_ERR(mmc->supply.vqmmc)) in mmc_regulator_set_vqmmc() 190 return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, in mmc_regulator_set_vqmmc() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
D | cavium-mmc.txt | 11 cavium,octeon-6130-mmc 12 cavium,octeon-7890-mmc 13 cavium,thunder-8190-mmc 14 cavium,thunder-8390-mmc 15 mmc-slot 16 - reg : mmc controller base registers 20 - for cd, bus-width and additional generic mmc parameters 21 please refer to mmc.txt within this directory 29 - cavium,octeon-6130-mmc-slot : use mmc-slot instead 32 mmc_1_4: mmc@1,4 { [all …]
|
D | sdhci-st.txt | 4 Documentation/devicetree/bindings/mmc/mmc.txt and the properties 13 - clock-names: Should be "mmc" and "icn". (NB: The latter is not compulsory) 18 - interrupts: One mmc interrupt should be described here. 31 - reg-names: Should be "mmc" and "top-mmc-delay". "top-mmc-delay" is optional 36 See: Documentation/devicetree/bindings/mmc/mmc.txt. 39 See: Documentation/devicetree/bindings/mmc/mmc.txt. 43 See: Documentation/devicetree/bindings/mmc/mmc.txt. 52 See: Documentation/devicetree/bindings/mmc/mmc.txt. 55 See: Documentation/devicetree/bindings/mmc/mmc.txt. 58 See: Documentation/devicetree/bindings/mmc/mmc.txt. [all …]
|
D | mtk-sd.txt | 6 This file documents differences between the core properties in mmc.txt 11 "mediatek,mt8135-mmc": for mmc host ip compatible with mt8135 12 "mediatek,mt8173-mmc": for mmc host ip compatible with mt8173 13 "mediatek,mt8183-mmc": for mmc host ip compatible with mt8183 14 "mediatek,mt8516-mmc": for mmc host ip compatible with mt8516 15 "mediatek,mt6779-mmc": for mmc host ip compatible with mt6779 16 "mediatek,mt2701-mmc": for mmc host ip compatible with mt2701 17 "mediatek,mt2712-mmc": for mmc host ip compatible with mt2712 18 "mediatek,mt7622-mmc": for MT7622 SoC 19 "mediatek,mt7623-mmc", "mediatek,mt2701-mmc": for MT7623 SoC [all …]
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | sdio.c | 22 struct mmc_host *mmc; member 87 host->mmc->caps = caps; in _gb_sdio_set_host_caps() 88 host->mmc->caps2 = caps2 | MMC_CAP2_CORE_RUNTIME_PM; in _gb_sdio_set_host_caps() 119 struct mmc_host *mmc = host->mmc; in gb_sdio_get_caps() local 142 mmc->max_blk_size = rounddown_pow_of_two(blksz); in gb_sdio_get_caps() 143 mmc->max_blk_count = le16_to_cpu(response.max_blk_count); in gb_sdio_get_caps() 148 mmc->ocr_avail = ocr; in gb_sdio_get_caps() 149 mmc->ocr_avail_sdio = mmc->ocr_avail; in gb_sdio_get_caps() 150 mmc->ocr_avail_sd = mmc->ocr_avail; in gb_sdio_get_caps() 151 mmc->ocr_avail_mmc = mmc->ocr_avail; in gb_sdio_get_caps() [all …]
|