Lines Matching refs:devidx
2646 int asr, ssr, devidx; in acornscsi_host_reset() local
2653 for (devidx = 0; devidx < 9; devidx++) in acornscsi_host_reset()
2654 acornscsi_dumplog(host, devidx); in acornscsi_host_reset()
2703 int devidx; in acornscsi_show_info() local
2737 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_show_info()
2740 seq_printf(m, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_show_info()
2741 statptr = host->status_ptr[devidx] - 10; in acornscsi_show_info()
2746 prev = host->status[devidx][statptr].when; in acornscsi_show_info()
2748 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_show_info()
2749 if (host->status[devidx][statptr].when) { in acornscsi_show_info()
2751 host->status[devidx][statptr].irq ? '-' : ' ', in acornscsi_show_info()
2752 host->status[devidx][statptr].ph, in acornscsi_show_info()
2753 host->status[devidx][statptr].ssr, in acornscsi_show_info()
2754 (host->status[devidx][statptr].when - prev) < 100 ? in acornscsi_show_info()
2755 (host->status[devidx][statptr].when - prev) : 99); in acornscsi_show_info()
2756 prev = host->status[devidx][statptr].when; in acornscsi_show_info()