tag | line | file | source code |
HOSTDATA | 351 | drivers/scsi/aha152x.c | #define CURRENT_SC (HOSTDATA(shpnt)->current_SC) |
HOSTDATA | 352 | drivers/scsi/aha152x.c | #define ISSUE_SC (HOSTDATA(shpnt)->issue_SC) |
HOSTDATA | 353 | drivers/scsi/aha152x.c | #define DISCONNECTED_SC (HOSTDATA(shpnt)->disconnected_SC) |
HOSTDATA | 354 | drivers/scsi/aha152x.c | #define DELAY (HOSTDATA(shpnt)->delay) |
HOSTDATA | 355 | drivers/scsi/aha152x.c | #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target]) |
HOSTDATA | 356 | drivers/scsi/aha152x.c | #define MSG(i) (HOSTDATA(shpnt)->message[i]) |
HOSTDATA | 357 | drivers/scsi/aha152x.c | #define MSGLEN (HOSTDATA(shpnt)->message_len) |
HOSTDATA | 787 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->reconnect = setup[i].reconnect; |
HOSTDATA | 788 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->parity = setup[i].parity; |
HOSTDATA | 789 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->synchronous = setup[i].synchronous; |
HOSTDATA | 790 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->delay = setup[i].delay; |
HOSTDATA | 792 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->debug = setup[i].debug; |
HOSTDATA | 795 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->aborting = 0; |
HOSTDATA | 796 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete = 0; |
HOSTDATA | 797 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result = 0; |
HOSTDATA | 798 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands = 0; |
HOSTDATA | 800 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->message_len = 0; |
HOSTDATA | 803 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->syncrate[j] = 0; |
HOSTDATA | 825 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->reconnect ? "enabled" : "disabled", |
HOSTDATA | 826 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->parity ? "enabled" : "disabled", |
HOSTDATA | 827 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->synchronous ? "enabled" : "disabled", |
HOSTDATA | 828 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->delay); |
HOSTDATA | 877 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queue) |
HOSTDATA | 883 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queue) |
HOSTDATA | 927 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands++; |
HOSTDATA | 928 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->commands==1) |
HOSTDATA | 932 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 933 | drivers/scsi/aha152x.c | printk("i+ (%d), ", HOSTDATA(shpnt)->commands); |
HOSTDATA | 975 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_abort) |
HOSTDATA | 1035 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->aborting) |
HOSTDATA | 1059 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS; |
HOSTDATA | 1060 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->aborting++; |
HOSTDATA | 1061 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete=0; |
HOSTDATA | 1066 | drivers/scsi/aha152x.c | while(!HOSTDATA(shpnt)->abortion_complete) |
HOSTDATA | 1068 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->aborting=0; |
HOSTDATA | 1069 | drivers/scsi/aha152x.c | return HOSTDATA(shpnt)->abort_result; |
HOSTDATA | 1136 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_reset) |
HOSTDATA | 1181 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_reset) |
HOSTDATA | 1211 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_biosparam) |
HOSTDATA | 1222 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_biosparam) |
HOSTDATA | 1242 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1252 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1263 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands--; |
HOSTDATA | 1264 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->commands) |
HOSTDATA | 1268 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1269 | drivers/scsi/aha152x.c | printk("ok (%d), ", HOSTDATA(shpnt)->commands); |
HOSTDATA | 1277 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_phases) |
HOSTDATA | 1283 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_phases) |
HOSTDATA | 1291 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1296 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1320 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 1347 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1363 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_queues|debug_phases)) |
HOSTDATA | 1376 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1385 | drivers/scsi/aha152x.c | SETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f); |
HOSTDATA | 1410 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1418 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1455 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1462 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases)) |
HOSTDATA | 1468 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases)) |
HOSTDATA | 1474 | drivers/scsi/aha152x.c | SETPORT(SXFRCTL1, HOSTDATA(shpnt)->parity ? (ENSPCHK|ENSTIMER) : ENSTIMER); |
HOSTDATA | 1505 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 1537 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR; |
HOSTDATA | 1538 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete++; |
HOSTDATA | 1545 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases)) |
HOSTDATA | 1553 | drivers/scsi/aha152x.c | if((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted)) |
HOSTDATA | 1560 | drivers/scsi/aha152x.c | ADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)); |
HOSTDATA | 1562 | drivers/scsi/aha152x.c | if(!(SYNCRATE&0x80) && HOSTDATA(shpnt)->synchronous) |
HOSTDATA | 1594 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases)) |
HOSTDATA | 1613 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_abort) |
HOSTDATA | 1616 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR; |
HOSTDATA | 1617 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete++; |
HOSTDATA | 1647 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgo|debug_phases)) |
HOSTDATA | 1654 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgo) |
HOSTDATA | 1670 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgo) |
HOSTDATA | 1684 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgo) |
HOSTDATA | 1698 | drivers/scsi/aha152x.c | if(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)) |
HOSTDATA | 1714 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS; |
HOSTDATA | 1715 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete++; |
HOSTDATA | 1732 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_cmd|debug_phases)) |
HOSTDATA | 1770 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgi|debug_phases)) |
HOSTDATA | 1785 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases)) |
HOSTDATA | 1790 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->reconnect) |
HOSTDATA | 1796 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases)) |
HOSTDATA | 1812 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1819 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1830 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1845 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1858 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->synchronous) |
HOSTDATA | 1949 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1970 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_status|debug_intr|debug_phases)) |
HOSTDATA | 1986 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_status) |
HOSTDATA | 2000 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr|debug_phases)) |
HOSTDATA | 2026 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2034 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2049 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2056 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2071 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2088 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2142 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2151 | drivers/scsi/aha152x.c | if((HOSTDATA(shpnt)->debug & debug_datai) && |
HOSTDATA | 2165 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr)) |
HOSTDATA | 2178 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr|debug_phases)) |
HOSTDATA | 2182 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2211 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2222 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2247 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2279 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2293 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2300 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2315 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr)) |
HOSTDATA | 2326 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_phases) |
HOSTDATA | 2356 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 2387 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 2417 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_skipports) |
HOSTDATA | 2847 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->reconnect ? "enabled" : "disabled"); |
HOSTDATA | 2849 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->parity ? "enabled" : "disabled"); |
HOSTDATA | 2851 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->synchronous ? "enabled" : "disabled"); |
HOSTDATA | 2853 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands); |
HOSTDATA | 2859 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->syncrate[i]&0x7f) |
HOSTDATA | 2862 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2), |
HOSTDATA | 2863 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)* |
HOSTDATA | 2865 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->syncrate[i]&0x0f); |
HOSTDATA | 2869 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->syncrate[i]&0x7f) |
HOSTDATA | 2872 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2), |
HOSTDATA | 2873 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50, |
HOSTDATA | 2874 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->syncrate[i]&0x0f); |
HOSTDATA | 2878 | drivers/scsi/aha152x.c | #define PDEBUG(flags,txt) if(HOSTDATA(shpnt)->debug & flags) SPRINTF("(%s) ", txt); |
HOSTDATA | 372 | drivers/scsi/aha1542.c | mb = HOSTDATA(shost)->mb; |
HOSTDATA | 373 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shost)->ccb; |
HOSTDATA | 410 | drivers/scsi/aha1542.c | mbi = HOSTDATA(shost)->aha1542_last_mbi_used + 1; |
HOSTDATA | 417 | drivers/scsi/aha1542.c | } while (mbi != HOSTDATA(shost)->aha1542_last_mbi_used); |
HOSTDATA | 433 | drivers/scsi/aha1542.c | HOSTDATA(shost)->aha1542_last_mbi_used = mbi; |
HOSTDATA | 450 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(shost)->SCint[mbo]; |
HOSTDATA | 503 | drivers/scsi/aha1542.c | HOSTDATA(shost)->SCint[mbo] = NULL; /* This effectively frees up the mailbox slot, as |
HOSTDATA | 526 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
HOSTDATA | 527 | drivers/scsi/aha1542.c | ccb = HOSTDATA(SCpnt->host)->ccb; |
HOSTDATA | 567 | drivers/scsi/aha1542.c | mbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1; |
HOSTDATA | 571 | drivers/scsi/aha1542.c | if(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) |
HOSTDATA | 575 | drivers/scsi/aha1542.c | } while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used); |
HOSTDATA | 577 | drivers/scsi/aha1542.c | if(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) |
HOSTDATA | 580 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt; /* This will effectively prevent someone else from |
HOSTDATA | 583 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo; |
HOSTDATA | 702 | drivers/scsi/aha1542.c | mb = HOSTDATA(shpnt)->mb; |
HOSTDATA | 703 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shpnt)->ccb; |
HOSTDATA | 1027 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->bios_translation = trans; |
HOSTDATA | 1030 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbi_used = (2*AHA1542_MAILBOXES - 1); |
HOSTDATA | 1031 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbo_used = (AHA1542_MAILBOXES - 1); |
HOSTDATA | 1032 | drivers/scsi/aha1542.c | memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); |
HOSTDATA | 1088 | drivers/scsi/aha1542.c | if(HOSTDATA(shost)->SCint[i] && |
HOSTDATA | 1089 | drivers/scsi/aha1542.c | !(HOSTDATA(shost)->SCint[i]->device->soft_reset)) |
HOSTDATA | 1092 | drivers/scsi/aha1542.c | HOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */ |
HOSTDATA | 1123 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
HOSTDATA | 1124 | drivers/scsi/aha1542.c | mbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1; |
HOSTDATA | 1131 | drivers/scsi/aha1542.c | } while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used); |
HOSTDATA | 1145 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i]) |
HOSTDATA | 1147 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) { |
HOSTDATA | 1150 | drivers/scsi/aha1542.c | if (HOSTDATA(SCpnt->host)->mb[i].status) { |
HOSTDATA | 1166 | drivers/scsi/aha1542.c | if (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){ |
HOSTDATA | 1225 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] != NULL) |
HOSTDATA | 1228 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(SCpnt->host)->SCint[i]; |
HOSTDATA | 1234 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i] = NULL; |
HOSTDATA | 1235 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
HOSTDATA | 1255 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) |
HOSTDATA | 1257 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->ccb[i].op = 0x81; /* BUS DEVICE RESET */ |
HOSTDATA | 1271 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] && |
HOSTDATA | 1272 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
HOSTDATA | 1275 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(SCpnt->host)->SCint[i]; |
HOSTDATA | 1281 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i] = NULL; |
HOSTDATA | 1282 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
HOSTDATA | 1300 | drivers/scsi/aha1542.c | translation_algorithm = HOSTDATA(disk->device->host)->bios_translation; |
HOSTDATA | 1112 | drivers/scsi/atari_NCR5380.c | struct NCR5380_hostdata *hostdata = HOSTDATA(instance); |