Searched refs:host_props (Results 1 – 6 of 6) sorted by relevance
131 if (card->host_props.is_spi) { in sdmmc_send_ocr()148 if (!card->host_props.is_spi) { in sdmmc_send_ocr()369 if ((card->flags & SD_1800MV_FLAG) && sdmmc_host_uhs(&card->host_props) && in sdmmc_select_bus_speed()370 !(card->host_props.is_spi) && IS_ENABLED(CONFIG_SD_UHS_PROTOCOL)) { in sdmmc_select_bus_speed()372 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()427 } else if (card->host_props.max_current_180 >= 800 && in sdmmc_set_current_limit()[all …]
66 if (card->host_props.is_spi) { in sd_send_interface_condition()91 __ASSERT_NO_MSG(card->host_props.is_spi); in sd_enable_crc()114 if (card->host_props.is_spi && in sd_common_init()125 struct sdhc_host_props *host_props = &card->host_props; in sd_init_io() local137 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()159 sd_delay(card->host_props.power_delay); in sd_init_io()171 sd_delay(card->host_props.power_delay); in sd_init_io()242 ret = sdhc_get_host_props(card->sdhc, &card->host_props); in sd_init()
79 if (!card->host_props.is_spi) { in sdio_send_ocr()114 if (card->host_props.is_spi) { in sdio_io_rw_direct()273 if (sdmmc_host_uhs(&card->host_props)) { in sdio_read_cccr()452 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()483 bus_clock = MIN(card->host_props.f_max, card->switch_caps.uhs_max_dtr); in sdio_set_bus_speed()488 bus_clock = MIN(card->host_props.f_max, card->switch_caps.uhs_max_dtr); in sdio_set_bus_speed()493 bus_clock = MIN(card->host_props.f_max, card->switch_caps.uhs_max_dtr); in sdio_set_bus_speed()[all …]
110 if (card->host_props.is_spi) { in mmc_card_init()125 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()
27 if (!card->host_props.is_spi) { in sdmmc_read_status()38 if (card->host_props.is_spi) { in sdmmc_read_status()267 if (card->host_props.is_spi && IS_ENABLED(CONFIG_SDHC_SUPPORTS_SPI_MODE)) { in sdmmc_read_csd()293 if (card->host_props.is_spi && IS_ENABLED(CONFIG_SDHC_SUPPORTS_SPI_MODE)) { in card_read_cid()484 if ((!card->host_props.is_spi) && !(cmd.response[0U] & SD_R1_APP_CMD)) { in card_app_command()
68 struct sdhc_host_props host_props; /*!< SDHC host properties */ member