taglinefilesource code
instance1175drivers/scsi/53c7,8xx.cstruct Scsi_Host *instance;
instance1257drivers/scsi/53c7,8xx.cinstance = scsi_register (tpnt, size);
instance1258drivers/scsi/53c7,8xx.cif (!instance)
instance1266drivers/scsi/53c7,8xx.cinstance->hostdata;
instance1269drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) instance->hostdata;
instance1292drivers/scsi/53c7,8xx.cinstance->base = (unsigned char *) (unsigned long) base;
instance1303drivers/scsi/53c7,8xx.cinstance->io_port = io_port;
instance1312drivers/scsi/53c7,8xx.cinstance->host_no);
instance1313drivers/scsi/53c7,8xx.cscsi_unregister (instance);
instance1316drivers/scsi/53c7,8xx.cinstance->irq = irq;
instance1317drivers/scsi/53c7,8xx.cinstance->dma_channel = dma;
instance1365drivers/scsi/53c7,8xx.creturn NCR53c7x0_init(instance);
instance3063drivers/scsi/53c7,8xx.cinstance->hostdata;
instance3068drivers/scsi/53c7,8xx.cfor (bp = (struct NCR53c7x0_break *) instance->breakpoints,
instance3069drivers/scsi/53c7,8xx.cprev = (struct NCR53c7x0_break **) &instance->breakpoints;
instance3248drivers/scsi/53c7,8xx.cstruct Scsi_Host *instance;
instance346drivers/scsi/NCR5380.cstatic void NCR5380_print(struct Scsi_Host *instance) {
instance349drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance388drivers/scsi/NCR5380.cstatic void NCR5380_print_phase(struct Scsi_Host *instance) {
instance392drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance397drivers/scsi/NCR5380.cinstance->host_no);
instance401drivers/scsi/NCR5380.cprintk("scsi%d : phase %s\n", instance->host_no, phases[i].name);
instance522drivers/scsi/NCR5380.cstatic int NCR5380_set_timer (struct Scsi_Host *instance) {
instance526drivers/scsi/NCR5380.cif (((struct NCR5380_hostdata *) (instance->host_data))->next_timer) {
instance534drivers/scsi/NCR5380.cif (instance->time_expires < tmp->time_expires) 
instance537drivers/scsi/NCR5380.cinstance->next_timer = tmp;
instance538drivers/scsi/NCR5380.c*prev = instance;
instance547drivers/scsi/NCR5380.cstruct Scsi_Host *instance;
instance550drivers/scsi/NCR5380.cinstance = ((NCR5380_hostdata *) expires_first->host_data)->
instance556drivers/scsi/NCR5380.cexpires_first = instance;
instance607drivers/scsi/NCR5380.cstatic int NCR5380_probe_irq (struct Scsi_Host *instance, int possible) {
instance610drivers/scsi/NCR5380.cinstance->hostdata;
instance613drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance662drivers/scsi/NCR5380.cstatic void NCR5380_print_options (struct Scsi_Host *instance) {
instance712drivers/scsi/NCR5380.cstatic void NCR5380_print_status (struct Scsi_Host *instance) {
instance714drivers/scsi/NCR5380.cinstance->hostdata;
instance722drivers/scsi/NCR5380.cNCR5380_print (instance);
instance723drivers/scsi/NCR5380.cNCR5380_print_phase (instance);
instance729drivers/scsi/NCR5380.cinstance->host_no);
instance734drivers/scsi/NCR5380.cprintk ("scsi%d: issue_queue\n", instance->host_no);
instance740drivers/scsi/NCR5380.cprintk ("scsi%d: disconnected_queue\n", instance->host_no);
instance763drivers/scsi/NCR5380.cstatic void NCR5380_init (struct Scsi_Host *instance, int flags) {
instance767drivers/scsi/NCR5380.cinstance->hostdata;
instance775drivers/scsi/NCR5380.cinstance->io_port += 8;
instance777drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance782drivers/scsi/NCR5380.chostdata->id_mask = 1 << instance->this_id;
instance798drivers/scsi/NCR5380.cthe_template = instance->hostt;
instance799drivers/scsi/NCR5380.cfirst_instance = instance;
instance809drivers/scsi/NCR5380.cif ((instance->cmd_per_lun > 1) || instance->can_queue > 1)) 
instance812drivers/scsi/NCR5380.c"         be incorrectly cleared.\n", instance->host_no);
instance858drivers/scsi/NCR5380.cinstance->host_no);
instance894drivers/scsi/NCR5380.cprintk("scsi%d : command added to %s of queue\n", instance->host_no,
instance917drivers/scsi/NCR5380.cstruct Scsi_Host *instance;
instance936drivers/scsi/NCR5380.cfor (instance = first_instance; instance && 
instance937drivers/scsi/NCR5380.cinstance->hostt == the_template; instance=instance->next) {
instance938drivers/scsi/NCR5380.chostdata = (struct NCR5380_hostdata *) instance->hostdata;
instance942drivers/scsi/NCR5380.cprintk("scsi%d : not connected\n", instance->host_no);
instance971drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun);
instance980drivers/scsi/NCR5380.cif (!NCR5380_select(instance, tmp, 
instance992drivers/scsi/NCR5380.cinstance->host_no);
instance1009drivers/scsi/NCR5380.cinstance->host_no);
instance1011drivers/scsi/NCR5380.cNCR5380_information_transfer(instance);
instance1013drivers/scsi/NCR5380.cprintk("scsi%d : main() : done set false\n", instance->host_no);
instance1036drivers/scsi/NCR5380.cstruct Scsi_Host *instance;
instance1044drivers/scsi/NCR5380.cfor (instance = first_instance; instance && (instance->hostt == 
instance1045drivers/scsi/NCR5380.cthe_template); instance = instance->next)
instance1046drivers/scsi/NCR5380.cif (instance->irq == irq) {
instance1049drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1054drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1061drivers/scsi/NCR5380.cprintk("scsi%d : SEL interrupt\n", instance->host_no);
instance1063drivers/scsi/NCR5380.cNCR5380_reselect(instance);
instance1067drivers/scsi/NCR5380.cprintk("scsi%d : PARITY interrupt\n", instance->host_no);
instance1072drivers/scsi/NCR5380.cprintk("scsi%d : RESET interrupt\n", instance->host_no);
instance1095drivers/scsi/NCR5380.cinstance->hostno);
instance1097drivers/scsi/NCR5380.ctransfered = (hostdata->dmalen - NCR5380_dma_residual(instance));
instance1165drivers/scsi/NCR5380.cstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd,
instance1169drivers/scsi/NCR5380.cinstance->hostdata;
instance1174drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1178drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1179drivers/scsi/NCR5380.cprintk("scsi%d : starting arbitration, id = %d\n", instance->host_no,
instance1180drivers/scsi/NCR5380.cinstance->this_id);
instance1222drivers/scsi/NCR5380.cprintk("scsi%d : arbitration complete\n", instance->host_no);
instance1243drivers/scsi/NCR5380.cinstance->host_no);
instance1257drivers/scsi/NCR5380.cinstance->host_no);
instance1270drivers/scsi/NCR5380.cprintk("scsi%d : won arbitration\n", instance->host_no);
instance1318drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
instance1340drivers/scsi/NCR5380.cNCR5380_reselect(instance);
instance1342drivers/scsi/NCR5380.cinstance->host_no);
instance1352drivers/scsi/NCR5380.cprintk("scsi%d : weirdness\n", instance->host_no);
instance1356drivers/scsi/NCR5380.cNCR5380_print (instance);
instance1366drivers/scsi/NCR5380.cinstance->host_no);
instance1394drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
instance1396drivers/scsi/NCR5380.ctmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun);
instance1423drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance1425drivers/scsi/NCR5380.cprintk("scsi%d : nexus established.\n", instance->host_no);
instance1465drivers/scsi/NCR5380.cstatic int NCR5380_transfer_pio (struct Scsi_Host *instance, 
instance1471drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1489drivers/scsi/NCR5380.cprintk("scsi%d : REQ detected\n", instance->host_no);
instance1495drivers/scsi/NCR5380.cprintk("scsi%d : phase mismatch\n", instance->host_no);
instance1496drivers/scsi/NCR5380.cNCR5380_print_phase(instance);
instance1521drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1529drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1536drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1544drivers/scsi/NCR5380.cprintk("scsi%d : req false, handshake complete\n", instance->host_no);
instance1567drivers/scsi/NCR5380.cprintk("scsi%d : residual %d\n", instance->host_no, c);
instance1605drivers/scsi/NCR5380.cstatic int NCR5380_transfer_dma (struct Scsi_Host *instance, 
instance1619drivers/scsi/NCR5380.cinstance->hostdata;
instance1621drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1635drivers/scsi/NCR5380.cinstance->host_no, instance->dma_channel, (p & SR_IO) ? "reading" :
instance1639drivers/scsi/NCR5380.cNCR5380_dma_read_setup(instance, d, c) : 
instance1640drivers/scsi/NCR5380.cNCR5380_dma_write_setup(instance, d, c);
instance1663drivers/scsi/NCR5380.cprintk("scsi%d : mode reg = 0x%X\n", instance->host_no, NCR5380_read(MODE_REG));
instance1757drivers/scsi/NCR5380.cinstance->host_no, tmp, NCR5380_read(STATUS_REG));
instance1763drivers/scsi/NCR5380.cresidue = NCR5380_dma_residual(instance);
instance1786drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, phase, &cnt, data);
instance1801drivers/scsi/NCR5380.cif (!(foo = NCR5380_pread(instance, d, c - 1))) {
instance1831drivers/scsi/NCR5380.cif (!(foo = NCR5380_pwrite(instance, d, c))) {
instance1857drivers/scsi/NCR5380.cinstance->host_no);
instance1867drivers/scsi/NCR5380.cinstance->host_no);
instance1910drivers/scsi/NCR5380.cstatic void NCR5380_information_transfer (struct Scsi_Host *instance) {
instance1913drivers/scsi/NCR5380.cinstance->hostdata;
instance1923drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1933drivers/scsi/NCR5380.cNCR5380_print_phase(instance);
instance1954drivers/scsi/NCR5380.cinstance->host_no);
instance1972drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
instance1990drivers/scsi/NCR5380.c(transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {
instance2004drivers/scsi/NCR5380.cif (NCR5380_transfer_dma(instance, &phase,
instance2011drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2022drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, 
instance2029drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2051drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2061drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2075drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2088drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2118drivers/scsi/NCR5380.cinstance->host_no);
instance2179drivers/scsi/NCR5380.c"  the disconnected_queue\n", instance->host_no, 
instance2228drivers/scsi/NCR5380.cinstance->host_no);
instance2234drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2238drivers/scsi/NCR5380.cinstance->host_no, (int) extended_msg[1],
instance2250drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2254drivers/scsi/NCR5380.cinstance->host_no, len);
instance2266drivers/scsi/NCR5380.cinstance->host_no);
instance2270drivers/scsi/NCR5380.cinstance->host_no, extended_msg[2], extended_msg[1]);
instance2281drivers/scsi/NCR5380.cprintk("scsi%d: rejecting message ", instance->host_no);
instance2286drivers/scsi/NCR5380.cinstance->host_no, tmp, cmd->target, cmd->lun);
instance2289drivers/scsi/NCR5380.cinstance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun);
instance2301drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2320drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, 
instance2326drivers/scsi/NCR5380.cprintk("scsi%d : issued command, sleeping until %ul\n", instance->host_no,
instance2329drivers/scsi/NCR5380.cNCR5380_set_timer (instance);
instance2337drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2341drivers/scsi/NCR5380.cprintk("scsi%d : unknown phase\n", instance->host_no);
instance2343drivers/scsi/NCR5380.cNCR5380_print(instance);
instance2353drivers/scsi/NCR5380.cprintk("scsi%d : poll timed out, sleeping until %ul\n", instance->host_no,
instance2356drivers/scsi/NCR5380.cNCR5380_set_timer (instance);
instance2376drivers/scsi/NCR5380.cstatic void NCR5380_reselect (struct Scsi_Host *instance) {
instance2379drivers/scsi/NCR5380.cinstance->hostdata;
instance2390drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance2403drivers/scsi/NCR5380.cprintk("scsi%d : reselect\n", instance->host_no);
instance2429drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2434drivers/scsi/NCR5380.cinstance->host_no);
instance2476drivers/scsi/NCR5380.cinstance->host_no, target_mask, lun, tag);
instance2479drivers/scsi/NCR5380.cinstance->host_no, target_mask, lun);
instance2495drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2500drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun, tmp->tag);
instance2518drivers/scsi/NCR5380.cstatic void NCR5380_dma_complete (NCR5380_instance *instance) {
instance2521drivers/scsi/NCR5380.cinstance->hostdata);
instance2523drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance2546drivers/scsi/NCR5380.ctransferred = instance->dmalen - NCR5380_dma_residual();
instance2575drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
instance2577drivers/scsi/NCR5380.cinstance->hostdata;
instance2582drivers/scsi/NCR5380.cprintk("scsi%d : aborting command\n", instance->host_no);
instance2585drivers/scsi/NCR5380.cNCR5380_print_status (instance);
instance2588drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance2591drivers/scsi/NCR5380.cprintk("scsi%d : abort called\n", instance->host_no);
instance2605drivers/scsi/NCR5380.cprintk("scsi%d : aborting connected command\n", instance->host_no);
instance2644drivers/scsi/NCR5380.cinstance->host_no);
instance2664drivers/scsi/NCR5380.cprintk("scsi%d : abort failed, command connected.\n", instance->host_no);
instance2699drivers/scsi/NCR5380.cprintk("scsi%d : aborting disconnected command.\n", instance->host_no);
instance2702drivers/scsi/NCR5380.cif (NCR5380_select (instance, cmd, (int) cmd->tag)) 
instance2706drivers/scsi/NCR5380.cprintk("scsi%d : nexus reestablished.\n", instance->host_no);
instance2714drivers/scsi/NCR5380.cNCR5380_transfer_pio (instance, &phase, &len, &msgptr);
instance2743drivers/scsi/NCR5380.c"         before abortion\n", instance->host_no); 
instance271drivers/scsi/NCR5380.hstatic int NCR5380_probe_irq (struct Scsi_Host *instance, int possible);
instance273drivers/scsi/NCR5380.hstatic void NCR5380_init (struct Scsi_Host *instance, int flags);
instance274drivers/scsi/NCR5380.hstatic void NCR5380_information_transfer (struct Scsi_Host *instance);
instance277drivers/scsi/NCR5380.hstatic void NCR5380_print_options (struct Scsi_Host *instance);
instance292drivers/scsi/NCR5380.hstatic void NCR5380_reselect (struct Scsi_Host *instance);
instance293drivers/scsi/NCR5380.hstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag);
instance295drivers/scsi/NCR5380.hstatic int NCR5380_transfer_dma (struct Scsi_Host *instance,
instance298drivers/scsi/NCR5380.hstatic int NCR5380_transfer_pio (struct Scsi_Host *instance,
instance302drivers/scsi/NCR5380.hstatic __inline__ int NCR5380_i386_dma_setup (struct Scsi_Host *instance,
instance306drivers/scsi/NCR5380.hif (instance->dma_channel <=3) {
instance319drivers/scsi/NCR5380.hpanic ("scsi%d : attempted unaligned DMA transfer\n", instance->host_no);
instance321drivers/scsi/NCR5380.hdisable_dma(instance->dma_channel);
instance322drivers/scsi/NCR5380.hclear_dma_ff(instance->dma_channel);
instance323drivers/scsi/NCR5380.hset_dma_addr(instance->dma_channel, (unsigned int) ptr);
instance324drivers/scsi/NCR5380.hset_dma_count(instance->dma_channel, count);
instance325drivers/scsi/NCR5380.hset_dma_mode(instance->dma_channel, mode);
instance326drivers/scsi/NCR5380.henable_dma(instance->dma_channel);
instance331drivers/scsi/NCR5380.hstatic __inline__ int NCR5380_i386_dma_write_setup (struct Scsi_Host *instance,
instance333drivers/scsi/NCR5380.hreturn NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_WRITE);
instance336drivers/scsi/NCR5380.hstatic __inline__ int NCR5380_i386_dma_read_setup (struct Scsi_Host *instance,
instance338drivers/scsi/NCR5380.hreturn NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_READ);
instance341drivers/scsi/NCR5380.hstatic __inline__ int NCR5380_i386_dma_residual (struct Scsi_Host *instance) {
instance344drivers/scsi/NCR5380.hclear_dma_ff(instance->dma_channel);
instance345drivers/scsi/NCR5380.htmp = get_dma_residue(instance->dma_channel);
instance128drivers/scsi/g_NCR5380.cstruct Scsi_Host *instance;
instance136drivers/scsi/g_NCR5380.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
instance137drivers/scsi/g_NCR5380.cinstance->io_port = overrides[current_override].port;
instance139drivers/scsi/g_NCR5380.cNCR5380_init(instance, 0);
instance142drivers/scsi/g_NCR5380.cinstance->irq = overrides[current_override].irq;
instance144drivers/scsi/g_NCR5380.cinstance->irq = NCR5380_probe_irq(instance, 0xffff);
instance146drivers/scsi/g_NCR5380.cif (instance->irq != IRQ_NONE) 
instance147drivers/scsi/g_NCR5380.cif (request_irq(instance->irq, generic_NCR5380_intr, SA_INTERRUPT, "NCR5380")) {
instance149drivers/scsi/g_NCR5380.cinstance->host_no, instance->irq);
instance150drivers/scsi/g_NCR5380.cinstance->irq = IRQ_NONE;
instance153drivers/scsi/g_NCR5380.cif (instance->irq == IRQ_NONE) {
instance154drivers/scsi/g_NCR5380.cprintk("scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
instance155drivers/scsi/g_NCR5380.cprintk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
instance158drivers/scsi/g_NCR5380.cprintk("scsi%d : at port %d", instance->host_no, instance->io_port);
instance159drivers/scsi/g_NCR5380.cif (instance->irq == IRQ_NONE)
instance162drivers/scsi/g_NCR5380.cprintk (" irq %d", instance->irq);
instance165drivers/scsi/g_NCR5380.cNCR5380_print_options(instance);
instance74drivers/scsi/g_NCR5380.h#define NCR5380_setup(instance) \
instance75drivers/scsi/g_NCR5380.hport = (instance)->io_port
instance355drivers/scsi/pas16.cstruct Scsi_Host *instance;
instance393drivers/scsi/pas16.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
instance394drivers/scsi/pas16.cinstance->io_port = io_port;
instance396drivers/scsi/pas16.cNCR5380_init(instance, 0);
instance399drivers/scsi/pas16.cinstance->irq = overrides[current_override].irq;
instance401drivers/scsi/pas16.cinstance->irq = NCR5380_probe_irq(instance, PAS16_IRQS);
instance403drivers/scsi/pas16.cif (instance->irq != IRQ_NONE) 
instance404drivers/scsi/pas16.cif (request_irq(instance->irq, pas16_intr, SA_INTERRUPT, "pas16")) {
instance406drivers/scsi/pas16.cinstance->host_no, instance->irq);
instance407drivers/scsi/pas16.cinstance->irq = IRQ_NONE;
instance410drivers/scsi/pas16.cif (instance->irq == IRQ_NONE) {
instance411drivers/scsi/pas16.cprintk("scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
instance412drivers/scsi/pas16.cprintk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
instance419drivers/scsi/pas16.cprintk("scsi%d : irq = %d\n", instance->host_no, instance->irq);
instance422drivers/scsi/pas16.cprintk("scsi%d : at 0x%04x", instance->host_no, (int) 
instance423drivers/scsi/pas16.cinstance->io_port);
instance424drivers/scsi/pas16.cif (instance->irq == IRQ_NONE)
instance427drivers/scsi/pas16.cprintk (" irq %d", instance->irq);
instance430drivers/scsi/pas16.cNCR5380_print_options(instance);
instance489drivers/scsi/pas16.cstatic inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst,
instance492drivers/scsi/pas16.cregister unsigned short reg = (unsigned short) (instance->io_port + 
instance496drivers/scsi/pas16.cwhile ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) );
instance500drivers/scsi/pas16.cif ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) {
instance501drivers/scsi/pas16.coutb( P_TS_CT, instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET);
instance503drivers/scsi/pas16.cinstance->host_no);
instance522drivers/scsi/pas16.cstatic inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src,
instance525drivers/scsi/pas16.cregister unsigned short reg = (instance->io_port + P_DATA_REG_OFFSET);
instance528drivers/scsi/pas16.cwhile ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) );
instance532drivers/scsi/pas16.cif (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) {
instance533drivers/scsi/pas16.coutb( P_TS_CT, instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET);
instance535drivers/scsi/pas16.cinstance->host_no);
instance160drivers/scsi/pas16.h#define NCR5380_setup(instance) \
instance161drivers/scsi/pas16.hio_port = (instance)->io_port
instance171drivers/scsi/pas16.h, instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) )
instance175drivers/scsi/pas16.hinstance->hostno, (value), (reg), PAS16_io_port(reg)),  \
instance286drivers/scsi/seagate.cstruct Scsi_Host *instance;
instance358drivers/scsi/seagate.cinstance = scsi_register(tpnt, 0);
instance359drivers/scsi/seagate.chostno = instance->host_no;
instance366drivers/scsi/seagate.cinstance->irq = irq;
instance367drivers/scsi/seagate.cinstance->io_port = (unsigned int) base_address;
instance201drivers/scsi/t128.cstruct Scsi_Host *instance;
instance236drivers/scsi/t128.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
instance237drivers/scsi/t128.cinstance->base = base;
instance239drivers/scsi/t128.cNCR5380_init(instance, 0);
instance242drivers/scsi/t128.cinstance->irq = overrides[current_override].irq;
instance244drivers/scsi/t128.cinstance->irq = NCR5380_probe_irq(instance, T128_IRQS);
instance246drivers/scsi/t128.cif (instance->irq != IRQ_NONE) 
instance247drivers/scsi/t128.cif (request_irq(instance->irq, t128_intr, SA_INTERRUPT, "t128")) {
instance249drivers/scsi/t128.cinstance->host_no, instance->irq);
instance250drivers/scsi/t128.cinstance->irq = IRQ_NONE;
instance253drivers/scsi/t128.cif (instance->irq == IRQ_NONE) {
instance254drivers/scsi/t128.cprintk("scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
instance255drivers/scsi/t128.cprintk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
instance259drivers/scsi/t128.cprintk("scsi%d : irq = %d\n", instance->host_no, instance->irq);
instance262drivers/scsi/t128.cprintk("scsi%d : at 0x%08x", instance->host_no, (int) 
instance263drivers/scsi/t128.cinstance->base);
instance264drivers/scsi/t128.cif (instance->irq == IRQ_NONE)
instance267drivers/scsi/t128.cprintk (" irq %d", instance->irq);
instance270drivers/scsi/t128.cNCR5380_print_options(instance);
instance321drivers/scsi/t128.cstatic inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst,
instance323drivers/scsi/t128.cregister unsigned char *reg = (unsigned char *) (instance->base + 
instance330drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
instance332drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
instance338drivers/scsi/t128.cif (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) {
instance341drivers/scsi/t128.cfoo = instance->base + T_CONTROL_REG_OFFSET;
instance346drivers/scsi/t128.cinstance->host_no);
instance365drivers/scsi/t128.cstatic inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src,
instance367drivers/scsi/t128.cregister unsigned char *reg = (unsigned char *) (instance->base + 
instance373drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
instance375drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
instance381drivers/scsi/t128.cif (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) {
instance384drivers/scsi/t128.cfoo = instance->base + T_CONTROL_REG_OFFSET;
instance389drivers/scsi/t128.cinstance->host_no);
instance138drivers/scsi/t128.h#define NCR5380_setup(instance) \
instance139drivers/scsi/t128.hbase = (volatile unsigned char *) (instance)->base
instance149drivers/scsi/t128.h, instance->hostno, (reg), T128_address(reg))), *(T128_address(reg)))
instance153drivers/scsi/t128.hinstance->hostno, (value), (reg), T128_address(reg));  \