Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/mmc/
H A Dmmc-uclass.c131 cfg->host_caps |= MMC_MODE_8BIT; in mmc_of_parse()
134 cfg->host_caps |= MMC_MODE_4BIT; in mmc_of_parse()
137 cfg->host_caps |= MMC_MODE_1BIT; in mmc_of_parse()
148 cfg->host_caps |= MMC_CAP(SD_HS); in mmc_of_parse()
150 cfg->host_caps |= MMC_CAP(MMC_HS); in mmc_of_parse()
152 cfg->host_caps |= MMC_CAP(UHS_SDR12); in mmc_of_parse()
154 cfg->host_caps |= MMC_CAP(UHS_SDR25); in mmc_of_parse()
156 cfg->host_caps |= MMC_CAP(UHS_SDR50); in mmc_of_parse()
158 cfg->host_caps |= MMC_CAP(UHS_SDR104); in mmc_of_parse()
160 cfg->host_caps |= MMC_CAP(UHS_DDR50); in mmc_of_parse()
[all …]
H A Dsdhci.c659 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT;
664 cfg->host_caps &= ~MMC_MODE_8BIT;
668 cfg->host_caps &= ~MMC_MODE_HS;
669 cfg->host_caps &= ~MMC_MODE_HS_52MHz;
682 cfg->host_caps |= MMC_CAP(UHS_SDR12) | MMC_CAP(UHS_SDR25);
685 cfg->host_caps |= MMC_CAP(UHS_SDR104) | MMC_CAP(UHS_SDR50);
690 cfg->host_caps |= MMC_CAP(MMC_HS_200);
692 cfg->host_caps |= MMC_CAP(UHS_SDR50);
696 cfg->host_caps |= MMC_CAP(UHS_DDR50);
698 if (host->host_caps)
[all …]
H A Dsunxi_mmc.c530 cfg->host_caps = MMC_MODE_4BIT; in sunxi_mmc_init()
533 cfg->host_caps = MMC_MODE_8BIT; in sunxi_mmc_init()
535 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in sunxi_mmc_init()
622 cfg->host_caps = 0; in sunxi_mmc_probe()
624 cfg->host_caps |= MMC_MODE_8BIT; in sunxi_mmc_probe()
626 cfg->host_caps |= MMC_MODE_4BIT; in sunxi_mmc_probe()
627 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in sunxi_mmc_probe()
H A Ddw_mmc.c552 cfg->host_caps = host->caps;
555 cfg->host_caps |= MMC_MODE_8BIT;
556 cfg->host_caps &= ~MMC_MODE_4BIT;
558 cfg->host_caps |= MMC_MODE_4BIT;
559 cfg->host_caps &= ~MMC_MODE_8BIT;
561 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
H A Dgen_atmel_mci.c156 if (mmc->card_caps & mmc->cfg->host_caps & MMC_MODE_HS)
491 cfg->host_caps = MMC_MODE_8BIT;
492 cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
495 cfg->host_caps |= MMC_MODE_4BIT;
541 cfg->host_caps = MMC_MODE_8BIT |
545 cfg->host_caps |= MMC_MODE_4BIT;
H A Dftsdc010_mci.c378 cfg->host_caps = caps; in ftsdc_setup_cfg()
380 cfg->host_caps |= MMC_MODE_8BIT; in ftsdc_setup_cfg()
381 cfg->host_caps &= ~MMC_MODE_4BIT; in ftsdc_setup_cfg()
383 cfg->host_caps |= MMC_MODE_4BIT; in ftsdc_setup_cfg()
384 cfg->host_caps &= ~MMC_MODE_8BIT; in ftsdc_setup_cfg()
H A Dfsl_esdhc.c1238 cfg->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT; in fsl_esdhc_init()
1240 cfg->host_caps = MMC_MODE_4BIT; in fsl_esdhc_init()
1242 cfg->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT; in fsl_esdhc_init()
1244 cfg->host_caps |= MMC_MODE_DDR_52MHz; in fsl_esdhc_init()
1249 cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_init()
1251 cfg->host_caps &= ~MMC_MODE_4BIT; in fsl_esdhc_init()
1255 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in fsl_esdhc_init()
1259 cfg->host_caps &= ~MMC_MODE_8BIT; in fsl_esdhc_init()
1262 cfg->host_caps |= priv->caps; in fsl_esdhc_init()
H A Darm_pl180_mmci.c383 host->cfg.host_caps = host->caps; in arm_pl180_mmci_init()
446 cfg->host_caps = 0; in arm_pl180_mmc_probe()
456 cfg->host_caps |= MMC_MODE_8BIT; in arm_pl180_mmc_probe()
459 cfg->host_caps |= MMC_MODE_4BIT; in arm_pl180_mmc_probe()
H A Dtegra_mmc.c602 cfg->host_caps = 0; in tegra_mmc_probe()
604 cfg->host_caps |= MMC_MODE_8BIT; in tegra_mmc_probe()
606 cfg->host_caps |= MMC_MODE_4BIT; in tegra_mmc_probe()
607 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in tegra_mmc_probe()
H A Dxenon_sdhci.c406 host->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_DDR_52MHz; in xenon_sdhci_probe()
410 host->host_caps |= MMC_MODE_8BIT; in xenon_sdhci_probe()
413 host->host_caps |= MMC_MODE_4BIT; in xenon_sdhci_probe()
H A Dstm32_sdmmc2.c616 cfg->host_caps = 0; in stm32_sdmmc2_probe()
618 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; in stm32_sdmmc2_probe()
622 cfg->host_caps |= MMC_MODE_8BIT; in stm32_sdmmc2_probe()
624 cfg->host_caps |= MMC_MODE_4BIT; in stm32_sdmmc2_probe()
H A Dsh_sdhi.c734 .host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT | MMC_MODE_HS |
746 .host_caps = MMC_MODE_4BIT | MMC_MODE_HS,
860 plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in sh_sdhi_dm_probe()
865 plat->cfg.host_caps |= MMC_MODE_8BIT; in sh_sdhi_dm_probe()
868 plat->cfg.host_caps |= MMC_MODE_4BIT; in sh_sdhi_dm_probe()
H A Ddavinci_mmc.c480 host->cfg.host_caps = host->host_caps;
502 cfg->host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
H A Dsh_mmcif.c605 .host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT |
702 plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; in sh_mmcif_dm_probe()
707 plat->cfg.host_caps |= MMC_MODE_8BIT; in sh_mmcif_dm_probe()
710 plat->cfg.host_caps |= MMC_MODE_4BIT; in sh_mmcif_dm_probe()
H A Domap_hsmmc.c250 if (!(cfg->host_caps & MMC_MODE_HS_52MHz)) in mmc_board_init()
1599 cfg->host_caps = host_caps_val & ~host_caps_mask;
1606 if (cfg->host_caps & MMC_MODE_HS) {
1607 if (cfg->host_caps & MMC_MODE_HS_52MHz)
1848 if (!(cfg->host_caps & capmask)) \
1862 cfg->host_caps &= ~(capmask); \
1930 cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS;
1945 cfg->host_caps &= ~fixups->unsupported_caps;
2009 cfg->host_caps &= ~(MMC_CAP(MMC_HS_200) | MMC_CAP(MMC_DDR_52) |
H A Drockchip_sdhci.c69 host->host_caps |= MMC_MODE_8BIT; in arasan_sdhci_probe()
/openbmc/linux/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.c90 .host_caps = (MMC_CAP_4_BIT_DATA |
120 .host_caps = (MMC_CAP_4_BIT_DATA |
152 .host_caps = (MMC_CAP_4_BIT_DATA |
182 .host_caps = (MMC_CAP_4_BIT_DATA |
/openbmc/linux/include/linux/platform_data/
H A Dpxa_sdhci.h45 u32 host_caps; member
H A Dmmc-sdhci-s3c.h41 unsigned int host_caps; member
/openbmc/linux/drivers/ata/
H A Dahci_brcm.c121 u32 port_ctrl, host_caps; in brcm_sata_alpm_init() local
125 host_caps = readl(hpriv->mmio + HOST_CAP); in brcm_sata_alpm_init()
126 if (!(host_caps & HOST_CAP_ALPM)) in brcm_sata_alpm_init()
/openbmc/u-boot/board/lego/ev3/
H A Dlegoev3.c44 .host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
/openbmc/u-boot/include/
H A Dmmc.h501 uint host_caps; member
584 uint host_caps; member
828 #define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI)
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pxav2.c311 if (pdata->host_caps) in sdhci_pxav2_probe()
312 host->mmc->caps |= pdata->host_caps; in sdhci_pxav2_probe()
/openbmc/u-boot/arch/arm/mach-davinci/include/mach/
H A Dsdmmc_defs.h150 uint host_caps; /* Host capabilities */ member

12