Lines Matching refs:regs
487 u32 *regs = data; in hns_xgmac_get_regs() local
491 regs[0] = dsaf_read_dev(drv, XGMAC_INT_STATUS_REG); in hns_xgmac_get_regs()
492 regs[1] = dsaf_read_dev(drv, XGMAC_INT_ENABLE_REG); in hns_xgmac_get_regs()
493 regs[2] = dsaf_read_dev(drv, XGMAC_INT_SET_REG); in hns_xgmac_get_regs()
494 regs[3] = dsaf_read_dev(drv, XGMAC_IERR_U_INFO_REG); in hns_xgmac_get_regs()
495 regs[4] = dsaf_read_dev(drv, XGMAC_OVF_INFO_REG); in hns_xgmac_get_regs()
496 regs[5] = dsaf_read_dev(drv, XGMAC_OVF_CNT_REG); in hns_xgmac_get_regs()
497 regs[6] = dsaf_read_dev(drv, XGMAC_PORT_MODE_REG); in hns_xgmac_get_regs()
498 regs[7] = dsaf_read_dev(drv, XGMAC_CLK_ENABLE_REG); in hns_xgmac_get_regs()
499 regs[8] = dsaf_read_dev(drv, XGMAC_RESET_REG); in hns_xgmac_get_regs()
500 regs[9] = dsaf_read_dev(drv, XGMAC_LINK_CONTROL_REG); in hns_xgmac_get_regs()
501 regs[10] = dsaf_read_dev(drv, XGMAC_LINK_STATUS_REG); in hns_xgmac_get_regs()
503 regs[11] = dsaf_read_dev(drv, XGMAC_SPARE_REG); in hns_xgmac_get_regs()
504 regs[12] = dsaf_read_dev(drv, XGMAC_SPARE_CNT_REG); in hns_xgmac_get_regs()
505 regs[13] = dsaf_read_dev(drv, XGMAC_MAC_ENABLE_REG); in hns_xgmac_get_regs()
506 regs[14] = dsaf_read_dev(drv, XGMAC_MAC_CONTROL_REG); in hns_xgmac_get_regs()
507 regs[15] = dsaf_read_dev(drv, XGMAC_MAC_IPG_REG); in hns_xgmac_get_regs()
508 regs[16] = dsaf_read_dev(drv, XGMAC_MAC_MSG_CRC_EN_REG); in hns_xgmac_get_regs()
509 regs[17] = dsaf_read_dev(drv, XGMAC_MAC_MSG_IMG_REG); in hns_xgmac_get_regs()
510 regs[18] = dsaf_read_dev(drv, XGMAC_MAC_MSG_FC_CFG_REG); in hns_xgmac_get_regs()
511 regs[19] = dsaf_read_dev(drv, XGMAC_MAC_MSG_TC_CFG_REG); in hns_xgmac_get_regs()
512 regs[20] = dsaf_read_dev(drv, XGMAC_MAC_PAD_SIZE_REG); in hns_xgmac_get_regs()
513 regs[21] = dsaf_read_dev(drv, XGMAC_MAC_MIN_PKT_SIZE_REG); in hns_xgmac_get_regs()
514 regs[22] = dsaf_read_dev(drv, XGMAC_MAC_MAX_PKT_SIZE_REG); in hns_xgmac_get_regs()
515 regs[23] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_CTRL_REG); in hns_xgmac_get_regs()
516 regs[24] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_TIME_REG); in hns_xgmac_get_regs()
517 regs[25] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_GAP_REG); in hns_xgmac_get_regs()
518 regs[26] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_LOCAL_MAC_H_REG); in hns_xgmac_get_regs()
519 regs[27] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_LOCAL_MAC_L_REG); in hns_xgmac_get_regs()
520 regs[28] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_PEER_MAC_H_REG); in hns_xgmac_get_regs()
521 regs[29] = dsaf_read_dev(drv, XGMAC_MAC_PAUSE_PEER_MAC_L_REG); in hns_xgmac_get_regs()
522 regs[30] = dsaf_read_dev(drv, XGMAC_MAC_PFC_PRI_EN_REG); in hns_xgmac_get_regs()
523 regs[31] = dsaf_read_dev(drv, XGMAC_MAC_1588_CTRL_REG); in hns_xgmac_get_regs()
524 regs[32] = dsaf_read_dev(drv, XGMAC_MAC_1588_TX_PORT_DLY_REG); in hns_xgmac_get_regs()
525 regs[33] = dsaf_read_dev(drv, XGMAC_MAC_1588_RX_PORT_DLY_REG); in hns_xgmac_get_regs()
526 regs[34] = dsaf_read_dev(drv, XGMAC_MAC_1588_ASYM_DLY_REG); in hns_xgmac_get_regs()
527 regs[35] = dsaf_read_dev(drv, XGMAC_MAC_1588_ADJUST_CFG_REG); in hns_xgmac_get_regs()
529 regs[36] = dsaf_read_dev(drv, XGMAC_MAC_Y1731_ETH_TYPE_REG); in hns_xgmac_get_regs()
530 regs[37] = dsaf_read_dev(drv, XGMAC_MAC_MIB_CONTROL_REG); in hns_xgmac_get_regs()
531 regs[38] = dsaf_read_dev(drv, XGMAC_MAC_WAN_RATE_ADJUST_REG); in hns_xgmac_get_regs()
532 regs[39] = dsaf_read_dev(drv, XGMAC_MAC_TX_ERR_MARK_REG); in hns_xgmac_get_regs()
533 regs[40] = dsaf_read_dev(drv, XGMAC_MAC_TX_LF_RF_CONTROL_REG); in hns_xgmac_get_regs()
534 regs[41] = dsaf_read_dev(drv, XGMAC_MAC_RX_LF_RF_STATUS_REG); in hns_xgmac_get_regs()
535 regs[42] = dsaf_read_dev(drv, XGMAC_MAC_TX_RUNT_PKT_CNT_REG); in hns_xgmac_get_regs()
536 regs[43] = dsaf_read_dev(drv, XGMAC_MAC_RX_RUNT_PKT_CNT_REG); in hns_xgmac_get_regs()
537 regs[44] = dsaf_read_dev(drv, XGMAC_MAC_RX_PREAM_ERR_PKT_CNT_REG); in hns_xgmac_get_regs()
538 regs[45] = dsaf_read_dev(drv, XGMAC_MAC_TX_LF_RF_TERM_PKT_CNT_REG); in hns_xgmac_get_regs()
539 regs[46] = dsaf_read_dev(drv, XGMAC_MAC_TX_SN_MISMATCH_PKT_CNT_REG); in hns_xgmac_get_regs()
540 regs[47] = dsaf_read_dev(drv, XGMAC_MAC_RX_ERR_MSG_CNT_REG); in hns_xgmac_get_regs()
541 regs[48] = dsaf_read_dev(drv, XGMAC_MAC_RX_ERR_EFD_CNT_REG); in hns_xgmac_get_regs()
542 regs[49] = dsaf_read_dev(drv, XGMAC_MAC_ERR_INFO_REG); in hns_xgmac_get_regs()
543 regs[50] = dsaf_read_dev(drv, XGMAC_MAC_DBG_INFO_REG); in hns_xgmac_get_regs()
545 regs[51] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SYNC_THD_REG); in hns_xgmac_get_regs()
546 regs[52] = dsaf_read_dev(drv, XGMAC_PCS_STATUS1_REG); in hns_xgmac_get_regs()
547 regs[53] = dsaf_read_dev(drv, XGMAC_PCS_BASER_STATUS1_REG); in hns_xgmac_get_regs()
548 regs[54] = dsaf_read_dev(drv, XGMAC_PCS_BASER_STATUS2_REG); in hns_xgmac_get_regs()
549 regs[55] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDA_0_REG); in hns_xgmac_get_regs()
550 regs[56] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDA_1_REG); in hns_xgmac_get_regs()
551 regs[57] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDB_0_REG); in hns_xgmac_get_regs()
552 regs[58] = dsaf_read_dev(drv, XGMAC_PCS_BASER_SEEDB_1_REG); in hns_xgmac_get_regs()
553 regs[59] = dsaf_read_dev(drv, XGMAC_PCS_BASER_TEST_CONTROL_REG); in hns_xgmac_get_regs()
554 regs[60] = dsaf_read_dev(drv, XGMAC_PCS_BASER_TEST_ERR_CNT_REG); in hns_xgmac_get_regs()
555 regs[61] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO_REG); in hns_xgmac_get_regs()
556 regs[62] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO1_REG); in hns_xgmac_get_regs()
557 regs[63] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO2_REG); in hns_xgmac_get_regs()
558 regs[64] = dsaf_read_dev(drv, XGMAC_PCS_DBG_INFO3_REG); in hns_xgmac_get_regs()
560 regs[65] = dsaf_read_dev(drv, XGMAC_PMA_ENABLE_REG); in hns_xgmac_get_regs()
561 regs[66] = dsaf_read_dev(drv, XGMAC_PMA_CONTROL_REG); in hns_xgmac_get_regs()
562 regs[67] = dsaf_read_dev(drv, XGMAC_PMA_SIGNAL_STATUS_REG); in hns_xgmac_get_regs()
563 regs[68] = dsaf_read_dev(drv, XGMAC_PMA_DBG_INFO_REG); in hns_xgmac_get_regs()
564 regs[69] = dsaf_read_dev(drv, XGMAC_PMA_FEC_ABILITY_REG); in hns_xgmac_get_regs()
565 regs[70] = dsaf_read_dev(drv, XGMAC_PMA_FEC_CONTROL_REG); in hns_xgmac_get_regs()
566 regs[71] = dsaf_read_dev(drv, XGMAC_PMA_FEC_CORR_BLOCK_CNT__REG); in hns_xgmac_get_regs()
567 regs[72] = dsaf_read_dev(drv, XGMAC_PMA_FEC_UNCORR_BLOCK_CNT__REG); in hns_xgmac_get_regs()
577 hns_xgmac_cpy_q(®s[73], qtmp); in hns_xgmac_get_regs()
579 hns_xgmac_cpy_q(®s[75], qtmp); in hns_xgmac_get_regs()
581 hns_xgmac_cpy_q(®s[77], qtmp); in hns_xgmac_get_regs()
583 hns_xgmac_cpy_q(®s[79], qtmp); in hns_xgmac_get_regs()
585 hns_xgmac_cpy_q(®s[81], qtmp); in hns_xgmac_get_regs()
587 hns_xgmac_cpy_q(®s[83], qtmp); in hns_xgmac_get_regs()
589 hns_xgmac_cpy_q(®s[85], qtmp); in hns_xgmac_get_regs()
591 hns_xgmac_cpy_q(®s[87], qtmp); in hns_xgmac_get_regs()
593 hns_xgmac_cpy_q(®s[89], qtmp); in hns_xgmac_get_regs()
595 hns_xgmac_cpy_q(®s[91], qtmp); in hns_xgmac_get_regs()
597 hns_xgmac_cpy_q(®s[93], qtmp); in hns_xgmac_get_regs()
599 hns_xgmac_cpy_q(®s[95], qtmp); in hns_xgmac_get_regs()
601 hns_xgmac_cpy_q(®s[97], qtmp); in hns_xgmac_get_regs()
603 hns_xgmac_cpy_q(®s[99], qtmp); in hns_xgmac_get_regs()
605 hns_xgmac_cpy_q(®s[101], qtmp); in hns_xgmac_get_regs()
607 hns_xgmac_cpy_q(®s[103], qtmp); in hns_xgmac_get_regs()
609 hns_xgmac_cpy_q(®s[105], qtmp); in hns_xgmac_get_regs()
611 hns_xgmac_cpy_q(®s[107], qtmp); in hns_xgmac_get_regs()
613 hns_xgmac_cpy_q(®s[109], qtmp); in hns_xgmac_get_regs()
615 hns_xgmac_cpy_q(®s[111], qtmp); in hns_xgmac_get_regs()
617 hns_xgmac_cpy_q(®s[113], qtmp); in hns_xgmac_get_regs()
619 hns_xgmac_cpy_q(®s[115], qtmp); in hns_xgmac_get_regs()
621 hns_xgmac_cpy_q(®s[117], qtmp); in hns_xgmac_get_regs()
623 hns_xgmac_cpy_q(®s[119], qtmp); in hns_xgmac_get_regs()
625 hns_xgmac_cpy_q(®s[121], qtmp); in hns_xgmac_get_regs()
627 hns_xgmac_cpy_q(®s[123], qtmp); in hns_xgmac_get_regs()
629 hns_xgmac_cpy_q(®s[125], qtmp); in hns_xgmac_get_regs()
631 hns_xgmac_cpy_q(®s[127], qtmp); in hns_xgmac_get_regs()
633 hns_xgmac_cpy_q(®s[129], qtmp); in hns_xgmac_get_regs()
635 hns_xgmac_cpy_q(®s[131], qtmp); in hns_xgmac_get_regs()
637 hns_xgmac_cpy_q(®s[133], qtmp); in hns_xgmac_get_regs()
639 hns_xgmac_cpy_q(®s[135], qtmp); in hns_xgmac_get_regs()
641 hns_xgmac_cpy_q(®s[137], qtmp); in hns_xgmac_get_regs()
643 hns_xgmac_cpy_q(®s[139], qtmp); in hns_xgmac_get_regs()
647 hns_xgmac_cpy_q(®s[141], qtmp); in hns_xgmac_get_regs()
649 hns_xgmac_cpy_q(®s[143], qtmp); in hns_xgmac_get_regs()
651 hns_xgmac_cpy_q(®s[145], qtmp); in hns_xgmac_get_regs()
653 hns_xgmac_cpy_q(®s[147], qtmp); in hns_xgmac_get_regs()
655 hns_xgmac_cpy_q(®s[149], qtmp); in hns_xgmac_get_regs()
657 hns_xgmac_cpy_q(®s[151], qtmp); in hns_xgmac_get_regs()
659 hns_xgmac_cpy_q(®s[153], qtmp); in hns_xgmac_get_regs()
661 hns_xgmac_cpy_q(®s[155], qtmp); in hns_xgmac_get_regs()
663 hns_xgmac_cpy_q(®s[157], qtmp); in hns_xgmac_get_regs()
665 hns_xgmac_cpy_q(®s[159], qtmp); in hns_xgmac_get_regs()
667 hns_xgmac_cpy_q(®s[161], qtmp); in hns_xgmac_get_regs()
669 hns_xgmac_cpy_q(®s[163], qtmp); in hns_xgmac_get_regs()
671 hns_xgmac_cpy_q(®s[165], qtmp); in hns_xgmac_get_regs()
673 hns_xgmac_cpy_q(®s[167], qtmp); in hns_xgmac_get_regs()
675 hns_xgmac_cpy_q(®s[169], qtmp); in hns_xgmac_get_regs()
677 hns_xgmac_cpy_q(®s[171], qtmp); in hns_xgmac_get_regs()
679 hns_xgmac_cpy_q(®s[173], qtmp); in hns_xgmac_get_regs()
681 hns_xgmac_cpy_q(®s[175], qtmp); in hns_xgmac_get_regs()
683 hns_xgmac_cpy_q(®s[177], qtmp); in hns_xgmac_get_regs()
685 hns_xgmac_cpy_q(®s[179], qtmp); in hns_xgmac_get_regs()
687 hns_xgmac_cpy_q(®s[181], qtmp); in hns_xgmac_get_regs()
689 hns_xgmac_cpy_q(®s[183], qtmp); in hns_xgmac_get_regs()
691 hns_xgmac_cpy_q(®s[185], qtmp); in hns_xgmac_get_regs()
693 hns_xgmac_cpy_q(®s[187], qtmp); in hns_xgmac_get_regs()
695 hns_xgmac_cpy_q(®s[189], qtmp); in hns_xgmac_get_regs()
697 hns_xgmac_cpy_q(®s[191], qtmp); in hns_xgmac_get_regs()
699 hns_xgmac_cpy_q(®s[193], qtmp); in hns_xgmac_get_regs()
701 hns_xgmac_cpy_q(®s[195], qtmp); in hns_xgmac_get_regs()
704 hns_xgmac_cpy_q(®s[197], qtmp); in hns_xgmac_get_regs()
706 hns_xgmac_cpy_q(®s[199], qtmp); in hns_xgmac_get_regs()
708 hns_xgmac_cpy_q(®s[201], qtmp); in hns_xgmac_get_regs()
710 hns_xgmac_cpy_q(®s[203], qtmp); in hns_xgmac_get_regs()
712 hns_xgmac_cpy_q(®s[205], qtmp); in hns_xgmac_get_regs()
714 hns_xgmac_cpy_q(®s[207], qtmp); in hns_xgmac_get_regs()
718 regs[i] = 0xaaaaaaaa; in hns_xgmac_get_regs()