Home
last modified time | relevance | path

Searched refs:mmc (Results 1 – 25 of 979) sorted by relevance

12345678910>>...40

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dmmc_core.c260 static void dwmac_mmc_read(void __iomem *mmcaddr, struct stmmac_counters *mmc) in dwmac_mmc_read() argument
262 mmc->mmc_tx_octetcount_gb += readl(mmcaddr + MMC_TX_OCTETCOUNT_GB); in dwmac_mmc_read()
263 mmc->mmc_tx_framecount_gb += readl(mmcaddr + MMC_TX_FRAMECOUNT_GB); in dwmac_mmc_read()
264 mmc->mmc_tx_broadcastframe_g += readl(mmcaddr + in dwmac_mmc_read()
266 mmc->mmc_tx_multicastframe_g += readl(mmcaddr + in dwmac_mmc_read()
268 mmc->mmc_tx_64_octets_gb += readl(mmcaddr + MMC_TX_64_OCTETS_GB); in dwmac_mmc_read()
269 mmc->mmc_tx_65_to_127_octets_gb += in dwmac_mmc_read()
271 mmc->mmc_tx_128_to_255_octets_gb += in dwmac_mmc_read()
273 mmc->mmc_tx_256_to_511_octets_gb += in dwmac_mmc_read()
275 mmc->mmc_tx_512_to_1023_octets_gb += in dwmac_mmc_read()
[all …]
/linux/drivers/mmc/host/
H A Dmeson-mx-sdhc-mmc.c38 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
80 static void meson_mx_sdhc_clear_fifo(struct mmc_host *mmc) in meson_mx_sdhc_clear_fifo() argument
82 struct meson_mx_sdhc_host *host = mmc_priv(mmc); in meson_mx_sdhc_clear_fifo()
97 dev_warn(mmc_dev(host->mmc), in meson_mx_sdhc_clear_fifo()
103 static void meson_mx_sdhc_wait_cmd_ready(struct mmc_host *mmc) in meson_mx_sdhc_wait_cmd_ready() argument
105 struct meson_mx_sdhc_host *host = mmc_priv(mmc); in meson_mx_sdhc_wait_cmd_ready()
114 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready()
[all …]
H A Dmmc_hsq.c19 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler() local
21 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_retry_handler()
26 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_modify_threshold() local
30 mmc->hsq_depth = HSQ_NORMAL_DEPTH; in mmc_hsq_modify_threshold()
37 mmc->hsq_depth = HSQ_PERFORMANCE_DEPTH; in mmc_hsq_modify_threshold()
45 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests() local
72 if (mmc->ops->request_atomic) in mmc_hsq_pump_requests()
73 ret = mmc->ops->request_atomic(mmc, hsq->mrq); in mmc_hsq_pump_requests()
75 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
[all …]
H A Dcqhci-core.c55 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset()
84 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc()
111 pr_err("%s: " DRV_NAME ": " f, mmc_hostname(mmc), ## x)
115 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local
154 cq_host->ops->dumpregs(mmc); in cqhci_dumpregs()
208 cq_host->data_size = get_trans_desc_offset(cq_host, cq_host->mmc->cqe_qdepth); in cqhci_host_alloc_tdl()
211 mmc_hostname(cq_host->mmc), cq_host->desc_size, cq_host->data_size, in cqhci_host_alloc_tdl()
220 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
227 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
232 dmam_free_coherent(mmc_dev(cq_host->mmc), cq_host->desc_size, in cqhci_host_alloc_tdl()
[all …]
H A Ddavinci_mmc.c170 struct mmc_host *mmc; member
222 dev_err(mmc_dev(host->mmc), "ran out of sglist prematurely\n"); in davinci_fifo_data_trans()
264 dev_dbg(mmc_dev(host->mmc), "CMD%d, arg 0x%08x%s\n", in mmc_davinci_start_command()
305 dev_dbg(mmc_dev(host->mmc), "unknown resp_type %04x\n", in mmc_davinci_start_command()
414 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request()
436 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request()
457 host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in mmc_davinci_start_dma_transfer()
463 dma_unmap_sg(mmc_dev(host->mmc), in mmc_davinci_start_dma_transfer()
487 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx"); in davinci_acquire_dma_channels()
489 dev_err(mmc_dev(host->mmc), "Can't get dma_tx channel\n"); in davinci_acquire_dma_channels()
[all …]
H A Dmeson-gx-mmc.c154 struct mmc_host *mmc; member
228 static void meson_mmc_get_transfer_mode(struct mmc_host *mmc, in meson_mmc_get_transfer_mode() argument
231 struct meson_host *host = mmc_priv(mmc); in meson_mmc_get_transfer_mode()
256 dev_warn_once(mmc_dev(mmc), in meson_mmc_get_transfer_mode()
267 dev_warn_once(mmc_dev(mmc), in meson_mmc_get_transfer_mode()
288 static void meson_mmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mmc_pre_req() argument
295 meson_mmc_get_transfer_mode(mmc, mrq); in meson_mmc_pre_req()
301 data->sg_count = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mmc_pre_req()
304 dev_err(mmc_dev(mmc), "dma_map_sg failed"); in meson_mmc_pre_req()
307 static void meson_mmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in meson_mmc_post_req() argument
[all …]
H A Dsdhci.c40 pr_debug("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
43 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
159 !mmc_card_is_removable(host->mmc) || mmc_can_gpio_cd(host->mmc)) in sdhci_set_card_detection()
191 pm_runtime_get_noresume(mmc_dev(host->mmc)); in sdhci_runtime_pm_bus_on()
199 pm_runtime_put_noidle(mmc_dev(host->mmc)); in sdhci_runtime_pm_bus_off()
226 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()
361 struct mmc_host *mmc = host->mmc; in sdhci_init() local
382 mmc->ops->set_ios(mmc, &mmc->ios); in sdhci_init()
[all …]
H A Dmeson-mx-sdio.c118 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 …]
H A Dpxamci.c50 struct mmc_host *mmc; member
78 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local
81 ret = mmc_regulator_get_supply(mmc); in pxamci_init_ocr()
85 if (IS_ERR(mmc->supply.vmmc)) { in pxamci_init_ocr()
87 mmc->ocr_avail = host->pdata ? in pxamci_init_ocr()
99 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local
100 struct regulator *supply = mmc->supply.vmmc; in pxamci_set_power()
103 return mmc_regulator_set_ocr(mmc, supply, vdd); in pxamci_set_power()
111 return host->pdata->setpower(mmc_dev(host->mmc), vdd); in pxamci_set_power()
132 dev_err(mmc_dev(host->mmc), "unable to stop clock\n"); in pxamci_stop_clock()
[all …]
H A Dwmt-sdmmc.c185 struct mmc_host *mmc; member
222 static void wmt_mci_read_response(struct mmc_host *mmc) in wmt_mci_read_response() argument
229 priv = mmc_priv(mmc); in wmt_mci_read_response()
253 static int wmt_mci_send_command(struct mmc_host *mmc, u8 command, u8 cmdtype, in wmt_mci_send_command() argument
259 priv = mmc_priv(mmc); in wmt_mci_send_command()
302 dma_unmap_sg(mmc_dev(priv->mmc), req->data->sg, in wmt_complete_data_request()
305 dma_unmap_sg(mmc_dev(priv->mmc), req->data->sg, in wmt_complete_data_request()
310 mmc_request_done(priv->mmc, req); in wmt_complete_data_request()
312 wmt_mci_read_response(priv->mmc); in wmt_complete_data_request()
315 mmc_request_done(priv->mmc, req); in wmt_complete_data_request()
[all …]
H A Dsunxi-mmc.c271 struct mmc_host *mmc; member
317 dev_err(mmc_dev(host->mmc), "fatal err reset timeout\n"); in sunxi_mmc_reset_host()
404 dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sunxi_mmc_map_dma()
407 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in sunxi_mmc_map_dma()
413 dev_err(mmc_dev(host->mmc), in sunxi_mmc_map_dma()
472 dev_err(mmc_dev(host->mmc), "send stop command failed\n"); in sunxi_mmc_send_manual_stop()
494 dev_dbg(mmc_dev(host->mmc), in sunxi_mmc_dump_errinfo()
496 host->mmc->index, cmd->opcode, in sunxi_mmc_dump_errinfo()
555 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sunxi_mmc_finalize_request()
582 dev_dbg(mmc_dev(host->mmc), "irq: rq %p mi %08x idi %08x\n", in sunxi_mmc_irq()
[all …]
H A Dmxcmmc.c120 struct mmc_host *mmc; member
221 if (!IS_ERR(host->mmc->supply.vmmc)) { in mxcmci_set_power()
223 mmc_regulator_set_ocr(host->mmc, in mxcmci_set_power()
224 host->mmc->supply.vmmc, vdd); in mxcmci_set_power()
226 mmc_regulator_set_ocr(host->mmc, in mxcmci_set_power()
227 host->mmc->supply.vmmc, 0); in mxcmci_set_power()
231 host->pdata->setpower(mmc_dev(host->mmc), vdd); in mxcmci_set_power()
243 dev_dbg(mmc_dev(host->mmc), "mxcmci_softreset\n"); in mxcmci_softreset()
359 dev_dbg(mmc_dev(host->mmc), "%s: 0x%08x\n", __func__, stat); in mxcmci_dma_callback()
387 dev_err(mmc_dev(host->mmc), "unhandled response type 0x%x\n", in mxcmci_start_cmd()
[all …]
H A Dlitex_mmc.c77 struct mmc_host *mmc; member
126 struct device *dev = mmc_dev(host->mmc); in litex_mmc_send_cmd()
235 static int litex_mmc_get_cd(struct mmc_host *mmc) in litex_mmc_get_cd() argument
237 struct litex_mmc_host *host = mmc_priv(mmc); in litex_mmc_get_cd()
240 if (!mmc_card_is_removable(mmc)) in litex_mmc_get_cd()
255 struct mmc_host *mmc = arg; in litex_mmc_interrupt() local
256 struct litex_mmc_host *host = mmc_priv(mmc); in litex_mmc_interrupt()
264 mmc_detect_change(mmc, msecs_to_jiffies(10)); in litex_mmc_interrupt()
294 struct device *dev = mmc_dev(host->mmc); in litex_mmc_do_dma()
338 static void litex_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in litex_mmc_request() argument
[all …]
H A Domap_hsmmc.c171 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 …]
H A Dmxs-mmc.c50 struct mmc_host *mmc; member
61 static int mxs_mmc_get_cd(struct mmc_host *mmc) in mxs_mmc_get_cd() argument
63 struct mxs_mmc_host *host = mmc_priv(mmc); in mxs_mmc_get_cd()
70 ret = mmc_gpio_get_cd(mmc); in mxs_mmc_get_cd()
74 present = mmc->caps & MMC_CAP_NEEDS_POLL || in mxs_mmc_get_cd()
78 if (mmc->caps2 & MMC_CAP2_CD_ACTIVE_HIGH) in mxs_mmc_get_cd()
146 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_request_done()
165 mmc_request_done(host->mmc, mrq); in mxs_mmc_request_done()
192 mmc_signal_sdio_irq(host->mmc); in mxs_mmc_irq_handler()
224 dma_map_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma()
[all …]
H A Dsdhci-sprd.c282 pr_err("%s: DLL locked fail!\n", mmc_hostname(host->mmc)); in sdhci_sprd_enable_phy_dll()
284 mmc_hostname(host->mmc), in sdhci_sprd_enable_phy_dll()
335 struct mmc_host *mmc = host->mmc; in sdhci_sprd_set_uhs_signaling() local
376 if (!mmc->ios.enhanced_strobe) in sdhci_sprd_set_uhs_signaling()
416 if (mmc_hsq_finalize_request(host->mmc, mrq)) in sdhci_sprd_request_done()
419 mmc_request_done(host->mmc, mrq); in sdhci_sprd_request_done()
425 struct mmc_host *mmc = host->mmc; in sdhci_sprd_set_power() local
429 mmc_regulator_set_ocr(host->mmc, mmc->supply.vmmc, 0); in sdhci_sprd_set_power()
431 mmc_regulator_disable_vqmmc(mmc); in sdhci_sprd_set_power()
434 mmc_regulator_enable_vqmmc(mmc); in sdhci_sprd_set_power()
[all …]
H A Dmmci.c371 static int mmci_card_busy(struct mmc_host *mmc) in mmci_card_busy() argument
373 struct mmci_host *host = mmc_priv(mmc); in mmci_card_busy()
485 host->mmc->actual_clock = host->cclk; in mmci_set_clkreg()
487 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) in mmci_set_clkreg()
489 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) in mmci_set_clkreg()
492 if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 || in mmci_set_clkreg()
493 host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) in mmci_set_clkreg()
532 dev_err(mmc_dev(host->mmc), in mmci_validate_data()
592 dev_vdbg(mmc_dev(host->mmc), in mmci_dma_start()
641 mmc_request_done(host->mmc, mrq); in mmci_request_end()
[all …]
H A Dusdhi6rol0.c159 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 …]
H A Djz4740_mmc.c150 struct mmc_host *mmc; member
230 struct device *dev = mmc_dev(host->mmc); in jz4740_mmc_acquire_dma_channels()
241 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx"); in jz4740_mmc_acquire_dma_channels()
243 dev_err(mmc_dev(host->mmc), "Failed to get dma_tx channel\n"); in jz4740_mmc_acquire_dma_channels()
247 host->dma_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in jz4740_mmc_acquire_dma_channels()
249 dev_err(mmc_dev(host->mmc), "Failed to get dma_rx channel\n"); in jz4740_mmc_acquire_dma_channels()
262 if (max_seg_size < host->mmc->max_seg_size) in jz4740_mmc_acquire_dma_channels()
263 host->mmc->max_seg_size = max_seg_size; in jz4740_mmc_acquire_dma_channels()
270 if (max_seg_size < host->mmc->max_seg_size) in jz4740_mmc_acquire_dma_channels()
271 host->mmc->max_seg_size = max_seg_size; in jz4740_mmc_acquire_dma_channels()
[all …]
H A Dsdhci-msm.c271 struct mmc_host *mmc; member
339 struct mmc_ios ios = host->mmc->ios; in msm_get_clock_mult_for_bus_mode()
359 struct mmc_ios curr_ios = host->mmc->ios; in msm_set_clock_rate_for_bus_mode()
368 rc = dev_pm_opp_set_rate(mmc_dev(host->mmc), desired_rate); in msm_set_clock_rate_for_bus_mode()
371 mmc_hostname(host->mmc), desired_rate, curr_ios.timing); in msm_set_clock_rate_for_bus_mode()
383 mmc_hostname(host->mmc), desired_rate, achieved_rate); in msm_set_clock_rate_for_bus_mode()
384 host->mmc->actual_clock = achieved_rate / mult; in msm_set_clock_rate_for_bus_mode()
390 mmc_hostname(host->mmc), achieved_rate, curr_ios.timing); in msm_set_clock_rate_for_bus_mode()
398 struct mmc_host *mmc = host->mmc; in msm_dll_poll_ck_out_en() local
408 dev_err(mmc_dev(mmc), "%s: CK_OUT_EN bit is not %d\n", in msm_dll_poll_ck_out_en()
[all …]
H A Domap.c115 struct mmc_host *mmc; member
127 struct mmc_host * mmc; member
209 while (host->mmc != NULL) { in mmc_omap_select_slot()
211 wait_event(host->slot_wq, host->mmc == NULL); in mmc_omap_select_slot()
214 host->mmc = slot->mmc; in mmc_omap_select_slot()
270 BUG_ON(slot == NULL || host->mmc == NULL); in mmc_omap_release_slot()
295 host->mmc = new_slot->mmc; in mmc_omap_release_slot()
301 host->mmc = NULL; in mmc_omap_release_slot()
313 return slot->pdata->get_cover_state(mmc_dev(slot->mmc), in mmc_omap_cover_is_open()
322 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); in mmc_omap_show_cover_switch() local
[all …]
H A Dcavium.c625 static u64 prepare_ext_dma(struct mmc_host *mmc, struct mmc_request *mrq) in prepare_ext_dma() argument
627 struct cvm_mmc_slot *slot = mmc_priv(mmc); in prepare_ext_dma()
632 mmc_card_is_blockaddr(mmc->card) ? 1 : 0) | in prepare_ext_dma()
639 if (mmc_card_mmc(mmc->card) || (mmc_card_sd(mmc->card) && in prepare_ext_dma()
640 (mmc->card->scr.cmds & SD_SCR_CMD23_SUPPORT))) in prepare_ext_dma()
649 static void cvm_mmc_dma_request(struct mmc_host *mmc, in cvm_mmc_dma_request() argument
652 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_dma_request()
659 dev_err(&mmc->card->dev, "Error: %s no data\n", __func__); in cvm_mmc_dma_request()
674 emm_dma = prepare_ext_dma(mmc, mrq); in cvm_mmc_dma_request()
693 if (mmc_card_sd(mmc->card)) in cvm_mmc_dma_request()
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dcavium-mmc.txt11 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 …]
H A Dsdhci-st.txt4 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 …]
/linux/drivers/staging/greybus/
H A Dsdio.c22 struct mmc_host *mmc; member
86 host->mmc->caps = caps; in _gb_sdio_set_host_caps()
87 host->mmc->caps2 = caps2 | MMC_CAP2_CORE_RUNTIME_PM; in _gb_sdio_set_host_caps()
118 struct mmc_host *mmc = host->mmc; in gb_sdio_get_caps() local
141 mmc->max_blk_size = rounddown_pow_of_two(blksz); in gb_sdio_get_caps()
142 mmc->max_blk_count = le16_to_cpu(response.max_blk_count); in gb_sdio_get_caps()
147 mmc->ocr_avail = ocr; in gb_sdio_get_caps()
148 mmc->ocr_avail_sdio = mmc->ocr_avail; in gb_sdio_get_caps()
149 mmc->ocr_avail_sd = mmc->ocr_avail; in gb_sdio_get_caps()
150 mmc->ocr_avail_mmc = mmc->ocr_avail; in gb_sdio_get_caps()
[all …]

12345678910>>...40