taglinefilesource code
shpnt463drivers/scsi/NCR53c406a.cstruct Scsi_Host *shpnt;
shpnt573drivers/scsi/NCR53c406a.cshpnt = scsi_register(tpnt, 0);
shpnt574drivers/scsi/NCR53c406a.cshpnt->irq = irq_level;
shpnt575drivers/scsi/NCR53c406a.cshpnt->io_port = port_base;
shpnt576drivers/scsi/NCR53c406a.cshpnt->n_io_port = 0x10;
shpnt578drivers/scsi/NCR53c406a.cshpnt->dma = dma_chan;
shpnt350drivers/scsi/aha152x.c#define HOSTDATA(shpnt)   ((struct aha152x_hostdata *) &shpnt->hostdata)
shpnt351drivers/scsi/aha152x.c#define CURRENT_SC    (HOSTDATA(shpnt)->current_SC)
shpnt352drivers/scsi/aha152x.c#define ISSUE_SC    (HOSTDATA(shpnt)->issue_SC)
shpnt353drivers/scsi/aha152x.c#define DISCONNECTED_SC    (HOSTDATA(shpnt)->disconnected_SC)
shpnt354drivers/scsi/aha152x.c#define DELAY             (HOSTDATA(shpnt)->delay)
shpnt355drivers/scsi/aha152x.c#define SYNCRATE    (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target])
shpnt356drivers/scsi/aha152x.c#define MSG(i)            (HOSTDATA(shpnt)->message[i])
shpnt357drivers/scsi/aha152x.c#define MSGLEN            (HOSTDATA(shpnt)->message_len)
shpnt385drivers/scsi/aha152x.cvoid aha152x_done(struct Scsi_Host *shpnt, int error);
shpnt389drivers/scsi/aha152x.cstatic void aha152x_reset_ports(struct Scsi_Host *shpnt);
shpnt390drivers/scsi/aha152x.cstatic void aha152x_panic(struct Scsi_Host *shpnt, char *msg);
shpnt392drivers/scsi/aha152x.cstatic void disp_ports(struct Scsi_Host *shpnt);
shpnt394drivers/scsi/aha152x.cstatic void show_queues(struct Scsi_Host *shpnt);
shpnt395drivers/scsi/aha152x.cstatic void disp_enintr(struct Scsi_Host *shpnt);
shpnt510drivers/scsi/aha152x.cstatic void make_acklow(struct Scsi_Host *shpnt)
shpnt530drivers/scsi/aha152x.cstatic int getphase(struct Scsi_Host *shpnt)
shpnt559drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt774drivers/scsi/aha152x.cstruct Scsi_Host        *shpnt;
shpnt776drivers/scsi/aha152x.cshpnt = aha152x_host[setup[i].irq-IRQ_MIN] =
shpnt779drivers/scsi/aha152x.cshpnt->io_port                     = setup[i].io_port;
shpnt780drivers/scsi/aha152x.cshpnt->n_io_port                   = IO_RANGE;
shpnt781drivers/scsi/aha152x.cshpnt->irq                         = setup[i].irq;
shpnt787drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect         = setup[i].reconnect;
shpnt788drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity            = setup[i].parity;
shpnt789drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous       = setup[i].synchronous;
shpnt790drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay             = setup[i].delay;
shpnt792drivers/scsi/aha152x.cHOSTDATA(shpnt)->debug             = setup[i].debug;
shpnt795drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting          = 0;
shpnt796drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete = 0;
shpnt797drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result      = 0;
shpnt798drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands          = 0;
shpnt800drivers/scsi/aha152x.cHOSTDATA(shpnt)->message_len       = 0;
shpnt803drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[j] = 0;
shpnt806drivers/scsi/aha152x.cshpnt->this_id=setup[i].scsiid;
shpnt809drivers/scsi/aha152x.cshpnt->hostt->can_queue=AHA152X_MAXQUEUE;
shpnt817drivers/scsi/aha152x.caha152x_reset_ports(shpnt);
shpnt822drivers/scsi/aha152x.cshpnt->io_port,
shpnt823drivers/scsi/aha152x.cshpnt->irq,
shpnt824drivers/scsi/aha152x.cshpnt->this_id,
shpnt825drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled",
shpnt826drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled",
shpnt827drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled",
shpnt828drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay);
shpnt830drivers/scsi/aha152x.crequest_region(shpnt->io_port, IO_RANGE, "aha152x");  /* Register */
shpnt870drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
shpnt877drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
shpnt883drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
shpnt890drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt927drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands++;
shpnt928drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->commands==1)
shpnt932drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt933drivers/scsi/aha152x.cprintk("i+ (%d), ", HOSTDATA(shpnt)->commands);
shpnt967drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
shpnt975drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
shpnt978drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1035drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->aborting)
shpnt1047drivers/scsi/aha152x.cSETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target);
shpnt1059drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
shpnt1060drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting++;
shpnt1061drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete=0;
shpnt1066drivers/scsi/aha152x.cwhile(!HOSTDATA(shpnt)->abortion_complete)
shpnt1068drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting=0;
shpnt1069drivers/scsi/aha152x.creturn HOSTDATA(shpnt)->abort_result;
shpnt1087drivers/scsi/aha152x.cstatic void aha152x_reset_ports(struct Scsi_Host *shpnt)
shpnt1124drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
shpnt1128drivers/scsi/aha152x.caha152x_reset_ports(shpnt);
shpnt1136drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
shpnt1139drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1181drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
shpnt1184drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1211drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
shpnt1222drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
shpnt1236drivers/scsi/aha152x.cvoid aha152x_done(struct Scsi_Host *shpnt, int error)
shpnt1242drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1245drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt1252drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1263drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands--;
shpnt1264drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->commands)
shpnt1268drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues) 
shpnt1269drivers/scsi/aha152x.cprintk("ok (%d), ", HOSTDATA(shpnt)->commands);
shpnt1277drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
shpnt1283drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
shpnt1291drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1296drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1304drivers/scsi/aha152x.caha152x_panic(shpnt, "done() called outside of command");
shpnt1312drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = aha152x_host[irqno-IRQ_MIN];
shpnt1320drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt1347drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1363drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_queues|debug_phases))
shpnt1367drivers/scsi/aha152x.ci = GETPORT(SELID) & ~(1 << shpnt->this_id);
shpnt1373drivers/scsi/aha152x.caha152x_panic(shpnt, "reconnecting target unknown");
shpnt1376drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1379drivers/scsi/aha152x.cSETPORT(SCSIID, (shpnt->this_id << OID_) | target);
shpnt1383drivers/scsi/aha152x.caha152x_panic(shpnt, "RESELI failed");
shpnt1385drivers/scsi/aha152x.cSETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f);
shpnt1390drivers/scsi/aha152x.cif((i=getphase(shpnt))!=P_MSGI)
shpnt1393drivers/scsi/aha152x.caha152x_panic(shpnt, "unknown lun");
shpnt1405drivers/scsi/aha152x.caha152x_panic(shpnt, "unknown lun");
shpnt1410drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1418drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1428drivers/scsi/aha152x.caha152x_panic(shpnt, "no disconnected command for that lun");
shpnt1434drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1435drivers/scsi/aha152x.cif(getphase(shpnt)!=P_MSGI) {
shpnt1455drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1462drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
shpnt1468drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
shpnt1471drivers/scsi/aha152x.cSETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target);
shpnt1474drivers/scsi/aha152x.cSETPORT(SXFRCTL1, HOSTDATA(shpnt)->parity ? (ENSPCHK|ENSTIMER) : ENSTIMER);
shpnt1492drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1505drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt1506drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt1537drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
shpnt1538drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
shpnt1541drivers/scsi/aha152x.caha152x_done(shpnt, DID_NO_CONNECT << 16);
shpnt1545drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
shpnt1553drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted))
shpnt1560drivers/scsi/aha152x.cADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun));
shpnt1562drivers/scsi/aha152x.cif(!(SYNCRATE&0x80) && HOSTDATA(shpnt)->synchronous)
shpnt1590drivers/scsi/aha152x.caha152x_panic(shpnt, "neither timeout nor selection\007");
shpnt1594drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
shpnt1613drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
shpnt1616drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
shpnt1617drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
shpnt1622drivers/scsi/aha152x.caha152x_done(shpnt, DID_BUS_BUSY << 16);
shpnt1625drivers/scsi/aha152x.caha152x_done(shpnt, DID_NO_CONNECT << 16);
shpnt1632drivers/scsi/aha152x.cphase = getphase(shpnt);
shpnt1647drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgo|debug_phases))
shpnt1654drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
shpnt1670drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
shpnt1684drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
shpnt1695drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1696drivers/scsi/aha152x.cgetphase(shpnt);
shpnt1698drivers/scsi/aha152x.cif(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun))
shpnt1714drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
shpnt1715drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
shpnt1724drivers/scsi/aha152x.caha152x_done(shpnt, DID_ABORT<<16);
shpnt1732drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_cmd|debug_phases))
shpnt1752drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1753drivers/scsi/aha152x.cgetphase(shpnt);
shpnt1757drivers/scsi/aha152x.caha152x_panic(shpnt, "target left COMMAND");
shpnt1762drivers/scsi/aha152x.caha152x_panic(shpnt, "Nothing to send while in COMMAND");
shpnt1770drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgi|debug_phases))
shpnt1785drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
shpnt1790drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->reconnect)
shpnt1791drivers/scsi/aha152x.caha152x_panic(shpnt, "target was not allowed to disconnect");
shpnt1796drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
shpnt1812drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1819drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1830drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1833drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1834drivers/scsi/aha152x.cif(getphase(shpnt)!=P_MSGI)
shpnt1841drivers/scsi/aha152x.c(make_acklow(shpnt), getphase(shpnt)==P_MSGI); i++)
shpnt1845drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1856drivers/scsi/aha152x.caha152x_panic(shpnt, "SDTR message length != 3");
shpnt1858drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->synchronous)
shpnt1869drivers/scsi/aha152x.caha152x_panic(shpnt, "received SDTR invalid");
shpnt1928drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1929drivers/scsi/aha152x.cphase=getphase(shpnt);
shpnt1949drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1970drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_status|debug_intr|debug_phases))
shpnt1982drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1983drivers/scsi/aha152x.cgetphase(shpnt);
shpnt1986drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_status)
shpnt2000drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr|debug_phases))
shpnt2026drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2034drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2049drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2056drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2071drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2088drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2142drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2151drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_datai) &&
shpnt2165drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr))
shpnt2178drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr|debug_phases))
shpnt2182drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2192drivers/scsi/aha152x.caha152x_panic(shpnt, "FIFO should be empty");
shpnt2211drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2222drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2247drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2279drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2293drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2300drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2315drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr))
shpnt2326drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
shpnt2331drivers/scsi/aha152x.caha152x_done(shpnt, DID_ERROR << 16);         /* Don't know any better */
shpnt2344drivers/scsi/aha152x.caha152x_done(shpnt, DID_PARITY << 16);
shpnt2356drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt2369drivers/scsi/aha152x.caha152x_done(shpnt,
shpnt2387drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt2388drivers/scsi/aha152x.cdisp_enintr(shpnt);
shpnt2401drivers/scsi/aha152x.cstatic void aha152x_panic(struct Scsi_Host *shpnt, char *msg)
shpnt2404drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt2411drivers/scsi/aha152x.cstatic void disp_ports(struct Scsi_Host *shpnt)
shpnt2417drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_skipports)
shpnt2594drivers/scsi/aha152x.cstatic void disp_enintr(struct Scsi_Host *shpnt)
shpnt2720drivers/scsi/aha152x.cstatic void show_queues(struct Scsi_Host *shpnt)
shpnt2741drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt2742drivers/scsi/aha152x.cdisp_enintr(shpnt);
shpnt2746drivers/scsi/aha152x.cint aha152x_set_info(char *buffer, int length, struct Scsi_Host *shpnt)
shpnt2824drivers/scsi/aha152x.cstruct Scsi_Host *shpnt;
shpnt2828drivers/scsi/aha152x.cfor(i=0, shpnt= (struct Scsi_Host *) NULL; i<IRQS; i++)
shpnt2830drivers/scsi/aha152x.cshpnt=aha152x_host[i];
shpnt2832drivers/scsi/aha152x.cif(!shpnt)
shpnt2836drivers/scsi/aha152x.creturn(aha152x_set_info(buffer, length, shpnt));
shpnt2844drivers/scsi/aha152x.cshpnt->io_port, shpnt->io_port+shpnt->n_io_port-1);
shpnt2845drivers/scsi/aha152x.cSPRINTF("interrupt 0x%02x\n", shpnt->irq);
shpnt2847drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled");
shpnt2849drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled");
shpnt2851drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled");
shpnt2853drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands);
shpnt2859drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
shpnt2862drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
shpnt2863drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*
shpnt2865drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
shpnt2869drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
shpnt2872drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
shpnt2873drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50,
shpnt2874drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
shpnt2878drivers/scsi/aha152x.c#define PDEBUG(flags,txt) if(HOSTDATA(shpnt)->debug & flags) SPRINTF("(%s) ", txt);
shpnt2923drivers/scsi/aha152x.cif (scd->host == shpnt) {
shpnt56drivers/scsi/aha152x.h#define SCSISEQ    (shpnt->io_port+0x00)  /* SCSI sequence control */
shpnt57drivers/scsi/aha152x.h#define SXFRCTL0  (shpnt->io_port+0x01)  /* SCSI transfer control 0 */
shpnt58drivers/scsi/aha152x.h#define SXFRCTL1  (shpnt->io_port+0x02)  /* SCSI transfer control 1 */
shpnt59drivers/scsi/aha152x.h#define SCSISIG    (shpnt->io_port+0x03)  /* SCSI signal in/out */
shpnt60drivers/scsi/aha152x.h#define SCSIRATE  (shpnt->io_port+0x04)  /* SCSI rate control */
shpnt61drivers/scsi/aha152x.h#define SELID    (shpnt->io_port+0x05)  /* selection/reselection ID */
shpnt63drivers/scsi/aha152x.h#define SCSIDAT    (shpnt->io_port+0x06)  /* SCSI latched data */
shpnt64drivers/scsi/aha152x.h#define SCSIBUS    (shpnt->io_port+0x07)  /* SCSI data bus */
shpnt65drivers/scsi/aha152x.h#define STCNT0    (shpnt->io_port+0x08)  /* SCSI transfer count 0 */
shpnt66drivers/scsi/aha152x.h#define STCNT1    (shpnt->io_port+0x09)  /* SCSI transfer count 1 */
shpnt67drivers/scsi/aha152x.h#define STCNT2    (shpnt->io_port+0x0a)  /* SCSI transfer count 2 */
shpnt68drivers/scsi/aha152x.h#define SSTAT0    (shpnt->io_port+0x0b)  /* SCSI interrupt status 0 */
shpnt69drivers/scsi/aha152x.h#define SSTAT1    (shpnt->io_port+0x0c)  /* SCSI interrupt status 1 */
shpnt70drivers/scsi/aha152x.h#define SSTAT2    (shpnt->io_port+0x0d)  /* SCSI interrupt status 2 */
shpnt71drivers/scsi/aha152x.h#define SCSITEST  (shpnt->io_port+0x0e)  /* SCSI test control */
shpnt73drivers/scsi/aha152x.h#define SSTAT4    (shpnt->io_port+0x0f)  /* SCSI status 4 */
shpnt74drivers/scsi/aha152x.h#define SIMODE0    (shpnt->io_port+0x10)  /* SCSI interrupt mode 0 */
shpnt75drivers/scsi/aha152x.h#define SIMODE1    (shpnt->io_port+0x11)  /* SCSI interrupt mode 1 */
shpnt76drivers/scsi/aha152x.h#define DMACNTRL0  (shpnt->io_port+0x12)  /* DMA control 0 */
shpnt77drivers/scsi/aha152x.h#define DMACNTRL1  (shpnt->io_port+0x13)  /* DMA control 1 */
shpnt78drivers/scsi/aha152x.h#define DMASTAT    (shpnt->io_port+0x14)  /* DMA status */
shpnt79drivers/scsi/aha152x.h#define FIFOSTAT  (shpnt->io_port+0x15)  /* FIFO status */
shpnt80drivers/scsi/aha152x.h#define DATAPORT  (shpnt->io_port+0x16)  /* DATA port */
shpnt81drivers/scsi/aha152x.h#define BRSTCNTRL  (shpnt->io_port+0x18)  /* burst control */
shpnt82drivers/scsi/aha152x.h#define PORTA    (shpnt->io_port+0x1a)  /* PORT A */
shpnt83drivers/scsi/aha152x.h#define PORTB    (shpnt->io_port+0x1b)  /* PORT B */
shpnt84drivers/scsi/aha152x.h#define REV    (shpnt->io_port+0x1c)  /* revision */
shpnt85drivers/scsi/aha152x.h#define STACK    (shpnt->io_port+0x1d)  /* stack */
shpnt86drivers/scsi/aha152x.h#define TEST    (shpnt->io_port+0x1e)  /* test register */
shpnt119drivers/scsi/aha1542.cstatic void setup_mailboxes(int base_io, struct Scsi_Host * shpnt);
shpnt287drivers/scsi/aha1542.cstatic int aha1542_test_port(int bse, struct Scsi_Host * shpnt)
shpnt694drivers/scsi/aha1542.cstatic void setup_mailboxes(int bse, struct Scsi_Host * shpnt)
shpnt702drivers/scsi/aha1542.cmb = HOSTDATA(shpnt)->mb;
shpnt703drivers/scsi/aha1542.cccb = HOSTDATA(shpnt)->ccb;
shpnt930drivers/scsi/aha1542.cstruct Scsi_Host * shpnt = NULL;
shpnt940drivers/scsi/aha1542.cshpnt = scsi_register(tpnt,
shpnt945drivers/scsi/aha1542.cif ((unsigned int) shpnt > 0xffffff) {
shpnt950drivers/scsi/aha1542.cif(!aha1542_test_port(bases[indx], shpnt)) goto unregister;
shpnt996drivers/scsi/aha1542.csetup_mailboxes(base_io, shpnt);
shpnt1020drivers/scsi/aha1542.caha_host[irq_level - 9] = shpnt;
shpnt1021drivers/scsi/aha1542.cshpnt->this_id = scsi_id;
shpnt1022drivers/scsi/aha1542.cshpnt->unique_id = base_io;
shpnt1023drivers/scsi/aha1542.cshpnt->io_port = base_io;
shpnt1024drivers/scsi/aha1542.cshpnt->n_io_port = 4;  /* Number of bytes of I/O space used */
shpnt1025drivers/scsi/aha1542.cshpnt->dma_channel = dma_chan;
shpnt1026drivers/scsi/aha1542.cshpnt->irq = irq_level;
shpnt1027drivers/scsi/aha1542.cHOSTDATA(shpnt)->bios_translation  = trans;
shpnt1030drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbi_used  = (2*AHA1542_MAILBOXES - 1);
shpnt1031drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbo_used  = (AHA1542_MAILBOXES - 1);
shpnt1032drivers/scsi/aha1542.cmemset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint));
shpnt1071drivers/scsi/aha1542.cscsi_unregister(shpnt);
shpnt487drivers/scsi/fdomain.cstatic void print_banner( struct Scsi_Host *shpnt )
shpnt489drivers/scsi/fdomain.cif (!shpnt) return;    /* This won't ever happen */
shpnt493drivers/scsi/fdomain.cshpnt->host_no, shpnt->this_id );
shpnt495drivers/scsi/fdomain.cprintk( "scsi%d <fdomain>: BIOS version ", shpnt->host_no );
shpnt504drivers/scsi/fdomain.c(unsigned)bios_base, shpnt->this_id );
shpnt512drivers/scsi/fdomain.cshpnt->host_no,
shpnt914drivers/scsi/fdomain.cstruct Scsi_Host *shpnt;
shpnt1033drivers/scsi/fdomain.cshpnt = scsi_register( tpnt, 0 );
shpnt1034drivers/scsi/fdomain.cshpnt->irq = interrupt_level;
shpnt1035drivers/scsi/fdomain.cshpnt->io_port = port_base;
shpnt1036drivers/scsi/fdomain.cshpnt->n_io_port = 0x10;
shpnt1037drivers/scsi/fdomain.cprint_banner( shpnt );
shpnt272drivers/scsi/hosts.cstruct Scsi_Host * shpnt;
shpnt277drivers/scsi/hosts.cshpnt = scsi_hostlist;
shpnt278drivers/scsi/hosts.cwhile(shpnt->next != sh) shpnt = shpnt->next;
shpnt279drivers/scsi/hosts.cshpnt->next = shpnt->next->next;
shpnt298drivers/scsi/hosts.cstruct Scsi_Host * retval, *shpnt;
shpnt343drivers/scsi/hosts.cshpnt = scsi_hostlist;
shpnt344drivers/scsi/hosts.cwhile(shpnt->next) shpnt = shpnt->next;
shpnt345drivers/scsi/hosts.cshpnt->next = retval;
shpnt365drivers/scsi/hosts.cstruct Scsi_Host * shpnt;
shpnt402drivers/scsi/hosts.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt404drivers/scsi/hosts.cif(shpnt->hostt->info)
shpnt405drivers/scsi/hosts.cname = shpnt->hostt->info(shpnt);
shpnt407drivers/scsi/hosts.cname = shpnt->hostt->name;
shpnt409drivers/scsi/hosts.cshpnt->host_no, name);
shpnt587drivers/scsi/in2000.cstruct Scsi_Host * shpnt;
shpnt647drivers/scsi/in2000.cshpnt = scsi_register(tpnt, 0);
shpnt649drivers/scsi/in2000.cshpnt->io_port = base;
shpnt650drivers/scsi/in2000.cshpnt->n_io_port = 12;
shpnt651drivers/scsi/in2000.cshpnt->irq = irq_level;
shpnt90drivers/scsi/scsi.cstruct Scsi_Host *shpnt, char * scsi_result);
shpnt312drivers/scsi/scsi.cstruct Scsi_Host * sh[128], * shpnt;
shpnt336drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) {
shpnt344drivers/scsi/scsi.cif (shpnt->unchecked_isa_dma) shpnt->wish_block = 1;
shpnt347drivers/scsi/scsi.cif (shpnt->wish_block) sh[block_count++] = shpnt;
shpnt400drivers/scsi/scsi.cstatic void scan_scsis (struct Scsi_Host *shpnt, unchar hardcoded,
shpnt416drivers/scsi/scsi.cscsi_result = ( ( !shpnt->unchecked_isa_dma )
shpnt425drivers/scsi/scsi.cif(shpnt->host_queue)
shpnt426drivers/scsi/scsi.cshpnt->host_queue->prev = SCpnt;
shpnt427drivers/scsi/scsi.cSCpnt->next = shpnt->host_queue;
shpnt429drivers/scsi/scsi.cshpnt->host_queue = SCpnt;
shpnt436drivers/scsi/scsi.cif(channel > shpnt->max_channel) goto leave;
shpnt438drivers/scsi/scsi.cif(dev >= shpnt->max_id) goto leave;
shpnt440drivers/scsi/scsi.cif(lun >= shpnt->max_lun) goto leave;
shpnt442drivers/scsi/scsi.c&SDpnt, SCpnt, shpnt, scsi_result);
shpnt464drivers/scsi/scsi.cfor (channel = 0; channel <= shpnt->max_channel; channel++) {
shpnt465drivers/scsi/scsi.cfor (dev = 0; dev < shpnt->max_id; ++dev) {
shpnt466drivers/scsi/scsi.cif (shpnt->this_id != dev) {
shpnt473drivers/scsi/scsi.cmax_dev_lun = (max_scsi_luns < shpnt->max_lun ?
shpnt474drivers/scsi/scsi.cmax_scsi_luns : shpnt->max_lun);
shpnt477drivers/scsi/scsi.c&SDpnt, SCpnt, shpnt, scsi_result))
shpnt489drivers/scsi/scsi.cfor(hqptr = shpnt->host_queue; hqptr != SCpnt; hqptr = hqptr->next) ;
shpnt496drivers/scsi/scsi.cshpnt->host_queue = next;
shpnt520drivers/scsi/scsi.cScsi_Device **SDpnt2, Scsi_Cmnd * SCpnt, struct Scsi_Host * shpnt, 
shpnt534drivers/scsi/scsi.cSDpnt->host = shpnt;
shpnt2438drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2467drivers/scsi/scsi.cfor (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) {
shpnt2468drivers/scsi/scsi.cscan_scsis(shpnt,0,0,0,0);           /* scan for scsi devices */
shpnt2469drivers/scsi/scsi.cif (shpnt->select_queue_depths != NULL)
shpnt2470drivers/scsi/scsi.c(shpnt->select_queue_depths)(shpnt, scsi_devices);
shpnt2736drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2777drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2864drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2894drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2895drivers/scsi/scsi.cif(shpnt->hostt == tpnt)
shpnt2898drivers/scsi/scsi.cname = tpnt->info(shpnt);
shpnt2902drivers/scsi/scsi.cshpnt->host_no, name);
shpnt2914drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2915drivers/scsi/scsi.cif(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0);
shpnt2964drivers/scsi/scsi.cstruct Scsi_Host * shpnt, *sh1;
shpnt2974drivers/scsi/scsi.cfor(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2976drivers/scsi/scsi.cif (shpnt->hostt != tpnt) continue;
shpnt2977drivers/scsi/scsi.cfor(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt2983drivers/scsi/scsi.cfor(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt3038drivers/scsi/scsi.cshpnt = scsi_hostlist;
shpnt3039drivers/scsi/scsi.cwhile(shpnt) {
shpnt3040drivers/scsi/scsi.csh1 = shpnt->next;
shpnt3041drivers/scsi/scsi.cif(shpnt->hostt == tpnt) {
shpnt3042drivers/scsi/scsi.cif(shpnt->loaded_as_module) {
shpnt3047drivers/scsi/scsi.cshpnt->host_no + PROC_SCSI_FILE);
shpnt3050drivers/scsi/scsi.c(*tpnt->release)(shpnt);
shpnt3056drivers/scsi/scsi.cif (shpnt->irq) free_irq(shpnt->irq, NULL);
shpnt3057drivers/scsi/scsi.cif (shpnt->dma_channel != 0xff) free_dma(shpnt->dma_channel);
shpnt3058drivers/scsi/scsi.cif (shpnt->io_port && shpnt->n_io_port)
shpnt3059drivers/scsi/scsi.crelease_region(shpnt->io_port, shpnt->n_io_port);
shpnt3061drivers/scsi/scsi.cif(pcount == next_scsi_host) scsi_unregister(shpnt);
shpnt3065drivers/scsi/scsi.cshpnt = sh1;
shpnt3274drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt3278drivers/scsi/scsi.cfor(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt3279drivers/scsi/scsi.cfor(SCpnt=shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt401drivers/scsi/seagate.cconst char *seagate_st0x_info(struct Scsi_Host * shpnt) {
shpnt531drivers/scsi/ultrastor.cstruct Scsi_Host * shpnt = NULL;
shpnt609drivers/scsi/ultrastor.cshpnt = scsi_register(tpnt, 0);
shpnt610drivers/scsi/ultrastor.cshpnt->irq = config.interrupt;
shpnt611drivers/scsi/ultrastor.cshpnt->dma_channel = config.dma_channel;
shpnt612drivers/scsi/ultrastor.cshpnt->io_port = config.port_address;
shpnt638drivers/scsi/ultrastor.cconst char *ultrastor_info(struct Scsi_Host * shpnt)
shpnt18drivers/scsi/ultrastor.hconst char *ultrastor_info(struct Scsi_Host * shpnt);