| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | mtk-sd.yaml | 4 $id: http://devicetree.org/schemas/mmc/mtk-sd.yaml# 17 - mediatek,mt2701-mmc 18 - mediatek,mt2712-mmc 19 - mediatek,mt6779-mmc 20 - mediatek,mt6795-mmc 21 - mediatek,mt7620-mmc 22 - mediatek,mt7622-mmc 23 - mediatek,mt7986-mmc 24 - mediatek,mt7988-mmc 25 - mediatek,mt8135-mmc [all …]
|
| H A D | cavium-mmc.txt | 1 * Cavium Octeon & ThunderX MMC controller 3 The highspeed MMC host controller on Caviums SoCs provides an interface 4 for MMC and SD types of memory cards. 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 [all …]
|
| H A D | ingenic,mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/ingenic,mmc.yaml# 7 title: Ingenic SoCs MMC Controller 13 - $ref: mmc-controller.yaml# 19 - ingenic,jz4740-mmc 20 - ingenic,jz4725b-mmc 21 - ingenic,jz4760-mmc 22 - ingenic,jz4775-mmc 23 - ingenic,jz4780-mmc 24 - ingenic,x1000-mmc 26 - const: ingenic,jz4770-mmc [all …]
|
| H A D | owl-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/owl-mmc.yaml# 7 title: Actions Semi Owl SoCs SD/MMC/SDIO controller 10 - $ref: mmc-controller.yaml 18 - const: actions,owl-mmc 21 - actions,s500-mmc 22 - actions,s700-mmc 23 - const: actions,owl-mmc 41 const: mmc 56 mmc0: mmc@e0330000 { 57 compatible = "actions,owl-mmc"; [all …]
|
| H A D | mxs-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml# 7 title: Freescale MXS MMC controller 13 The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller 14 to support MMC, SD, and SDIO types of memory cards. 16 This file documents differences between the core properties in mmc.txt 20 - $ref: mmc-controller-common.yaml# 25 - fsl,imx23-mmc 26 - fsl,imx28-mmc 55 mmc@80010000 { 56 compatible = "fsl,imx28-mmc";
|
| H A D | mmc-controller-common.yaml | 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml# 7 title: MMC Controller & Slots Common Properties 13 These properties are common to multiple MMC host controllers and the 44 # *NOTE* on CD and WP polarity. To use common for all SD/MMC host 88 - some mmc host controllers do support a max frequency up to 135 cap-mmc-highspeed: 138 MMC high-speed timing is supported. 170 cap-mmc-hw-reset: 190 mmc-ddr-1_2v: 195 mmc-ddr-1_8v: [all …]
|
| H A D | fsl-imx-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml# 13 - $ref: mmc-controller.yaml 18 - const: fsl,imx21-mmc 19 - const: fsl,imx31-mmc 21 - const: fsl,imx27-mmc 22 - const: fsl,imx21-mmc 55 mmc@10014000 { 56 compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
|
| H A D | moxa,moxart-mmc.txt | 1 MOXA ART MMC Host Controller Interface 3 Inherits from mmc binding[1]. 5 [1] Documentation/devicetree/bindings/mmc/mmc.txt 9 - compatible : Must be "moxa,moxart-mmc" or "faraday,ftsdc010" 12 - clocks : Should contain phandle for the clock feeding the MMC controller 22 mmc: mmc@98e00000 { 23 compatible = "moxa,moxart-mmc";
|
| H A D | starfive,jh7110-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/starfive,jh7110-mmc.yaml# 11 to interface a SoC with storage medium such as eMMC or SD/MMC cards. 21 const: starfive,jh7110-mmc 44 - description: offset of SYS_SYSCONSAIF__SYSCFG register for MMC controller 45 - description: shift of SYS_SYSCONSAIF__SYSCFG register for MMC controller 46 - description: mask of SYS_SYSCONSAIF__SYSCFG register for MMC controller 50 for MMC controller. 63 mmc@16010000 { 64 compatible = "starfive,jh7110-mmc";
|
| H A D | sprd,sdhci-r11.yaml | 4 $id: http://devicetree.org/schemas/mmc/sprd,sdhci-r11.yaml# 53 "^sprd,phy-delay-(legacy|mmc-(ddr52|highspeed|hs[24]00|hs400es)|sd-(highspeed|uhs-sdr(50|104)))$": 83 mmc@50430000 { 98 cap-mmc-hw-reset; 99 mmc-hs400-enhanced-strobe; 100 mmc-hs400-1_8v; 101 mmc-hs200-1_8v; 102 mmc-ddr-1_8v; 107 sprd,phy-delay-mmc-ddr52 = <0x3f 0x75 0x14 0x14>; 108 sprd,phy-delay-mmc-hs200 = <0x0 0x8c 0x8c 0x8c>; [all …]
|
| H A D | sunplus,mmc.yaml | 5 $id: http://devicetree.org/schemas/mmc/sunplus,mmc.yaml# 8 title: Sunplus MMC Controller 15 - $ref: mmc-controller.yaml 20 - sunplus,sp7021-mmc 47 mmc0: mmc@9c003b00 { 48 compatible = "sunplus,sp7021-mmc"; 57 cap-mmc-highspeed; 58 mmc-ddr-3_3v;
|
| /linux/drivers/mmc/host/ |
| H A D | meson-mx-sdhc-mmc.c | 3 * Amlogic Meson6/Meson8/Meson8b/Meson8m2 SDHC MMC host controller driver. 21 #include <linux/mmc/host.h> 22 #include <linux/mmc/mmc.h> 23 #include <linux/mmc/sdio.h> 24 #include <linux/mmc/slot-gpio.h> 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 80 static void meson_mx_sdhc_clear_fifo(struct mmc_host *mmc) in meson_mx_sdhc_clear_fifo() argument [all …]
|
| H A D | mmc_hsq.c | 4 * MMC software queue support based on command queue interfaces 10 #include <linux/mmc/card.h> 11 #include <linux/mmc/host.h> 19 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() [all …]
|
| H A D | sunxi-mmc.c | 3 * Driver for sunxi SD/MMC host controllers 21 #include <linux/mmc/card.h> 22 #include <linux/mmc/core.h> 23 #include <linux/mmc/host.h> 24 #include <linux/mmc/mmc.h> 25 #include <linux/mmc/sd.h> 26 #include <linux/mmc/sdio.h> 27 #include <linux/mmc/slot-gpio.h> 258 * a mode switch in the clock controller, or the mmc controller 270 struct mmc_host *mmc; member [all …]
|
| H A D | mxcmmc.c | 3 * linux/drivers/mmc/host/mxcmmc.c - Freescale i.MX MMCI driver 25 #include <linux/mmc/host.h> 26 #include <linux/mmc/card.h> 35 #include <linux/mmc/slot-gpio.h> 39 #include <linux/platform_data/mmc-mxcmmc.h> 43 #define DRIVER_NAME "mxc-mmc" 120 struct mmc_host *mmc; member 161 .compatible = "fsl,imx21-mmc", 164 .compatible = "fsl,imx31-mmc", 221 if (!IS_ERR(host->mmc->supply.vmmc)) { in mxcmci_set_power() [all …]
|
| H A D | litex_mmc.c | 23 #include <linux/mmc/host.h> 24 #include <linux/mmc/mmc.h> 25 #include <linux/mmc/sd.h> 85 struct mmc_host *mmc; member 132 struct device *dev = mmc_dev(host->mmc); in litex_mmc_send_cmd() 191 static int litex_mmc_get_cd(struct mmc_host *mmc) in litex_mmc_get_cd() argument 193 struct litex_mmc_host *host = mmc_priv(mmc); in litex_mmc_get_cd() 196 if (!mmc_card_is_removable(mmc)) in litex_mmc_get_cd() 208 struct mmc_host *mmc = arg; in litex_mmc_interrupt() local 209 struct litex_mmc_host *host = mmc_priv(mmc); in litex_mmc_interrupt() [all …]
|
| H A D | sdricoh_cs.c | 25 #include <linux/mmc/host.h> 26 #include <linux/mmc/mmc.h> 77 /* mmc privdata */ 80 struct mmc_host *mmc; /* MMC structure */ member 254 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdricoh_request() argument 256 struct sdricoh_host *host = mmc_priv(mmc); in sdricoh_request() 331 mmc_request_done(mmc, mrq); in sdricoh_request() 335 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdricoh_set_ios() argument 337 struct sdricoh_host *host = mmc_priv(mmc); in sdricoh_set_ios() 356 static int sdricoh_get_ro(struct mmc_host *mmc) in sdricoh_get_ro() argument [all …]
|
| H A D | mmci_stm32_sdmmc.c | 10 #include <linux/mmc/host.h> 11 #include <linux/mmc/card.h> 85 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_validate_data() 98 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data() 106 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data() 117 host->mmc->max_req_size, in sdmmc_idma_validate_data() 147 n_elem = dma_map_sg(mmc_dev(host->mmc), in _sdmmc_idma_prep_data() 153 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in _sdmmc_idma_prep_data() 183 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdmmc_idma_unprep_data() 191 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_setup() [all …]
|
| H A D | usdhi6rol0.c | 16 #include <linux/mmc/host.h> 17 #include <linux/mmc/mmc.h> 18 #include <linux/mmc/sd.h> 19 #include <linux/mmc/sdio.h> 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() [all …]
|
| H A D | ushc.c | 20 #include <linux/mmc/host.h> 91 struct mmc_host *mmc; member 186 mmc_signal_sdio_irq(ushc->mmc); in int_callback() 190 mmc_detect_change(ushc->mmc, msecs_to_jiffies(100)); in int_callback() 245 mmc_request_done(ushc->mmc, req); in csw_callback() 248 static void ushc_request(struct mmc_host *mmc, struct mmc_request *req) in ushc_request() argument 250 struct ushc_data *ushc = mmc_priv(mmc); in ushc_request() 317 mmc_request_done(mmc, req); in ushc_request() 371 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in ushc_set_ios() argument 373 struct ushc_data *ushc = mmc_priv(mmc); in ushc_set_ios() [all …]
|
| H A D | owl-mmc.c | 3 * Actions Semi Owl SoCs SD/MMC driver 17 #include <linux/mmc/host.h> 18 #include <linux/mmc/slot-gpio.h> 114 struct mmc_host *mmc; member 169 mmc_request_done(owl_host->mmc, mrq); in owl_mmc_finish_request() 216 dev_warn(owl_host->dev, "Unknown MMC command\n"); in owl_mmc_send_cmd() 339 static void owl_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in owl_mmc_request() argument 341 struct owl_mmc_host *owl_host = mmc_priv(mmc); in owl_mmc_request() 484 static void owl_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in owl_mmc_set_ios() argument 486 struct owl_mmc_host *owl_host = mmc_priv(mmc); in owl_mmc_set_ios() [all …]
|
| H A D | mmc_spi.c | 3 * Access SD/MMC cards through SPI master controllers 22 #include <linux/mmc/host.h> 23 #include <linux/mmc/mmc.h> /* for R1_SPI_* bit values */ 24 #include <linux/mmc/slot-gpio.h> 34 * - For now, we won't try to interoperate with a real mmc/sd/sdio 36 * SPI protocol. The main reason for such configs would be mmc-ish 39 * We don't have a "DataFlash/MMC/SD/SDIO card slot" abstraction to 43 * - MMC depends on a different chipselect management policy than the 105 struct mmc_host *mmc; member 135 * MMC-over-SPI protocol glue, used by the MMC stack interface [all …]
|
| /linux/Documentation/driver-api/mmc/ |
| H A D | mmc-async-req.rst | 2 MMC Asynchronous Request 13 transfer, the DMA preparation overhead would not affect the MMC performance. 15 The intention of non-blocking (asynchronous) MMC requests is to minimize the 16 time between when an MMC request ends and another MMC request begins. 18 Using mmc_wait_for_req(), the MMC controller is idle while dma_map_sg and 19 dma_unmap_sg are processing. Using non-blocking MMC requests makes it 21 MMC request. 23 MMC block driver 26 The mmc_blk_issue_rw_rq() in the MMC block driver is made non-blocking. 30 a request and how fast the memory is. The faster the MMC/SD is the [all …]
|
| /linux/drivers/mmc/ |
| H A D | Kconfig | 3 # MMC subsystem configuration 6 menuconfig MMC config 7 tristate "MMC/SD/SDIO card support" 13 If you want MMC/SD/SDIO support, you should say Y here and 16 if MMC 18 source "drivers/mmc/core/Kconfig" 20 source "drivers/mmc/host/Kconfig" 22 endif # MMC
|
| /linux/drivers/mmc/core/ |
| H A D | Kconfig | 3 # MMC core configuration 27 tristate "Simple HW reset support for MMC" 31 This selects simple hardware reset support aka pwrseq-simple for MMC 38 tristate "MMC block device driver" 44 Say Y here to enable the MMC block device driver support. 46 mount the filesystem. Almost everyone wishing MMC support 58 Number of total MMC minors available is 256, so your number 75 tristate "MMC host test driver" 87 bool "MMC Crypto Engine Support" 90 Enable Crypto Engine Support in MMC. [all …]
|