taglinefilesource code
HOSTDATA351drivers/scsi/aha152x.c#define CURRENT_SC    (HOSTDATA(shpnt)->current_SC)
HOSTDATA352drivers/scsi/aha152x.c#define ISSUE_SC    (HOSTDATA(shpnt)->issue_SC)
HOSTDATA353drivers/scsi/aha152x.c#define DISCONNECTED_SC    (HOSTDATA(shpnt)->disconnected_SC)
HOSTDATA354drivers/scsi/aha152x.c#define DELAY             (HOSTDATA(shpnt)->delay)
HOSTDATA355drivers/scsi/aha152x.c#define SYNCRATE    (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target])
HOSTDATA356drivers/scsi/aha152x.c#define MSG(i)            (HOSTDATA(shpnt)->message[i])
HOSTDATA357drivers/scsi/aha152x.c#define MSGLEN            (HOSTDATA(shpnt)->message_len)
HOSTDATA787drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect         = setup[i].reconnect;
HOSTDATA788drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity            = setup[i].parity;
HOSTDATA789drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous       = setup[i].synchronous;
HOSTDATA790drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay             = setup[i].delay;
HOSTDATA792drivers/scsi/aha152x.cHOSTDATA(shpnt)->debug             = setup[i].debug;
HOSTDATA795drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting          = 0;
HOSTDATA796drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete = 0;
HOSTDATA797drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result      = 0;
HOSTDATA798drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands          = 0;
HOSTDATA800drivers/scsi/aha152x.cHOSTDATA(shpnt)->message_len       = 0;
HOSTDATA803drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[j] = 0;
HOSTDATA825drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled",
HOSTDATA826drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled",
HOSTDATA827drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled",
HOSTDATA828drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay);
HOSTDATA877drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
HOSTDATA883drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
HOSTDATA927drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands++;
HOSTDATA928drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->commands==1)
HOSTDATA932drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA933drivers/scsi/aha152x.cprintk("i+ (%d), ", HOSTDATA(shpnt)->commands);
HOSTDATA975drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
HOSTDATA1035drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->aborting)
HOSTDATA1059drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
HOSTDATA1060drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting++;
HOSTDATA1061drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete=0;
HOSTDATA1066drivers/scsi/aha152x.cwhile(!HOSTDATA(shpnt)->abortion_complete)
HOSTDATA1068drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting=0;
HOSTDATA1069drivers/scsi/aha152x.creturn HOSTDATA(shpnt)->abort_result;
HOSTDATA1136drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
HOSTDATA1181drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
HOSTDATA1211drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
HOSTDATA1222drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
HOSTDATA1242drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1252drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1263drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands--;
HOSTDATA1264drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->commands)
HOSTDATA1268drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues) 
HOSTDATA1269drivers/scsi/aha152x.cprintk("ok (%d), ", HOSTDATA(shpnt)->commands);
HOSTDATA1277drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
HOSTDATA1283drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
HOSTDATA1291drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1296drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
HOSTDATA1320drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA1347drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1363drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_queues|debug_phases))
HOSTDATA1376drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1385drivers/scsi/aha152x.cSETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f);
HOSTDATA1410drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1418drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1455drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1462drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
HOSTDATA1468drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
HOSTDATA1474drivers/scsi/aha152x.cSETPORT(SXFRCTL1, HOSTDATA(shpnt)->parity ? (ENSPCHK|ENSTIMER) : ENSTIMER);
HOSTDATA1505drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA1537drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
HOSTDATA1538drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
HOSTDATA1545drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
HOSTDATA1553drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted))
HOSTDATA1560drivers/scsi/aha152x.cADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun));
HOSTDATA1562drivers/scsi/aha152x.cif(!(SYNCRATE&0x80) && HOSTDATA(shpnt)->synchronous)
HOSTDATA1594drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
HOSTDATA1613drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
HOSTDATA1616drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
HOSTDATA1617drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
HOSTDATA1647drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgo|debug_phases))
HOSTDATA1654drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
HOSTDATA1670drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
HOSTDATA1684drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
HOSTDATA1698drivers/scsi/aha152x.cif(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun))
HOSTDATA1714drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
HOSTDATA1715drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
HOSTDATA1732drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_cmd|debug_phases))
HOSTDATA1770drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgi|debug_phases))
HOSTDATA1785drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
HOSTDATA1790drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->reconnect)
HOSTDATA1796drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
HOSTDATA1812drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1819drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1830drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1845drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
HOSTDATA1858drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->synchronous)
HOSTDATA1949drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
HOSTDATA1970drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_status|debug_intr|debug_phases))
HOSTDATA1986drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_status)
HOSTDATA2000drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr|debug_phases))
HOSTDATA2026drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2034drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2049drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2056drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2071drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2088drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2142drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
HOSTDATA2151drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_datai) &&
HOSTDATA2165drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr))
HOSTDATA2178drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr|debug_phases))
HOSTDATA2182drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2211drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2222drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2247drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2279drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2293drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2300drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
HOSTDATA2315drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr))
HOSTDATA2326drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
HOSTDATA2356drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA2387drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
HOSTDATA2417drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_skipports)
HOSTDATA2847drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled");
HOSTDATA2849drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled");
HOSTDATA2851drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled");
HOSTDATA2853drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands);
HOSTDATA2859drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
HOSTDATA2862drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
HOSTDATA2863drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*
HOSTDATA2865drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
HOSTDATA2869drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
HOSTDATA2872drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
HOSTDATA2873drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50,
HOSTDATA2874drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
HOSTDATA2878drivers/scsi/aha152x.c#define PDEBUG(flags,txt) if(HOSTDATA(shpnt)->debug & flags) SPRINTF("(%s) ", txt);
HOSTDATA372drivers/scsi/aha1542.cmb = HOSTDATA(shost)->mb;
HOSTDATA373drivers/scsi/aha1542.cccb = HOSTDATA(shost)->ccb;
HOSTDATA410drivers/scsi/aha1542.cmbi = HOSTDATA(shost)->aha1542_last_mbi_used + 1;
HOSTDATA417drivers/scsi/aha1542.c} while (mbi != HOSTDATA(shost)->aha1542_last_mbi_used);
HOSTDATA433drivers/scsi/aha1542.cHOSTDATA(shost)->aha1542_last_mbi_used = mbi;
HOSTDATA450drivers/scsi/aha1542.cSCtmp = HOSTDATA(shost)->SCint[mbo];
HOSTDATA503drivers/scsi/aha1542.cHOSTDATA(shost)->SCint[mbo] = NULL;  /* This effectively frees up the mailbox slot, as
HOSTDATA526drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
HOSTDATA527drivers/scsi/aha1542.cccb = HOSTDATA(SCpnt->host)->ccb;
HOSTDATA567drivers/scsi/aha1542.cmbo = HOSTDATA(SCpnt->host)->aha1542_last_mbo_used + 1;
HOSTDATA571drivers/scsi/aha1542.cif(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL)
HOSTDATA575drivers/scsi/aha1542.c} while (mbo != HOSTDATA(SCpnt->host)->aha1542_last_mbo_used);
HOSTDATA577drivers/scsi/aha1542.cif(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo])
HOSTDATA580drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[mbo] = SCpnt;  /* This will effectively prevent someone else from
HOSTDATA583drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->aha1542_last_mbo_used = mbo;    
HOSTDATA702drivers/scsi/aha1542.cmb = HOSTDATA(shpnt)->mb;
HOSTDATA703drivers/scsi/aha1542.cccb = HOSTDATA(shpnt)->ccb;
HOSTDATA1027drivers/scsi/aha1542.cHOSTDATA(shpnt)->bios_translation  = trans;
HOSTDATA1030drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbi_used  = (2*AHA1542_MAILBOXES - 1);
HOSTDATA1031drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbo_used  = (AHA1542_MAILBOXES - 1);
HOSTDATA1032drivers/scsi/aha1542.cmemset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint));
HOSTDATA1088drivers/scsi/aha1542.cif(HOSTDATA(shost)->SCint[i] && 
HOSTDATA1089drivers/scsi/aha1542.c!(HOSTDATA(shost)->SCint[i]->device->soft_reset))
HOSTDATA1092drivers/scsi/aha1542.cHOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */
HOSTDATA1123drivers/scsi/aha1542.cmb = HOSTDATA(SCpnt->host)->mb;
HOSTDATA1124drivers/scsi/aha1542.cmbi = HOSTDATA(SCpnt->host)->aha1542_last_mbi_used + 1;
HOSTDATA1131drivers/scsi/aha1542.c} while (mbi != HOSTDATA(SCpnt->host)->aha1542_last_mbi_used);
HOSTDATA1145drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i])
HOSTDATA1147drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt) {
HOSTDATA1150drivers/scsi/aha1542.cif (HOSTDATA(SCpnt->host)->mb[i].status) {
HOSTDATA1166drivers/scsi/aha1542.cif (SCpnt == HOSTDATA(SCpnt->host)->SCint[mbo]){
HOSTDATA1225drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] != NULL)
HOSTDATA1228drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
HOSTDATA1234drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
HOSTDATA1235drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
HOSTDATA1255drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] == SCpnt)
HOSTDATA1257drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->ccb[i].op = 0x81;  /* BUS DEVICE RESET */
HOSTDATA1271drivers/scsi/aha1542.cif(HOSTDATA(SCpnt->host)->SCint[i] &&
HOSTDATA1272drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i]->target == SCpnt->target)
HOSTDATA1275drivers/scsi/aha1542.cSCtmp = HOSTDATA(SCpnt->host)->SCint[i];
HOSTDATA1281drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->SCint[i] = NULL;
HOSTDATA1282drivers/scsi/aha1542.cHOSTDATA(SCpnt->host)->mb[i].status = 0;
HOSTDATA1300drivers/scsi/aha1542.ctranslation_algorithm = HOSTDATA(disk->device->host)->bios_translation;
HOSTDATA1112drivers/scsi/atari_NCR5380.cstruct NCR5380_hostdata *hostdata = HOSTDATA(instance);