Home
last modified time | relevance | path

Searched +full:no +full:- +full:mmc (Results 1 – 25 of 1039) sorted by relevance

12345678910>>...42

/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dregulator.c1 // SPDX-License-Identifier: GPL-2.0
3 * Helper functions for MMC regulators.
11 #include <linux/mmc/host.h>
19 * mmc_ocrbitnum_to_vdd - Convert a OCR bit number to its voltage
32 return -EINVAL; in mmc_ocrbitnum_to_vdd()
40 tmp = vdd_bit - ilog2(MMC_VDD_165_195); in mmc_ocrbitnum_to_vdd()
53 * mmc_regulator_get_ocrmask - return mask of supported voltages
57 * can be provided to MMC/SD/SDIO devices using the specified voltage
59 * MMC host adapter.
95 * mmc_regulator_set_ocr - set regulator to match host->ios voltage
[all …]
H A Dhost.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/mmc/core/host.c
6 * Copyright (C) 2007-2008 Pierre Ossman
9 * MMC host class device management
23 #include <linux/mmc/host.h>
24 #include <linux/mmc/card.h>
25 #include <linux/mmc/slot-gpio.h>
30 #include "slot-gpio.h"
47 if (!host->bus_ops) in mmc_host_class_prepare()
51 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MMC Controller Generic Binding
10 - Ulf Hansson <ulf.hansson@linaro.org>
13 These properties are common to multiple MMC host controllers. Any host
17 It is possible to assign a fixed index mmcN to an MMC host controller
23 pattern: "^mmc(@.*)?$"
25 "#address-cells":
[all …]
H A Dsdhci-sprd.txt1 * Spreadtrum SDHCI controller (sdhci-sprd)
4 for MMC, SD and SDIO types of cards.
6 This file documents differences between the core properties in mmc.txt
7 and the properties used by the sdhci-sprd driver.
10 - compatible: Should contain "sprd,sdhci-r11".
11 - reg: physical base address of the controller and length.
12 - interrupts: Interrupts used by the SDHCI controller.
13 - clocks: Should contain phandle for the clock feeding the SDHCI controller
14 - clock-names: Should contain the following:
15 "sdio" - SDIO source clock (required)
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dmmc.c3 * Kyle Harris, kharris@nexus-tech.net
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <mmc.h>
15 static int curr_device = -1;
17 static void print_mmcinfo(struct mmc *mmc) in print_mmcinfo() argument
25 printf("Device: %s\n", mmc->cfg->name); in print_mmcinfo()
26 printf("Manufacturer ID: %x\n", mmc->cid[0] >> 24); in print_mmcinfo()
27 printf("OEM: %x\n", (mmc->cid[0] >> 8) & 0xffff); in print_mmcinfo()
28 printf("Name: %c%c%c%c%c \n", mmc->cid[0] & 0xff, in print_mmcinfo()
29 (mmc->cid[1] >> 24), (mmc->cid[1] >> 16) & 0xff, in print_mmcinfo()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/mmc/
H A Dmmc-async-req.rst2 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 …]
/OK3568_Linux_fs/u-boot/env/
H A Dmmc.c2 * (C) Copyright 2008-2011 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
17 #include <mmc.h>
43 ret = blk_get_device_by_str("mmc", STR(CONFIG_SYS_MMC_ENV_DEV), &desc); in mmc_offset_try_partition()
57 len = (CONFIG_ENV_SIZE + info.blksz - 1) & ~(info.blksz - 1); in mmc_offset_try_partition()
60 *val = (info.start + info.size - 1) - len / info.blksz; in mmc_offset_try_partition()
72 .offset_redund = "u-boot,mmc-env-offset-redundant", in mmc_offset()
73 .partition = "u-boot,mmc-env-partition", in mmc_offset()
74 .offset = "u-boot,mmc-env-offset", in mmc_offset()
81 /* look for the partition in mmc CONFIG_SYS_MMC_ENV_DEV */ in mmc_offset()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A DKconfig1 menu "MMC Host controller Support"
3 config MMC config
4 bool "MMC/SD/SDIO card support"
10 If you want MMC/SD/SDIO support, you should say Y here and
14 bool "support for MMC/SD write operations"
15 depends on MMC
18 Enable write access to MMC and SD Cards
21 bool "Enable MMC controllers using Driver Model"
24 This enables the MultiMediaCard (MMC) uclass which supports MMC and
25 Secure Digital I/O (SDIO) cards. Both removable (SD, micro-SD, etc.)
[all …]
H A Domap_hsmmc.c4 * Sukumar Ghorai <s-ghorai@ti.com>
22 * MA 02111-1307 USA
28 #include <mmc.h>
87 static inline struct omap_hsmmc_data *omap_hsmmc_get_data(struct mmc *mmc) in omap_hsmmc_get_data() argument
90 return dev_get_priv(mmc->dev); in omap_hsmmc_get_data()
92 return (struct omap_hsmmc_data *)mmc->priv; in omap_hsmmc_get_data()
95 static inline struct mmc_config *omap_hsmmc_get_cfg(struct mmc *mmc) in omap_hsmmc_get_cfg() argument
98 struct omap_hsmmc_plat *plat = dev_get_platdata(mmc->dev); in omap_hsmmc_get_cfg()
99 return &plat->cfg; in omap_hsmmc_get_cfg()
101 return &((struct omap_hsmmc_data *)mmc->priv)->cfg; in omap_hsmmc_get_cfg()
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dalcor.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2018 Oleksij Rempel <linux@rempel-privat.de>
10 * As soon as some one with documentation or more experience in SD/MMC, or
12 * thing what I did. 2018 Oleksij Rempel <linux@rempel-privat.de>
24 #include <linux/mmc/host.h>
25 #include <linux/mmc/mmc.h>
75 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_rmw8()
89 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_mask_sd_irqs()
96 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_unmask_sd_irqs()
106 struct alcor_pci_priv *priv = host->alcor_pci; in alcor_reset()
[all …]
H A Ds3cmci.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/mmc/s3cmci.h - Samsung S3C MCI driver
5 * Copyright (C) 2004-2006 maintech GmbH, Thomas Kleffel <tk@maintech.de>
8 * Copyright (C) 2008 Simtec Electronics <ben-linux@fluff.org>
13 #include <linux/dma-mapping.h>
15 #include <linux/mmc/host.h>
26 #include <linux/mmc/slot-gpio.h>
27 #include <linux/platform_data/mmc-s3cmci.h>
31 #define DRIVER_NAME "s3c-mci"
133 dev_err(&host->pdev->dev, args); \
[all …]
H A Dmmc_hsq.c1 // 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>
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
34 spin_lock_irqsave(&hsq->lock, flags); in mmc_hsq_pump_requests()
37 if (hsq->mrq || hsq->recovery_halt) { in mmc_hsq_pump_requests()
38 spin_unlock_irqrestore(&hsq->lock, flags); in mmc_hsq_pump_requests()
[all …]
H A Ddavinci_mmc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * davinci_mmc.c - TI DaVinci MMC/SD/SDIO driver
16 #include <linux/mmc/host.h>
21 #include <linux/dma-mapping.h>
22 #include <linux/mmc/mmc.h>
25 #include <linux/mmc/slot-gpio.h>
28 #include <linux/platform_data/mmc-davinci.h>
38 #define DAVINCI_MMCTOR 0x14 /* Response Time-Out Register */
39 #define DAVINCI_MMCTOD 0x18 /* Data Read Time-Out Register */
145 #define MAX_CCNT ((1 << 16) - 1)
[all …]
H A Dmmci_stm32_sdmmc.c1 // 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>
62 * excepted the last element which has no constraint on idmasize in sdmmc_idma_validate_data()
64 for_each_sg(data->sg, sg, data->sg_len - 1, i) { in sdmmc_idma_validate_data()
65 if (!IS_ALIGNED(sg->offset, sizeof(u32)) || in sdmmc_idma_validate_data()
66 !IS_ALIGNED(sg->length, SDMMC_IDMA_BURST)) { in sdmmc_idma_validate_data()
67 dev_err(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
[all …]
H A Dcb710-mmc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cb710/mmc.c
5 * Copyright by Michał Mirosław, 2008-2009
11 #include "cb710-mmc.h"
20 (ARRAY_SIZE(cb710_clock_divider_log2) - 1)
27 static void cb710_mmc_select_clock_divider(struct mmc_host *mmc, int hz) in cb710_mmc_select_clock_divider() argument
29 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_select_clock_divider()
30 struct pci_dev *pdev = cb710_slot_to_chip(slot)->pdev; in cb710_mmc_select_clock_divider()
37 * indexes 1-7 work as written in the table in cb710_mmc_select_clock_divider()
38 * indexes 0,8-15 give no clock output in cb710_mmc_select_clock_divider()
[all …]
H A Dmeson-mx-sdhc-mmc.c1 // 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 …]
/OK3568_Linux_fs/u-boot/include/configs/
H A Dcm_t54.h2 * Config file for Compulab CM-T54 board
4 * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
8 * SPDX-License-Identifier: GPL-2.0+
24 /* Enable SD/MMC CD and WP GPIOs */
31 /* MMC ENV related defines */
81 #define CONFIG_SYS_AUTOLOAD "no"
87 "autoload=no\0" \
89 "fdtfile=omap5-sbc-t54.dtb\0" \
90 "kernel=zImage-cm-t54\0" \
91 "ramdisk=ramdisk-cm-t54.img\0" \
[all …]
H A Drut.h7 * U-Boot file:/include/configs/am335x_evm.h
9 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
11 * SPDX-License-Identifier: GPL-2.0+
20 #include "siemens-am33x-common.h"
54 "optargs=fixrtc --no-log consoleblank=0 \0" \
61 "mmc rescan; " \
63 "fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}\0" \
64 "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \
65 "importbootenv=echo Importing environment from mmc ...; " \
66 "env import -t $loadaddr $filesize\0" \
[all …]
H A Dopos6uldev.h6 * SPDX-License-Identifier: GPL-2.0+
37 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
41 /* MMC */
86 #define CONFIG_SYS_AUTOLOAD "no"
87 #define CONFIG_ROOTPATH "/tftpboot/" __stringify(CONFIG_BOARD_NAME) "-root"
107 "kernelimg=" __stringify(CONFIG_BOARD_NAME) "-linux.bin\0" \
109 "check_env=if test -n ${flash_env_version}; " \
114 "echo \"*** Warning - Environment version" \
118 "flash_reset_env=env default -f -a && saveenv && " \
120 "download_uboot_spl=tftpboot ${loadaddr} ${board_name}-u-boot.spl\0" \
[all …]
H A Dbrppt1.h4 * specific parts for B&R T-Series Motherboard
6 * Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at> -
7 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
9 * SPDX-License-Identifier: GPL-2.0+
17 /* ------------------------------------------------------------------------- */
45 /* MMC/SD IP block */
52 * both for ease of use in U-Boot and for passing information on to
94 "bootz ${loadaddr} - ${dtbaddr}\0" \
105 "dtbdev=mmc\0" \
110 "mmcboot0=echo booting Updatesystem from mmc (ext4-fs) ...; " \
[all …]
H A Dam335x_shc.h8 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
10 * SPDX-License-Identifier: GPL-2.0+
49 * ENV at MMC Boot0 Partition - 0/Undefined=user, 1=boot0, 2=boot1,
81 "fdtfile=am335x-shc.dtb\0" \
82 "verify=no\0" \
84 "rootpath=/srv/nfs/shc-rootfs\0" \
110 "loadbootenv=if fatload mmc ${mmcdev} ${loadaddr} ${bootenv}; then " \
115 "env import -t $loadaddr $filesize\0" \
116 "loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}\0" \
117 "loaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${kloadaddr} /boot/${bootfile}\0" \
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk322x-android.dtsi4 * This file is dual-licensed: you can use it either under the terms
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 #include <dt-bindings/pwm/pwm.h>
43 #include <dt-bindings/input/input.h>
50 fiq-debugger {
51 compatible = "rockchip,fiq-debugger";
53 rockchip,serial-id = <2>;
54 rockchip,signal-irq = <159>;
55 rockchip,wake-irq = <0>;
56 rockchip,irq-mode-enable = <0>; /* If enable uart uses irq instead of fiq */
[all …]
H A Drv1106g-evb1-v10-dual-cam.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
9 #include "rv1106-evb-v10.dtsi"
10 #include "rv1106-evb-dual-cam.dtsi"
14 compatible = "rockchip,rv1106g-evb1-v10-dual-cam", "rockchip,rv1106";
16 sdio_pwrseq: sdio-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 pinctrl-names = "default";
19 pinctrl-0 = <&wifi_enable_h &wifi_vbat>;
24 * - SDIO_RESET_L_WL_REG_ON
[all …]
H A Drv1106g-evb1-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
9 #include "rv1106-evb-v10.dtsi"
10 #include "rv1106-evb-cam.dtsi"
14 compatible = "rockchip,rv1106g-evb1-v10", "rockchip,rv1106";
16 sdio_pwrseq: sdio-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 pinctrl-names = "default";
19 pinctrl-0 = <&wifi_enable_h &wifi_vbat>;
24 * - SDIO_RESET_L_WL_REG_ON
[all …]
/OK3568_Linux_fs/u-boot/board/ti/am335x/
H A DREADME12 - AM335x GP EVM
13 - AM335x EVM SK
14 - Beaglebone White
15 - Beaglebone Black
23 worth noting that aside from things such as NAND or MMC only being
27 - GPIO is only required if DDR3 power is controlled in a way similar to
29 - SPI is only required for SPI flash, or exposing the SPI bus.
32 - I2C, to talk with the PMIC and ensure that we do not run afoul of
37 needs and to remove no longer relevant options as in some cases we
52 Step-1: Building u-boot for NAND boot
[all …]

12345678910>>...42