Lines Matching refs:HOSTNO

270 #define	HOSTNO		instance->host_no  macro
616 printk(KERN_DEBUG "scsi%d: REQ not asserted, phase unknown.\n", HOSTNO); in NCR5380_print_phase()
620 printk(KERN_DEBUG "scsi%d: phase %s\n", HOSTNO, phases[i].name); in NCR5380_print_phase()
729 len = NCR5380_proc_info(pr_bfr, &start, 0, PAGE_SIZE, HOSTNO, 0); in NCR5380_print_status()
774 for (instance = first_instance; instance && HOSTNO != hostno; in NCR5380_proc_info()
791 SPRINTF("scsi%d: no currently connected command\n", HOSTNO); in NCR5380_proc_info()
795 SPRINTF("scsi%d: issue_queue\n", HOSTNO); in NCR5380_proc_info()
802 SPRINTF("scsi%d: disconnected_queue\n", HOSTNO); in NCR5380_proc_info()
885 " be incorrectly cleared.\n", HOSTNO); in NCR5380_init()
1076 MAIN_PRINTK( "scsi%d: not connected\n", HOSTNO ); in NCR5380_main()
1126 HOSTNO, tmp->target, tmp->lun); in NCR5380_main()
1154 "returned to issue_queue\n", HOSTNO); in NCR5380_main()
1168 HOSTNO); in NCR5380_main()
1170 MAIN_PRINTK("scsi%d: main: done set false\n", HOSTNO); in NCR5380_main()
1203 "no connected cmd\n", HOSTNO); in NCR5380_dma_complete()
1208 HOSTNO, NCR5380_read(BUS_AND_STATUS_REG), in NCR5380_dma_complete()
1212 printk("scsi%d: overrun in UDC counter -- not prepared to deal with this!\n", HOSTNO); in NCR5380_dma_complete()
1222 printk("scsi%d: BASR %02x\n", HOSTNO, NCR5380_read(BUS_AND_STATUS_REG)); in NCR5380_dma_complete()
1224 "overrun!\n", HOSTNO); in NCR5380_dma_complete()
1266 INT_PRINTK("scsi%d: NCR5380 irq triggered\n", HOSTNO); in NCR5380_intr()
1270 INT_PRINTK("scsi%d: BASR=%02x\n", HOSTNO, basr); in NCR5380_intr()
1277 INT_PRINTK("scsi%d: SEL interrupt\n", HOSTNO); in NCR5380_intr()
1282 INT_PRINTK("scsi%d: PARITY interrupt\n", HOSTNO); in NCR5380_intr()
1286 INT_PRINTK("scsi%d: RESET interrupt\n", HOSTNO); in NCR5380_intr()
1306 INT_PRINTK("scsi%d: PHASE MISM or EOP interrupt\n", HOSTNO); in NCR5380_intr()
1317 HOSTNO, basr, NCR5380_read(MODE_REG), in NCR5380_intr()
1329 "BASR 0x%X, MR 0x%X, SR 0x%x\n", HOSTNO, basr, in NCR5380_intr()
1338 INT_PRINTK("scsi%d: in int routine, calling main\n", HOSTNO); in NCR5380_intr()
1412 ARB_PRINTK("scsi%d: starting arbitration, id = %d\n", HOSTNO, in NCR5380_select()
1459 ARB_PRINTK("scsi%d: arbitration complete\n", HOSTNO); in NCR5380_select()
1481 HOSTNO); in NCR5380_select()
1496 HOSTNO); in NCR5380_select()
1518 ARB_PRINTK("scsi%d: won arbitration\n", HOSTNO); in NCR5380_select()
1578 SEL_PRINTK("scsi%d: selecting target %d\n", HOSTNO, cmd->target); in NCR5380_select()
1609 HOSTNO); in NCR5380_select()
1630 printk(KERN_ERR "scsi%d: weirdness\n", HOSTNO); in NCR5380_select()
1646 SEL_PRINTK("scsi%d: target did not respond within 250ms\n", HOSTNO); in NCR5380_select()
1672 HOSTNO, cmd->target); in NCR5380_select()
1691 SEL_PRINTK("scsi%d: nexus established.\n", HOSTNO); in NCR5380_select()
1754 HSH_PRINTK("scsi%d: REQ detected\n", HOSTNO); in NCR5380_transfer_pio()
1758 PIO_PRINTK("scsi%d: phase mismatch\n", HOSTNO); in NCR5380_transfer_pio()
1799 HSH_PRINTK("scsi%d: req false, handshake complete\n", HOSTNO); in NCR5380_transfer_pio()
1820 PIO_PRINTK("scsi%d: residual %d\n", HOSTNO, c); in NCR5380_transfer_pio()
1923 printk("scsi%d: transfer_dma without setup!\n", HOSTNO); in NCR5380_transfer_dma()
1929 HOSTNO, (p & SR_IO) ? "reading" : "writing", in NCR5380_transfer_dma()
2054 "aborted\n", HOSTNO); in NCR5380_information_transfer()
2077 HOSTNO, cmd->SCp.this_residual, in NCR5380_information_transfer()
2110 "lun %d to slow handshake\n", HOSTNO, in NCR5380_information_transfer()
2169 "complete.\n", HOSTNO, cmd->target, cmd->lun); in NCR5380_information_transfer()
2182 HOSTNO, cmd->target, cmd->lun); in NCR5380_information_transfer()
2195 HOSTNO, cmd->target, cmd->lun); in NCR5380_information_transfer()
2209 "completed\n", HOSTNO, cmd->target, cmd->lun); in NCR5380_information_transfer()
2224 HOSTNO, cmd->target, cmd->lun, in NCR5380_information_transfer()
2260 HOSTNO); in NCR5380_information_transfer()
2326 HOSTNO, cmd->target, cmd->lun); in NCR5380_information_transfer()
2343 "disconnected_queue\n", HOSTNO, in NCR5380_information_transfer()
2394 EXT_PRINTK("scsi%d: receiving extended message\n", HOSTNO); in NCR5380_information_transfer()
2400 EXT_PRINTK("scsi%d: length=%d, code=0x%02x\n", HOSTNO, in NCR5380_information_transfer()
2413 HOSTNO, len); in NCR5380_information_transfer()
2424 "extended message\n", HOSTNO); in NCR5380_information_transfer()
2429 HOSTNO, extended_msg[2], extended_msg[1]); in NCR5380_information_transfer()
2440 printk(KERN_DEBUG "scsi%d: rejecting message ", HOSTNO); in NCR5380_information_transfer()
2446 HOSTNO, tmp, cmd->target, cmd->lun); in NCR5380_information_transfer()
2451 HOSTNO, extended_msg[1], extended_msg[0], in NCR5380_information_transfer()
2501 printk("scsi%d: unknown phase\n", HOSTNO); in NCR5380_information_transfer()
2544 RSL_PRINTK("scsi%d: reselect\n", HOSTNO); in NCR5380_reselect()
2575 printk(KERN_DEBUG "scsi%d: expecting IDENTIFY message, got ", HOSTNO); in NCR5380_reselect()
2612 HOSTNO, target_mask, lun in NCR5380_reselect()
2669 "reselection\n", HOSTNO, target_mask, lun, tag); in NCR5380_reselect()
2675 HOSTNO, tmp->target, tmp->lun, tmp->tag); in NCR5380_reselect()
2703 printk(KERN_NOTICE "scsi%d: aborting command\n", HOSTNO); in NCR5380_abort()
2711 ABRT_PRINTK("scsi%d: abort called basr 0x%02x, sr 0x%02x\n", HOSTNO, in NCR5380_abort()
2724 ABRT_PRINTK("scsi%d: aborting connected command\n", HOSTNO); in NCR5380_abort()
2756 printk("scsi%d: abort of connected command failed!\n", HOSTNO); in NCR5380_abort()
2776 HOSTNO); in NCR5380_abort()
2796 ABRT_PRINTK("scsi%d: abort failed, command connected.\n", HOSTNO); in NCR5380_abort()
2829 ABRT_PRINTK("scsi%d: aborting disconnected command.\n", HOSTNO); in NCR5380_abort()
2834 ABRT_PRINTK("scsi%d: nexus reestablished.\n", HOSTNO); in NCR5380_abort()
2875 KERN_INFO " before abortion\n", HOSTNO); in NCR5380_abort()