Lines Matching refs:props

80 	struct sdhc_host_props props;  member
230 struct sdhc_host_props *props = &data->props; in imx_usdhc_init_host_props() local
232 memset(props, 0, sizeof(struct sdhc_host_props)); in imx_usdhc_init_host_props()
233 props->f_max = cfg->max_bus_freq; in imx_usdhc_init_host_props()
234 props->f_min = cfg->min_bus_freq; in imx_usdhc_init_host_props()
235 props->max_current_330 = cfg->max_current_330; in imx_usdhc_init_host_props()
236 props->max_current_180 = cfg->max_current_180; in imx_usdhc_init_host_props()
237 props->power_delay = cfg->power_delay_ms; in imx_usdhc_init_host_props()
241 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()
253 props->host_caps.sdr104_support = (bool)(caps.flags & kUSDHC_SupportSDR104Flag); in imx_usdhc_init_host_props()
254 props->host_caps.sdr50_support = (bool)(caps.flags & kUSDHC_SupportSDR50Flag); in imx_usdhc_init_host_props()
255 props->host_caps.bus_8_bit_support = (bool)(caps.flags & kUSDHC_Support8BitFlag); in imx_usdhc_init_host_props()
256 props->host_caps.bus_4_bit_support = (bool)(caps.flags & kUSDHC_Support4BitFlag); in imx_usdhc_init_host_props()
257 props->host_caps.hs200_support = (bool)(cfg->mmc_hs200_1_8v); in imx_usdhc_init_host_props()
258 props->host_caps.hs400_support = (bool)(cfg->mmc_hs400_1_8v); in imx_usdhc_init_host_props()
309 if (ios->clock && (ios->clock > data->props.f_max || ios->clock < data->props.f_min)) { in imx_usdhc_set_io()
833 struct sdhc_host_props *props) in imx_usdhc_get_host_props() argument
837 memcpy(props, &data->props, sizeof(struct sdhc_host_props)); in imx_usdhc_get_host_props()