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;
shpnt354drivers/scsi/aha152x.c#define HOSTDATA(shpnt)   ((struct aha152x_hostdata *) &shpnt->hostdata)
shpnt355drivers/scsi/aha152x.c#define CURRENT_SC    (HOSTDATA(shpnt)->current_SC)
shpnt356drivers/scsi/aha152x.c#define ISSUE_SC    (HOSTDATA(shpnt)->issue_SC)
shpnt357drivers/scsi/aha152x.c#define DISCONNECTED_SC    (HOSTDATA(shpnt)->disconnected_SC)
shpnt358drivers/scsi/aha152x.c#define DELAY             (HOSTDATA(shpnt)->delay)
shpnt359drivers/scsi/aha152x.c#define SYNCRATE    (HOSTDATA(shpnt)->syncrate[CURRENT_SC->target])
shpnt360drivers/scsi/aha152x.c#define MSG(i)            (HOSTDATA(shpnt)->message[i])
shpnt361drivers/scsi/aha152x.c#define MSGLEN            (HOSTDATA(shpnt)->message_len)
shpnt389drivers/scsi/aha152x.cvoid aha152x_done(struct Scsi_Host *shpnt, int error);
shpnt393drivers/scsi/aha152x.cstatic void aha152x_reset_ports(struct Scsi_Host *shpnt);
shpnt394drivers/scsi/aha152x.cstatic void aha152x_panic(struct Scsi_Host *shpnt, char *msg);
shpnt396drivers/scsi/aha152x.cstatic void disp_ports(struct Scsi_Host *shpnt);
shpnt398drivers/scsi/aha152x.cstatic void show_queues(struct Scsi_Host *shpnt);
shpnt399drivers/scsi/aha152x.cstatic void disp_enintr(struct Scsi_Host *shpnt);
shpnt514drivers/scsi/aha152x.cstatic void make_acklow(struct Scsi_Host *shpnt)
shpnt534drivers/scsi/aha152x.cstatic int getphase(struct Scsi_Host *shpnt)
shpnt563drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt778drivers/scsi/aha152x.cstruct Scsi_Host        *shpnt;
shpnt780drivers/scsi/aha152x.cshpnt = aha152x_host[setup[i].irq-IRQ_MIN] =
shpnt783drivers/scsi/aha152x.cshpnt->io_port                     = setup[i].io_port;
shpnt784drivers/scsi/aha152x.cshpnt->n_io_port                   = IO_RANGE;
shpnt785drivers/scsi/aha152x.cshpnt->irq                         = setup[i].irq;
shpnt791drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect         = setup[i].reconnect;
shpnt792drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity            = setup[i].parity;
shpnt793drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous       = setup[i].synchronous;
shpnt794drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay             = setup[i].delay;
shpnt796drivers/scsi/aha152x.cHOSTDATA(shpnt)->debug             = setup[i].debug;
shpnt799drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting          = 0;
shpnt800drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete = 0;
shpnt801drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result      = 0;
shpnt802drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands          = 0;
shpnt804drivers/scsi/aha152x.cHOSTDATA(shpnt)->message_len       = 0;
shpnt807drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[j] = 0;
shpnt810drivers/scsi/aha152x.cshpnt->this_id=setup[i].scsiid;
shpnt813drivers/scsi/aha152x.cshpnt->hostt->can_queue=AHA152X_MAXQUEUE;
shpnt821drivers/scsi/aha152x.caha152x_reset_ports(shpnt);
shpnt826drivers/scsi/aha152x.cshpnt->io_port,
shpnt827drivers/scsi/aha152x.cshpnt->irq,
shpnt828drivers/scsi/aha152x.cshpnt->this_id,
shpnt829drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled",
shpnt830drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled",
shpnt831drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled",
shpnt832drivers/scsi/aha152x.cHOSTDATA(shpnt)->delay);
shpnt834drivers/scsi/aha152x.crequest_region(shpnt->io_port, IO_RANGE, "aha152x");  /* Register */
shpnt874drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
shpnt881drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
shpnt887drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queue)
shpnt894drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt931drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands++;
shpnt932drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->commands==1)
shpnt936drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt937drivers/scsi/aha152x.cprintk("i+ (%d), ", HOSTDATA(shpnt)->commands);
shpnt971drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
shpnt979drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
shpnt982drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1039drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->aborting)
shpnt1051drivers/scsi/aha152x.cSETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target);
shpnt1063drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
shpnt1064drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting++;
shpnt1065drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete=0;
shpnt1070drivers/scsi/aha152x.cwhile(!HOSTDATA(shpnt)->abortion_complete)
shpnt1072drivers/scsi/aha152x.cHOSTDATA(shpnt)->aborting=0;
shpnt1073drivers/scsi/aha152x.creturn HOSTDATA(shpnt)->abort_result;
shpnt1091drivers/scsi/aha152x.cstatic void aha152x_reset_ports(struct Scsi_Host *shpnt)
shpnt1128drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = SCpnt->host;
shpnt1132drivers/scsi/aha152x.caha152x_reset_ports(shpnt);
shpnt1140drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
shpnt1143drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1185drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_reset)
shpnt1188drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1213drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
shpnt1231drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_biosparam)
shpnt1245drivers/scsi/aha152x.cvoid aha152x_done(struct Scsi_Host *shpnt, int error)
shpnt1251drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1254drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt1261drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1272drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands--;
shpnt1273drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->commands)
shpnt1277drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues) 
shpnt1278drivers/scsi/aha152x.cprintk("ok (%d), ", HOSTDATA(shpnt)->commands);
shpnt1286drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
shpnt1292drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
shpnt1300drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1305drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_done)
shpnt1313drivers/scsi/aha152x.caha152x_panic(shpnt, "done() called outside of command");
shpnt1321drivers/scsi/aha152x.cstruct Scsi_Host *shpnt = aha152x_host[irqno-IRQ_MIN];
shpnt1329drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt1356drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1372drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_queues|debug_phases))
shpnt1376drivers/scsi/aha152x.ci = GETPORT(SELID) & ~(1 << shpnt->this_id);
shpnt1382drivers/scsi/aha152x.caha152x_panic(shpnt, "reconnecting target unknown");
shpnt1385drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1388drivers/scsi/aha152x.cSETPORT(SCSIID, (shpnt->this_id << OID_) | target);
shpnt1392drivers/scsi/aha152x.caha152x_panic(shpnt, "RESELI failed");
shpnt1394drivers/scsi/aha152x.cSETPORT(SCSIRATE, HOSTDATA(shpnt)->syncrate[target]&0x7f);
shpnt1399drivers/scsi/aha152x.cif((i=getphase(shpnt))!=P_MSGI)
shpnt1402drivers/scsi/aha152x.caha152x_panic(shpnt, "unknown lun");
shpnt1414drivers/scsi/aha152x.caha152x_panic(shpnt, "unknown lun");
shpnt1419drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1427drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1437drivers/scsi/aha152x.caha152x_panic(shpnt, "no disconnected command for that lun");
shpnt1443drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1444drivers/scsi/aha152x.cif(getphase(shpnt)!=P_MSGI) {
shpnt1464drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1471drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
shpnt1477drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_selection|debug_phases))
shpnt1480drivers/scsi/aha152x.cSETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->target);
shpnt1483drivers/scsi/aha152x.cSETPORT(SXFRCTL1, HOSTDATA(shpnt)->parity ? (ENSPCHK|ENSTIMER) : ENSTIMER);
shpnt1501drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt1514drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt1515drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt1546drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
shpnt1547drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
shpnt1550drivers/scsi/aha152x.caha152x_done(shpnt, DID_NO_CONNECT << 16);
shpnt1554drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
shpnt1562drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted))
shpnt1569drivers/scsi/aha152x.cADDMSG(IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun));
shpnt1571drivers/scsi/aha152x.cif(!(SYNCRATE&0x80) && HOSTDATA(shpnt)->synchronous)
shpnt1599drivers/scsi/aha152x.caha152x_panic(shpnt, "neither timeout nor selection\007");
shpnt1603drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
shpnt1622drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_abort)
shpnt1625drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_ERROR;
shpnt1626drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
shpnt1631drivers/scsi/aha152x.caha152x_done(shpnt, DID_BUS_BUSY << 16);
shpnt1634drivers/scsi/aha152x.caha152x_done(shpnt, DID_NO_CONNECT << 16);
shpnt1641drivers/scsi/aha152x.cphase = getphase(shpnt);
shpnt1656drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgo|debug_phases))
shpnt1663drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
shpnt1679drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
shpnt1693drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgo)
shpnt1704drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1705drivers/scsi/aha152x.cgetphase(shpnt);
shpnt1707drivers/scsi/aha152x.cif(MSG(i)==IDENTIFY(HOSTDATA(shpnt)->reconnect,CURRENT_SC->lun))
shpnt1723drivers/scsi/aha152x.cHOSTDATA(shpnt)->abort_result=SCSI_ABORT_SUCCESS;
shpnt1724drivers/scsi/aha152x.cHOSTDATA(shpnt)->abortion_complete++;
shpnt1733drivers/scsi/aha152x.caha152x_done(shpnt, DID_ABORT<<16);
shpnt1741drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_cmd|debug_phases))
shpnt1761drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1762drivers/scsi/aha152x.cgetphase(shpnt);
shpnt1766drivers/scsi/aha152x.caha152x_panic(shpnt, "target left COMMAND");
shpnt1771drivers/scsi/aha152x.caha152x_panic(shpnt, "Nothing to send while in COMMAND");
shpnt1779drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_intr|debug_msgi|debug_phases))
shpnt1794drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
shpnt1799drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->reconnect)
shpnt1800drivers/scsi/aha152x.caha152x_panic(shpnt, "target was not allowed to disconnect");
shpnt1805drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_msgi|debug_phases))
shpnt1821drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1828drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1839drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1842drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1843drivers/scsi/aha152x.cif(getphase(shpnt)!=P_MSGI)
shpnt1850drivers/scsi/aha152x.c(make_acklow(shpnt), getphase(shpnt)==P_MSGI); i++)
shpnt1854drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_msgi)
shpnt1865drivers/scsi/aha152x.caha152x_panic(shpnt, "SDTR message length != 3");
shpnt1867drivers/scsi/aha152x.cif(!HOSTDATA(shpnt)->synchronous)
shpnt1878drivers/scsi/aha152x.caha152x_panic(shpnt, "received SDTR invalid");
shpnt1937drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1938drivers/scsi/aha152x.cphase=getphase(shpnt);
shpnt1958drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_queues)
shpnt1979drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_status|debug_intr|debug_phases))
shpnt1991drivers/scsi/aha152x.cmake_acklow(shpnt);
shpnt1992drivers/scsi/aha152x.cgetphase(shpnt);
shpnt1995drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_status)
shpnt2009drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr|debug_phases))
shpnt2035drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2043drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2058drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2065drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2080drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2097drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2151drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datai)
shpnt2160drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_datai) &&
shpnt2174drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datai|debug_intr))
shpnt2187drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr|debug_phases))
shpnt2191drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2201drivers/scsi/aha152x.caha152x_panic(shpnt, "FIFO should be empty");
shpnt2220drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2231drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2256drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2288drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2302drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2309drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_datao)
shpnt2324drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & (debug_datao|debug_intr))
shpnt2335drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_phases)
shpnt2340drivers/scsi/aha152x.caha152x_done(shpnt, DID_ERROR << 16);         /* Don't know any better */
shpnt2353drivers/scsi/aha152x.caha152x_done(shpnt, DID_PARITY << 16);
shpnt2365drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt2378drivers/scsi/aha152x.caha152x_done(shpnt,
shpnt2396drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_intr)
shpnt2397drivers/scsi/aha152x.cdisp_enintr(shpnt);
shpnt2410drivers/scsi/aha152x.cstatic void aha152x_panic(struct Scsi_Host *shpnt, char *msg)
shpnt2413drivers/scsi/aha152x.cshow_queues(shpnt);
shpnt2420drivers/scsi/aha152x.cstatic void disp_ports(struct Scsi_Host *shpnt)
shpnt2426drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->debug & debug_skipports)
shpnt2603drivers/scsi/aha152x.cstatic void disp_enintr(struct Scsi_Host *shpnt)
shpnt2729drivers/scsi/aha152x.cstatic void show_queues(struct Scsi_Host *shpnt)
shpnt2750drivers/scsi/aha152x.cdisp_ports(shpnt);
shpnt2751drivers/scsi/aha152x.cdisp_enintr(shpnt);
shpnt2755drivers/scsi/aha152x.cint aha152x_set_info(char *buffer, int length, struct Scsi_Host *shpnt)
shpnt2833drivers/scsi/aha152x.cstruct Scsi_Host *shpnt;
shpnt2837drivers/scsi/aha152x.cfor(i=0, shpnt= (struct Scsi_Host *) NULL; i<IRQS; i++)
shpnt2839drivers/scsi/aha152x.cshpnt=aha152x_host[i];
shpnt2841drivers/scsi/aha152x.cif(!shpnt)
shpnt2845drivers/scsi/aha152x.creturn(aha152x_set_info(buffer, length, shpnt));
shpnt2853drivers/scsi/aha152x.cshpnt->io_port, shpnt->io_port+shpnt->n_io_port-1);
shpnt2854drivers/scsi/aha152x.cSPRINTF("interrupt 0x%02x\n", shpnt->irq);
shpnt2856drivers/scsi/aha152x.cHOSTDATA(shpnt)->reconnect ? "enabled" : "disabled");
shpnt2858drivers/scsi/aha152x.cHOSTDATA(shpnt)->parity ? "enabled" : "disabled");
shpnt2860drivers/scsi/aha152x.cHOSTDATA(shpnt)->synchronous ? "enabled" : "disabled");
shpnt2862drivers/scsi/aha152x.cHOSTDATA(shpnt)->commands);
shpnt2868drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
shpnt2871drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
shpnt2872drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*
shpnt2874drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
shpnt2878drivers/scsi/aha152x.cif(HOSTDATA(shpnt)->syncrate[i]&0x7f)
shpnt2881drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2),
shpnt2882drivers/scsi/aha152x.c(((HOSTDATA(shpnt)->syncrate[i]&0x70)>>4)+2)*50,
shpnt2883drivers/scsi/aha152x.cHOSTDATA(shpnt)->syncrate[i]&0x0f);
shpnt2887drivers/scsi/aha152x.c#define PDEBUG(flags,txt) if(HOSTDATA(shpnt)->debug & flags) SPRINTF("(%s) ", txt);
shpnt2932drivers/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 );
shpnt313drivers/scsi/hosts.cstruct Scsi_Host * shpnt;
shpnt318drivers/scsi/hosts.cshpnt = scsi_hostlist;
shpnt319drivers/scsi/hosts.cwhile(shpnt->next != sh) shpnt = shpnt->next;
shpnt320drivers/scsi/hosts.cshpnt->next = shpnt->next->next;
shpnt339drivers/scsi/hosts.cstruct Scsi_Host * retval, *shpnt;
shpnt384drivers/scsi/hosts.cshpnt = scsi_hostlist;
shpnt385drivers/scsi/hosts.cwhile(shpnt->next) shpnt = shpnt->next;
shpnt386drivers/scsi/hosts.cshpnt->next = retval;
shpnt406drivers/scsi/hosts.cstruct Scsi_Host * shpnt;
shpnt443drivers/scsi/hosts.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt445drivers/scsi/hosts.cif(shpnt->hostt->info)
shpnt446drivers/scsi/hosts.cname = shpnt->hostt->info(shpnt);
shpnt448drivers/scsi/hosts.cname = shpnt->hostt->name;
shpnt450drivers/scsi/hosts.cshpnt->host_no, name);
shpnt94drivers/scsi/scsi.cstruct Scsi_Host *shpnt, char * scsi_result);
shpnt319drivers/scsi/scsi.cstruct Scsi_Host * sh[128], * shpnt;
shpnt343drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) {
shpnt351drivers/scsi/scsi.cif (shpnt->unchecked_isa_dma) shpnt->wish_block = 1;
shpnt354drivers/scsi/scsi.cif (shpnt->wish_block) sh[block_count++] = shpnt;
shpnt407drivers/scsi/scsi.cstatic void scan_scsis (struct Scsi_Host *shpnt, unchar hardcoded,
shpnt423drivers/scsi/scsi.cscsi_result = ( ( !shpnt->unchecked_isa_dma )
shpnt432drivers/scsi/scsi.cif(shpnt->host_queue)
shpnt433drivers/scsi/scsi.cshpnt->host_queue->prev = SCpnt;
shpnt434drivers/scsi/scsi.cSCpnt->next = shpnt->host_queue;
shpnt436drivers/scsi/scsi.cshpnt->host_queue = SCpnt;
shpnt443drivers/scsi/scsi.cif(channel > shpnt->max_channel) goto leave;
shpnt445drivers/scsi/scsi.cif(dev >= shpnt->max_id) goto leave;
shpnt447drivers/scsi/scsi.cif(lun >= shpnt->max_lun) goto leave;
shpnt449drivers/scsi/scsi.c&SDpnt, SCpnt, shpnt, scsi_result);
shpnt471drivers/scsi/scsi.cfor (channel = 0; channel <= shpnt->max_channel; channel++) {
shpnt472drivers/scsi/scsi.cfor (dev = 0; dev < shpnt->max_id; ++dev) {
shpnt473drivers/scsi/scsi.cif (shpnt->this_id != dev) {
shpnt480drivers/scsi/scsi.cmax_dev_lun = (max_scsi_luns < shpnt->max_lun ?
shpnt481drivers/scsi/scsi.cmax_scsi_luns : shpnt->max_lun);
shpnt484drivers/scsi/scsi.c&SDpnt, SCpnt, shpnt, scsi_result))
shpnt496drivers/scsi/scsi.cfor(hqptr = shpnt->host_queue; hqptr != SCpnt; hqptr = hqptr->next) ;
shpnt503drivers/scsi/scsi.cshpnt->host_queue = next;
shpnt527drivers/scsi/scsi.cScsi_Device **SDpnt2, Scsi_Cmnd * SCpnt, struct Scsi_Host * shpnt, 
shpnt541drivers/scsi/scsi.cSDpnt->host = shpnt;
shpnt2487drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2516drivers/scsi/scsi.cfor (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) {
shpnt2517drivers/scsi/scsi.cscan_scsis(shpnt,0,0,0,0);           /* scan for scsi devices */
shpnt2518drivers/scsi/scsi.cif (shpnt->select_queue_depths != NULL)
shpnt2519drivers/scsi/scsi.c(shpnt->select_queue_depths)(shpnt, scsi_devices);
shpnt2785drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2826drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2913drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2943drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2944drivers/scsi/scsi.cif(shpnt->hostt == tpnt)
shpnt2947drivers/scsi/scsi.cname = tpnt->info(shpnt);
shpnt2951drivers/scsi/scsi.cshpnt->host_no, name);
shpnt2963drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2964drivers/scsi/scsi.cif(shpnt->hostt == tpnt) scan_scsis(shpnt,0,0,0,0);
shpnt3013drivers/scsi/scsi.cstruct Scsi_Host * shpnt, *sh1;
shpnt3023drivers/scsi/scsi.cfor(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt3025drivers/scsi/scsi.cif (shpnt->hostt != tpnt) continue;
shpnt3026drivers/scsi/scsi.cfor(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt3032drivers/scsi/scsi.cfor(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt3087drivers/scsi/scsi.cshpnt = scsi_hostlist;
shpnt3088drivers/scsi/scsi.cwhile(shpnt) {
shpnt3089drivers/scsi/scsi.csh1 = shpnt->next;
shpnt3090drivers/scsi/scsi.cif(shpnt->hostt == tpnt) {
shpnt3091drivers/scsi/scsi.cif(shpnt->loaded_as_module) {
shpnt3096drivers/scsi/scsi.cshpnt->host_no + PROC_SCSI_FILE);
shpnt3099drivers/scsi/scsi.c(*tpnt->release)(shpnt);
shpnt3105drivers/scsi/scsi.cif (shpnt->irq) free_irq(shpnt->irq, NULL);
shpnt3106drivers/scsi/scsi.cif (shpnt->dma_channel != 0xff) free_dma(shpnt->dma_channel);
shpnt3107drivers/scsi/scsi.cif (shpnt->io_port && shpnt->n_io_port)
shpnt3108drivers/scsi/scsi.crelease_region(shpnt->io_port, shpnt->n_io_port);
shpnt3110drivers/scsi/scsi.cif(pcount == next_scsi_host) scsi_unregister(shpnt);
shpnt3114drivers/scsi/scsi.cshpnt = sh1;
shpnt3323drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt3327drivers/scsi/scsi.cfor(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt3328drivers/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);