Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/arm/mach-s3c/
H A Dplatformdata.c47 if (pd->host_caps) in s3c_sdhci_set_platdata()
48 set->host_caps |= pd->host_caps; in s3c_sdhci_set_platdata()
H A Ddevs.c198 .host_caps = (MMC_CAP_4_BIT_DATA |
228 .host_caps = (MMC_CAP_4_BIT_DATA |
260 .host_caps = (MMC_CAP_4_BIT_DATA |
290 .host_caps = (MMC_CAP_4_BIT_DATA |
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dsunxi_mmc.c491 cfg->host_caps = MMC_MODE_4BIT; in sunxi_mmc_init()
494 cfg->host_caps = MMC_MODE_8BIT; in sunxi_mmc_init()
496 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in sunxi_mmc_init()
573 cfg->host_caps = 0; in sunxi_mmc_probe()
575 cfg->host_caps |= MMC_MODE_8BIT; in sunxi_mmc_probe()
577 cfg->host_caps |= MMC_MODE_4BIT; in sunxi_mmc_probe()
578 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in sunxi_mmc_probe()
H A Dgen_atmel_mci.c150 if (mmc->card_caps & mmc->cfg->host_caps & MMC_MODE_HS)
496 cfg->host_caps = MMC_MODE_8BIT;
497 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
500 cfg->host_caps |= MMC_MODE_4BIT;
546 cfg->host_caps = MMC_MODE_8BIT |
550 cfg->host_caps |= MMC_MODE_4BIT;
H A Drockchip_sdhci.c532 host->host_caps |= MMC_MODE_8BIT; in rockchip_sdhci_probe()
539 host->host_caps |= MMC_MODE_8BIT; in rockchip_sdhci_probe()
542 host->host_caps |= MMC_MODE_4BIT; in rockchip_sdhci_probe()
571 host->host_caps |= MMC_MODE_HS200; in rockchip_sdhci_probe()
573 host->host_caps |= MMC_MODE_HS400; in rockchip_sdhci_probe()
576 host->host_caps |= MMC_MODE_HS400ES; in rockchip_sdhci_probe()
H A Dmmc.c785 !(mmc->cfg->host_caps & (MMC_MODE_4BIT | MMC_MODE_8BIT))) in mmc_select_bus_width()
793 idx = (mmc->cfg->host_caps & MMC_MODE_8BIT) ? 0 : 1; in mmc_select_bus_width()
1107 u32 host_caps, avail_type = 0; local
1110 host_caps = mmc->cfg->host_caps;
1112 if ((host_caps & MMC_MODE_HS) &&
1116 if ((host_caps & MMC_MODE_HS) &&
1126 if ((host_caps & MMC_MODE_DDR_52MHz) &&
1130 if ((host_caps & MMC_MODE_HS200) &&
1138 if ((host_caps & MMC_MODE_HS400) &&
1139 (host_caps & MMC_MODE_8BIT) &&
[all …]
H A Domap_hsmmc.c170 if (!(cfg->host_caps & MMC_MODE_HS_52MHz)) in mmc_board_init()
768 cfg->host_caps = host_caps_val & ~host_caps_mask;
775 if (cfg->host_caps & MMC_MODE_HS) {
776 if (cfg->host_caps & MMC_MODE_HS_52MHz)
815 cfg->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS;
824 cfg->host_caps |= MMC_MODE_8BIT;
826 cfg->host_caps |= MMC_MODE_4BIT;
H A Ddw_mmc.c905 cfg->host_caps = host->caps;
909 cfg->host_caps |= MMC_MODE_8BIT | MMC_MODE_4BIT;
912 cfg->host_caps |= MMC_MODE_4BIT;
913 cfg->host_caps &= ~MMC_MODE_8BIT;
916 cfg->host_caps &= ~MMC_MODE_4BIT;
917 cfg->host_caps &= ~MMC_MODE_8BIT;
923 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
H A Dfsl_esdhc.c837 cfg->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT; in fsl_esdhc_init()
839 cfg->host_caps = MMC_MODE_4BIT; in fsl_esdhc_init()
841 cfg->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT; in fsl_esdhc_init()
843 cfg->host_caps |= MMC_MODE_DDR_52MHz; in fsl_esdhc_init()
848 cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_init()
850 cfg->host_caps &= ~MMC_MODE_4BIT; in fsl_esdhc_init()
854 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in fsl_esdhc_init()
858 cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_init()
H A Dftsdc010_mci.c349 chip->cfg.host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz; in ftsdc010_mmc_init()
352 chip->cfg.host_caps |= MMC_MODE_4BIT; in ftsdc010_mmc_init()
355 chip->cfg.host_caps |= MMC_MODE_4BIT | MMC_MODE_8BIT; in ftsdc010_mmc_init()
H A Dsdhci.c792 cfg->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT;
797 cfg->host_caps &= ~MMC_MODE_8BIT;
800 if (host->host_caps)
801 cfg->host_caps |= host->host_caps;
H A Dxenon_sdhci.c395 host->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_DDR_52MHz; in xenon_sdhci_probe()
399 host->host_caps |= MMC_MODE_8BIT; in xenon_sdhci_probe()
402 host->host_caps |= MMC_MODE_4BIT; in xenon_sdhci_probe()
H A Dtegra_mmc.c605 cfg->host_caps = 0; in tegra_mmc_probe()
607 cfg->host_caps |= MMC_MODE_8BIT; in tegra_mmc_probe()
609 cfg->host_caps |= MMC_MODE_4BIT; in tegra_mmc_probe()
610 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in tegra_mmc_probe()
H A Dstm32_sdmmc2.c559 cfg->host_caps = 0; in stm32_sdmmc2_probe()
561 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in stm32_sdmmc2_probe()
565 cfg->host_caps |= MMC_MODE_8BIT; in stm32_sdmmc2_probe()
567 cfg->host_caps |= MMC_MODE_4BIT; in stm32_sdmmc2_probe()
H A Dsh_sdhi.c735 .host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT | MMC_MODE_HS |
747 .host_caps = MMC_MODE_4BIT | MMC_MODE_HS,
861 plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in sh_sdhi_dm_probe()
866 plat->cfg.host_caps |= MMC_MODE_8BIT; in sh_sdhi_dm_probe()
869 plat->cfg.host_caps |= MMC_MODE_4BIT; in sh_sdhi_dm_probe()
H A Ddavinci_mmc.c385 host->cfg.host_caps = host->host_caps; in davinci_mmc_init()
H A Duniphier-sd.c706 plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in uniphier_sd_probe()
711 plat->cfg.host_caps |= MMC_MODE_8BIT; in uniphier_sd_probe()
714 plat->cfg.host_caps |= MMC_MODE_4BIT; in uniphier_sd_probe()
H A Dsti_sdhci.c92 host->host_caps = MMC_MODE_DDR_52MHz; in sti_sdhci_probe()
H A Dsandbox_mmc.c117 cfg->host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS | MMC_MODE_8BIT; in sandbox_mmc_bind()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dpxa_sdhci.h45 u32 host_caps; member
H A Dmmc-sdhci-s3c.h41 unsigned int host_caps; member
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-pxav2.c205 if (pdata->host_caps) in sdhci_pxav2_probe()
206 host->mmc->caps |= pdata->host_caps; in sdhci_pxav2_probe()
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dahci_brcm.c120 u32 port_ctrl, host_caps; in brcm_sata_alpm_init() local
124 host_caps = readl(hpriv->mmio + HOST_CAP); in brcm_sata_alpm_init()
125 if (!(host_caps & HOST_CAP_ALPM)) in brcm_sata_alpm_init()
/OK3568_Linux_fs/u-boot/board/lego/ev3/
H A Dlegoev3.c47 .host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
/OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/include/mach/
H A Dsdmmc_defs.h151 uint host_caps; /* Host capabilities */ member

12