taglinefilesource code
instance688drivers/scsi/53c7,8xx.cstruct Scsi_Host *instance;
instance731drivers/scsi/53c7,8xx.cinstance = scsi_register (tpnt, size);
instance733drivers/scsi/53c7,8xx.cinstance->hostdata;
instance736drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) instance->hostdata;
instance759drivers/scsi/53c7,8xx.cinstance->base = (unsigned char *) base;
instance770drivers/scsi/53c7,8xx.cinstance->io_port = io_port;
instance779drivers/scsi/53c7,8xx.cinstance->host_no);
instance780drivers/scsi/53c7,8xx.cscsi_unregister (instance);
instance783drivers/scsi/53c7,8xx.cinstance->irq = irq;
instance784drivers/scsi/53c7,8xx.cinstance->dma_channel = dma;
instance788drivers/scsi/53c7,8xx.creturn NCR53c7x0_init(instance);
instance1949drivers/scsi/53c7,8xx.cinstance->hostdata;
instance1953drivers/scsi/53c7,8xx.cfor (bp = (struct NCR53c7x0_break *) instance->breakpoints,
instance1954drivers/scsi/53c7,8xx.cprev = (struct NCR53c7x0_break **) &instance->breakpoints;
instance2127drivers/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);
instance661drivers/scsi/NCR5380.cstatic void NCR5380_print_options (struct Scsi_Host *instance) {
instance711drivers/scsi/NCR5380.cstatic void NCR5380_print_status (struct Scsi_Host *instance) {
instance713drivers/scsi/NCR5380.cinstance->hostdata;
instance721drivers/scsi/NCR5380.cNCR5380_print (instance);
instance722drivers/scsi/NCR5380.cNCR5380_print_phase (instance);
instance728drivers/scsi/NCR5380.cinstance->host_no);
instance733drivers/scsi/NCR5380.cprintk ("scsi%d: issue_queue\n", instance->host_no);
instance739drivers/scsi/NCR5380.cprintk ("scsi%d: disconnected_queue\n", instance->host_no);
instance762drivers/scsi/NCR5380.cstatic void NCR5380_init (struct Scsi_Host *instance, int flags) {
instance766drivers/scsi/NCR5380.cinstance->hostdata;
instance774drivers/scsi/NCR5380.cinstance->io_port += 8;
instance776drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance781drivers/scsi/NCR5380.chostdata->id_mask = 1 << instance->this_id;
instance797drivers/scsi/NCR5380.cthe_template = instance->hostt;
instance798drivers/scsi/NCR5380.cfirst_instance = instance;
instance808drivers/scsi/NCR5380.cif ((instance->cmd_per_lun > 1) || instance->can_queue > 1)) 
instance811drivers/scsi/NCR5380.c"         be incorrectly cleared.\n", instance->host_no);
instance857drivers/scsi/NCR5380.cinstance->host_no);
instance893drivers/scsi/NCR5380.cprintk("scsi%d : command added to %s of queue\n", instance->host_no,
instance916drivers/scsi/NCR5380.cstruct Scsi_Host *instance;
instance935drivers/scsi/NCR5380.cfor (instance = first_instance; instance && 
instance936drivers/scsi/NCR5380.cinstance->hostt == the_template; instance=instance->next) {
instance937drivers/scsi/NCR5380.chostdata = (struct NCR5380_hostdata *) instance->hostdata;
instance941drivers/scsi/NCR5380.cprintk("scsi%d : not connected\n", instance->host_no);
instance970drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun);
instance979drivers/scsi/NCR5380.cif (!NCR5380_select(instance, tmp, 
instance991drivers/scsi/NCR5380.cinstance->host_no);
instance1008drivers/scsi/NCR5380.cinstance->host_no);
instance1010drivers/scsi/NCR5380.cNCR5380_information_transfer(instance);
instance1012drivers/scsi/NCR5380.cprintk("scsi%d : main() : done set false\n", instance->host_no);
instance1035drivers/scsi/NCR5380.cstruct Scsi_Host *instance;
instance1043drivers/scsi/NCR5380.cfor (instance = first_instance; instance && (instance->hostt == 
instance1044drivers/scsi/NCR5380.cthe_template); instance = instance->next)
instance1045drivers/scsi/NCR5380.cif (instance->irq == irq) {
instance1048drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1053drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1060drivers/scsi/NCR5380.cprintk("scsi%d : SEL interrupt\n", instance->host_no);
instance1062drivers/scsi/NCR5380.cNCR5380_reselect(instance);
instance1066drivers/scsi/NCR5380.cprintk("scsi%d : PARITY interrupt\n", instance->host_no);
instance1071drivers/scsi/NCR5380.cprintk("scsi%d : RESET interrupt\n", instance->host_no);
instance1094drivers/scsi/NCR5380.cinstance->hostno);
instance1096drivers/scsi/NCR5380.ctransfered = (hostdata->dmalen - NCR5380_dma_residual(instance));
instance1164drivers/scsi/NCR5380.cstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd,
instance1168drivers/scsi/NCR5380.cinstance->hostdata;
instance1173drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1177drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1178drivers/scsi/NCR5380.cprintk("scsi%d : starting arbitration, id = %d\n", instance->host_no,
instance1179drivers/scsi/NCR5380.cinstance->this_id);
instance1221drivers/scsi/NCR5380.cprintk("scsi%d : arbitration complete\n", instance->host_no);
instance1242drivers/scsi/NCR5380.cinstance->host_no);
instance1256drivers/scsi/NCR5380.cinstance->host_no);
instance1269drivers/scsi/NCR5380.cprintk("scsi%d : won arbitration\n", instance->host_no);
instance1317drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
instance1339drivers/scsi/NCR5380.cNCR5380_reselect(instance);
instance1341drivers/scsi/NCR5380.cinstance->host_no);
instance1351drivers/scsi/NCR5380.cprintk("scsi%d : weirdness\n", instance->host_no);
instance1355drivers/scsi/NCR5380.cNCR5380_print (instance);
instance1365drivers/scsi/NCR5380.cinstance->host_no);
instance1393drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
instance1395drivers/scsi/NCR5380.ctmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun);
instance1422drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance1424drivers/scsi/NCR5380.cprintk("scsi%d : nexus established.\n", instance->host_no);
instance1464drivers/scsi/NCR5380.cstatic int NCR5380_transfer_pio (struct Scsi_Host *instance, 
instance1470drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1488drivers/scsi/NCR5380.cprintk("scsi%d : REQ detected\n", instance->host_no);
instance1494drivers/scsi/NCR5380.cprintk("scsi%d : phase mismatch\n", instance->host_no);
instance1495drivers/scsi/NCR5380.cNCR5380_print_phase(instance);
instance1520drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1528drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1535drivers/scsi/NCR5380.cNCR5380_print(instance);
instance1543drivers/scsi/NCR5380.cprintk("scsi%d : req false, handshake complete\n", instance->host_no);
instance1566drivers/scsi/NCR5380.cprintk("scsi%d : residual %d\n", instance->host_no, c);
instance1604drivers/scsi/NCR5380.cstatic int NCR5380_transfer_dma (struct Scsi_Host *instance, 
instance1618drivers/scsi/NCR5380.cinstance->hostdata;
instance1620drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1634drivers/scsi/NCR5380.cinstance->host_no, instance->dma_channel, (p & SR_IO) ? "reading" :
instance1638drivers/scsi/NCR5380.cNCR5380_dma_read_setup(instance, d, c) : 
instance1639drivers/scsi/NCR5380.cNCR5380_dma_write_setup(instance, d, c);
instance1662drivers/scsi/NCR5380.cprintk("scsi%d : mode reg = 0x%X\n", instance->host_no, NCR5380_read(MODE_REG));
instance1756drivers/scsi/NCR5380.cinstance->host_no, tmp, NCR5380_read(STATUS_REG));
instance1762drivers/scsi/NCR5380.cresidue = NCR5380_dma_residual(instance);
instance1785drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, phase, &cnt, data);
instance1800drivers/scsi/NCR5380.cif (!(foo = NCR5380_pread(instance, d, c - 1))) {
instance1830drivers/scsi/NCR5380.cif (!(foo = NCR5380_pwrite(instance, d, c))) {
instance1856drivers/scsi/NCR5380.cinstance->host_no);
instance1866drivers/scsi/NCR5380.cinstance->host_no);
instance1909drivers/scsi/NCR5380.cstatic void NCR5380_information_transfer (struct Scsi_Host *instance) {
instance1912drivers/scsi/NCR5380.cinstance->hostdata;
instance1922drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance1932drivers/scsi/NCR5380.cNCR5380_print_phase(instance);
instance1953drivers/scsi/NCR5380.cinstance->host_no);
instance1971drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
instance1989drivers/scsi/NCR5380.c(transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {
instance2003drivers/scsi/NCR5380.cif (NCR5380_transfer_dma(instance, &phase,
instance2010drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2021drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, 
instance2028drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2050drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2060drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2074drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2087drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
instance2117drivers/scsi/NCR5380.cinstance->host_no);
instance2178drivers/scsi/NCR5380.c"  the disconnected_queue\n", instance->host_no, 
instance2227drivers/scsi/NCR5380.cinstance->host_no);
instance2233drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2237drivers/scsi/NCR5380.cinstance->host_no, (int) extended_msg[1],
instance2249drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2253drivers/scsi/NCR5380.cinstance->host_no, len);
instance2265drivers/scsi/NCR5380.cinstance->host_no);
instance2269drivers/scsi/NCR5380.cinstance->host_no, extended_msg[2], extended_msg[1]);
instance2280drivers/scsi/NCR5380.cprintk("scsi%d: rejecting message ", instance->host_no);
instance2285drivers/scsi/NCR5380.cinstance->host_no, tmp, cmd->target, cmd->lun);
instance2288drivers/scsi/NCR5380.cinstance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun);
instance2300drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2319drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, 
instance2325drivers/scsi/NCR5380.cprintk("scsi%d : issued command, sleeping until %ul\n", instance->host_no,
instance2328drivers/scsi/NCR5380.cNCR5380_set_timer (instance);
instance2336drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2340drivers/scsi/NCR5380.cprintk("scsi%d : unknown phase\n", instance->host_no);
instance2342drivers/scsi/NCR5380.cNCR5380_print(instance);
instance2352drivers/scsi/NCR5380.cprintk("scsi%d : poll timed out, sleeping until %ul\n", instance->host_no,
instance2355drivers/scsi/NCR5380.cNCR5380_set_timer (instance);
instance2375drivers/scsi/NCR5380.cstatic void NCR5380_reselect (struct Scsi_Host *instance) {
instance2378drivers/scsi/NCR5380.cinstance->hostdata;
instance2389drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance2402drivers/scsi/NCR5380.cprintk("scsi%d : reselect\n", instance->host_no);
instance2428drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2433drivers/scsi/NCR5380.cinstance->host_no);
instance2475drivers/scsi/NCR5380.cinstance->host_no, target_mask, lun, tag);
instance2478drivers/scsi/NCR5380.cinstance->host_no, target_mask, lun);
instance2494drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
instance2499drivers/scsi/NCR5380.cinstance->host_no, tmp->target, tmp->lun, tmp->tag);
instance2517drivers/scsi/NCR5380.cstatic void NCR5380_dma_complete (NCR5380_instance *instance) {
instance2520drivers/scsi/NCR5380.cinstance->hostdata);
instance2522drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance2545drivers/scsi/NCR5380.ctransferred = instance->dmalen - NCR5380_dma_residual();
instance2574drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
instance2576drivers/scsi/NCR5380.cinstance->hostdata;
instance2581drivers/scsi/NCR5380.cprintk("scsi%d : aborting command\n", instance->host_no);
instance2584drivers/scsi/NCR5380.cNCR5380_print_status (instance);
instance2587drivers/scsi/NCR5380.cNCR5380_setup(instance);
instance2590drivers/scsi/NCR5380.cprintk("scsi%d : abort called\n", instance->host_no);
instance2604drivers/scsi/NCR5380.cprintk("scsi%d : aborting connected command\n", instance->host_no);
instance2643drivers/scsi/NCR5380.cinstance->host_no);
instance2663drivers/scsi/NCR5380.cprintk("scsi%d : abort failed, command connected.\n", instance->host_no);
instance2698drivers/scsi/NCR5380.cprintk("scsi%d : aborting disconnected command.\n", instance->host_no);
instance2701drivers/scsi/NCR5380.cif (NCR5380_select (instance, cmd, (int) cmd->tag)) 
instance2705drivers/scsi/NCR5380.cprintk("scsi%d : nexus reestablished.\n", instance->host_no);
instance2713drivers/scsi/NCR5380.cNCR5380_transfer_pio (instance, &phase, &len, &msgptr);
instance2742drivers/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);
instance122drivers/scsi/g_NCR5380.cstruct Scsi_Host *instance;
instance128drivers/scsi/g_NCR5380.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
instance129drivers/scsi/g_NCR5380.cinstance->io_port = overrides[current_override].port;
instance131drivers/scsi/g_NCR5380.cNCR5380_init(instance, 0);
instance134drivers/scsi/g_NCR5380.cinstance->irq = overrides[current_override].irq;
instance136drivers/scsi/g_NCR5380.cinstance->irq = NCR5380_probe_irq(instance, 0xffff);
instance138drivers/scsi/g_NCR5380.cif (instance->irq != IRQ_NONE) 
instance139drivers/scsi/g_NCR5380.cif (request_irq(instance->irq, generic_NCR5380_intr, SA_INTERRUPT, "NCR5380")) {
instance141drivers/scsi/g_NCR5380.cinstance->host_no, instance->irq);
instance142drivers/scsi/g_NCR5380.cinstance->irq = IRQ_NONE;
instance145drivers/scsi/g_NCR5380.cif (instance->irq == IRQ_NONE) {
instance146drivers/scsi/g_NCR5380.cprintk("scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
instance147drivers/scsi/g_NCR5380.cprintk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
instance150drivers/scsi/g_NCR5380.cprintk("scsi%d : at port %d", instance->host_no, instance->io_port);
instance151drivers/scsi/g_NCR5380.cif (instance->irq == IRQ_NONE)
instance154drivers/scsi/g_NCR5380.cprintk (" irq %d", instance->irq);
instance157drivers/scsi/g_NCR5380.cNCR5380_print_options(instance);
instance70drivers/scsi/g_NCR5380.h#define NCR5380_setup(instance) \
instance71drivers/scsi/g_NCR5380.hport = (instance)->io_port
instance344drivers/scsi/pas16.cstruct Scsi_Host *instance;
instance380drivers/scsi/pas16.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
instance381drivers/scsi/pas16.cinstance->io_port = io_port;
instance383drivers/scsi/pas16.cNCR5380_init(instance, 0);
instance386drivers/scsi/pas16.cinstance->irq = overrides[current_override].irq;
instance388drivers/scsi/pas16.cinstance->irq = NCR5380_probe_irq(instance, PAS16_IRQS);
instance390drivers/scsi/pas16.cif (instance->irq != IRQ_NONE) 
instance391drivers/scsi/pas16.cif (request_irq(instance->irq, pas16_intr, SA_INTERRUPT, "pas16")) {
instance393drivers/scsi/pas16.cinstance->host_no, instance->irq);
instance394drivers/scsi/pas16.cinstance->irq = IRQ_NONE;
instance397drivers/scsi/pas16.cif (instance->irq == IRQ_NONE) {
instance398drivers/scsi/pas16.cprintk("scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
instance399drivers/scsi/pas16.cprintk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
instance406drivers/scsi/pas16.cprintk("scsi%d : irq = %d\n", instance->host_no, instance->irq);
instance409drivers/scsi/pas16.cprintk("scsi%d : at 0x%04x", instance->host_no, (int) 
instance410drivers/scsi/pas16.cinstance->io_port);
instance411drivers/scsi/pas16.cif (instance->irq == IRQ_NONE)
instance414drivers/scsi/pas16.cprintk (" irq %d", instance->irq);
instance417drivers/scsi/pas16.cNCR5380_print_options(instance);
instance476drivers/scsi/pas16.cstatic inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst,
instance479drivers/scsi/pas16.cregister unsigned short reg = (unsigned short) (instance->io_port + 
instance483drivers/scsi/pas16.cwhile ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) );
instance487drivers/scsi/pas16.cif ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) {
instance488drivers/scsi/pas16.coutb( P_TS_CT, instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET);
instance490drivers/scsi/pas16.cinstance->host_no);
instance509drivers/scsi/pas16.cstatic inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src,
instance512drivers/scsi/pas16.cregister unsigned short reg = (instance->io_port + P_DATA_REG_OFFSET);
instance515drivers/scsi/pas16.cwhile ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) );
instance519drivers/scsi/pas16.cif (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) {
instance520drivers/scsi/pas16.coutb( P_TS_CT, instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET);
instance522drivers/scsi/pas16.cinstance->host_no);
instance158drivers/scsi/pas16.h#define NCR5380_setup(instance) \
instance159drivers/scsi/pas16.hio_port = (instance)->io_port
instance169drivers/scsi/pas16.h, instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) )
instance173drivers/scsi/pas16.hinstance->hostno, (value), (reg), PAS16_io_port(reg)),  \
instance277drivers/scsi/seagate.cstruct Scsi_Host *instance;
instance348drivers/scsi/seagate.cinstance = scsi_register(tpnt, 0);
instance349drivers/scsi/seagate.chostno = instance->host_no;
instance196drivers/scsi/t128.cstruct Scsi_Host *instance;
instance229drivers/scsi/t128.cinstance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
instance230drivers/scsi/t128.cinstance->base = base;
instance232drivers/scsi/t128.cNCR5380_init(instance, 0);
instance235drivers/scsi/t128.cinstance->irq = overrides[current_override].irq;
instance237drivers/scsi/t128.cinstance->irq = NCR5380_probe_irq(instance, T128_IRQS);
instance239drivers/scsi/t128.cif (instance->irq != IRQ_NONE) 
instance240drivers/scsi/t128.cif (request_irq(instance->irq, t128_intr, SA_INTERRUPT, "t128")) {
instance242drivers/scsi/t128.cinstance->host_no, instance->irq);
instance243drivers/scsi/t128.cinstance->irq = IRQ_NONE;
instance246drivers/scsi/t128.cif (instance->irq == IRQ_NONE) {
instance247drivers/scsi/t128.cprintk("scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
instance248drivers/scsi/t128.cprintk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
instance252drivers/scsi/t128.cprintk("scsi%d : irq = %d\n", instance->host_no, instance->irq);
instance255drivers/scsi/t128.cprintk("scsi%d : at 0x%08x", instance->host_no, (int) 
instance256drivers/scsi/t128.cinstance->base);
instance257drivers/scsi/t128.cif (instance->irq == IRQ_NONE)
instance260drivers/scsi/t128.cprintk (" irq %d", instance->irq);
instance263drivers/scsi/t128.cNCR5380_print_options(instance);
instance314drivers/scsi/t128.cstatic inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst,
instance316drivers/scsi/t128.cregister unsigned char *reg = (unsigned char *) (instance->base + 
instance323drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY);
instance325drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY);
instance331drivers/scsi/t128.cif (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) {
instance334drivers/scsi/t128.cfoo = instance->base + T_CONTROL_REG_OFFSET;
instance339drivers/scsi/t128.cinstance->host_no);
instance358drivers/scsi/t128.cstatic inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src,
instance360drivers/scsi/t128.cregister unsigned char *reg = (unsigned char *) (instance->base + 
instance366drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY);
instance368drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY);
instance374drivers/scsi/t128.cif (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) {
instance377drivers/scsi/t128.cfoo = instance->base + T_CONTROL_REG_OFFSET;
instance382drivers/scsi/t128.cinstance->host_no);
instance135drivers/scsi/t128.h#define NCR5380_setup(instance) \
instance136drivers/scsi/t128.hbase = (volatile unsigned char *) (instance)->base
instance146drivers/scsi/t128.h, instance->hostno, (reg), T128_address(reg))), *(T128_address(reg)))
instance150drivers/scsi/t128.hinstance->hostno, (value), (reg), T128_address(reg));  \