Home
last modified time | relevance | path

Searched refs:host_caps (Results 1 – 25 of 43) sorted by relevance

12

/u-boot/drivers/mmc/
A Dmmc-uclass.c212 cfg->host_caps |= MMC_MODE_8BIT; in mmc_of_parse()
215 cfg->host_caps |= MMC_MODE_4BIT; in mmc_of_parse()
218 cfg->host_caps |= MMC_MODE_1BIT; in mmc_of_parse()
229 cfg->host_caps |= MMC_CAP(SD_HS); in mmc_of_parse()
233 cfg->host_caps |= MMC_CAP(UHS_SDR12); in mmc_of_parse()
235 cfg->host_caps |= MMC_CAP(UHS_SDR25); in mmc_of_parse()
237 cfg->host_caps |= MMC_CAP(UHS_SDR50); in mmc_of_parse()
239 cfg->host_caps |= MMC_CAP(UHS_SDR104); in mmc_of_parse()
241 cfg->host_caps |= MMC_CAP(UHS_DDR50); in mmc_of_parse()
243 cfg->host_caps |= MMC_CAP(MMC_DDR_52); in mmc_of_parse()
[all …]
A Dsdhci.c752 if (mmc->cfg->host_caps & MMC_CAP_NONREMOVABLE)
755 if (mmc->cfg->host_caps & MMC_CAP_NEEDS_POLL)
901 cfg->host_caps |= MMC_MODE_4BIT;
906 cfg->host_caps &= ~MMC_MODE_8BIT;
910 cfg->host_caps &= ~MMC_MODE_HS;
911 cfg->host_caps &= ~MMC_MODE_HS_52MHz;
929 cfg->host_caps |= MMC_CAP(MMC_HS_200);
931 cfg->host_caps |= MMC_CAP(UHS_SDR50);
935 cfg->host_caps |= MMC_CAP(UHS_DDR50);
937 if (host->host_caps)
[all …]
A Dsunxi_mmc.c523 cfg->host_caps = MMC_MODE_4BIT; in sunxi_mmc_init()
526 cfg->host_caps = MMC_MODE_8BIT; in sunxi_mmc_init()
528 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in sunxi_mmc_init()
626 cfg->host_caps = 0; in sunxi_mmc_probe()
628 cfg->host_caps |= MMC_MODE_8BIT; in sunxi_mmc_probe()
630 cfg->host_caps |= MMC_MODE_4BIT; in sunxi_mmc_probe()
631 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in sunxi_mmc_probe()
A Dgen_atmel_mci.c158 if (mmc->card_caps & mmc->cfg->host_caps & MMC_MODE_HS)
493 cfg->host_caps = MMC_MODE_8BIT;
494 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
497 cfg->host_caps |= MMC_MODE_4BIT;
543 cfg->host_caps = MMC_MODE_8BIT |
547 cfg->host_caps |= MMC_MODE_4BIT;
A Dftsdc010_mci.c381 cfg->host_caps = caps; in ftsdc_setup_cfg()
383 cfg->host_caps |= MMC_MODE_8BIT; in ftsdc_setup_cfg()
384 cfg->host_caps &= ~MMC_MODE_4BIT; in ftsdc_setup_cfg()
386 cfg->host_caps |= MMC_MODE_4BIT; in ftsdc_setup_cfg()
387 cfg->host_caps &= ~MMC_MODE_8BIT; in ftsdc_setup_cfg()
A Ddw_mmc.c602 cfg->host_caps = host->caps;
605 cfg->host_caps |= MMC_MODE_8BIT;
606 cfg->host_caps &= ~MMC_MODE_4BIT;
608 cfg->host_caps |= MMC_MODE_4BIT;
609 cfg->host_caps &= ~MMC_MODE_8BIT;
611 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
A Darm_pl180_mmci.c386 host->cfg.host_caps = host->caps; in arm_pl180_mmci_init()
458 cfg->host_caps = 0; in arm_pl180_mmc_probe()
468 cfg->host_caps |= MMC_MODE_8BIT; in arm_pl180_mmc_probe()
471 cfg->host_caps |= MMC_MODE_4BIT; in arm_pl180_mmc_probe()
A Dfsl_esdhc.c790 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in fsl_esdhc_get_cfg_common()
915 mmc_cfg->host_caps |= MMC_MODE_1BIT | MMC_MODE_4BIT | in fsl_esdhc_initialize()
918 mmc_cfg->host_caps |= MMC_MODE_1BIT | MMC_MODE_4BIT; in fsl_esdhc_initialize()
920 mmc_cfg->host_caps |= MMC_MODE_1BIT; in fsl_esdhc_initialize()
922 mmc_cfg->host_caps |= MMC_MODE_1BIT | MMC_MODE_4BIT | in fsl_esdhc_initialize()
928 mmc_cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_initialize()
1029 if (plat->cfg.host_caps & MMC_CAP_NONREMOVABLE) in fsl_esdhc_get_cd()
A Drockchip_sdhci.c70 host->host_caps |= MMC_MODE_8BIT; in arasan_sdhci_probe()
A Dfsl_esdhc_imx.c1250 cfg->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT; in fsl_esdhc_init()
1252 cfg->host_caps = MMC_MODE_4BIT; in fsl_esdhc_init()
1254 cfg->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT; in fsl_esdhc_init()
1256 cfg->host_caps |= MMC_MODE_DDR_52MHz; in fsl_esdhc_init()
1261 cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_init()
1263 cfg->host_caps &= ~MMC_MODE_4BIT; in fsl_esdhc_init()
1267 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in fsl_esdhc_init()
1271 cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_init()
1274 cfg->host_caps |= priv->caps; in fsl_esdhc_init()
A Dsti_sdhci.c101 host->host_caps = MMC_MODE_DDR_52MHz; in sti_sdhci_probe()
A Dtegra_mmc.c693 cfg->host_caps = 0; in tegra_mmc_probe()
695 cfg->host_caps |= MMC_MODE_8BIT; in tegra_mmc_probe()
697 cfg->host_caps |= MMC_MODE_4BIT; in tegra_mmc_probe()
698 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in tegra_mmc_probe()
A Ddavinci_mmc.c467 host->cfg.host_caps = host->host_caps;
513 cfg->host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
A Diproc_sdhci.c270 host->host_caps = MMC_MODE_DDR_52MHz; in iproc_sdhci_probe()
287 host->host_caps |= MMC_MODE_8BIT; in iproc_sdhci_probe()
A Dsh_sdhi.c740 .host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT | MMC_MODE_HS |
752 .host_caps = MMC_MODE_4BIT | MMC_MODE_HS,
865 plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in sh_sdhi_dm_probe()
870 plat->cfg.host_caps |= MMC_MODE_8BIT; in sh_sdhi_dm_probe()
873 plat->cfg.host_caps |= MMC_MODE_4BIT; in sh_sdhi_dm_probe()
A Dsh_mmcif.c610 .host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT |
707 plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in sh_mmcif_dm_probe()
712 plat->cfg.host_caps |= MMC_MODE_8BIT; in sh_mmcif_dm_probe()
715 plat->cfg.host_caps |= MMC_MODE_4BIT; in sh_mmcif_dm_probe()
A Dpci_mmc.c51 desc->removable = !(plat->cfg.host_caps & MMC_CAP_NONREMOVABLE); in pci_mmc_probe()
A Dsandbox_mmc.c152 cfg->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS | MMC_MODE_8BIT; in sandbox_mmc_bind()
A Domap_hsmmc.c261 if (!(cfg->host_caps & MMC_MODE_HS_52MHz)) in mmc_board_init()
1594 cfg->host_caps = host_caps_val & ~host_caps_mask;
1601 if (cfg->host_caps & MMC_MODE_HS) {
1602 if (cfg->host_caps & MMC_MODE_HS_52MHz)
1843 if (!(cfg->host_caps & capmask)) \
1857 cfg->host_caps &= ~(capmask); \
1925 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS;
1940 cfg->host_caps &= ~fixups->unsupported_caps;
2004 cfg->host_caps &= ~(MMC_CAP(MMC_HS_200) | MMC_CAP(MMC_DDR_52) |
A Dca_dw_mmc.c139 (&plat->cfg)->host_caps &= ~(MMC_MODE_8BIT | MMC_MODE_4BIT); in ca_dwmmc_probe()
A Ds5p_sdhci.c100 host->host_caps |= MMC_MODE_8BIT; in s5p_sdhci_core_init()
A Djz_mmc.c401 .host_caps = MMC_MODE_4BIT | MMC_MODE_HS_52MHz | MMC_MODE_HS,
458 cfg->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in jz_mmc_of_to_plat()
/u-boot/board/davinci/da8xxevm/
A Domapl138_lcdk.c345 .host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
378 .host_caps = MMC_MODE_4BIT,
/u-boot/arch/arm/mach-davinci/include/mach/
A Dsdmmc_defs.h150 uint host_caps; /* Host capabilities */ member
/u-boot/include/
A Dmmc.h589 uint host_caps; member
680 uint host_caps; member
944 #define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI)

Completed in 40 milliseconds

12