Lines Matching refs:ios
446 static int sdhc_ra_set_io(const struct device *dev, struct sdhc_io *ios) in sdhc_ra_set_io() argument
457 if (ios->bus_width > 0) { in sdhc_ra_set_io()
460 switch (ios->bus_width) { in sdhc_ra_set_io()
482 if (ios->clock) { in sdhc_ra_set_io()
483 if (ios->clock > priv->props.f_max || ios->clock < priv->props.f_min) { in sdhc_ra_set_io()
488 if (priv->bus_clock != (uint32_t)ios->clock) { in sdhc_ra_set_io()
489 fsp_err = r_sdhi_max_clock_rate_set(p_ctrl, ios->clock); in sdhc_ra_set_io()
494 priv->bus_clock = ios->clock; in sdhc_ra_set_io()
498 if (ios->timing > 0) { in sdhc_ra_set_io()
500 if (priv->timing != ios->timing) { in sdhc_ra_set_io()
501 switch (ios->timing) { in sdhc_ra_set_io()
513 priv->timing = ios->timing; in sdhc_ra_set_io()