Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/sd/
Dsd_ops.h41 return (props->host_caps.sdr50_support | in sdmmc_host_uhs()
42 props->host_caps.uhs_2_support | in sdmmc_host_uhs()
43 props->host_caps.sdr104_support | in sdmmc_host_uhs()
44 props->host_caps.ddr50_support) in sdmmc_host_uhs()
45 & (props->host_caps.vol_180_support); in sdmmc_host_uhs()
Dsdmmc.c372 if (card->host_props.host_caps.sdr104_support && in sdmmc_select_bus_speed()
375 } else if (card->host_props.host_caps.ddr50_support && in sdmmc_select_bus_speed()
378 } else if (card->host_props.host_caps.sdr50_support && in sdmmc_select_bus_speed()
388 if (card->host_props.host_caps.high_spd_support && in sdmmc_select_bus_speed()
407 if (card->host_props.host_caps.drv_type_c_support && in sdmmc_select_driver_type()
580 if ((!card->host_props.host_caps.high_spd_support) || in sdmmc_init_hs()
633 if (card->host_props.host_caps.vol_180_support) { in sdmmc_card_init()
642 if (card->host_props.host_caps.vol_300_support) { in sdmmc_card_init()
682 if ((card->flags & SD_1800MV_FLAG) && (card->host_props.host_caps.vol_180_support) && in sdmmc_card_init()
687 card->host_props.host_caps.vol_180_support = false; in sdmmc_card_init()
Dmmc.c125 if (card->host_props.host_caps.vol_180_support) { in mmc_card_init()
128 if (card->host_props.host_caps.vol_330_support || in mmc_card_init()
129 card->host_props.host_caps.vol_300_support) { in mmc_card_init()
245 if (card->host_props.host_caps.vol_180_support && (card->flags & SD_1800MV_FLAG)) { in mmc_send_op_cond()
383 if (card->host_props.host_caps.bus_8_bit_support && card->bus_width == 8) { in mmc_set_bus_width()
386 } else if (card->host_props.host_caps.bus_4_bit_support && card->bus_width >= 4) { in mmc_set_bus_width()
465 (card->host_props.host_caps.hs200_support) && in mmc_set_timing()
524 (card->host_props.host_caps.hs400_support) && in mmc_set_timing()
Dsdio.c452 if (card->host_props.host_caps.sdr104_support && in sdio_select_bus_speed()
456 } else if (card->host_props.host_caps.ddr50_support && in sdio_select_bus_speed()
460 } else if (card->host_props.host_caps.sdr50_support && in sdio_select_bus_speed()
464 } else if (card->host_props.host_caps.high_spd_support && in sdio_select_bus_speed()
561 if (card->host_props.host_caps.vol_300_support) { in sdio_card_init()
566 card->host_props.host_caps.vol_180_support) { in sdio_card_init()
594 (card->host_props.host_caps.vol_180_support) && in sdio_card_init()
599 card->host_props.host_caps.vol_180_support = false; in sdio_card_init()
Dsd.c137 if (host_props->host_caps.vol_330_support) { in sd_init_io()
140 } else if (host_props->host_caps.vol_300_support) { in sd_init_io()
/Zephyr-latest/drivers/sdhc/
Difx_cat1_sdio.c210 props->host_caps.bus_4_bit_support = true; in ifx_cat1_sdio_get_host_props()
211 props->host_caps.high_spd_support = true; in ifx_cat1_sdio_get_host_props()
212 props->host_caps.sdr50_support = true; in ifx_cat1_sdio_get_host_props()
213 props->host_caps.sdio_async_interrupt_support = true; in ifx_cat1_sdio_get_host_props()
214 props->host_caps.vol_330_support = true; in ifx_cat1_sdio_get_host_props()
Dimx_usdhc.c241 props->host_caps.vol_180_support = false; in imx_usdhc_init_host_props()
243 props->host_caps.vol_180_support = (bool)(caps.flags & kUSDHC_SupportV180Flag); in imx_usdhc_init_host_props()
245 props->host_caps.vol_300_support = (bool)(caps.flags & kUSDHC_SupportV300Flag); in imx_usdhc_init_host_props()
246 props->host_caps.vol_330_support = (bool)(caps.flags & kUSDHC_SupportV330Flag); in imx_usdhc_init_host_props()
247 props->host_caps.suspend_res_support = (bool)(caps.flags & kUSDHC_SupportSuspendResumeFlag); in imx_usdhc_init_host_props()
248 props->host_caps.sdma_support = (bool)(caps.flags & kUSDHC_SupportDmaFlag); in imx_usdhc_init_host_props()
249 props->host_caps.high_spd_support = (bool)(caps.flags & kUSDHC_SupportHighSpeedFlag); in imx_usdhc_init_host_props()
250 props->host_caps.adma_2_support = (bool)(caps.flags & kUSDHC_SupportAdmaFlag); in imx_usdhc_init_host_props()
251 props->host_caps.max_blk_len = (bool)(caps.maxBlockLength); in imx_usdhc_init_host_props()
252 props->host_caps.ddr50_support = (bool)(caps.flags & kUSDHC_SupportDDR50Flag); in imx_usdhc_init_host_props()
[all …]
Drcar_mmc.c1209 if (data->props.host_caps.bus_4_bit_support) { in rcar_mmc_set_bus_width()
1217 if (data->props.host_caps.bus_8_bit_support) { in rcar_mmc_set_bus_width()
1318 if (!data->props.host_caps.high_spd_support) { in rcar_mmc_set_timings()
1328 if (!data->props.host_caps.sdr104_support) { in rcar_mmc_set_timings()
1334 if (!data->props.host_caps.hs400_support) { in rcar_mmc_set_timings()
1343 if (!data->props.host_caps.ddr50_support) { in rcar_mmc_set_timings()
1350 if (!data->props.host_caps.hs200_support) { in rcar_mmc_set_timings()
1929 struct sdhc_host_caps *host_caps = &props->host_caps; in rcar_mmc_init_host_props() local
1948 host_caps->bus_8_bit_support = 1; in rcar_mmc_init_host_props()
1950 host_caps->bus_4_bit_support = 1; in rcar_mmc_init_host_props()
[all …]
Dintel_emmc_host.c1158 props->host_caps.vol_180_support = (bool)(cap & BIT(26u)); in emmc_get_host_props()
1159 props->host_caps.vol_300_support = (bool)(cap & BIT(25u)); in emmc_get_host_props()
1160 props->host_caps.vol_330_support = (bool)(bool)(cap & BIT(24u)); in emmc_get_host_props()
1161 props->host_caps.suspend_res_support = false; in emmc_get_host_props()
1162 props->host_caps.sdma_support = (bool)(cap & BIT(22u)); in emmc_get_host_props()
1163 props->host_caps.high_spd_support = (bool)(cap & BIT(21u)); in emmc_get_host_props()
1164 props->host_caps.adma_2_support = (bool)(cap & BIT(19u)); in emmc_get_host_props()
1166 props->host_caps.max_blk_len = (cap >> 16u) & 0x3u; in emmc_get_host_props()
1167 props->host_caps.ddr50_support = (bool)(cap & BIT(34u)); in emmc_get_host_props()
1168 props->host_caps.sdr104_support = (bool)(cap & BIT(33u)); in emmc_get_host_props()
[all …]
Dmcux_sdif.c118 props->host_caps.high_spd_support = true; in mcux_sdif_get_host_props()
119 props->host_caps.suspend_res_support = true; in mcux_sdif_get_host_props()
120 props->host_caps.vol_330_support = true; in mcux_sdif_get_host_props()
121 props->host_caps.bus_8_bit_support = true; in mcux_sdif_get_host_props()
Dsdhc_cdns.c129 props->host_caps.vol_330_support = true; in sdhc_cdns_get_host_props()
Dsam_hsmci.c107 props->host_caps.high_spd_support = false; in sam_hsmci_get_host_props()
Dsdhc_spi.c781 props->host_caps.vol_330_support = true; in sdhc_spi_get_host_props()
Dsdhc_renesas_ra.c707 .host_caps = {.vol_180_support = false, \
Dsdhc_esp32.c1435 .host_caps = {.vol_180_support = false, \
/Zephyr-latest/include/zephyr/drivers/
Dsdhc.h229 struct sdhc_host_caps host_caps; /*!< Host capability bitfield */ member