Lines Matching defs:nsp_dbg
100 # define nsp_dbg(mask, args...) /* */
105 # define nsp_dbg(mask, args...) \
195 nsp_dbg(NSP_DEBUG_QUEUECOMMAND,
199 //nsp_dbg(NSP_DEBUG_QUEUECOMMAND, "before CurrentSC=0x%p", data->CurrentSC);
251 nsp_dbg(NSP_DEBUG_QUEUECOMMAND, "selection fail");
258 //nsp_dbg(NSP_DEBUG_QUEUECOMMAND, "out");
275 //nsp_dbg(NSP_DEBUG_DATA_IO, "enabled=%d", enabled);
309 nsp_dbg(NSP_DEBUG_INIT, "in base=0x%x", base);
372 //nsp_dbg(NSP_DEBUG_RESELECTION, "in");
376 //nsp_dbg(NSP_DEBUG_RESELECTION, "bus busy");
381 //nsp_dbg(NSP_DEBUG_RESELECTION, "start arbit");
389 //nsp_dbg(NSP_DEBUG_RESELECTION, "arbit=%d, wait_count=%d", arbit, wait_count);
395 //nsp_dbg(NSP_DEBUG_RESELECTION, "arbit fail");
401 //nsp_dbg(NSP_DEBUG_RESELECTION, "assert SEL line");
455 nsp_dbg(NSP_DEBUG_SYNC, "in");
460 nsp_dbg(NSP_DEBUG_SYNC, "period=0x%x, offset=0x%x", period, offset);
479 nsp_dbg(NSP_DEBUG_SYNC, "no proper period/offset");
493 nsp_dbg(NSP_DEBUG_SYNC, "sync_reg=0x%x, ack_width=0x%x", sync->SyncRegister, sync->AckWidth);
507 //nsp_dbg(NSP_DEBUG_INTR, "in SCpnt=0x%p, time=%d", SCpnt, time);
522 //nsp_dbg(NSP_DEBUG_INTR, "in");
551 //nsp_dbg(NSP_DEBUG_INTR, "current_phase=0x%x, mask=0x%x", current_phase, mask);
557 //nsp_dbg(NSP_DEBUG_INTR, "ret -1");
562 //nsp_dbg(NSP_DEBUG_INTR, "ret 0 found scsi signal");
566 //nsp_dbg(NSP_DEBUG_INTR, "ret 1 phase=0x%x", phase);
571 //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");
623 //nsp_dbg(NSP_DEBUG_DATA_IO, "in");
631 //nsp_dbg(NSP_DEBUG_DATA_IO, "not use bypass quirk");
639 nsp_dbg(NSP_DEBUG_DATA_IO, "use bypass quirk");
659 nsp_dbg(NSP_DEBUG_RESELECTION, "in");
704 //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",
742 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this=0x%x ocount=0x%x res=0x%x", SCpnt->SCp.ptr, SCpnt->SCp.this_residual, ocount, res);
745 //nsp_dbg(NSP_DEBUG_DATA_IO, " wait for data this=%d", SCpnt->SCp.this_residual);
748 nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x", stat);
776 nsp_dbg(NSP_DEBUG_DATA_IO, "unknown read mode");
784 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this_residual=0x%x ocount=0x%x", SCpnt->SCp.ptr, SCpnt->SCp.this_residual, ocount);
789 //nsp_dbg(NSP_DEBUG_DATA_IO, "scatterlist next timeout=%d", time_out);
796 //nsp_dbg(NSP_DEBUG_DATA_IO, "page: 0x%p, off: 0x%x", SCpnt->SCp.buffer->page, SCpnt->SCp.buffer->offset);
807 nsp_dbg(NSP_DEBUG_DATA_IO, "read ocount=0x%x", ocount);
808 nsp_dbg(NSP_DEBUG_DATA_IO, "r cmd=%d resid=0x%x\n", data->CmdId,
826 nsp_dbg(NSP_DEBUG_DATA_IO, "in fifocount=%d ptr=0x%p this_residual=%d buffers=0x%p nbuf=%d resid=0x%x",
841 nsp_dbg(NSP_DEBUG_DATA_IO, "phase changed stat=0x%x, res=%d\n", stat, res);
853 nsp_dbg(NSP_DEBUG_DATA_IO, "wait for all data out. ocount=0x%x res=%d", ocount, res);
859 //nsp_dbg(NSP_DEBUG_DATA_IO, "ptr=0x%p this=0x%x res=0x%x", SCpnt->SCp.ptr, SCpnt->SCp.this_residual, res);
875 nsp_dbg(NSP_DEBUG_DATA_IO, "unknown write mode");
887 //nsp_dbg(NSP_DEBUG_DATA_IO, "scatterlist next");
902 nsp_dbg(NSP_DEBUG_DATA_IO, "write ocount=0x%x", ocount);
903 nsp_dbg(NSP_DEBUG_DATA_IO, "w cmd=%d resid=0x%x\n", data->CmdId,
920 //nsp_dbg(NSP_DEBUG_DATA_IO, "in SCpnt=0x%p", SCpnt);
965 //nsp_dbg(NSP_DEBUG_INTR, "dev_id=0x%p", dev_id);
966 //nsp_dbg(NSP_DEBUG_INTR, "host=0x%p", ((scsi_info_t *)dev_id)->host);
974 nsp_dbg(NSP_DEBUG_INTR, "host data wrong");
978 //nsp_dbg(NSP_DEBUG_INTR, "&nsp_data_base=0x%p, dev_id=0x%p", &nsp_data_base, dev_id);
981 //nsp_dbg(NSP_DEBUG_INTR, "base=0x%x", base);
988 //nsp_dbg(NSP_DEBUG_INTR, "irq_status=0x%x", irq_status);
991 //nsp_dbg(NSP_DEBUG_INTR, "no irq/shared irq");
1006 //nsp_dbg(NSP_DEBUG_INTR, "irq_phase=0x%x", irq_phase);
1011 //nsp_dbg(NSP_DEBUG_INTR, "timercount=%d", data->TimerCount);
1013 //nsp_dbg(NSP_DEBUG_INTR, "stop timer");
1021 //nsp_dbg(NSP_DEBUG_INTR, "timer start");
1062 nsp_dbg(NSP_DEBUG_INTR, "reselect");
1080 //nsp_dbg(NSP_DEBUG_INTR, "selection count=%d", data->SelectionTimeOut);
1082 nsp_dbg(NSP_DEBUG_INTR, "selection time out");
1097 //nsp_dbg(NSP_DEBUG_INTR, "attention assert");
1108 //nsp_dbg(NSP_DEBUG_INTR, "phase reselect");
1127 //nsp_dbg(NSP_DEBUG_INTR, "start scsi seq");
1132 nsp_dbg(NSP_DEBUG_INTR, "normal disconnect irq_status=0x%x, phase=0x%x, irq_phase=0x%x", irq_status, phase, irq_phase);
1141 nsp_dbg(NSP_DEBUG_INTR, "command complete result=0x%x", tmpSC->result);
1163 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_COMMAND");
1165 nsp_dbg(NSP_DEBUG_INTR, "REQ == 0");
1174 nsp_dbg(NSP_DEBUG_INTR, "cmd_len=%d", tmpSC->cmd_len);
1183 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_DATA_OUT");
1193 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_DATA_IN");
1204 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_STATUS");
1209 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x status=0x%x", tmpSC->SCp.Message, tmpSC->SCp.Status);
1214 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_MESSAGE_OUT");
1247 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE_MESSAGE_IN");
1257 //nsp_dbg(NSP_DEBUG_INTR, "sync target=%d,lun=%d",target,lun);
1265 //nsp_dbg(NSP_DEBUG_INTR, "sync ok, %d %d", data->MsgBuffer[3], data->MsgBuffer[4]);
1286 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d", tmpSC->SCp.Message, data->MsgLen);
1293 nsp_dbg(NSP_DEBUG_INTR, "BUSPHASE other");
1298 //nsp_dbg(NSP_DEBUG_INTR, "out");
1318 nsp_dbg(NSP_DEBUG_INIT, "this_id=%d", sht->this_id);
1321 nsp_dbg(NSP_DEBUG_INIT, "host failed");
1332 nsp_dbg(NSP_DEBUG_INIT, "irq=%d,%d", data_b->IrqNumber, ((nsp_hw_data *)host->hostdata)->IrqNumber);
1350 nsp_dbg(NSP_DEBUG_INIT, "end");
1453 nsp_dbg(NSP_DEBUG_BUSRESET, "SCpnt=0x%p", SCpnt);
1483 nsp_dbg(NSP_DEBUG_BUSRESET, "SCpnt=0x%p", SCpnt);
1492 nsp_dbg(NSP_DEBUG_BUSRESET, "in");
1510 nsp_dbg(NSP_DEBUG_INIT, "in");
1519 nsp_dbg(NSP_DEBUG_INIT, "info=0x%p", info);
1523 nsp_dbg(NSP_DEBUG_INIT, "link=0x%p", link);
1530 nsp_dbg(NSP_DEBUG_INIT, "in, link=0x%p", link);
1572 nsp_dbg(NSP_DEBUG_INIT, "next");
1584 nsp_dbg(NSP_DEBUG_INIT, "in");
1617 nsp_dbg(NSP_DEBUG_INIT, "I/O[0x%x+0x%x] IRQ %d",
1627 nsp_dbg(NSP_DEBUG_INIT, "detect failed");
1643 nsp_dbg(NSP_DEBUG_INIT, "config fail");
1661 nsp_dbg(NSP_DEBUG_INIT, "link=0x%p", link);
1685 nsp_dbg(NSP_DEBUG_INIT, "event: suspend");
1705 nsp_dbg(NSP_DEBUG_INIT, "event: resume");