Lines Matching refs:ios
44 struct mmc_ios *ios = &host->ios; in mmc_ios_show() local
47 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show()
48 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
49 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
51 else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) in mmc_ios_show()
52 && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) in mmc_ios_show()
53 seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], in mmc_ios_show()
54 vdd_str[ios->vdd + 1]); in mmc_ios_show()
58 switch (ios->bus_mode) { in mmc_ios_show()
69 seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); in mmc_ios_show()
71 switch (ios->chip_select) { in mmc_ios_show()
85 seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); in mmc_ios_show()
87 switch (ios->power_mode) { in mmc_ios_show()
101 seq_printf(s, "power mode:\t%u (%s)\n", ios->power_mode, str); in mmc_ios_show()
103 ios->bus_width, 1 << ios->bus_width); in mmc_ios_show()
105 switch (ios->timing) { in mmc_ios_show()
119 seq_printf(s, "timing spec:\t%u (%s)\n", ios->timing, str); in mmc_ios_show()