| /kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | mmc_core.c | 14 #include "mmc.h" 18 #define MMC_CNTRL 0x00 /* MMC Control */ 19 #define MMC_RX_INTR 0x04 /* MMC RX Interrupt */ 20 #define MMC_TX_INTR 0x08 /* MMC TX Interrupt */ 21 #define MMC_RX_INTR_MASK 0x0c /* MMC Interrupt Mask */ 22 #define MMC_TX_INTR_MASK 0x10 /* MMC Interrupt Mask */ 25 /* MMC TX counter registers */ 57 /* MMC RX counter registers */ 129 /* XGMAC MMC Registers */ 196 pr_debug("stmmac: MMC ctrl register (offset 0x%x): 0x%08x\n", in dwmac_mmc_ctrl() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/ |
| D | mmc_core.c | 23 #include "mmc.h" 27 #define MMC_CNTRL 0x00 /* MMC Control */ 28 #define MMC_RX_INTR 0x04 /* MMC RX Interrupt */ 29 #define MMC_TX_INTR 0x08 /* MMC TX Interrupt */ 30 #define MMC_RX_INTR_MASK 0x0c /* MMC Interrupt Mask */ 31 #define MMC_TX_INTR_MASK 0x10 /* MMC Interrupt Mask */ 34 /* MMC TX counter registers */ 66 /* MMC RX counter registers */ 139 pr_debug("stmmac: MMC ctrl register (offset 0x%x): 0x%08x\n", in dwmac_mmc_ctrl() 152 * by default the MMC core is programmed to reset each [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| 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 68 static void meson_mx_sdhc_hw_reset(struct mmc_host *mmc) in meson_mx_sdhc_hw_reset() argument [all …]
|
| 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> 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() 147 * @mmc: the host controller [all …]
|
| D | cqhci.c | 16 #include <linux/mmc/mmc.h> 17 #include <linux/mmc/host.h> 18 #include <linux/mmc/card.h> 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() [all …]
|
| D | meson-mx-sdio.c | 3 * meson-mx-sdio.c - Meson6, Meson8 and Meson8b SDIO/MMC Host Controller 25 #include <linux/mmc/host.h> 26 #include <linux/mmc/mmc.h> 27 #include <linux/mmc/sdio.h> 28 #include <linux/mmc/slot-gpio.h> 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() [all …]
|
| D | Kconfig | 3 # MMC/SD host controller drivers 6 comment "MMC/SD/SDIO Host Controller Drivers" 9 bool "MMC host drivers debugging" 10 depends on MMC != n 13 say N here. This enables MMC host driver debugging. And further 34 Qcom SOCs and MMC, you would probably need this option to get DMA working. 107 bool "Ricoh MMC Controller Disabler" 111 This adds a pci quirk to disable Ricoh MMC Controller. This 113 supports MMC cards on the SD controller, but if it is not 114 disabled, it will steal the MMC cards away - rendering them [all …]
|
| D | mxs-mmc.c | 4 * Portions copyright (C) 2004-2005 Pierre Ossman, W83L51xD SD/MMC driver 25 #include <linux/mmc/host.h> 26 #include <linux/mmc/mmc.h> 27 #include <linux/mmc/sdio.h> 28 #include <linux/mmc/slot-gpio.h> 34 #define DRIVER_NAME "mxs-mmc" 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() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/ |
| D | mtk-sd.txt | 1 * MTK MMC controller 3 The MTK MSDC can act as a MMC controller 4 to support MMC, SD, and SDIO types of memory cards. 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 [all …]
|
| 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 …]
|
| D | sdhci-st.txt | 1 * STMicroelectronics sdhci-st MMC/SD controller 4 Documentation/devicetree/bindings/mmc/mmc.txt and the properties 9 to set the internal glue logic used for configuring the MMC 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. [all …]
|
| D | allwinner,sun4i-a10-mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/allwinner,sun4i-a10-mmc.yaml# 7 title: Allwinner A10 MMC Controller Device Tree Bindings 10 - $ref: "mmc-controller.yaml" 22 - const: allwinner,sun4i-a10-mmc 23 - const: allwinner,sun5i-a13-mmc 24 - const: allwinner,sun7i-a20-mmc 26 - const: allwinner,sun9i-a80-mmc 28 - const: allwinner,sun50i-a64-mmc 30 - const: allwinner,sun8i-a83t-mmc 31 - const: allwinner,sun7i-a20-mmc [all …]
|
| D | ingenic,mmc.yaml | 4 $id: http://devicetree.org/schemas/mmc/ingenic,mmc.yaml# 7 title: Ingenic SoCs MMC Controller DT bindings 13 - $ref: mmc-controller.yaml# 19 - ingenic,jz4740-mmc 20 - ingenic,jz4725b-mmc 21 - ingenic,jz4760-mmc 22 - ingenic,jz4780-mmc 23 - ingenic,x1000-mmc 25 - const: ingenic,jz4770-mmc 26 - const: ingenic,jz4760-mmc [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/ |
| 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 …]
|
| D | sdhci-st.txt | 1 * STMicroelectronics sdhci-st MMC/SD controller 4 Documentation/devicetree/bindings/mmc/mmc.txt and the properties 9 to set the internal glue logic used for configuring the MMC 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. [all …]
|
| D | sunxi-mmc.txt | 1 * Allwinner sunxi MMC controller 3 The highspeed MMC host controller on Allwinner SoCs provides an interface 4 for MMC, SD and SDIO types of memory cards. 12 * "allwinner,sun4i-a10-mmc" 13 * "allwinner,sun5i-a13-mmc" 14 * "allwinner,sun7i-a20-mmc" 16 * "allwinner,sun9i-a80-mmc" 18 * "allwinner,sun50i-a64-mmc" 20 * "allwinner,sun50i-h6-mmc", "allwinner.sun50i-a64-mmc" 21 - reg : mmc controller base registers [all …]
|
| D | mtk-sd.txt | 1 * MTK MMC controller 3 The MTK MSDC can act as a MMC controller 4 to support MMC, SD, and SDIO types of memory cards. 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,mt2701-mmc": for mmc host ip compatible with mt2701 14 "mediatek,mt2712-mmc": for mmc host ip compatible with mt2712 15 "mediatek,mt7622-mmc": for MT7622 SoC 16 "mediatek,mt7623-mmc", "mediatek,mt2701-mmc": for MT7623 SoC [all …]
|
| D | ti-omap.txt | 1 * TI MMC host controller for OMAP1 and 2420 3 The MMC Host Controller on TI OMAP1 and 2420 family provides 4 an interface for MMC, SD, and SDIO types of memory cards. 7 by mmc.txt and the properties used by the omap mmc driver. 13 - compatible: Must be "ti,omap2420-mmc", for OMAP2420 controllers 19 msdi1: mmc@4809c000 { 20 compatible = "ti,omap2420-mmc"; 28 * TI MMC host controller for OMAP1 and 2420 30 The MMC Host Controller on TI OMAP1 and 2420 family provides 31 an interface for MMC, SD, and SDIO types of memory cards. [all …]
|
| /kernel/linux/linux-4.19/drivers/mmc/host/ |
| D | cqhci.c | 24 #include <linux/mmc/mmc.h> 25 #include <linux/mmc/host.h> 26 #include <linux/mmc/card.h> 58 (cq_host->mmc->max_segs * tag * in get_trans_desc_dma() 65 (cq_host->trans_desc_len * cq_host->mmc->max_segs * tag); in get_trans_desc() 80 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc() 107 pr_err("%s: " DRV_NAME ": " f, mmc_hostname(mmc), ## x) 111 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local 150 cq_host->ops->dumpregs(mmc); in cqhci_dumpregs() 204 cq_host->data_size = cq_host->trans_desc_len * cq_host->mmc->max_segs * in cqhci_host_alloc_tdl() [all …]
|
| D | meson-mx-sdio.c | 2 * meson-mx-sdio.c - Meson6, Meson8 and Meson8b SDIO/MMC Host Controller 28 #include <linux/mmc/host.h> 29 #include <linux/mmc/mmc.h> 30 #include <linux/mmc/sdio.h> 31 #include <linux/mmc/slot-gpio.h> 121 struct mmc_host *mmc; member 128 static void meson_mx_mmc_mask_bits(struct mmc_host *mmc, char reg, u32 mask, in meson_mx_mmc_mask_bits() argument 131 struct meson_mx_mmc_host *host = mmc_priv(mmc); in meson_mx_mmc_mask_bits() 158 static void meson_mx_mmc_start_cmd(struct mmc_host *mmc, in meson_mx_mmc_start_cmd() argument 161 struct meson_mx_mmc_host *host = mmc_priv(mmc); in meson_mx_mmc_start_cmd() [all …]
|
| D | meson-gx-mmc.c | 31 #include <linux/mmc/host.h> 32 #include <linux/mmc/mmc.h> 33 #include <linux/mmc/sdio.h> 34 #include <linux/mmc/slot-gpio.h> 44 #define DRIVER_NAME "meson-gx-mmc" 159 struct mmc_host *mmc; member 220 struct meson_mmc_phase *mmc = to_meson_mmc_phase(hw); in meson_mmc_clk_get_phase() local 221 unsigned int phase_num = 1 << hweight_long(mmc->phase_mask); in meson_mmc_clk_get_phase() 226 val = readl(mmc->reg); in meson_mmc_clk_get_phase() 227 p = (val & mmc->phase_mask) >> __ffs(mmc->phase_mask); in meson_mmc_clk_get_phase() [all …]
|
| D | Kconfig | 2 # MMC/SD host controller drivers 5 comment "MMC/SD/SDIO Host Controller Drivers" 8 bool "MMC host drivers debugging" 9 depends on MMC != n 12 say N here. This enables MMC host driver debugging. And further 33 Qcom SOCs and MMC, you would probably need this option to get DMA working. 94 bool "Ricoh MMC Controller Disabler" 98 This adds a pci quirk to disable Ricoh MMC Controller. This 100 supports MMC cards on the SD controller, but if it is not 101 disabled, it will steal the MMC cards away - rendering them [all …]
|
| D | tmio_mmc_core.c | 2 * Driver for the MMC / SD / SDIO IP found in: 25 * Handle MMC errors better 37 #include <linux/mmc/card.h> 38 #include <linux/mmc/host.h> 39 #include <linux/mmc/mmc.h> 40 #include <linux/mmc/slot-gpio.h> 47 #include <linux/mmc/sdio.h> 134 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in tmio_mmc_enable_sdio_irq() argument 136 struct tmio_mmc_host *host = mmc_priv(mmc); in tmio_mmc_enable_sdio_irq() 142 pm_runtime_get_sync(mmc_dev(mmc)); in tmio_mmc_enable_sdio_irq() [all …]
|
| D | mxs-mmc.c | 3 * Portions copyright (C) 2004-2005 Pierre Ossman, W83L51xD SD/MMC driver 38 #include <linux/mmc/host.h> 39 #include <linux/mmc/mmc.h> 40 #include <linux/mmc/sdio.h> 41 #include <linux/mmc/slot-gpio.h> 48 #define DRIVER_NAME "mxs-mmc" 65 struct mmc_host *mmc; member 76 static int mxs_mmc_get_cd(struct mmc_host *mmc) in mxs_mmc_get_cd() argument 78 struct mxs_mmc_host *host = mmc_priv(mmc); in mxs_mmc_get_cd() 85 ret = mmc_gpio_get_cd(mmc); in mxs_mmc_get_cd() [all …]
|
| D | android-goldfish.c | 32 #include <linux/mmc/mmc.h> 33 #include <linux/mmc/sdio.h> 34 #include <linux/mmc/host.h> 35 #include <linux/mmc/card.h> 67 /* MMC command number */ 70 /* MMC argument */ 73 /* MMC response (or R2 bits 0 - 31) */ 76 /* MMC R2 response bits 32 - 63 */ 79 /* MMC R2 response bits 64 - 95 */ 82 /* MMC R2 response bits 96 - 127 */ [all …]
|