tag | line | file | source code |
icb | 470 | drivers/scsi/wd7000.c | IcbAny icb; /* generic format */ |
icb | 816 | drivers/scsi/wd7000.c | register IcbAny *icb; /* for host commands */ |
icb | 886 | drivers/scsi/wd7000.c | icb = (IcbAny *) scb; |
icb | 887 | drivers/scsi/wd7000.c | icb->status = icmb_status; |
icb | 888 | drivers/scsi/wd7000.c | icb->phase = 0; |
icb | 963 | drivers/scsi/wd7000.c | static IcbDiag icb = {ICB_OP_DIAGNOSTICS}; |
icb | 967 | drivers/scsi/wd7000.c | icb.type = code; |
icb | 968 | drivers/scsi/wd7000.c | any2scsi(icb.len, sizeof(buf)); |
icb | 969 | drivers/scsi/wd7000.c | any2scsi(icb.ptr, (int) &buf); |
icb | 970 | drivers/scsi/wd7000.c | icb.phase = 1; |
icb | 976 | drivers/scsi/wd7000.c | mail_out(host, (struct scb *) &icb); |
icb | 978 | drivers/scsi/wd7000.c | while (icb.phase && jiffies < timeout) |
icb | 981 | drivers/scsi/wd7000.c | if (icb.phase) { |
icb | 985 | drivers/scsi/wd7000.c | if (make_code(icb.vue|(icb.status << 8),0)) { |
icb | 987 | drivers/scsi/wd7000.c | icb.vue, icb.status); |
icb | 1079 | drivers/scsi/wd7000.c | static IcbRevLvl icb = {ICB_OP_GET_REVISION}; |
icb | 1081 | drivers/scsi/wd7000.c | icb.phase = 1; |
icb | 1088 | drivers/scsi/wd7000.c | mail_out(host, (struct scb *) &icb); |
icb | 1089 | drivers/scsi/wd7000.c | while (icb.phase) |
icb | 1091 | drivers/scsi/wd7000.c | host->rev1 = icb.primary; |
icb | 1092 | drivers/scsi/wd7000.c | host->rev2 = icb.secondary; |