Lines Matching defs:nsp_dbg

104 # define nsp_dbg(mask, args...) /* */
109 # define nsp_dbg(mask, args...) \
199 nsp_dbg(NSP_DEBUG_QUEUECOMMAND,
203 //nsp_dbg(NSP_DEBUG_QUEUECOMMAND, "before CurrentSC=0x%p", data->CurrentSC);
253 nsp_dbg(NSP_DEBUG_QUEUECOMMAND, "selection fail");
260 //nsp_dbg(NSP_DEBUG_QUEUECOMMAND, "out");
277 //nsp_dbg(NSP_DEBUG_DATA_IO, "enabled=%d", enabled);
311 nsp_dbg(NSP_DEBUG_INIT, "in base=0x%x", base);
373 //nsp_dbg(NSP_DEBUG_RESELECTION, "in");
377 //nsp_dbg(NSP_DEBUG_RESELECTION, "bus busy");
382 //nsp_dbg(NSP_DEBUG_RESELECTION, "start arbit");
390 //nsp_dbg(NSP_DEBUG_RESELECTION, "arbit=%d, wait_count=%d", arbit, wait_count);
396 //nsp_dbg(NSP_DEBUG_RESELECTION, "arbit fail");
402 //nsp_dbg(NSP_DEBUG_RESELECTION, "assert SEL line");
454 nsp_dbg(NSP_DEBUG_SYNC, "in");
459 nsp_dbg(NSP_DEBUG_SYNC, "period=0x%x, offset=0x%x", period, offset);
478 nsp_dbg(NSP_DEBUG_SYNC, "no proper period/offset");
492 nsp_dbg(NSP_DEBUG_SYNC, "sync_reg=0x%x, ack_width=0x%x", sync->SyncRegister, sync->AckWidth);
506 //nsp_dbg(NSP_DEBUG_INTR, "in SCpnt=0x%p, time=%d", SCpnt, time);
521 //nsp_dbg(NSP_DEBUG_INTR, "in");
550 //nsp_dbg(NSP_DEBUG_INTR, "current_phase=0x%x, mask=0x%x", current_phase, mask);
556 //nsp_dbg(NSP_DEBUG_INTR, "ret -1");
561 //nsp_dbg(NSP_DEBUG_INTR, "ret 0 found scsi signal");
565 //nsp_dbg(NSP_DEBUG_INTR, "ret 1 phase=0x%x", phase);
570 //nsp_dbg(NSP_DEBUG_INTR, "timeout");
587 //nsp_dbg(NSP_DEBUG_DATA_IO, "in");
592 nsp_dbg(NSP_DEBUG_DATA_IO, "xfer quit");
603 nsp_dbg(NSP_DEBUG_DATA_IO, "read msg");
606 nsp_dbg(NSP_DEBUG_DATA_IO, "write msg");
624 //nsp_dbg(NSP_DEBUG_DATA_IO, "in");
632 //nsp_dbg(NSP_DEBUG_DATA_IO, "not use bypass quirk");
640 nsp_dbg(NSP_DEBUG_DATA_IO, "use bypass quirk");
660 nsp_dbg(NSP_DEBUG_RESELECTION, "in");
703 //nsp_dbg(NSP_DEBUG_DATA_IO, "count=0x%x", count);
727 nsp_dbg(NSP_DEBUG_DATA_IO, "in SCpnt=0x%p resid=%d ocount=%d ptr=0x%p this_residual=%d buffers=0x%p nbuf=%d",
743 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this=0x%x ocount=0x%x res=0x%x", scsi_pointer->ptr, scsi_pointer->this_residual, ocount, res);
746 //nsp_dbg(NSP_DEBUG_DATA_IO, " wait for data this=%d", scsi_pointer->this_residual);
749 nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x", stat);
778 nsp_dbg(NSP_DEBUG_DATA_IO, "unknown read mode");
786 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this_residual=0x%x ocount=0x%x", scsi_pointer->ptr, scsi_pointer->this_residual, ocount);
791 //nsp_dbg(NSP_DEBUG_DATA_IO, "scatterlist next timeout=%d", time_out);
799 //nsp_dbg(NSP_DEBUG_DATA_IO, "page: 0x%p, off: 0x%x", scsi_pointer->buffer->page, scsi_pointer->buffer->offset);
810 nsp_dbg(NSP_DEBUG_DATA_IO, "read ocount=0x%x", ocount);
811 nsp_dbg(NSP_DEBUG_DATA_IO, "r cmd=%d resid=0x%x\n", data->CmdId,
830 nsp_dbg(NSP_DEBUG_DATA_IO, "in fifocount=%d ptr=0x%p this_residual=%d buffers=0x%p nbuf=%d resid=0x%x",
846 nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x, res=%d\n", stat, res);
858 nsp_dbg(NSP_DEBUG_DATA_IO, "wait for all data out. ocount=0x%x res=%d", ocount, res);
864 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this=0x%x res=0x%x", scsi_pointer->ptr, scsi_pointer->this_residual, res);
881 nsp_dbg(NSP_DEBUG_DATA_IO, "unknown write mode");
893 //nsp_dbg(NSP_DEBUG_DATA_IO, "scatterlist next");
909 nsp_dbg(NSP_DEBUG_DATA_IO, "write ocount=0x%x", ocount);
910 nsp_dbg(NSP_DEBUG_DATA_IO, "w cmd=%d resid=0x%x\n", data->CmdId,
927 //nsp_dbg(NSP_DEBUG_DATA_IO, "in SCpnt=0x%p", SCpnt);
973 //nsp_dbg(NSP_DEBUG_INTR, "dev_id=0x%p", dev_id);
974 //nsp_dbg(NSP_DEBUG_INTR, "host=0x%p", ((scsi_info_t *)dev_id)->host);
982 nsp_dbg(NSP_DEBUG_INTR, "host data wrong");
986 //nsp_dbg(NSP_DEBUG_INTR, "&nsp_data_base=0x%p, dev_id=0x%p", &nsp_data_base, dev_id);
989 //nsp_dbg(NSP_DEBUG_INTR, "base=0x%x", base);
996 //nsp_dbg(NSP_DEBUG_INTR, "irq_status=0x%x", irq_status);
999 //nsp_dbg(NSP_DEBUG_INTR, "no irq/shared irq");
1014 //nsp_dbg(NSP_DEBUG_INTR, "irq_phase=0x%x", irq_phase);
1019 //nsp_dbg(NSP_DEBUG_INTR, "timercount=%d", data->TimerCount);
1021 //nsp_dbg(NSP_DEBUG_INTR, "stop timer");
1029 //nsp_dbg(NSP_DEBUG_INTR, "timer start");
1072 nsp_dbg(NSP_DEBUG_INTR, "reselect");
1089 //nsp_dbg(NSP_DEBUG_INTR, "selection count=%d", data->SelectionTimeOut);
1091 nsp_dbg(NSP_DEBUG_INTR, "selection time out");
1106 //nsp_dbg(NSP_DEBUG_INTR, "attention assert");
1115 //nsp_dbg(NSP_DEBUG_INTR, "phase reselect");
1134 //nsp_dbg(NSP_DEBUG_INTR, "start scsi seq");
1140 nsp_dbg(NSP_DEBUG_INTR, "normal disconnect irq_status=0x%x, phase=0x%x, irq_phase=0x%x", irq_status, phase, irq_phase);
1149 nsp_dbg(NSP_DEBUG_INTR, "command complete result=0x%x", tmpSC->result);
1171 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_COMMAND");
1173 nsp_dbg(NSP_DEBUG_INTR, "REQ == 0");
1182 nsp_dbg(NSP_DEBUG_INTR, "cmd_len=%d", tmpSC->cmd_len);
1191 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_DATA_OUT");
1201 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_DATA_IN");
1212 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_STATUS");
1217 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x status=0x%x",
1223 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_MESSAGE_OUT");
1256 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_MESSAGE_IN");
1266 //nsp_dbg(NSP_DEBUG_INTR, "sync target=%d,lun=%d",target,lun);
1274 //nsp_dbg(NSP_DEBUG_INTR, "sync ok, %d %d", data->MsgBuffer[3], data->MsgBuffer[4]);
1295 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d",
1303 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE other");
1308 //nsp_dbg(NSP_DEBUG_INTR, "out");
1328 nsp_dbg(NSP_DEBUG_INIT, "this_id=%d", sht->this_id);
1331 nsp_dbg(NSP_DEBUG_INIT, "host failed");
1342 nsp_dbg(NSP_DEBUG_INIT, "irq=%d,%d", data_b->IrqNumber, ((nsp_hw_data *)host->hostdata)->IrqNumber);
1360 nsp_dbg(NSP_DEBUG_INIT, "end");
1463 nsp_dbg(NSP_DEBUG_BUSRESET, "SCpnt=0x%p", SCpnt);
1493 nsp_dbg(NSP_DEBUG_BUSRESET, "SCpnt=0x%p", SCpnt);
1502 nsp_dbg(NSP_DEBUG_BUSRESET, "in");
1520 nsp_dbg(NSP_DEBUG_INIT, "in");
1529 nsp_dbg(NSP_DEBUG_INIT, "info=0x%p", info);
1533 nsp_dbg(NSP_DEBUG_INIT, "link=0x%p", link);
1540 nsp_dbg(NSP_DEBUG_INIT, "in, link=0x%p", link);
1585 nsp_dbg(NSP_DEBUG_INIT, "next");
1597 nsp_dbg(NSP_DEBUG_INIT, "in");
1630 nsp_dbg(NSP_DEBUG_INIT, "I/O[0x%x+0x%x] IRQ %d",
1638 nsp_dbg(NSP_DEBUG_INIT, "detect failed");
1654 nsp_dbg(NSP_DEBUG_INIT, "config fail");
1672 nsp_dbg(NSP_DEBUG_INIT, "link=0x%p", link);
1696 nsp_dbg(NSP_DEBUG_INIT, "event: suspend");
1716 nsp_dbg(NSP_DEBUG_INIT, "event: resume");