Lines Matching refs:host_io

85 	struct sdhc_io host_io;  member
294 struct sdhc_io *host_io = &data->host_io; in imx_usdhc_set_io() local
314 if (host_io->clock != ios->clock) { in imx_usdhc_set_io()
323 host_io->clock = ios->clock; in imx_usdhc_set_io()
328 if (host_io->bus_width != ios->bus_width) { in imx_usdhc_set_io()
342 host_io->bus_width = ios->bus_width; in imx_usdhc_set_io()
346 if (ios->signal_voltage != host_io->signal_voltage) { in imx_usdhc_set_io()
378 host_io->signal_voltage = ios->signal_voltage; in imx_usdhc_set_io()
382 if ((host_io->power_mode != ios->power_mode) && (cfg->pwr_gpio.port)) { in imx_usdhc_set_io()
388 host_io->power_mode = ios->power_mode; in imx_usdhc_set_io()
392 if (host_io->timing != ios->timing) { in imx_usdhc_set_io()
426 host_io->timing = ios->timing; in imx_usdhc_set_io()
543 if ((dev_data->host_io.timing == SDHC_TIMING_HS200) || in imx_usdhc_execute_tuning()
544 (dev_data->host_io.timing == SDHC_TIMING_HS400)) { in imx_usdhc_execute_tuning()
553 if (dev_data->host_io.bus_width == SDHC_BUS_WIDTH8BIT) { in imx_usdhc_execute_tuning()
666 if (dev_data->host_io.timing == SDHC_TIMING_SDR104) { in imx_usdhc_request()
680 if (dev_data->host_io.timing == SDHC_TIMING_SDR104) { in imx_usdhc_request()
756 if (dev_data->host_io.timing == SDHC_TIMING_SDR50 || in imx_usdhc_request()
757 dev_data->host_io.timing == SDHC_TIMING_SDR104 || in imx_usdhc_request()
758 dev_data->host_io.timing == SDHC_TIMING_HS200 || in imx_usdhc_request()
759 dev_data->host_io.timing == SDHC_TIMING_HS400) { in imx_usdhc_request()
1038 data->host_io.clock = 0; in imx_usdhc_init()
1039 data->host_io.bus_mode = SDHC_BUSMODE_PUSHPULL; in imx_usdhc_init()
1040 data->host_io.power_mode = SDHC_POWER_OFF; in imx_usdhc_init()
1041 data->host_io.bus_width = SDHC_BUS_WIDTH1BIT; in imx_usdhc_init()
1042 data->host_io.timing = SDHC_TIMING_LEGACY; in imx_usdhc_init()
1043 data->host_io.driver_type = SD_DRIVER_TYPE_B; in imx_usdhc_init()
1044 data->host_io.signal_voltage = SD_VOL_3_3_V; in imx_usdhc_init()