tag | line | file | source code |
instance | 340 | drivers/scsi/NCR5380.c | static void NCR5380_print(struct Scsi_Host *instance) { |
instance | 343 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 382 | drivers/scsi/NCR5380.c | static void NCR5380_print_phase(struct Scsi_Host *instance) { |
instance | 386 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 391 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 395 | drivers/scsi/NCR5380.c | printk("scsi%d : phase %s\n", instance->host_no, phases[i].name); |
instance | 516 | drivers/scsi/NCR5380.c | static int NCR5380_set_timer (struct Scsi_Host *instance) { |
instance | 520 | drivers/scsi/NCR5380.c | if (((struct NCR5380_hostdata *) (instance->host_data))->next_timer) { |
instance | 528 | drivers/scsi/NCR5380.c | if (instance->time_expires < tmp->time_expires) |
instance | 531 | drivers/scsi/NCR5380.c | instance->next_timer = tmp; |
instance | 532 | drivers/scsi/NCR5380.c | *prev = instance; |
instance | 541 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance; |
instance | 544 | drivers/scsi/NCR5380.c | instance = ((NCR5380_hostdata *) expires_first->host_data)-> |
instance | 550 | drivers/scsi/NCR5380.c | expires_first = instance; |
instance | 603 | drivers/scsi/NCR5380.c | static int NCR5380_probe_irq (struct Scsi_Host *instance, int possible) { |
instance | 606 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 609 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 657 | drivers/scsi/NCR5380.c | static void NCR5380_print_options (struct Scsi_Host *instance) { |
instance | 706 | drivers/scsi/NCR5380.c | static void NCR5380_init (struct Scsi_Host *instance) { |
instance | 710 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 711 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 715 | drivers/scsi/NCR5380.c | hostdata->id_mask = 1 << instance->this_id; |
instance | 730 | drivers/scsi/NCR5380.c | the_template = instance->hostt; |
instance | 731 | drivers/scsi/NCR5380.c | first_instance = instance; |
instance | 741 | drivers/scsi/NCR5380.c | if ((instance->cmd_per_lun > 1) || instance->can_queue > 1)) |
instance | 744 | drivers/scsi/NCR5380.c | " be incorrectly cleared.\n", instance->host_no); |
instance | 785 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 821 | drivers/scsi/NCR5380.c | printk("scsi%d : command added to %s of queue\n", instance->host_no, |
instance | 844 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance; |
instance | 863 | drivers/scsi/NCR5380.c | for (instance = first_instance; instance && instance->hostt == the_template; |
instance | 864 | drivers/scsi/NCR5380.c | instance=instance->next) { |
instance | 865 | drivers/scsi/NCR5380.c | hostdata = (struct NCR5380_hostdata *) instance->hostdata; |
instance | 869 | drivers/scsi/NCR5380.c | printk("scsi%d : not connected\n", instance->host_no); |
instance | 898 | drivers/scsi/NCR5380.c | instance->host_no, tmp->target, tmp->lun); |
instance | 907 | drivers/scsi/NCR5380.c | if (!NCR5380_select(instance, tmp, |
instance | 919 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 936 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 938 | drivers/scsi/NCR5380.c | NCR5380_information_transfer(instance); |
instance | 940 | drivers/scsi/NCR5380.c | printk("scsi%d : main() : done set false\n", instance->host_no); |
instance | 963 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance; |
instance | 971 | drivers/scsi/NCR5380.c | for (instance = first_instance; instance && (instance->hostt == |
instance | 972 | drivers/scsi/NCR5380.c | the_template); instance = instance->next) |
instance | 973 | drivers/scsi/NCR5380.c | if (instance->irq == irq) { |
instance | 976 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 981 | drivers/scsi/NCR5380.c | NCR5380_print(instance); |
instance | 988 | drivers/scsi/NCR5380.c | printk("scsi%d : SEL interrupt\n", instance->host_no); |
instance | 990 | drivers/scsi/NCR5380.c | NCR5380_reselect(instance); |
instance | 995 | drivers/scsi/NCR5380.c | printk("scsi%d : PARITY interrupt\n", instance->host_no); |
instance | 1018 | drivers/scsi/NCR5380.c | instance->hostno); |
instance | 1020 | drivers/scsi/NCR5380.c | transfered = (hostdata->dmalen - NCR5380_dma_residual(instance)); |
instance | 1078 | drivers/scsi/NCR5380.c | static int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, |
instance | 1082 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 1087 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 1090 | drivers/scsi/NCR5380.c | NCR5380_print(instance); |
instance | 1091 | drivers/scsi/NCR5380.c | printk("scsi%d : starting arbitration, id = %d\n", instance->host_no, |
instance | 1092 | drivers/scsi/NCR5380.c | instance->this_id); |
instance | 1110 | drivers/scsi/NCR5380.c | printk("scsi%d : arbitration complete\n", instance->host_no); |
instance | 1131 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1143 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1156 | drivers/scsi/NCR5380.c | printk("scsi%d : won arbitration\n", instance->host_no); |
instance | 1203 | drivers/scsi/NCR5380.c | printk("scsi%d : selecting target %d\n", instance->host_no, cmd->target); |
instance | 1230 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1255 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target); |
instance | 1257 | drivers/scsi/NCR5380.c | tmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun); |
instance | 1284 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
instance | 1286 | drivers/scsi/NCR5380.c | printk("scsi%d : nexus established.\n", instance->host_no); |
instance | 1325 | drivers/scsi/NCR5380.c | static int NCR5380_transfer_pio (struct Scsi_Host *instance, |
instance | 1331 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 1349 | drivers/scsi/NCR5380.c | printk("scsi%d : REQ detected\n", instance->host_no); |
instance | 1355 | drivers/scsi/NCR5380.c | printk("scsi%d : phase mismatch\n", instance->host_no); |
instance | 1356 | drivers/scsi/NCR5380.c | NCR5380_print_phase(instance); |
instance | 1381 | drivers/scsi/NCR5380.c | NCR5380_print(instance); |
instance | 1389 | drivers/scsi/NCR5380.c | NCR5380_print(instance); |
instance | 1396 | drivers/scsi/NCR5380.c | NCR5380_print(instance); |
instance | 1404 | drivers/scsi/NCR5380.c | printk("scsi%d : req false, handshake complete\n", instance->host_no); |
instance | 1414 | drivers/scsi/NCR5380.c | printk("scsi%d : residual %d\n", instance->host_no, c); |
instance | 1452 | drivers/scsi/NCR5380.c | static int NCR5380_transfer_dma (struct Scsi_Host *instance, |
instance | 1466 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 1468 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 1482 | drivers/scsi/NCR5380.c | instance->host_no, instance->dma_channel, (p & SR_IO) ? "reading" : |
instance | 1486 | drivers/scsi/NCR5380.c | NCR5380_dma_read_setup(instance, d, c) : |
instance | 1487 | drivers/scsi/NCR5380.c | NCR5380_dma_write_setup(instance, d, c); |
instance | 1510 | drivers/scsi/NCR5380.c | printk("scsi%d : mode reg = 0x%X\n", instance->host_no, NCR5380_read(MODE_REG)); |
instance | 1583 | drivers/scsi/NCR5380.c | instance->host_no, tmp, NCR5380_read(STATUS_REG)); |
instance | 1589 | drivers/scsi/NCR5380.c | residue = NCR5380_dma_residual(instance); |
instance | 1612 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, phase, &cnt, data); |
instance | 1627 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pread(instance, d, c - 1))) { |
instance | 1657 | drivers/scsi/NCR5380.c | if (!(foo = NCR5380_pwrite(instance, d, c))) { |
instance | 1683 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1693 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1736 | drivers/scsi/NCR5380.c | static void NCR5380_information_transfer (struct Scsi_Host *instance) { |
instance | 1739 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 1745 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 1755 | drivers/scsi/NCR5380.c | NCR5380_print_phase(instance); |
instance | 1763 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1780 | drivers/scsi/NCR5380.c | instance->host_no, cmd->SCp.this_residual, |
instance | 1798 | drivers/scsi/NCR5380.c | (transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) { |
instance | 1806 | drivers/scsi/NCR5380.c | if (NCR5380_transfer_dma(instance, &phase, |
instance | 1813 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
instance | 1822 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, |
instance | 1835 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
instance | 1854 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
instance | 1864 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
instance | 1877 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
instance | 1888 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
instance | 1918 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 1970 | drivers/scsi/NCR5380.c | " the disconnected_queue\n", instance->host_no, |
instance | 2017 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
instance | 2036 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, |
instance | 2042 | drivers/scsi/NCR5380.c | printk("scsi%d : issued command, sleeping until %ul\n", instance->host_no, |
instance | 2045 | drivers/scsi/NCR5380.c | NCR5380_set_timer (instance); |
instance | 2053 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
instance | 2057 | drivers/scsi/NCR5380.c | printk("scsi%d : unknown phase\n", instance->host_no); |
instance | 2059 | drivers/scsi/NCR5380.c | NCR5380_print(instance); |
instance | 2069 | drivers/scsi/NCR5380.c | printk("scsi%d : poll timed out, sleeping until %ul\n", instance->host_no, |
instance | 2072 | drivers/scsi/NCR5380.c | NCR5380_set_timer (instance); |
instance | 2092 | drivers/scsi/NCR5380.c | static void NCR5380_reselect (struct Scsi_Host *instance) { |
instance | 2095 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 2106 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 2111 | drivers/scsi/NCR5380.c | printk("scsi%d : reselect\n", instance->host_no); |
instance | 2137 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
instance | 2161 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 2191 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun, tag); |
instance | 2194 | drivers/scsi/NCR5380.c | instance->host_no, target_mask, lun); |
instance | 2210 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
instance | 2215 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun, cmd->tag); |
instance | 2233 | drivers/scsi/NCR5380.c | static void NCR5380_dma_complete (NCR5380_instance *instance) { |
instance | 2236 | drivers/scsi/NCR5380.c | instance->hostdata); |
instance | 2238 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 2261 | drivers/scsi/NCR5380.c | transferred = instance->dmalen - NCR5380_dma_residual(); |
instance | 2290 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance = cmd->host; |
instance | 2292 | drivers/scsi/NCR5380.c | instance->hostdata; |
instance | 2298 | drivers/scsi/NCR5380.c | NCR5380_setup(instance); |
instance | 2301 | drivers/scsi/NCR5380.c | printk("scsi%d : abort called\n", instance->host_no); |
instance | 2320 | drivers/scsi/NCR5380.c | instance->host_no); |
instance | 2340 | drivers/scsi/NCR5380.c | printk("scsi%d : abort failed, command connected.\n", instance->host_no); |
instance | 2375 | drivers/scsi/NCR5380.c | printk("scsi%d : aborting disconnected command.\n", instance->host_no); |
instance | 2378 | drivers/scsi/NCR5380.c | if (NCR5380_select (instance, cmd, (int) cmd->tag)) |
instance | 2382 | drivers/scsi/NCR5380.c | printk("scsi%d : nexus restablished.\n", instance->host_no); |
instance | 2390 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio (instance, &phase, &len, &msgptr); |
instance | 2419 | drivers/scsi/NCR5380.c | " before abortion\n", instance->host_no); |
instance | 242 | drivers/scsi/NCR5380.h | static int NCR5380_probe_irq (struct Scsi_Host *instance, int possible); |
instance | 244 | drivers/scsi/NCR5380.h | static void NCR5380_init (struct Scsi_Host *instance); |
instance | 245 | drivers/scsi/NCR5380.h | static void NCR5380_information_transfer (struct Scsi_Host *instance); |
instance | 248 | drivers/scsi/NCR5380.h | static void NCR5380_print_options (struct Scsi_Host *instance); |
instance | 263 | drivers/scsi/NCR5380.h | static void NCR5380_reselect (struct Scsi_Host *instance); |
instance | 264 | drivers/scsi/NCR5380.h | static int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag); |
instance | 266 | drivers/scsi/NCR5380.h | static int NCR5380_transfer_dma (struct Scsi_Host *instance, |
instance | 269 | drivers/scsi/NCR5380.h | static int NCR5380_transfer_pio (struct Scsi_Host *instance, |
instance | 273 | drivers/scsi/NCR5380.h | static __inline__ int NCR5380_i386_dma_setup (struct Scsi_Host *instance, |
instance | 277 | drivers/scsi/NCR5380.h | if (instance->dma_channel <=3) { |
instance | 290 | drivers/scsi/NCR5380.h | panic ("scsi%d : attmpted unaligned DMA transfer\n", instance->host_no); |
instance | 292 | drivers/scsi/NCR5380.h | disable_dma(instance->dma_channel); |
instance | 293 | drivers/scsi/NCR5380.h | clear_dma_ff(instance->dma_channel); |
instance | 294 | drivers/scsi/NCR5380.h | set_dma_addr(instance->dma_channel, (unsigned int) ptr); |
instance | 295 | drivers/scsi/NCR5380.h | set_dma_count(instance->dma_channel, count); |
instance | 296 | drivers/scsi/NCR5380.h | set_dma_mode(instance->dma_channel, mode); |
instance | 297 | drivers/scsi/NCR5380.h | enable_dma(instance->dma_channel); |
instance | 302 | drivers/scsi/NCR5380.h | static __inline__ int NCR5380_i386_dma_write_setup (struct Scsi_Host *instance, |
instance | 304 | drivers/scsi/NCR5380.h | return NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_WRITE); |
instance | 307 | drivers/scsi/NCR5380.h | static __inline__ int NCR5380_i386_dma_read_setup (struct Scsi_Host *instance, |
instance | 309 | drivers/scsi/NCR5380.h | return NCR5380_i386_dma_setup (instance, src, count, DMA_MODE_READ); |
instance | 312 | drivers/scsi/NCR5380.h | static __inline__ int NCR5380_i386_dma_residual (struct Scsi_Host *instance) { |
instance | 315 | drivers/scsi/NCR5380.h | clear_dma_ff(instance->dma_channel); |
instance | 316 | drivers/scsi/NCR5380.h | tmp = get_dma_residue(instance->dma_channel); |
instance | 128 | drivers/scsi/g_NCR5380.c | struct Scsi_Host *instance; |
instance | 134 | drivers/scsi/g_NCR5380.c | instance = scsi_register (hostno, sizeof(struct NCR5380_hostdata)); |
instance | 135 | drivers/scsi/g_NCR5380.c | instance->io_port = overrides[current_override].port; |
instance | 137 | drivers/scsi/g_NCR5380.c | NCR5380_init(instance); |
instance | 140 | drivers/scsi/g_NCR5380.c | instance->irq = overrides[current_override].irq; |
instance | 142 | drivers/scsi/g_NCR5380.c | instance->irq = NCR5380_probe_irq(instance, 0xffff); |
instance | 144 | drivers/scsi/g_NCR5380.c | if (instance->irq != IRQ_NONE) |
instance | 145 | drivers/scsi/g_NCR5380.c | if (irqaction (instance->irq, &sa)) { |
instance | 147 | drivers/scsi/g_NCR5380.c | hostno, instance->irq); |
instance | 148 | drivers/scsi/g_NCR5380.c | instance->irq = IRQ_NONE; |
instance | 151 | drivers/scsi/g_NCR5380.c | if (instance->irq == IRQ_NONE) { |
instance | 156 | drivers/scsi/g_NCR5380.c | printk("scsi%d : at port %d", instance->host_no, instance->io_port); |
instance | 157 | drivers/scsi/g_NCR5380.c | if (instance->irq == IRQ_NONE) |
instance | 160 | drivers/scsi/g_NCR5380.c | printk (" irq %d", instance->irq); |
instance | 163 | drivers/scsi/g_NCR5380.c | NCR5380_print_options(instance); |
instance | 71 | drivers/scsi/g_NCR5380.h | #define NCR5380_setup(instance) \ |
instance | 72 | drivers/scsi/g_NCR5380.h | port = (instance)->io_port |
instance | 296 | drivers/scsi/pas16.c | struct Scsi_Host *instance; |
instance | 332 | drivers/scsi/pas16.c | instance = scsi_register (hostno, sizeof(struct NCR5380_hostdata)); |
instance | 333 | drivers/scsi/pas16.c | instance->io_port = io_port; |
instance | 335 | drivers/scsi/pas16.c | NCR5380_init(instance); |
instance | 338 | drivers/scsi/pas16.c | instance->irq = overrides[current_override].irq; |
instance | 340 | drivers/scsi/pas16.c | instance->irq = NCR5380_probe_irq(instance, PAS16_IRQS); |
instance | 342 | drivers/scsi/pas16.c | if (instance->irq != IRQ_NONE) |
instance | 343 | drivers/scsi/pas16.c | if (irqaction (instance->irq, &pas16_sigaction)) { |
instance | 345 | drivers/scsi/pas16.c | hostno, instance->irq); |
instance | 346 | drivers/scsi/pas16.c | instance->irq = IRQ_NONE; |
instance | 349 | drivers/scsi/pas16.c | if (instance->irq == IRQ_NONE) { |
instance | 355 | drivers/scsi/pas16.c | printk("scsi%d : irq = %d\n", hostno, instance->irq); |
instance | 358 | drivers/scsi/pas16.c | printk("scsi%d : at 0x%04x", instance->host_no, (int) |
instance | 359 | drivers/scsi/pas16.c | instance->io_port); |
instance | 360 | drivers/scsi/pas16.c | if (instance->irq == IRQ_NONE) |
instance | 363 | drivers/scsi/pas16.c | printk (" irq %d", instance->irq); |
instance | 366 | drivers/scsi/pas16.c | NCR5380_print_options(instance); |
instance | 417 | drivers/scsi/pas16.c | static inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst, |
instance | 420 | drivers/scsi/pas16.c | register unsigned short reg = (unsigned short) (instance->io_port + |
instance | 424 | drivers/scsi/pas16.c | while ( inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY ); |
instance | 429 | drivers/scsi/pas16.c | if ( inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
instance | 430 | drivers/scsi/pas16.c | outb( P_TS_CT, instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET); |
instance | 432 | drivers/scsi/pas16.c | instance->host_no); |
instance | 451 | drivers/scsi/pas16.c | static inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src, |
instance | 454 | drivers/scsi/pas16.c | register unsigned short reg = (instance->io_port + P_DATA_REG_OFFSET); |
instance | 457 | drivers/scsi/pas16.c | while ( ( inb( instance->io_port + P_STATUS_REG_OFFSET ) ) & P_ST_RDY ); |
instance | 461 | drivers/scsi/pas16.c | if (inb(instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET) & P_TS_TIM) { |
instance | 462 | drivers/scsi/pas16.c | outb( P_TS_CT, instance->io_port + P_TIMEOUT_STATUS_REG_OFFSET); |
instance | 464 | drivers/scsi/pas16.c | instance->host_no); |
instance | 158 | drivers/scsi/pas16.h | #define NCR5380_setup(instance) \ |
instance | 159 | drivers/scsi/pas16.h | io_port = (instance)->io_port |
instance | 169 | drivers/scsi/pas16.h | , instance->hostno, (reg), PAS16_io_port(reg))), inb( PAS16_io_port(reg)) ) |
instance | 173 | drivers/scsi/pas16.h | instance->hostno, (value), (reg), PAS16_io_port(reg)), \ |
instance | 198 | drivers/scsi/t128.c | struct Scsi_Host *instance; |
instance | 231 | drivers/scsi/t128.c | instance = scsi_register (hostno, sizeof(struct NCR5380_hostdata)); |
instance | 232 | drivers/scsi/t128.c | instance->base = base; |
instance | 234 | drivers/scsi/t128.c | NCR5380_init(instance); |
instance | 237 | drivers/scsi/t128.c | instance->irq = overrides[current_override].irq; |
instance | 239 | drivers/scsi/t128.c | instance->irq = NCR5380_probe_irq(instance, T128_IRQS); |
instance | 241 | drivers/scsi/t128.c | if (instance->irq != IRQ_NONE) |
instance | 242 | drivers/scsi/t128.c | if (irqaction (instance->irq, &t128_sigaction)) { |
instance | 244 | drivers/scsi/t128.c | hostno, instance->irq); |
instance | 245 | drivers/scsi/t128.c | instance->irq = IRQ_NONE; |
instance | 248 | drivers/scsi/t128.c | if (instance->irq == IRQ_NONE) { |
instance | 254 | drivers/scsi/t128.c | printk("scsi%d : irq = %d\n", hostno, instance->irq); |
instance | 257 | drivers/scsi/t128.c | printk("scsi%d : at 0x%08x", instance->host_no, (int) |
instance | 258 | drivers/scsi/t128.c | instance->base); |
instance | 259 | drivers/scsi/t128.c | if (instance->irq == IRQ_NONE) |
instance | 262 | drivers/scsi/t128.c | printk (" irq %d", instance->irq); |
instance | 265 | drivers/scsi/t128.c | NCR5380_print_options(instance); |
instance | 316 | drivers/scsi/t128.c | static inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst, |
instance | 318 | drivers/scsi/t128.c | register unsigned char *reg = (unsigned char *) (instance->base + |
instance | 322 | drivers/scsi/t128.c | while (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY); |
instance | 327 | drivers/scsi/t128.c | if (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) { |
instance | 330 | drivers/scsi/t128.c | foo = instance->base + T_CONTROL_REG_OFFSET; |
instance | 335 | drivers/scsi/t128.c | instance->host_no); |
instance | 354 | drivers/scsi/t128.c | static inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src, |
instance | 356 | drivers/scsi/t128.c | register unsigned char *reg = (unsigned char *) (instance->base + |
instance | 360 | drivers/scsi/t128.c | while (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY); |
instance | 364 | drivers/scsi/t128.c | if (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) { |
instance | 367 | drivers/scsi/t128.c | foo = instance->base + T_CONTROL_REG_OFFSET; |
instance | 372 | drivers/scsi/t128.c | instance->host_no); |
instance | 135 | drivers/scsi/t128.h | #define NCR5380_setup(instance) \ |
instance | 136 | drivers/scsi/t128.h | base = (volatile unsigned char *) (instance)->base |
instance | 146 | drivers/scsi/t128.h | , instance->hostno, (reg), T128_address(reg))), *(T128_address(reg))) |
instance | 150 | drivers/scsi/t128.h | instance->hostno, (value), (reg), T128_address(reg)); \ |