Lines Matching refs:asd_ha
265 static void asd_dump_cseq_state(struct asd_ha_struct *asd_ha) in asd_dump_cseq_state() argument
273 PRINT_CREG_32bit(asd_ha, ARP2CTL); in asd_dump_cseq_state()
274 PRINT_CREG_32bit(asd_ha, ARP2INT); in asd_dump_cseq_state()
275 PRINT_CREG_32bit(asd_ha, ARP2INTEN); in asd_dump_cseq_state()
276 PRINT_CREG_8bit(asd_ha, MODEPTR); in asd_dump_cseq_state()
277 PRINT_CREG_8bit(asd_ha, ALTMODE); in asd_dump_cseq_state()
278 PRINT_CREG_8bit(asd_ha, FLAG); in asd_dump_cseq_state()
279 PRINT_CREG_8bit(asd_ha, ARP2INTCTL); in asd_dump_cseq_state()
280 PRINT_CREG_16bit(asd_ha, STACK); in asd_dump_cseq_state()
281 PRINT_CREG_16bit(asd_ha, PRGMCNT); in asd_dump_cseq_state()
282 PRINT_CREG_16bit(asd_ha, ACCUM); in asd_dump_cseq_state()
283 PRINT_CREG_16bit(asd_ha, SINDEX); in asd_dump_cseq_state()
284 PRINT_CREG_16bit(asd_ha, DINDEX); in asd_dump_cseq_state()
285 PRINT_CREG_8bit(asd_ha, SINDIR); in asd_dump_cseq_state()
286 PRINT_CREG_8bit(asd_ha, DINDIR); in asd_dump_cseq_state()
287 PRINT_CREG_8bit(asd_ha, JUMLDIR); in asd_dump_cseq_state()
288 PRINT_CREG_8bit(asd_ha, ARP2HALTCODE); in asd_dump_cseq_state()
289 PRINT_CREG_16bit(asd_ha, CURRADDR); in asd_dump_cseq_state()
290 PRINT_CREG_16bit(asd_ha, LASTADDR); in asd_dump_cseq_state()
291 PRINT_CREG_16bit(asd_ha, NXTLADDR); in asd_dump_cseq_state()
295 PRINT_REG_32bit(asd_ha, BISTCTL1, CBISTCTL); in asd_dump_cseq_state()
296 PRINT_CREG_32bit(asd_ha, MAPPEDSCR); in asd_dump_cseq_state()
301 PRINT_MREG_16bit(asd_ha, mode, MnSCBPTR, CMnSCBPTR(mode)); in asd_dump_cseq_state()
302 PRINT_MREG_16bit(asd_ha, 15, MnSCBPTR, CMnSCBPTR(15)); in asd_dump_cseq_state()
305 PRINT_MREG_16bit(asd_ha, mode, MnDDBPTR, CMnDDBPTR(mode)); in asd_dump_cseq_state()
306 PRINT_MREG_16bit(asd_ha, 15, MnDDBPTR, CMnDDBPTR(15)); in asd_dump_cseq_state()
309 PRINT_MREG_32bit(asd_ha, mode, MnREQMBX, CMnREQMBX(mode)); in asd_dump_cseq_state()
311 PRINT_MREG_32bit(asd_ha, mode, MnRSPMBX, CMnRSPMBX(mode)); in asd_dump_cseq_state()
313 PRINT_MREG_32bit(asd_ha, mode, MnINT, CMnINT(mode)); in asd_dump_cseq_state()
315 PRINT_MREG_32bit(asd_ha, mode, MnINTEN, CMnINTEN(mode)); in asd_dump_cseq_state()
317 PRINT_CREG_8bit(asd_ha, SCRATCHPAGE); in asd_dump_cseq_state()
319 PRINT_MREG_8bit(asd_ha, mode, MnSCRATCHPAGE, in asd_dump_cseq_state()
322 PRINT_REG_32bit(asd_ha, CLINKCON, CLINKCON); in asd_dump_cseq_state()
323 PRINT_REG_8bit(asd_ha, CCONMSK, CCONMSK); in asd_dump_cseq_state()
324 PRINT_REG_8bit(asd_ha, CCONEXIST, CCONEXIST); in asd_dump_cseq_state()
325 PRINT_REG_16bit(asd_ha, CCONMODE, CCONMODE); in asd_dump_cseq_state()
326 PRINT_REG_32bit(asd_ha, CTIMERCALC, CTIMERCALC); in asd_dump_cseq_state()
327 PRINT_REG_8bit(asd_ha, CINTDIS, CINTDIS); in asd_dump_cseq_state()
332 PRINT_MIS_word(asd_ha, Q_EXE_HEAD); in asd_dump_cseq_state()
333 PRINT_MIS_word(asd_ha, Q_EXE_TAIL); in asd_dump_cseq_state()
334 PRINT_MIS_word(asd_ha, Q_DONE_HEAD); in asd_dump_cseq_state()
335 PRINT_MIS_word(asd_ha, Q_DONE_TAIL); in asd_dump_cseq_state()
336 PRINT_MIS_word(asd_ha, Q_SEND_HEAD); in asd_dump_cseq_state()
337 PRINT_MIS_word(asd_ha, Q_SEND_TAIL); in asd_dump_cseq_state()
338 PRINT_MIS_word(asd_ha, Q_DMA2CHIM_HEAD); in asd_dump_cseq_state()
339 PRINT_MIS_word(asd_ha, Q_DMA2CHIM_TAIL); in asd_dump_cseq_state()
340 PRINT_MIS_word(asd_ha, Q_COPY_HEAD); in asd_dump_cseq_state()
341 PRINT_MIS_word(asd_ha, Q_COPY_TAIL); in asd_dump_cseq_state()
342 PRINT_MIS_word(asd_ha, REG0); in asd_dump_cseq_state()
343 PRINT_MIS_word(asd_ha, REG1); in asd_dump_cseq_state()
344 PRINT_MIS_dword(asd_ha, REG2); in asd_dump_cseq_state()
345 PRINT_MIS_byte(asd_ha, LINK_CTL_Q_MAP); in asd_dump_cseq_state()
346 PRINT_MIS_byte(asd_ha, MAX_CSEQ_MODE); in asd_dump_cseq_state()
347 PRINT_MIS_byte(asd_ha, FREE_LIST_HACK_COUNT); in asd_dump_cseq_state()
350 PRINT_MIS_qword(asd_ha, EST_NEXUS_REQ_QUEUE); in asd_dump_cseq_state()
351 PRINT_MIS_qword(asd_ha, EST_NEXUS_REQ_COUNT); in asd_dump_cseq_state()
352 PRINT_MIS_word(asd_ha, Q_EST_NEXUS_HEAD); in asd_dump_cseq_state()
353 PRINT_MIS_word(asd_ha, Q_EST_NEXUS_TAIL); in asd_dump_cseq_state()
354 PRINT_MIS_word(asd_ha, NEED_EST_NEXUS_SCB); in asd_dump_cseq_state()
355 PRINT_MIS_byte(asd_ha, EST_NEXUS_REQ_HEAD); in asd_dump_cseq_state()
356 PRINT_MIS_byte(asd_ha, EST_NEXUS_REQ_TAIL); in asd_dump_cseq_state()
357 PRINT_MIS_byte(asd_ha, EST_NEXUS_SCB_OFFSET); in asd_dump_cseq_state()
360 PRINT_MIS_word(asd_ha, INT_ROUT_RET_ADDR0); in asd_dump_cseq_state()
361 PRINT_MIS_word(asd_ha, INT_ROUT_RET_ADDR1); in asd_dump_cseq_state()
362 PRINT_MIS_word(asd_ha, INT_ROUT_SCBPTR); in asd_dump_cseq_state()
363 PRINT_MIS_byte(asd_ha, INT_ROUT_MODE); in asd_dump_cseq_state()
364 PRINT_MIS_byte(asd_ha, ISR_SCRATCH_FLAGS); in asd_dump_cseq_state()
365 PRINT_MIS_word(asd_ha, ISR_SAVE_SINDEX); in asd_dump_cseq_state()
366 PRINT_MIS_word(asd_ha, ISR_SAVE_DINDEX); in asd_dump_cseq_state()
367 PRINT_MIS_word(asd_ha, Q_MONIRTT_HEAD); in asd_dump_cseq_state()
368 PRINT_MIS_word(asd_ha, Q_MONIRTT_TAIL); in asd_dump_cseq_state()
369 PRINT_MIS_byte(asd_ha, FREE_SCB_MASK); in asd_dump_cseq_state()
370 PRINT_MIS_word(asd_ha, BUILTIN_FREE_SCB_HEAD); in asd_dump_cseq_state()
371 PRINT_MIS_word(asd_ha, BUILTIN_FREE_SCB_TAIL); in asd_dump_cseq_state()
372 PRINT_MIS_word(asd_ha, EXTENDED_FREE_SCB_HEAD); in asd_dump_cseq_state()
373 PRINT_MIS_word(asd_ha, EXTENDED_FREE_SCB_TAIL); in asd_dump_cseq_state()
376 PRINT_MIS_qword(asd_ha, EMPTY_REQ_QUEUE); in asd_dump_cseq_state()
377 PRINT_MIS_qword(asd_ha, EMPTY_REQ_COUNT); in asd_dump_cseq_state()
378 PRINT_MIS_word(asd_ha, Q_EMPTY_HEAD); in asd_dump_cseq_state()
379 PRINT_MIS_word(asd_ha, Q_EMPTY_TAIL); in asd_dump_cseq_state()
380 PRINT_MIS_word(asd_ha, NEED_EMPTY_SCB); in asd_dump_cseq_state()
381 PRINT_MIS_byte(asd_ha, EMPTY_REQ_HEAD); in asd_dump_cseq_state()
382 PRINT_MIS_byte(asd_ha, EMPTY_REQ_TAIL); in asd_dump_cseq_state()
383 PRINT_MIS_byte(asd_ha, EMPTY_SCB_OFFSET); in asd_dump_cseq_state()
384 PRINT_MIS_word(asd_ha, PRIMITIVE_DATA); in asd_dump_cseq_state()
385 PRINT_MIS_dword(asd_ha, TIMEOUT_CONST); in asd_dump_cseq_state()
390 PRINT_CMDP_word(asd_ha, LRM_SAVE_SINDEX); in asd_dump_cseq_state()
391 PRINT_CMDP_word(asd_ha, LRM_SAVE_SCBPTR); in asd_dump_cseq_state()
392 PRINT_CMDP_word(asd_ha, Q_LINK_HEAD); in asd_dump_cseq_state()
393 PRINT_CMDP_word(asd_ha, Q_LINK_TAIL); in asd_dump_cseq_state()
394 PRINT_CMDP_byte(asd_ha, LRM_SAVE_SCRPAGE); in asd_dump_cseq_state()
397 PRINT_MIS_word(asd_ha, RET_ADDR); in asd_dump_cseq_state()
398 PRINT_MIS_word(asd_ha, RET_SCBPTR); in asd_dump_cseq_state()
399 PRINT_MIS_word(asd_ha, SAVE_SCBPTR); in asd_dump_cseq_state()
400 PRINT_MIS_word(asd_ha, EMPTY_TRANS_CTX); in asd_dump_cseq_state()
401 PRINT_MIS_word(asd_ha, RESP_LEN); in asd_dump_cseq_state()
402 PRINT_MIS_word(asd_ha, TMF_SCBPTR); in asd_dump_cseq_state()
403 PRINT_MIS_word(asd_ha, GLOBAL_PREV_SCB); in asd_dump_cseq_state()
404 PRINT_MIS_word(asd_ha, GLOBAL_HEAD); in asd_dump_cseq_state()
405 PRINT_MIS_word(asd_ha, CLEAR_LU_HEAD); in asd_dump_cseq_state()
406 PRINT_MIS_byte(asd_ha, TMF_OPCODE); in asd_dump_cseq_state()
407 PRINT_MIS_byte(asd_ha, SCRATCH_FLAGS); in asd_dump_cseq_state()
408 PRINT_MIS_word(asd_ha, HSB_SITE); in asd_dump_cseq_state()
409 PRINT_MIS_word(asd_ha, FIRST_INV_SCB_SITE); in asd_dump_cseq_state()
410 PRINT_MIS_word(asd_ha, FIRST_INV_DDB_SITE); in asd_dump_cseq_state()
413 PRINT_MIS_qword(asd_ha, LUN_TO_CLEAR); in asd_dump_cseq_state()
414 PRINT_MIS_qword(asd_ha, LUN_TO_CHECK); in asd_dump_cseq_state()
417 PRINT_MIS_qword(asd_ha, HQ_NEW_POINTER); in asd_dump_cseq_state()
418 PRINT_MIS_qword(asd_ha, HQ_DONE_BASE); in asd_dump_cseq_state()
419 PRINT_MIS_dword(asd_ha, HQ_DONE_POINTER); in asd_dump_cseq_state()
420 PRINT_MIS_byte(asd_ha, HQ_DONE_PASS); in asd_dump_cseq_state()
446 static void asd_print_lseq_cio_reg(struct asd_ha_struct *asd_ha, in asd_print_lseq_cio_reg() argument
453 asd_read_reg_byte(asd_ha, lseq_cio_addr + in asd_print_lseq_cio_reg()
460 asd_read_reg_word(asd_ha, lseq_cio_addr + in asd_print_lseq_cio_reg()
467 asd_read_reg_dword(asd_ha, lseq_cio_addr + in asd_print_lseq_cio_reg()
473 static void asd_dump_lseq_state(struct asd_ha_struct *asd_ha, int lseq) in asd_dump_lseq_state() argument
481 PRINT_LREG_32bit(asd_ha, lseq, ARP2CTL); in asd_dump_lseq_state()
482 PRINT_LREG_32bit(asd_ha, lseq, ARP2INT); in asd_dump_lseq_state()
483 PRINT_LREG_32bit(asd_ha, lseq, ARP2INTEN); in asd_dump_lseq_state()
484 PRINT_LREG_8bit(asd_ha, lseq, MODEPTR); in asd_dump_lseq_state()
485 PRINT_LREG_8bit(asd_ha, lseq, ALTMODE); in asd_dump_lseq_state()
486 PRINT_LREG_8bit(asd_ha, lseq, FLAG); in asd_dump_lseq_state()
487 PRINT_LREG_8bit(asd_ha, lseq, ARP2INTCTL); in asd_dump_lseq_state()
488 PRINT_LREG_16bit(asd_ha, lseq, STACK); in asd_dump_lseq_state()
489 PRINT_LREG_16bit(asd_ha, lseq, PRGMCNT); in asd_dump_lseq_state()
490 PRINT_LREG_16bit(asd_ha, lseq, ACCUM); in asd_dump_lseq_state()
491 PRINT_LREG_16bit(asd_ha, lseq, SINDEX); in asd_dump_lseq_state()
492 PRINT_LREG_16bit(asd_ha, lseq, DINDEX); in asd_dump_lseq_state()
493 PRINT_LREG_8bit(asd_ha, lseq, SINDIR); in asd_dump_lseq_state()
494 PRINT_LREG_8bit(asd_ha, lseq, DINDIR); in asd_dump_lseq_state()
495 PRINT_LREG_8bit(asd_ha, lseq, JUMLDIR); in asd_dump_lseq_state()
496 PRINT_LREG_8bit(asd_ha, lseq, ARP2HALTCODE); in asd_dump_lseq_state()
497 PRINT_LREG_16bit(asd_ha, lseq, CURRADDR); in asd_dump_lseq_state()
498 PRINT_LREG_16bit(asd_ha, lseq, LASTADDR); in asd_dump_lseq_state()
499 PRINT_LREG_16bit(asd_ha, lseq, NXTLADDR); in asd_dump_lseq_state()
503 PRINT_LREG_32bit(asd_ha, lseq, MODECTL); in asd_dump_lseq_state()
504 PRINT_LREG_32bit(asd_ha, lseq, DBGMODE); in asd_dump_lseq_state()
505 PRINT_LREG_32bit(asd_ha, lseq, CONTROL); in asd_dump_lseq_state()
506 PRINT_REG_32bit(asd_ha, BISTCTL0, LmBISTCTL0(lseq)); in asd_dump_lseq_state()
507 PRINT_REG_32bit(asd_ha, BISTCTL1, LmBISTCTL1(lseq)); in asd_dump_lseq_state()
518 asd_print_lseq_cio_reg(asd_ha,lseq_cio_addr,i); in asd_dump_lseq_state()
530 asd_print_lseq_cio_reg(asd_ha, lseq_cio_addr, i); in asd_dump_lseq_state()
537 PRINT_LMIP_word(asd_ha, lseq, Q_TGTXFR_HEAD); in asd_dump_lseq_state()
538 PRINT_LMIP_word(asd_ha, lseq, Q_TGTXFR_TAIL); in asd_dump_lseq_state()
539 PRINT_LMIP_byte(asd_ha, lseq, LINK_NUMBER); in asd_dump_lseq_state()
540 PRINT_LMIP_byte(asd_ha, lseq, SCRATCH_FLAGS); in asd_dump_lseq_state()
541 PRINT_LMIP_dword(asd_ha, lseq, CONNECTION_STATE); in asd_dump_lseq_state()
542 PRINT_LMIP_word(asd_ha, lseq, CONCTL); in asd_dump_lseq_state()
543 PRINT_LMIP_byte(asd_ha, lseq, CONSTAT); in asd_dump_lseq_state()
544 PRINT_LMIP_byte(asd_ha, lseq, CONNECTION_MODES); in asd_dump_lseq_state()
545 PRINT_LMIP_word(asd_ha, lseq, REG1_ISR); in asd_dump_lseq_state()
546 PRINT_LMIP_word(asd_ha, lseq, REG2_ISR); in asd_dump_lseq_state()
547 PRINT_LMIP_word(asd_ha, lseq, REG3_ISR); in asd_dump_lseq_state()
548 PRINT_LMIP_qword(asd_ha, lseq,REG0_ISR); in asd_dump_lseq_state()
551 PRINT_LMIP_word(asd_ha, lseq, EST_NEXUS_SCBPTR0); in asd_dump_lseq_state()
552 PRINT_LMIP_word(asd_ha, lseq, EST_NEXUS_SCBPTR1); in asd_dump_lseq_state()
553 PRINT_LMIP_word(asd_ha, lseq, EST_NEXUS_SCBPTR2); in asd_dump_lseq_state()
554 PRINT_LMIP_word(asd_ha, lseq, EST_NEXUS_SCBPTR3); in asd_dump_lseq_state()
555 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_SCB_OPCODE0); in asd_dump_lseq_state()
556 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_SCB_OPCODE1); in asd_dump_lseq_state()
557 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_SCB_OPCODE2); in asd_dump_lseq_state()
558 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_SCB_OPCODE3); in asd_dump_lseq_state()
559 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_SCB_HEAD); in asd_dump_lseq_state()
560 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_SCB_TAIL); in asd_dump_lseq_state()
561 PRINT_LMIP_byte(asd_ha, lseq, EST_NEXUS_BUF_AVAIL); in asd_dump_lseq_state()
562 PRINT_LMIP_dword(asd_ha, lseq, TIMEOUT_CONST); in asd_dump_lseq_state()
563 PRINT_LMIP_word(asd_ha, lseq, ISR_SAVE_SINDEX); in asd_dump_lseq_state()
564 PRINT_LMIP_word(asd_ha, lseq, ISR_SAVE_DINDEX); in asd_dump_lseq_state()
567 PRINT_LMIP_word(asd_ha, lseq, EMPTY_SCB_PTR0); in asd_dump_lseq_state()
568 PRINT_LMIP_word(asd_ha, lseq, EMPTY_SCB_PTR1); in asd_dump_lseq_state()
569 PRINT_LMIP_word(asd_ha, lseq, EMPTY_SCB_PTR2); in asd_dump_lseq_state()
570 PRINT_LMIP_word(asd_ha, lseq, EMPTY_SCB_PTR3); in asd_dump_lseq_state()
571 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_SCB_OPCD0); in asd_dump_lseq_state()
572 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_SCB_OPCD1); in asd_dump_lseq_state()
573 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_SCB_OPCD2); in asd_dump_lseq_state()
574 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_SCB_OPCD3); in asd_dump_lseq_state()
575 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_SCB_HEAD); in asd_dump_lseq_state()
576 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_SCB_TAIL); in asd_dump_lseq_state()
577 PRINT_LMIP_byte(asd_ha, lseq, EMPTY_BUFS_AVAIL); in asd_dump_lseq_state()
580 PRINT_LMIP_dword(asd_ha, lseq, DEV_PRES_TMR_TOUT_CONST); in asd_dump_lseq_state()
581 PRINT_LMIP_dword(asd_ha, lseq, SATA_INTERLOCK_TIMEOUT); in asd_dump_lseq_state()
582 PRINT_LMIP_dword(asd_ha, lseq, SRST_ASSERT_TIMEOUT); in asd_dump_lseq_state()
583 PRINT_LMIP_dword(asd_ha, lseq, RCV_FIS_TIMEOUT); in asd_dump_lseq_state()
584 PRINT_LMIP_dword(asd_ha, lseq, ONE_MILLISEC_TIMEOUT); in asd_dump_lseq_state()
585 PRINT_LMIP_dword(asd_ha, lseq, TEN_MS_COMINIT_TIMEOUT); in asd_dump_lseq_state()
586 PRINT_LMIP_dword(asd_ha, lseq, SMP_RCV_TIMEOUT); in asd_dump_lseq_state()
593 asd_read_reg_word(asd_ha, LmSEQ_RET_ADDR(lseq) in asd_dump_lseq_state()
596 asd_read_reg_word(asd_ha, LmSEQ_REG0_MODE(lseq) in asd_dump_lseq_state()
599 asd_read_reg_word(asd_ha, LmSEQ_MODE_FLAGS(lseq) in asd_dump_lseq_state()
602 asd_read_reg_word(asd_ha, LmSEQ_RET_ADDR2(lseq) in asd_dump_lseq_state()
605 asd_read_reg_word(asd_ha, LmSEQ_RET_ADDR1(lseq) in asd_dump_lseq_state()
608 asd_read_reg_byte(asd_ha, LmSEQ_OPCODE_TO_CSEQ(lseq) in asd_dump_lseq_state()
611 asd_read_reg_word(asd_ha, LmSEQ_DATA_TO_CSEQ(lseq) in asd_dump_lseq_state()
618 asd_read_reg_word(asd_ha, LmSEQ_RET_ADDR(lseq) + moffs)); in asd_dump_lseq_state()
620 asd_read_reg_word(asd_ha, LmSEQ_REG0_MODE(lseq) + moffs)); in asd_dump_lseq_state()
622 asd_read_reg_word(asd_ha, LmSEQ_MODE_FLAGS(lseq) + moffs)); in asd_dump_lseq_state()
624 asd_read_reg_word(asd_ha, LmSEQ_RET_ADDR2(lseq) + moffs)); in asd_dump_lseq_state()
626 asd_read_reg_word(asd_ha, LmSEQ_RET_ADDR1(lseq) + moffs)); in asd_dump_lseq_state()
628 asd_read_reg_byte(asd_ha, LmSEQ_OPCODE_TO_CSEQ(lseq) + moffs)); in asd_dump_lseq_state()
630 asd_read_reg_word(asd_ha, LmSEQ_DATA_TO_CSEQ(lseq) + moffs)); in asd_dump_lseq_state()
633 PRINT_LMIP_word(asd_ha, lseq, FIRST_INV_DDB_SITE); in asd_dump_lseq_state()
634 PRINT_LMIP_word(asd_ha, lseq, EMPTY_TRANS_CTX); in asd_dump_lseq_state()
635 PRINT_LMIP_word(asd_ha, lseq, RESP_LEN); in asd_dump_lseq_state()
636 PRINT_LMIP_word(asd_ha, lseq, FIRST_INV_SCB_SITE); in asd_dump_lseq_state()
637 PRINT_LMIP_dword(asd_ha, lseq, INTEN_SAVE); in asd_dump_lseq_state()
638 PRINT_LMIP_byte(asd_ha, lseq, LINK_RST_FRM_LEN); in asd_dump_lseq_state()
639 PRINT_LMIP_byte(asd_ha, lseq, LINK_RST_PROTOCOL); in asd_dump_lseq_state()
640 PRINT_LMIP_byte(asd_ha, lseq, RESP_STATUS); in asd_dump_lseq_state()
641 PRINT_LMIP_byte(asd_ha, lseq, LAST_LOADED_SGE); in asd_dump_lseq_state()
642 PRINT_LMIP_byte(asd_ha, lseq, SAVE_SCBPTR); in asd_dump_lseq_state()
645 PRINT_LMIP_word(asd_ha, lseq, Q_XMIT_HEAD); in asd_dump_lseq_state()
646 PRINT_LMIP_word(asd_ha, lseq, M1_EMPTY_TRANS_CTX); in asd_dump_lseq_state()
647 PRINT_LMIP_word(asd_ha, lseq, INI_CONN_TAG); in asd_dump_lseq_state()
648 PRINT_LMIP_byte(asd_ha, lseq, FAILED_OPEN_STATUS); in asd_dump_lseq_state()
649 PRINT_LMIP_byte(asd_ha, lseq, XMIT_REQUEST_TYPE); in asd_dump_lseq_state()
650 PRINT_LMIP_byte(asd_ha, lseq, M1_RESP_STATUS); in asd_dump_lseq_state()
651 PRINT_LMIP_byte(asd_ha, lseq, M1_LAST_LOADED_SGE); in asd_dump_lseq_state()
652 PRINT_LMIP_word(asd_ha, lseq, M1_SAVE_SCBPTR); in asd_dump_lseq_state()
655 PRINT_LMIP_word(asd_ha, lseq, PORT_COUNTER); in asd_dump_lseq_state()
656 PRINT_LMIP_word(asd_ha, lseq, PM_TABLE_PTR); in asd_dump_lseq_state()
657 PRINT_LMIP_word(asd_ha, lseq, SATA_INTERLOCK_TMR_SAVE); in asd_dump_lseq_state()
658 PRINT_LMIP_word(asd_ha, lseq, IP_BITL); in asd_dump_lseq_state()
659 PRINT_LMIP_word(asd_ha, lseq, COPY_SMP_CONN_TAG); in asd_dump_lseq_state()
660 PRINT_LMIP_byte(asd_ha, lseq, P0M2_OFFS1AH); in asd_dump_lseq_state()
663 PRINT_LMIP_byte(asd_ha, lseq, SAVED_OOB_STATUS); in asd_dump_lseq_state()
664 PRINT_LMIP_byte(asd_ha, lseq, SAVED_OOB_MODE); in asd_dump_lseq_state()
665 PRINT_LMIP_word(asd_ha, lseq, Q_LINK_HEAD); in asd_dump_lseq_state()
666 PRINT_LMIP_byte(asd_ha, lseq, LINK_RST_ERR); in asd_dump_lseq_state()
667 PRINT_LMIP_byte(asd_ha, lseq, SAVED_OOB_SIGNALS); in asd_dump_lseq_state()
668 PRINT_LMIP_byte(asd_ha, lseq, SAS_RESET_MODE); in asd_dump_lseq_state()
669 PRINT_LMIP_byte(asd_ha, lseq, LINK_RESET_RETRY_COUNT); in asd_dump_lseq_state()
670 PRINT_LMIP_byte(asd_ha, lseq, NUM_LINK_RESET_RETRIES); in asd_dump_lseq_state()
671 PRINT_LMIP_word(asd_ha, lseq, OOB_INT_ENABLES); in asd_dump_lseq_state()
672 PRINT_LMIP_word(asd_ha, lseq, NOTIFY_TIMER_TIMEOUT); in asd_dump_lseq_state()
673 PRINT_LMIP_word(asd_ha, lseq, NOTIFY_TIMER_DOWN_COUNT); in asd_dump_lseq_state()
676 PRINT_LMIP_qword(asd_ha, lseq, SG_LIST_PTR_ADDR0); in asd_dump_lseq_state()
677 PRINT_LMIP_qword(asd_ha, lseq, SG_LIST_PTR_ADDR1); in asd_dump_lseq_state()
680 PRINT_LMIP_qword(asd_ha, lseq, M1_SG_LIST_PTR_ADDR0); in asd_dump_lseq_state()
681 PRINT_LMIP_qword(asd_ha, lseq, M1_SG_LIST_PTR_ADDR1); in asd_dump_lseq_state()
684 PRINT_LMIP_dword(asd_ha, lseq, INVALID_DWORD_COUNT); in asd_dump_lseq_state()
685 PRINT_LMIP_dword(asd_ha, lseq, DISPARITY_ERROR_COUNT); in asd_dump_lseq_state()
686 PRINT_LMIP_dword(asd_ha, lseq, LOSS_OF_SYNC_COUNT); in asd_dump_lseq_state()
689 PRINT_LMIP_dword(asd_ha, lseq, FRAME_TYPE_MASK); in asd_dump_lseq_state()
690 PRINT_LMIP_dword(asd_ha, lseq, HASHED_SRC_ADDR_MASK_PRINT); in asd_dump_lseq_state()
691 PRINT_LMIP_byte(asd_ha, lseq, NUM_FILL_BYTES_MASK); in asd_dump_lseq_state()
692 PRINT_LMIP_word(asd_ha, lseq, TAG_MASK); in asd_dump_lseq_state()
693 PRINT_LMIP_word(asd_ha, lseq, TARGET_PORT_XFER_TAG); in asd_dump_lseq_state()
694 PRINT_LMIP_dword(asd_ha, lseq, DATA_OFFSET); in asd_dump_lseq_state()
697 PRINT_LMIP_dword(asd_ha, lseq, SMP_RCV_TIMER_TERM_TS); in asd_dump_lseq_state()
698 PRINT_LMIP_byte(asd_ha, lseq, DEVICE_BITS); in asd_dump_lseq_state()
699 PRINT_LMIP_word(asd_ha, lseq, SDB_DDB); in asd_dump_lseq_state()
700 PRINT_LMIP_word(asd_ha, lseq, SDB_NUM_TAGS); in asd_dump_lseq_state()
701 PRINT_LMIP_word(asd_ha, lseq, SDB_CURR_TAG); in asd_dump_lseq_state()
704 PRINT_LMIP_qword(asd_ha, lseq, TX_ID_ADDR_FRAME); in asd_dump_lseq_state()
705 PRINT_LMIP_dword(asd_ha, lseq, OPEN_TIMER_TERM_TS); in asd_dump_lseq_state()
706 PRINT_LMIP_dword(asd_ha, lseq, SRST_AS_TIMER_TERM_TS); in asd_dump_lseq_state()
707 PRINT_LMIP_dword(asd_ha, lseq, LAST_LOADED_SG_EL); in asd_dump_lseq_state()
710 PRINT_LMIP_dword(asd_ha, lseq, CLOSE_TIMER_TERM_TS); in asd_dump_lseq_state()
711 PRINT_LMIP_dword(asd_ha, lseq, BREAK_TIMER_TERM_TS); in asd_dump_lseq_state()
712 PRINT_LMIP_dword(asd_ha, lseq, DWS_RESET_TIMER_TERM_TS); in asd_dump_lseq_state()
713 PRINT_LMIP_dword(asd_ha, lseq, SATA_INTERLOCK_TIMER_TERM_TS); in asd_dump_lseq_state()
714 PRINT_LMIP_dword(asd_ha, lseq, MCTL_TIMER_TERM_TS); in asd_dump_lseq_state()
717 PRINT_LMIP_dword(asd_ha, lseq, COMINIT_TIMER_TERM_TS); in asd_dump_lseq_state()
718 PRINT_LMIP_dword(asd_ha, lseq, RCV_ID_TIMER_TERM_TS); in asd_dump_lseq_state()
719 PRINT_LMIP_dword(asd_ha, lseq, RCV_FIS_TIMER_TERM_TS); in asd_dump_lseq_state()
720 PRINT_LMIP_dword(asd_ha, lseq, DEV_PRES_TIMER_TERM_TS); in asd_dump_lseq_state()
728 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_dump_seq_state() argument
732 asd_dump_cseq_state(asd_ha); in asd_dump_seq_state()
736 asd_dump_lseq_state(asd_ha, lseq); in asd_dump_seq_state()