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