Lines Matching refs:devidx
2651 int asr, ssr, devidx; in acornscsi_host_reset() local
2658 for (devidx = 0; devidx < 9; devidx++) in acornscsi_host_reset()
2659 acornscsi_dumplog(host, devidx); in acornscsi_host_reset()
2708 int devidx; in acornscsi_show_info() local
2742 for (devidx = 0; devidx < 9; devidx ++) { in acornscsi_show_info()
2745 seq_printf(m, "\n%c:", devidx == 8 ? 'H' : ('0' + devidx)); in acornscsi_show_info()
2746 statptr = host->status_ptr[devidx] - 10; in acornscsi_show_info()
2751 prev = host->status[devidx][statptr].when; in acornscsi_show_info()
2753 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) { in acornscsi_show_info()
2754 if (host->status[devidx][statptr].when) { in acornscsi_show_info()
2756 host->status[devidx][statptr].irq ? '-' : ' ', in acornscsi_show_info()
2757 host->status[devidx][statptr].ph, in acornscsi_show_info()
2758 host->status[devidx][statptr].ssr, in acornscsi_show_info()
2759 (host->status[devidx][statptr].when - prev) < 100 ? in acornscsi_show_info()
2760 (host->status[devidx][statptr].when - prev) : 99); in acornscsi_show_info()
2761 prev = host->status[devidx][statptr].when; in acornscsi_show_info()