Lines Matching refs:sdhc_config
119 const struct sdhc_cdns_config *sdhc_config = DEV_CFG(dev); in sdhc_cdns_get_host_props() local
128 props->power_delay = sdhc_config->power_delay_ms; in sdhc_cdns_get_host_props()
142 const struct sdhc_cdns_config *sdhc_config = DEV_CFG(dev); in sdhc_cdns_init() local
151 if (sdhc_config->clk_rate == 0U) { in sdhc_cdns_init()
152 if (!device_is_ready(sdhc_config->cdns_clk_dev)) { in sdhc_cdns_init()
157 ret = clock_control_get_rate(sdhc_config->cdns_clk_dev, in sdhc_cdns_init()
158 sdhc_config->clkid, &data->params.clk_rate); in sdhc_cdns_init()
164 data->params.clk_rate = sdhc_config->clk_rate; in sdhc_cdns_init()
175 if (sdhc_config->reset_sdmmc.dev != NULL) { in sdhc_cdns_init()
176 if (!device_is_ready(sdhc_config->reset_sdmmc.dev) || in sdhc_cdns_init()
177 !device_is_ready(sdhc_config->reset_sdmmcocp.dev) || in sdhc_cdns_init()
178 !device_is_ready(sdhc_config->reset_softphy.dev)) { in sdhc_cdns_init()
183 ret = reset_line_toggle(sdhc_config->reset_softphy.dev, in sdhc_cdns_init()
184 sdhc_config->reset_softphy.id); in sdhc_cdns_init()
190 ret = reset_line_toggle(sdhc_config->reset_sdmmc.dev, in sdhc_cdns_init()
191 sdhc_config->reset_sdmmc.id); in sdhc_cdns_init()
197 ret = reset_line_toggle(sdhc_config->reset_sdmmcocp.dev, in sdhc_cdns_init()
198 sdhc_config->reset_sdmmcocp.id); in sdhc_cdns_init()