/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/ |
H A D | cqhci-core.c | 16 #include <linux/mmc/mmc.h> 17 #include <linux/mmc/host.h> 18 #include <linux/mmc/card.h> 51 (cq_host->mmc->max_segs * tag * in get_trans_desc_dma() 58 (cq_host->trans_desc_len * cq_host->mmc->max_segs * tag); in get_trans_desc() 73 if (tag == DCMD_SLOT && (cq_host->mmc->caps2 & MMC_CAP2_CQE_DCMD)) { in setup_trans_desc() 100 pr_err("%s: " DRV_NAME ": " f, mmc_hostname(mmc), ## x) 104 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local 243 struct mmc_host *mmc = cq_host->mmc; __cqhci_enable() local 306 cqhci_deactivate(struct mmc_host *mmc) cqhci_deactivate() argument 317 cqhci_resume(struct mmc_host *mmc) cqhci_resume() argument 324 cqhci_enable(struct mmc_host *mmc, struct mmc_card *card) cqhci_enable() argument 362 cqhci_off(struct mmc_host *mmc) cqhci_off() argument 389 cqhci_disable(struct mmc_host *mmc) cqhci_disable() argument 524 cqhci_prep_dcmd_desc(struct mmc_host *mmc, struct mmc_request *mrq) cqhci_prep_dcmd_desc() argument 584 cqhci_request(struct mmc_host *mmc, struct mmc_request *mrq) cqhci_request() argument 654 cqhci_recovery_needed(struct mmc_host *mmc, struct mmc_request *mrq, bool notify) cqhci_recovery_needed() argument 682 cqhci_error_irq(struct mmc_host *mmc, u32 status, int cmd_error, int data_error) cqhci_error_irq() argument 770 cqhci_finish_mrq(struct mmc_host *mmc, unsigned int tag) cqhci_finish_mrq() argument 804 cqhci_irq(struct mmc_host *mmc, u32 intmask, int cmd_error, int data_error) cqhci_irq() argument 868 cqhci_wait_for_idle(struct mmc_host *mmc) cqhci_wait_for_idle() argument 878 cqhci_timeout(struct mmc_host *mmc, struct mmc_request *mrq, bool *recovery_needed) cqhci_timeout() argument 910 cqhci_clear_all_tasks(struct mmc_host *mmc, unsigned int timeout) cqhci_clear_all_tasks() argument 941 cqhci_halt(struct mmc_host *mmc, unsigned int timeout) cqhci_halt() argument 977 cqhci_recovery_start(struct mmc_host *mmc) cqhci_recovery_start() argument 1050 cqhci_recovery_finish(struct mmc_host *mmc) cqhci_recovery_finish() argument 1159 cqhci_init(struct cqhci_host *cq_host, struct mmc_host *mmc, bool dma64) cqhci_init() argument [all...] |
H A D | rk_sdmmc_ops.c | 10 #include <linux/mmc/core.h> 11 #include <linux/mmc/card.h> 12 #include <linux/mmc/host.h> 13 #include <linux/mmc/mmc.h>
|
H A D | cqhci-crypto.h | 11 #include <linux/mmc/host.h>
|
/device/soc/hisilicon/common/platform/mmc/himci_v200/proc/ |
H A D | himci_proc.c | 29 static bool ProcGetMmcCardUnplugged(struct MmcCntlr *mmc) in ProcGetMmcCardUnplugged() argument 31 if (mmc->caps.bits.nonremovable == 0) { in ProcGetMmcCardUnplugged() 36 return (MmcCntlrDevPlugged(mmc) == false); in ProcGetMmcCardUnplugged() 39 return (mmc->curDev == NULL); in ProcGetMmcCardUnplugged() 43 static int32_t ProcStatsCardPluggedPrint(struct MmcCntlr *mmc, struct SeqBuf *s) in ProcStatsCardPluggedPrint() argument 47 if (ProcGetMmcCardUnplugged(mmc) == true) { in ProcStatsCardPluggedPrint() 251 static int32_t ProcStatsCardInfoPrint(struct MmcCntlr *mmc, struct SeqBuf *s) in ProcStatsCardInfoPrint() argument 256 status = ProcStatsCardPluggedPrint(mmc, s); in ProcStatsCardInfoPrint() 264 card = mmc->curDev; in ProcStatsCardInfoPrint() 303 struct MmcCntlr *mmc in ProcStatsSeqPrint() local [all...] |
/device/soc/hisilicon/common/platform/mmc/sdhci/proc/ |
H A D | sdhci_proc.c | 28 static bool ProcGetMmcCardUnplugged(struct MmcCntlr *mmc) in ProcGetMmcCardUnplugged() argument 30 if (mmc->caps.bits.nonremovable == 0) { in ProcGetMmcCardUnplugged() 35 return (MmcCntlrDevPlugged(mmc) == false); in ProcGetMmcCardUnplugged() 38 return (mmc->curDev == NULL); in ProcGetMmcCardUnplugged() 42 static int32_t ProcStatsCardPluggedPrint(struct MmcCntlr *mmc, struct SeqBuf *s) in ProcStatsCardPluggedPrint() argument 46 if (ProcGetMmcCardUnplugged(mmc) == true) { in ProcStatsCardPluggedPrint() 250 static int32_t ProcStatsCardInfoPrint(struct MmcCntlr *mmc, struct SeqBuf *s) in ProcStatsCardInfoPrint() argument 255 status = ProcStatsCardPluggedPrint(mmc, s); in ProcStatsCardInfoPrint() 263 card = mmc->curDev; in ProcStatsCardInfoPrint() 302 struct MmcCntlr *mmc in ProcStatsSeqPrint() local [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | plat_pm.c | 34 #include <linux/mmc/sdio.h> 35 #include <linux/mmc/host.h> 36 #include <linux/mmc/card.h> 37 #include <linux/mmc/sdio_func.h> 38 #include <linux/mmc/sdio_ids.h> 39 #include <linux/mmc/sdio_func.h> 40 #include <linux/mmc/host.h>
|
H A D | oal_sdio_if.h | 26 #include <linux/mmc/host.h> 27 #include <linux/mmc/sdio_func.h> 28 #include <linux/mmc/sdio.h> 40 #include <linux/mmc/card.h> 41 #include <linux/mmc/sdio_func.h> 42 #include <linux/mmc/sdio_ids.h> 43 #include <linux/mmc/sdio_func.h> 44 #include <linux/mmc/host.h>
|
H A D | plat_pm_wlan.h | 31 #include <linux/mmc/host.h> 32 #include <linux/mmc/sdio_func.h> 33 #include <linux/mmc/sdio.h>
|
H A D | plat_pm_wlan.c | 54 #include <linux/mmc/sdio.h> 55 #include <linux/mmc/host.h> 56 #include <linux/mmc/card.h> 57 #include <linux/mmc/sdio_func.h> 58 #include <linux/mmc/sdio_ids.h> 59 #include <linux/mmc/sdio_func.h> 60 #include <linux/mmc/host.h>
|
/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/ |
H A D | sdhci-of-dwcmshc.c | 90 static void dwcmshc_check_auto_cmd23(struct mmc_host *mmc, struct mmc_request *mrq) in dwcmshc_check_auto_cmd23() argument 92 struct sdhci_host *host = mmc_priv(mmc); in dwcmshc_check_auto_cmd23() 106 static void dwcmshc_request(struct mmc_host *mmc, struct mmc_request *mrq) in dwcmshc_request() argument 108 dwcmshc_check_auto_cmd23(mmc, mrq); in dwcmshc_request() 110 sdhci_request(mmc, mrq); in dwcmshc_request() 136 static void dwcmshc_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) in dwcmshc_hs400_enhanced_strobe() argument 139 struct sdhci_host *host = mmc_priv(mmc); in dwcmshc_hs400_enhanced_strobe() 158 host->mmc->actual_clock = 0; in dwcmshc_rk_set_clock() 171 dev_err(mmc_dev(host->mmc), "fail to set clock %d", clock); in dwcmshc_rk_set_clock() 208 dev_err(mmc_dev(host->mmc), "DL in dwcmshc_rk_set_clock() [all...] |
H A D | Makefile | 12 obj-$(CONFIG_MMC_MXS) += mxs-mmc.o 50 obj-$(CONFIG_MMC_CB710) += cb710-mmc.o 52 octeon-mmc-objs := cavium.o cavium-octeon.o 53 obj-$(CONFIG_MMC_CAVIUM_OCTEON) += octeon-mmc.o 54 thunderx-mmc-objs := cavium.o cavium-thunderx.o 55 obj-$(CONFIG_MMC_CAVIUM_THUNDERX) += thunderx-mmc.o 71 obj-$(CONFIG_MMC_MESON_GX) += meson-gx-mmc.o 72 meson-mx-sdhc-objs := meson-mx-sdhc-clkc.o meson-mx-sdhc-mmc.o 75 obj-$(CONFIG_MMC_MOXART) += moxart-mmc.o 76 obj-$(CONFIG_MMC_SUNXI) += sunxi-mmc [all...] |
H A D | dw_mmc-rockchip.c | 9 #include <linux/mmc/host.h>
11 #include <linux/mmc/slot-gpio.h>
53 * cclkin: source clock of mmc controller
in dw_mci_rk3288_set_ios() 160 struct mmc_host *mmc = slot->mmc;
in dw_mci_v2_execute_tuning() local 179 if (!mmc_send_tuning(mmc, opcode, NULL)) {
in dw_mci_v2_execute_tuning() 199 struct mmc_host *mmc = slot->mmc;
in dw_mci_rk3288_execute_tuning() local 235 v = !mmc_send_tuning(mmc, opcode, NULL);
in dw_mci_rk3288_execute_tuning()
|
H A D | dw_mmc.h | 14 #include <linux/mmc/core.h>
492 * @mmc: The mmc_host representing this slot.
507 struct mmc_host *mmc;
member 530 * @caps: mmc subsystem specified capabilities of the controller(s).
549 int (*switch_voltage)(struct mmc_host *mmc, struct mmc_ios *ios);
|
/device/soc/hisilicon/common/platform/mmc/sdhci/ |
H A D | sdhci.c | 106 if (host->mmc->caps.bits.nonremovable > 0 || in SdhciSetCardDetection() 169 if ((host->mmc->devType == MMC_DEV_SD && (MmcCntlrSdSupportCmd23(host->mmc) == false)) || in SdhciSetTransferMode() 170 (host->mmc->devType == MMC_DEV_EMMC && (MmcCntlrEmmcSupportCmd23(host->mmc) == false))) { in SdhciSetTransferMode() 558 if (SdhciCardPlugged(host->mmc) == false || (host->flags & SDHCI_DEVICE_DEAD) > 0) { in SdhciDoRequest() 723 if (host->mmc->caps.bits.cap4Bit == 0) { in SdhciSetSdiodriver() 740 if (host->mmc->caps.bits.cap4Bit == 0) { in SdhciSetSdDriver() 843 if (host->mmc->curDev == NULL) { in SdhciSetPhase() 846 timing = host->mmc in SdhciSetPhase() 1670 struct MmcCntlr *mmc = host->mmc; SdhciUpdateCapFlag() local 1724 struct MmcCntlr *mmc = host->mmc; SdhciFillClkInfo() local 1760 struct MmcCntlr *mmc = host->mmc; SdhciUpdateDrvCap() local [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/adapter/ |
H A D | hdf_wlan_sdio_adapt.c | 32 #include <linux/mmc/sdio.h>
33 #include <linux/mmc/card.h>
34 #include <linux/mmc/sdio_func.h>
35 #include <linux/mmc/sdio_ids.h>
36 #include <linux/mmc/host.h>
|
/device/soc/rockchip/common/vendor/drivers/mmc/host/ |
H A D | rk_sdmmc_ops.c | 10 #include <linux/mmc/core.h> 11 #include <linux/mmc/card.h> 12 #include <linux/mmc/host.h> 13 #include <linux/mmc/mmc.h>
|
H A D | Makefile | 2 VENDOR_DRIVER_MMC_CORE := -I$(srctree)/drivers/mmc
|
/device/soc/rockchip/common/sdk_linux/include/linux/mmc/ |
H A D | host.h | 3 * linux/include/linux/mmc/host.h 14 #include <linux/mmc/core.h> 15 #include <linux/mmc/card.h> 16 #include <linux/mmc/pm.h> 218 /* active mmc request */ 221 * Check error status of completed mmc request. 245 * mmc_context_info - synchronization details for mmc context 248 * @is_waiting_last_req mmc context waiting for single running request 377 unsigned int max_blk_size; /* maximum size of one mmc block */ 522 int mmc_regulator_set_ocr(struct mmc_host *mmc, struc 525 mmc_regulator_set_ocr(struct mmc_host *mmc, struct regulator *supply, unsigned short vdd_bit) mmc_regulator_set_ocr() argument 530 mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios) mmc_regulator_set_vqmmc() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcmsdh_sdmmc_linux.c | 39 #include <linux/mmc/core.h> 40 #include <linux/mmc/card.h> 41 #include <linux/mmc/host.h> 42 #include <linux/mmc/sdio_func.h> 43 #include <linux/mmc/sdio_ids.h>
|
H A D | dhd_gpio.c | 8 #include <linux/mmc/core.h> 9 #include <linux/mmc/card.h> 10 #include <linux/mmc/host.h> 11 #include <linux/mmc/sdio_func.h>
|
/device/soc/hisilicon/common/platform/mmc/himci_v200/ |
H A D | himci.c | 397 if (HimciIsMultiBlock(cmd) == true && HimciNeedAutoStop(host->mmc) == true) { in HimciUpdateCmdReg() 755 if (HimciCardPlugged(host->mmc) == false) { in HimciWaitCardComplete() 849 if (host->mmc->devType == MMC_DEV_SDIO) { in HimciControlClock() 872 struct MmcCntlr *mmc = host->mmc; in HimciSetCClk() local 873 struct MmcDevice *dev = mmc->curDev; in HimciSetCClk() 983 struct MmcDevice *dev = host->mmc->curDev; in HimciCfgPhase() 1123 if (host->mmc->caps2.bits.hs200Sdr1v8 || host->mmc->caps2.bits.hs200Sdr1v2) { in HimciVoltageSwitchTo1v8() 1339 err = HimciSendTuning(host->mmc, para in HimciEdgedllModeATuning() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/ |
H A D | sdio.c | 3 * linux/drivers/mmc/sdio.c 17 #include <linux/mmc/host.h> 18 #include <linux/mmc/card.h> 19 #include <linux/mmc/mmc.h> 20 #include <linux/mmc/sdio.h> 21 #include <linux/mmc/sdio_func.h> 22 #include <linux/mmc/sdio_ids.h>
|
H A D | host.c | 3 * linux/drivers/mmc/core/host.c 23 #include <linux/mmc/host.h> 24 #include <linux/mmc/card.h> 25 #include <linux/mmc/slot-gpio.h> 87 if (of_alias_get_id(host->parent->of_node, "mmc") < 0) { in mmc_host_classdev_release() 236 * parse the properties and set respective generic mmc-host flags and 275 * mmc-gpio helpers are used to attach, configure and use them. If in mmc_of_parse() 329 if (device_property_read_bool(dev, "cap-mmc-highspeed")) { in mmc_of_parse() 350 if (device_property_read_bool(dev, "cap-mmc-hw-reset")) { in mmc_of_parse() 369 if (device_property_read_bool(dev, "mmc in mmc_of_parse() [all...] |
/device/soc/hisilicon/common/platform/mmc/ |
H A D | Makefile | 20 HDF_MMC_INC = $(LITEOSTOPDIR)/../../device/soc/hisilicon/common/platform/mmc
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | bcmsdbus.h | 36 #include <linux/mmc/sdio_func.h>
|