tag | line | file | source code |
HOSTDATA | 341 | drivers/scsi/aha152x.c | #define CURRENT_SC (HOSTDATA(shpnt)->current_SC) |
HOSTDATA | 342 | drivers/scsi/aha152x.c | #define ISSUE_SC (HOSTDATA(shpnt)->issue_SC) |
HOSTDATA | 343 | drivers/scsi/aha152x.c | #define DISCONNECTED_SC (HOSTDATA(shpnt)->disconnected_SC) |
HOSTDATA | 344 | drivers/scsi/aha152x.c | #define DELAY (HOSTDATA(shpnt)->delay) |
HOSTDATA | 345 | drivers/scsi/aha152x.c | #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target]) |
HOSTDATA | 346 | drivers/scsi/aha152x.c | #define MSG(i) (HOSTDATA(shpnt)->message[i]) |
HOSTDATA | 347 | drivers/scsi/aha152x.c | #define MSGLEN (HOSTDATA(shpnt)->message_len) |
HOSTDATA | 774 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->reconnect = setup[i].reconnect; |
HOSTDATA | 775 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->parity = setup[i].parity; |
HOSTDATA | 776 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->synchronous = setup[i].synchronous; |
HOSTDATA | 777 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->delay = setup[i].delay; |
HOSTDATA | 778 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->debug = setup[i].debug; |
HOSTDATA | 780 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->aborting = 0; |
HOSTDATA | 781 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete = 0; |
HOSTDATA | 782 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result = 0; |
HOSTDATA | 783 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands = 0; |
HOSTDATA | 785 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->message_len = 0; |
HOSTDATA | 788 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->syncrate[j] = 0; |
HOSTDATA | 833 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->reconnect ? "enabled" : "disabled", |
HOSTDATA | 834 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->parity ? "enabled" : "disabled", |
HOSTDATA | 835 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->synchronous ? "enabled" : "disabled", |
HOSTDATA | 836 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->delay); |
HOSTDATA | 862 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queue) |
HOSTDATA | 868 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queue) |
HOSTDATA | 912 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands++; |
HOSTDATA | 913 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->commands==1) |
HOSTDATA | 917 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 918 | drivers/scsi/aha152x.c | printk("i+ (%d), ", HOSTDATA(shpnt)->commands); |
HOSTDATA | 960 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_abort) |
HOSTDATA | 1020 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->aborting) |
HOSTDATA | 1044 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS; |
HOSTDATA | 1045 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->aborting++; |
HOSTDATA | 1046 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete=0; |
HOSTDATA | 1051 | drivers/scsi/aha152x.c | while(!HOSTDATA(shpnt)->abortion_complete) |
HOSTDATA | 1053 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->aborting=0; |
HOSTDATA | 1054 | drivers/scsi/aha152x.c | return HOSTDATA(shpnt)->abort_result; |
HOSTDATA | 1121 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_reset) |
HOSTDATA | 1166 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_reset) |
HOSTDATA | 1196 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_biosparam) |
HOSTDATA | 1207 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_biosparam) |
HOSTDATA | 1227 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1237 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1248 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands--; |
HOSTDATA | 1249 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->commands) |
HOSTDATA | 1253 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1254 | drivers/scsi/aha152x.c | printk("ok (%d), ", HOSTDATA(shpnt)->commands); |
HOSTDATA | 1262 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_phases) |
HOSTDATA | 1268 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_phases) |
HOSTDATA | 1276 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1281 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_done) |
HOSTDATA | 1305 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 1332 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1348 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_queues|debug_phases)) |
HOSTDATA | 1361 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1370 | drivers/scsi/aha152x.c | SETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f); |
HOSTDATA | 1397 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1405 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1439 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1446 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases)) |
HOSTDATA | 1452 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases)) |
HOSTDATA | 1458 | drivers/scsi/aha152x.c | SETPORT(SXFRCTL1, HOSTDATA(shpnt)->parity ? (ENSPCHK|ENSTIMER) : ENSTIMER); |
HOSTDATA | 1489 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 1521 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR; |
HOSTDATA | 1522 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete++; |
HOSTDATA | 1529 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases)) |
HOSTDATA | 1537 | drivers/scsi/aha152x.c | if((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted)) |
HOSTDATA | 1544 | drivers/scsi/aha152x.c | ADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)); |
HOSTDATA | 1546 | drivers/scsi/aha152x.c | if(!(SYNCRATE&0x80) && HOSTDATA(shpnt)->synchronous) |
HOSTDATA | 1578 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases)) |
HOSTDATA | 1597 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_abort) |
HOSTDATA | 1600 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR; |
HOSTDATA | 1601 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete++; |
HOSTDATA | 1631 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgo|debug_phases)) |
HOSTDATA | 1638 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgo) |
HOSTDATA | 1654 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgo) |
HOSTDATA | 1668 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgo) |
HOSTDATA | 1682 | drivers/scsi/aha152x.c | if(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun)) |
HOSTDATA | 1698 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS; |
HOSTDATA | 1699 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->abortion_complete++; |
HOSTDATA | 1716 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_cmd|debug_phases)) |
HOSTDATA | 1754 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgi|debug_phases)) |
HOSTDATA | 1769 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases)) |
HOSTDATA | 1774 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->reconnect) |
HOSTDATA | 1780 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases)) |
HOSTDATA | 1796 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1803 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1814 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1829 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_msgi) |
HOSTDATA | 1842 | drivers/scsi/aha152x.c | if(!HOSTDATA(shpnt)->synchronous) |
HOSTDATA | 1933 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_queues) |
HOSTDATA | 1953 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_status|debug_intr|debug_phases)) |
HOSTDATA | 1969 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_status) |
HOSTDATA | 1983 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr|debug_phases)) |
HOSTDATA | 2009 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2017 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2032 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2039 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2054 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2071 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2125 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datai) |
HOSTDATA | 2134 | drivers/scsi/aha152x.c | if((HOSTDATA(shpnt)->debug & debug_datai) && |
HOSTDATA | 2148 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr)) |
HOSTDATA | 2161 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr|debug_phases)) |
HOSTDATA | 2165 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2194 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2205 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2230 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2262 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2276 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2283 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_datao) |
HOSTDATA | 2298 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr)) |
HOSTDATA | 2309 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_phases) |
HOSTDATA | 2339 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 2370 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_intr) |
HOSTDATA | 2400 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->debug & debug_skipports) |
HOSTDATA | 2830 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->reconnect ? "enabled" : "disabled"); |
HOSTDATA | 2832 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->parity ? "enabled" : "disabled"); |
HOSTDATA | 2834 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->synchronous ? "enabled" : "disabled"); |
HOSTDATA | 2836 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->commands); |
HOSTDATA | 2842 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->syncrate[i]&0x7f) |
HOSTDATA | 2845 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2), |
HOSTDATA | 2846 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)* |
HOSTDATA | 2848 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->syncrate[i]&0x0f); |
HOSTDATA | 2852 | drivers/scsi/aha152x.c | if(HOSTDATA(shpnt)->syncrate[i]&0x7f) |
HOSTDATA | 2855 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2), |
HOSTDATA | 2856 | drivers/scsi/aha152x.c | (((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50, |
HOSTDATA | 2857 | drivers/scsi/aha152x.c | HOSTDATA(shpnt)->syncrate[i]&0x0f); |
HOSTDATA | 2861 | drivers/scsi/aha152x.c | #define PDEBUG(flags,txt) if(HOSTDATA(shpnt)->debug & flags) SPRINTF("(%s) ", txt); |
HOSTDATA | 375 | drivers/scsi/aha1542.c | mb = HOSTDATA(shost)->mb; |
HOSTDATA | 376 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shost)->ccb; |
HOSTDATA | 413 | drivers/scsi/aha1542.c | mbi = HOSTDATA(shost)->aha1542_last_mbi_used + 1; |
HOSTDATA | 420 | drivers/scsi/aha1542.c | } while (mbi != HOSTDATA(shost)->aha1542_last_mbi_used); |
HOSTDATA | 436 | drivers/scsi/aha1542.c | HOSTDATA(shost)->aha1542_last_mbi_used = mbi; |
HOSTDATA | 453 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(shost)->SCint[mbo]; |
HOSTDATA | 506 | drivers/scsi/aha1542.c | HOSTDATA(shost)->SCint[mbo] = NULL; /* This effectively frees up the mailbox slot, as |
HOSTDATA | 529 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
HOSTDATA | 530 | drivers/scsi/aha1542.c | ccb = HOSTDATA(SCpnt->host)->ccb; |
HOSTDATA | 570 | drivers/scsi/aha1542.c | mbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1; |
HOSTDATA | 574 | drivers/scsi/aha1542.c | if(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) |
HOSTDATA | 578 | drivers/scsi/aha1542.c | } while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used); |
HOSTDATA | 580 | drivers/scsi/aha1542.c | if(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) |
HOSTDATA | 583 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt; /* This will effectively prevent someone else from |
HOSTDATA | 586 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo; |
HOSTDATA | 705 | drivers/scsi/aha1542.c | mb = HOSTDATA(shpnt)->mb; |
HOSTDATA | 706 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shpnt)->ccb; |
HOSTDATA | 1030 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->bios_translation = trans; |
HOSTDATA | 1033 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbi_used = (2*AHA1542_MAILBOXES - 1); |
HOSTDATA | 1034 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbo_used = (AHA1542_MAILBOXES - 1); |
HOSTDATA | 1035 | drivers/scsi/aha1542.c | memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); |
HOSTDATA | 1091 | drivers/scsi/aha1542.c | if(HOSTDATA(shost)->SCint[i] && |
HOSTDATA | 1092 | drivers/scsi/aha1542.c | !(HOSTDATA(shost)->SCint[i]->device->soft_reset)) |
HOSTDATA | 1095 | drivers/scsi/aha1542.c | HOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */ |
HOSTDATA | 1126 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
HOSTDATA | 1127 | drivers/scsi/aha1542.c | mbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1; |
HOSTDATA | 1134 | drivers/scsi/aha1542.c | } while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used); |
HOSTDATA | 1148 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i]) |
HOSTDATA | 1150 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) { |
HOSTDATA | 1153 | drivers/scsi/aha1542.c | if (HOSTDATA(SCpnt->host)->mb[i].status) { |
HOSTDATA | 1169 | drivers/scsi/aha1542.c | if (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){ |
HOSTDATA | 1228 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] != NULL) |
HOSTDATA | 1231 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(SCpnt->host)->SCint[i]; |
HOSTDATA | 1237 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i] = NULL; |
HOSTDATA | 1238 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
HOSTDATA | 1258 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) |
HOSTDATA | 1260 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->ccb[i].op = 0x81; /* BUS DEVICE RESET */ |
HOSTDATA | 1274 | drivers/scsi/aha1542.c | if(HOSTDATA(SCpnt->host)->SCint[i] && |
HOSTDATA | 1275 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target) |
HOSTDATA | 1278 | drivers/scsi/aha1542.c | SCtmp = HOSTDATA(SCpnt->host)->SCint[i]; |
HOSTDATA | 1284 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->SCint[i] = NULL; |
HOSTDATA | 1285 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
HOSTDATA | 1303 | drivers/scsi/aha1542.c | translation_algorithm = HOSTDATA(disk->device->host)->bios_translation; |