/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-controller-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MMC Controller & Slots Common Properties 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 These properties are common to multiple MMC host controllers and the 14 possible slots or ports for multi-slot controllers. 17 "#address-cells": 22 "#size-cells": [all …]
|
H A D | loongson,ls2k0500-mmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/loongson,ls2k0500-mmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: The SD/SDIO/eMMC host controller for Loongson-2K family SoCs 10 The MMC host controller on the Loongson-2K0500/2K1000 (using an externally 12 The two MMC host controllers on the Loongson-2K2000 are similar, 17 - Binbin Zhou <zhoubinbin@loongson.cn> 20 - $ref: mmc-controller.yaml# 25 - loongson,ls2k0500-mmc [all …]
|
H A D | sunplus,mmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/mmc/sunplus,mmc.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Sunplus MMC Controller 11 - Tony Huang <tonyhuang.sunplus@gmail.com> 12 - Li-hao Kuo <lhjeff911@gmail.com> 15 - $ref: mmc-controller.yaml 20 - sunplus,sp7021-mmc 35 - compatible [all …]
|
H A D | sprd,sdhci-r11.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mmc/sprd,sdhci-r11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 16 const: sprd,sdhci-r11 27 - description: SDIO source clock 28 - description: gate clock for enabling/disabling the device [all …]
|
H A D | mtk-sd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mtk-sd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chaotian Jing <chaotian.jing@mediatek.com> 11 - Wenbin Mei <wenbin.mei@mediatek.com> 16 - enum: 17 - mediatek,mt2701-mmc 18 - mediatek,mt2712-mmc 19 - mediatek,mt6779-mmc [all …]
|
H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 This file documents differences between the core MMC properties described by 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci [all …]
|
/linux/Documentation/driver-api/mmc/ |
H A D | mmc-async-req.rst | 2 MMC Asynchronous Request 11 pre-fetch makes the cache overhead relatively significant. If the DMA 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. [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | cv1812h-huashan-pi.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 12 compatible = "sophgo,huashan-pi", "sophgo,cv1812h"; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 #address-cells = <1>; 32 #size-cells = <1>; 37 no-map; 43 clock-frequency = <25000000>; 48 bus-width = <4>; [all …]
|
/linux/drivers/mmc/host/ |
H A D | mmc_hsq.c | 1 // SPDX-License-Identifier: GPL-2.0 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() 32 mrq = hsq->slot[tag].mrq; in mmc_hsq_modify_threshold() 33 if (mrq && mrq->data && in mmc_hsq_modify_threshold() [all …]
|
H A D | mmci_stm32_sdmmc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved 8 #include <linux/dma-mapping.h> 10 #include <linux/mmc/host.h> 11 #include <linux/mmc/card.h> 84 struct sdmmc_idma *idma = host->dma_priv; in sdmmc_idma_validate_data() 85 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_validate_data() 91 * excepted the last element which has no constraint on idmasize in sdmmc_idma_validate_data() 93 idma->use_bounce_buffer = false; in sdmmc_idma_validate_data() 94 for_each_sg(data->sg, sg, data->sg_len - 1, i) { in sdmmc_idma_validate_data() [all …]
|
H A D | sdhci-of-sparx5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/mmc/host/sdhci-of-sparx5.c 17 #include <linux/dma-mapping.h> 20 #include "sdhci-pltfm.h" 46 ((addr | (SZ_128M - 1)) == ((addr + len - 1) | (SZ_128M - 1))) 64 mmc_hostname(host->mmc), len, &addr); in sdhci_sparx5_adma_write_desc() 66 offset = addr & (SZ_128M - 1); in sdhci_sparx5_adma_write_desc() 67 tmplen = SZ_128M - offset; in sdhci_sparx5_adma_write_desc() 71 len -= tmplen; in sdhci_sparx5_adma_write_desc() 80 pr_debug("%s: Set Cacheable = 0x%x\n", mmc_hostname(host->mmc), value); in sparx5_set_cacheable() [all …]
|
H A D | mxcmmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/host/mxcmmc.c - Freescale i.MX MMCI driver 24 #include <linux/dma-mapping.h> 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> 41 #include <linux/dma/imx-dma.h> 43 #define DRIVER_NAME "mxc-mmc" 120 struct mmc_host *mmc; member [all …]
|
H A D | sdricoh_cs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sdricoh_cs.c - driver for Ricoh Secure Digital Card Readers that can be 6 * Copyright (C) 2006 - 2008 Sascha Sommer <saschasommer@freenet.de> 25 #include <linux/mmc/host.h> 26 #include <linux/mmc/mmc.h> 77 /* mmc privdata */ 80 struct mmc_host *mmc; /* MMC structure */ member 91 unsigned int value = readl(host->iobase + reg); in sdricoh_readl() 92 dev_vdbg(host->dev, "rl %x 0x%x\n", reg, value); in sdricoh_readl() 99 writel(value, host->iobase + reg); in sdricoh_writel() [all …]
|
H A D | meson-mx-sdhc-mmc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Amlogic Meson6/Meson8/Meson8b/Meson8m2 SDHC MMC host controller driver. 10 #include <linux/dma-mapping.h> 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> 26 #include "meson-mx-sdhc.h" 38 void (*init_hw)(struct mmc_host *mmc); 39 void (*set_pdma)(struct mmc_host *mmc); [all …]
|
H A D | vub300.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * based on USB Skeleton driver - 2.2 9 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 11 * VUB300: is a USB 2.0 client device with a single SDIO/SDmem/MMC slot 12 * Any SDIO/SDmem/MMC device plugged into the VUB300 will appear, 16 * client device driver AND an MMC host controller driver. Thus 17 * if there is an existing driver for the inserted SDIO/SDmem/MMC 22 * RANT: this driver was written using a display 128x48 - converting it 44 #include <linux/mmc/host.h> 45 #include <linux/mmc/card.h> [all …]
|
H A D | cqhci-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 16 #include <linux/mmc/mmc.h> 17 #include <linux/mmc/host.h> 18 #include <linux/mmc/card.h> 21 #include "cqhci-crypto.h" 43 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc() 50 return desc + cq_host->task_desc_len; in get_link_desc() 55 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset() 62 return cq_host->trans_desc_dma_base + offset; in get_trans_desc_dma() [all …]
|
H A D | pxamci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mmc/host/pxa.c - PXA MMCI driver 8 * - No way to clear interrupts. 9 * - Have to turn off the clock whenever we touch the device. 10 * - Doesn't tell you how many data blocks were transferred. 23 #include <linux/dma-mapping.h> 26 #include <linux/mmc/host.h> 27 #include <linux/mmc/slot-gpio.h> 37 #include <linux/platform_data/mmc-pxamci.h> 41 #define DRIVER_NAME "pxa2xx-mci" [all …]
|
H A D | cavium.c | 2 * Shared part of driver for MMC/SDHC controller on Cavium OCTEON and 9 * Copyright (C) 2012-2017 Cavium Inc. 18 #include <linux/dma-direction.h> 19 #include <linux/dma-mapping.h> 22 #include <linux/mmc/mmc.h> 23 #include <linux/mmc/slot-gpio.h> 32 "MMC Buffer", 33 "MMC Command", 34 "MMC DMA", 35 "MMC Command Error", [all …]
|
H A D | dw_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/dma-mapping.h> 30 #include <linux/mmc/card.h> 31 #include <linux/mmc/host.h> 32 #include <linux/mmc/mmc.h> 33 #include <linux/mmc/sd.h> 34 #include <linux/mmc/sdio.h> 38 #include <linux/mmc/slot-gpio.h> 73 ((d)->des2 = ((d)->des2 & cpu_to_le32(0x03ffe000)) | \ 78 u32 des4; /* Lower 32-bits of Buffer Address Pointer 1*/ [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-radxa-zero-3w.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3566-radxa-zero-3.dtsi" 9 compatible = "radxa,zero-3w", "rockchip,rk3566"; 17 sdio_pwrseq: sdio-pwrseq { 18 compatible = "mmc-pwrseq-simple"; 20 clock-names = "ext_clock"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&wifi_reg_on_h>; 23 post-power-on-delay-ms = <100>; [all …]
|
H A D | rk3562-evb2-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2024-2025 Rockchip Electronics Co., Ltd. 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 17 compatible = "rockchip,rk3562-evb2-v10", "rockchip,rk3562"; 20 stdout-path = "serial0:1500000n8"; 23 adc_keys: adc-keys { [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7986a-bananapi-bpi-r3-emmc.dtso | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 11 compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; 14 &{/soc/mmc@11230000} { 15 bus-width = <8>; 16 max-frequency = <200000000>; 17 cap-mmc-highspeed; 18 mmc-hs200-1_8v; 19 mmc-hs400-1_8v; 20 hs400-ds-delay = <0x14014>; [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | whale2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/sprd,sc9860-clk.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 compatible = "simple-bus"; 17 #address-cells = <2>; 18 #size-cells = <2>; 66 ap-apb@70000000 { 67 compatible = "simple-bus"; [all …]
|
/linux/arch/arm64/boot/dts/sophgo/ |
H A D | sg2000-milkv-duo-module-01.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 #include <dt-bindings/pinctrl/pinctrl-sg2000.h> 7 model = "Milk-V Duo Module 01"; 8 compatible = "milkv,duo-module-01", "sophgo,sg2000"; 20 clock-frequency = <25000000>; 24 bus-width = <4>; 25 no-1-8-v; 26 cap-mmc-hw-reset; 27 no-sd; 28 no-sdio; [all …]
|