taglinefilesource code
HOSTDATA341drivers/scsi/aha152x.c#define CURRENT_SC    (HOSTDATA(shpnt)->current_SC)
HOSTDATA342drivers/scsi/aha152x.c#define ISSUE_SC    (HOSTDATA(shpnt)->issue_SC)
HOSTDATA343drivers/scsi/aha152x.c#define DISCONNECTED_SC    (HOSTDATA(shpnt)->disconnected_SC)
HOSTDATA344drivers/scsi/aha152x.c#define DELAY             (HOSTDATA(shpnt)->delay)
HOSTDATA345drivers/scsi/aha152x.c#define SYNCRATE    (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target])
HOSTDATA346drivers/scsi/aha152x.c#define MSG(i)            (HOSTDATA(shpnt)->message[i])
HOSTDATA347drivers/scsi/aha152x.c#define MSGLEN            (HOSTDATA(shpnt)->message_len)
HOSTDATA774drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect         = setup[i].reconnect;
HOSTDATA775drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity            = setup[i].parity;
HOSTDATA776drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous       = setup[i].synchronous;
HOSTDATA777drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay             = setup[i].delay;
HOSTDATA778drivers/scsi/aha152x.cHOSTDATA(shpnt)->debug             = setup[i].debug;
HOSTDATA780drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting          = 0;
HOSTDATA781drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete = 0;
HOSTDATA782drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result      = 0;
HOSTDATA783drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands          = 0;
HOSTDATA785drivers/scsi/aha152x.cHOSTDATA(shpnt)->message_len       = 0;
HOSTDATA788drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[j] = 0;
HOSTDATA833drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled",
HOSTDATA834drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled",
HOSTDATA835drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled",
HOSTDATA836drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay);
HOSTDATA862drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
HOSTDATA868drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
HOSTDATA912drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands++;
HOSTDATA913drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->commands==1)
HOSTDATA917drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA918drivers/scsi/aha152x.cprintk("i+ (%d), ", HOSTDATA(shpnt)->commands);
HOSTDATA960drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
HOSTDATA1020drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->aborting)
HOSTDATA1044drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
HOSTDATA1045drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting++;
HOSTDATA1046drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete=0;
HOSTDATA1051drivers/scsi/aha152x.cwhile(!HOSTDATA(shpnt)->abortion_complete)
HOSTDATA1053drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting=0;
HOSTDATA1054drivers/scsi/aha152x.creturn HOSTDATA(shpnt)->abort_result;
HOSTDATA1121drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
HOSTDATA1166drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
HOSTDATA1196drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
HOSTDATA1207drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
HOSTDATA1227drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1237drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1248drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands--;
HOSTDATA1249drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->commands)
HOSTDATA1253drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues) 
HOSTDATA1254drivers/scsi/aha152x.cprintk("ok (%d), ", HOSTDATA(shpnt)->commands);
HOSTDATA1262drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
HOSTDATA1268drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
HOSTDATA1276drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1281drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1305drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA1332drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1348drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_queues|debug_phases))
HOSTDATA1361drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1370drivers/scsi/aha152x.cSETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f);
HOSTDATA1397drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1405drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1439drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1446drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
HOSTDATA1452drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
HOSTDATA1458drivers/scsi/aha152x.cSETPORT(SXFRCTL1, HOSTDATA(shpnt)->parity ? (ENSPCHK|ENSTIMER) : ENSTIMER);
HOSTDATA1489drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA1521drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
HOSTDATA1522drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
HOSTDATA1529drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
HOSTDATA1537drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted))
HOSTDATA1544drivers/scsi/aha152x.cADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun));
HOSTDATA1546drivers/scsi/aha152x.cif(!(SYNCRATE&0x80) && HOSTDATA(shpnt)->synchronous)
HOSTDATA1578drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
HOSTDATA1597drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
HOSTDATA1600drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
HOSTDATA1601drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
HOSTDATA1631drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgo|debug_phases))
HOSTDATA1638drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
HOSTDATA1654drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
HOSTDATA1668drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
HOSTDATA1682drivers/scsi/aha152x.cif(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun))
HOSTDATA1698drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
HOSTDATA1699drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
HOSTDATA1716drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_cmd|debug_phases))
HOSTDATA1754drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgi|debug_phases))
HOSTDATA1769drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
HOSTDATA1774drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->reconnect)
HOSTDATA1780drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
HOSTDATA1796drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1803drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1814drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1829drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1842drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->synchronous)
HOSTDATA1933drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1953drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_status|debug_intr|debug_phases))
HOSTDATA1969drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_status)
HOSTDATA1983drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr|debug_phases))
HOSTDATA2009drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2017drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2032drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2039drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2054drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2071drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2125drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2134drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_datai) &&
HOSTDATA2148drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr))
HOSTDATA2161drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr|debug_phases))
HOSTDATA2165drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2194drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2205drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2230drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2262drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2276drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2283drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2298drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr))
HOSTDATA2309drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
HOSTDATA2339drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA2370drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA2400drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_skipports)
HOSTDATA2830drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled");
HOSTDATA2832drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled");
HOSTDATA2834drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled");
HOSTDATA2836drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands);
HOSTDATA2842drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
HOSTDATA2845drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
HOSTDATA2846drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*
HOSTDATA2848drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
HOSTDATA2852drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
HOSTDATA2855drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
HOSTDATA2856drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50,
HOSTDATA2857drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
HOSTDATA2861drivers/scsi/aha152x.c#define PDEBUG(flags,txt) if(HOSTDATA(shpnt)->debug & flags) SPRINTF("(%s) ", txt);
HOSTDATA375drivers/scsi/aha1542.cmb = HOSTDATA(shost)->mb;
HOSTDATA376drivers/scsi/aha1542.cccb = HOSTDATA(shost)->ccb;
HOSTDATA413drivers/scsi/aha1542.cmbi = HOSTDATA(shost)->aha1542_last_mbi_used + 1;
HOSTDATA420drivers/scsi/aha1542.c} while (mbi != HOSTDATA(shost)->aha1542_last_mbi_used);
HOSTDATA436drivers/scsi/aha1542.cHOSTDATA(shost)->aha1542_last_mbi_used = mbi;
HOSTDATA453drivers/scsi/aha1542.cSCtmp = HOSTDATA(shost)->SCint[mbo];
HOSTDATA506drivers/scsi/aha1542.cHOSTDATA(shost)->SCint[mbo] = NULL;  /* This effectively frees up the mailbox slot, as
HOSTDATA529drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
HOSTDATA530drivers/scsi/aha1542.cccb = HOSTDATA(SCpnt->host)->ccb;
HOSTDATA570drivers/scsi/aha1542.cmbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1;
HOSTDATA574drivers/scsi/aha1542.cif(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL)
HOSTDATA578drivers/scsi/aha1542.c} while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used);
HOSTDATA580drivers/scsi/aha1542.cif(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo])
HOSTDATA583drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt;  /* This will effectively prevent someone else from
HOSTDATA586drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo;    
HOSTDATA705drivers/scsi/aha1542.cmb = HOSTDATA(shpnt)->mb;
HOSTDATA706drivers/scsi/aha1542.cccb = HOSTDATA(shpnt)->ccb;
HOSTDATA1030drivers/scsi/aha1542.cHOSTDATA(shpnt)->bios_translation  = trans;
HOSTDATA1033drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbi_used  = (2*AHA1542_MAILBOXES - 1);
HOSTDATA1034drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbo_used  = (AHA1542_MAILBOXES - 1);
HOSTDATA1035drivers/scsi/aha1542.cmemset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint));
HOSTDATA1091drivers/scsi/aha1542.cif(HOSTDATA(shost)->SCint[i] && 
HOSTDATA1092drivers/scsi/aha1542.c!(HOSTDATA(shost)->SCint[i]->device->soft_reset))
HOSTDATA1095drivers/scsi/aha1542.cHOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */
HOSTDATA1126drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
HOSTDATA1127drivers/scsi/aha1542.cmbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1;
HOSTDATA1134drivers/scsi/aha1542.c} while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used);
HOSTDATA1148drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
HOSTDATA1150drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
HOSTDATA1153drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
HOSTDATA1169drivers/scsi/aha1542.cif (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){
HOSTDATA1228drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] != NULL)
HOSTDATA1231drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
HOSTDATA1237drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
HOSTDATA1238drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
HOSTDATA1258drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
HOSTDATA1260drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
HOSTDATA1274drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
HOSTDATA1275drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
HOSTDATA1278drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
HOSTDATA1284drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
HOSTDATA1285drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
HOSTDATA1303drivers/scsi/aha1542.ctranslation_algorithm = HOSTDATA(disk->device->host)->bios_translation;