Lines Matching refs:ios
59 struct mmc_ios *ios = &host->ios; in mmc_ios_show() local
62 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show()
65 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
66 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
68 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show()
69 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show()
70 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show()
71 vdd_str[ios->vdd + 1]); in mmc_ios_show()
75 switch (ios->bus_mode) { in mmc_ios_show()
86 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show()
88 switch (ios->chip_select) { in mmc_ios_show()
102 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); in mmc_ios_show()
104 switch (ios->power_mode) { in mmc_ios_show()
118 seq_printf(s, "power mode:\t%u (%s)\n", ios->power_mode, str); in mmc_ios_show()
120 ios->bus_width, 1 << ios->bus_width); in mmc_ios_show()
122 switch (ios->timing) { in mmc_ios_show()
161 seq_printf(s, "timing spec:\t%u (%s)\n", ios->timing, str); in mmc_ios_show()
163 switch (ios->signal_voltage) { in mmc_ios_show()
177 seq_printf(s, "signal voltage:\t%u (%s)\n", ios->signal_voltage, str); in mmc_ios_show()
179 switch (ios->drv_type) { in mmc_ios_show()
196 seq_printf(s, "driver type:\t%u (%s)\n", ios->drv_type, str); in mmc_ios_show()
206 *val = host->ios.clock; in mmc_clock_opt_get()