Lines Matching refs:icrbb
44 ii_icrb0_b_u_t icrbb, ii_icrb0_c_u_t icrbc,
282 ii_icrb0_b_u_t icrbb; in hubiio_crb_free() local
288 icrbb.ii_icrb0_b_regval = REMOTE_HUB_L(hinfo->h_nasid, IIO_ICRB_B(crbnum)); in hubiio_crb_free()
289 icrbb.b_mark = 0; in hubiio_crb_free()
290 REMOTE_HUB_S(hinfo->h_nasid, IIO_ICRB_B(crbnum), icrbb.ii_icrb0_b_regval); in hubiio_crb_free()
323 ii_icrb0_b_u_t icrbb, ii_icrb0_c_u_t icrbc, in print_crb_fields() argument
359 icrbb.b_imsgtype, in print_crb_fields()
360 icrbb.b_imsg, in print_crb_fields()
361 icrbb.b_use_old, in print_crb_fields()
362 icrbb.b_initiator, in print_crb_fields()
363 icrbb.b_exc, in print_crb_fields()
364 icrbb.b_ackcnt, in print_crb_fields()
365 icrbb.b_resp, in print_crb_fields()
366 icrbb.b_ack, in print_crb_fields()
367 icrbb.b_hold, in print_crb_fields()
368 icrbb.b_wb, in print_crb_fields()
369 icrbb.b_intvn, in print_crb_fields()
370 icrbb.b_stall_ib, in print_crb_fields()
371 icrbb.b_stall_int, in print_crb_fields()
372 icrbb.b_stall_bte_0, in print_crb_fields()
373 icrbb.b_stall_bte_1, in print_crb_fields()
374 icrbb.b_error, in print_crb_fields()
375 icrbb.b_lnetuce, in print_crb_fields()
376 icrbb.b_mark, in print_crb_fields()
377 icrbb.b_xerr); in print_crb_fields()
447 ii_icrb0_b_u_t icrbb; /* II CRB Register B */ in hubiio_crb_error_handler() local
468 icrbb.ii_icrb0_b_regval = REMOTE_HUB_L(nasid, IIO_ICRB_B(i)); in hubiio_crb_error_handler()
470 if (icrbb.b_mark == 0) { in hubiio_crb_error_handler()
483 IOERROR_SETVALUE(&ioerror,errortype,icrbb.b_ecode); in hubiio_crb_error_handler()
489 ((icrbb.b_initiator == IIO_ICRB_INIT_BTE0 || in hubiio_crb_error_handler()
490 icrbb.b_initiator == IIO_ICRB_INIT_BTE1) && in hubiio_crb_error_handler()
491 (icrbb.b_imsgtype == IIO_ICRB_IMSGT_BTE || in hubiio_crb_error_handler()
492 icrbb.b_imsgtype == IIO_ICRB_IMSGT_SN1NET))){ in hubiio_crb_error_handler()
499 bte_num = (icrbb.b_initiator & 0x4) >> 2; in hubiio_crb_error_handler()
553 if (icrbb.b_error) { in hubiio_crb_error_handler()
559 switch(icrbb.b_ecode) { in hubiio_crb_error_handler()
567 i, hubiio_crb_errors[icrbb.b_ecode], cnode); in hubiio_crb_error_handler()
574 IOERROR_SETVALUE(&ioerror,errortype,icrbb.b_ecode); in hubiio_crb_error_handler()
593 hubiio_crb_errors[icrbb.b_ecode], in hubiio_crb_error_handler()
598 print_crb_fields(i, icrba, icrbb, icrbc, in hubiio_crb_error_handler()
605 i, hubiio_crb_errors[icrbb.b_ecode], cnode); in hubiio_crb_error_handler()
609 icrbb.b_ecode, cnode); in hubiio_crb_error_handler()
617 if (icrbb.b_xerr) { in hubiio_crb_error_handler()
622 if (icrbb.b_lnetuce) { in hubiio_crb_error_handler()
628 print_crb_fields(i, icrba, icrbb, icrbc, icrbd, icrbe); in hubiio_crb_error_handler()
634 if (icrbb.b_error) { in hubiio_crb_error_handler()
639 switch(icrbb.b_ecode) { in hubiio_crb_error_handler()
646 hubiio_crb_errors[icrbb.b_ecode], cnode); in hubiio_crb_error_handler()
653 IOERROR_SETVALUE(&ioerror,errortype,icrbb.b_ecode); in hubiio_crb_error_handler()
671 hubiio_crb_errors[icrbb.b_ecode], in hubiio_crb_error_handler()
686 hubiio_crb_errors[icrbb.b_ecode], cnode); in hubiio_crb_error_handler()
691 icrbb.b_ecode, cnode); in hubiio_crb_error_handler()
702 if (icrbb.b_xerr) { in hubiio_crb_error_handler()
708 if (icrbb.b_lnetuce) { in hubiio_crb_error_handler()