Lines Matching +full:sierra +full:- +full:phy

1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * PMC/SIERRA (pm3393) MAC-PHY functionality. *
16 * Authors: PMC/SIERRA *
34 ** Space allocated for VLAN-Id Filter
50 /** S/UNI-1x10GE-XP REGISTER ADDRESS MAP **/
53 /* to the S/UNI-1x10GE-XP Data Sheet for the signification of each bit */
496 /*----------------------------------------*/
500 /* -- End register offset definitions -- */
504 /** SUNI-1x10GE-XP REGISTER BIT MASKS **/
544 /*----------------------------------------------------------------------------
545 * Register 0x0001: S/UNI-1x10GE-XP Product Revision
546 * Bit 3-0 REVISION
547 *----------------------------------------------------------------------------*/
550 /*----------------------------------------------------------------------------
551 * Register 0x0002: S/UNI-1x10GE-XP Configuration and Reset Control
555 *----------------------------------------------------------------------------*/
560 /*----------------------------------------------------------------------------
561 * Register 0x0003: S/UNI-1x10GE-XP Loop Back and Miscellaneous Control
571 *----------------------------------------------------------------------------*/
582 /*----------------------------------------------------------------------------
583 * Register 0x0004: S/UNI-1x10GE-XP Device Status
594 *----------------------------------------------------------------------------*/
606 /*----------------------------------------------------------------------------
618 *----------------------------------------------------------------------------*/
630 /*----------------------------------------------------------------------------
637 *----------------------------------------------------------------------------*/
644 /*----------------------------------------------------------------------------
647 *----------------------------------------------------------------------------*/
650 /*----------------------------------------------------------------------------
653 *----------------------------------------------------------------------------*/
656 /*----------------------------------------------------------------------------
657 * Register 0x0009: MMD PHY Address
658 * Bit 12-8 MDIO_DEVADR
659 * Bit 4-0 MDIO_PRTADR
660 *----------------------------------------------------------------------------*/
666 /*----------------------------------------------------------------------------
675 *----------------------------------------------------------------------------*/
684 /*----------------------------------------------------------------------------
685 * Register 0x000D: S/UNI-1x10GE-XP Master Interrupt Status
702 *----------------------------------------------------------------------------*/
720 /*----------------------------------------------------------------------------
723 *----------------------------------------------------------------------------*/
726 /*----------------------------------------------------------------------------
732 *----------------------------------------------------------------------------*/
739 /*----------------------------------------------------------------------------
741 * Bit 6-4 EN_IDLE_REP
742 *----------------------------------------------------------------------------*/
745 /*----------------------------------------------------------------------------
751 *----------------------------------------------------------------------------*/
758 /*----------------------------------------------------------------------------
765 *----------------------------------------------------------------------------*/
773 /*----------------------------------------------------------------------------
779 *----------------------------------------------------------------------------*/
785 /*----------------------------------------------------------------------------
791 *----------------------------------------------------------------------------*/
797 /*----------------------------------------------------------------------------
803 *----------------------------------------------------------------------------*/
809 /*----------------------------------------------------------------------------
814 *----------------------------------------------------------------------------*/
819 /*----------------------------------------------------------------------------
830 * Bit 2-0 RXXG_MIFG
831 *----------------------------------------------------------------------------*/
842 /*----------------------------------------------------------------------------
844 * Bit 7-0 RXXG_HDRSIZE
845 *----------------------------------------------------------------------------*/
848 /*----------------------------------------------------------------------------
857 *----------------------------------------------------------------------------*/
866 /*----------------------------------------------------------------------------
875 *----------------------------------------------------------------------------*/
884 /*----------------------------------------------------------------------------
886 * Bit 2-0 RXXG_CUT_THRU
887 *----------------------------------------------------------------------------*/
891 /*----------------------------------------------------------------------------
892 * Register 0x2062H - 0x2069: RXXG Exact Match VID
893 * Bit 11-0 RXXG_VID_MATCH
894 *----------------------------------------------------------------------------*/
898 /*----------------------------------------------------------------------------
899 * Register 0x206EH - 0x206F: RXXG Address Filter Control
904 *----------------------------------------------------------------------------*/
910 /*----------------------------------------------------------------------------
914 *----------------------------------------------------------------------------*/
918 /*----------------------------------------------------------------------------
921 * Bit 4-2 PATT
922 *----------------------------------------------------------------------------*/
927 /*----------------------------------------------------------------------------
929 * Bit 12-9 LANE_HICERE
930 * Bit 8-5 HS_SD_LANEE
932 * Bit 3-0 LANE_SYNC_STAT_ERRE
933 *----------------------------------------------------------------------------*/
942 /*----------------------------------------------------------------------------
944 * Bit 12-9 LANE_HICERI
945 * Bit 8-5 HS_SD_LANEI
947 * Bit 3-0 LANE_SYNC_STAT_ERRI
948 *----------------------------------------------------------------------------*/
957 /*----------------------------------------------------------------------------
959 * Bit 8-5 HS_SD_LANE
961 * Bit 3-0 LANE_SYNC_STAT_ERR
962 *----------------------------------------------------------------------------*/
973 /*----------------------------------------------------------------------------
975 * Bit 7-4 LANE_OVERRUNE
976 * Bit 3-0 LANE_UNDERRUNE
977 *----------------------------------------------------------------------------*/
983 /*----------------------------------------------------------------------------
985 * Bit 7-4 LANE_OVERRUNI
986 * Bit 3-0 LANE_UNDERRUNI
987 *----------------------------------------------------------------------------*/
993 /*----------------------------------------------------------------------------
996 * Bit 14-12 RXOAM_F2_SEL
997 * Bit 10-8 RXOAM_F1_SEL
998 * Bit 7-6 RXOAM_FILTER_CTRL
999 * Bit 5-0 RXOAM_PX_EN
1000 *----------------------------------------------------------------------------*/
1011 /*----------------------------------------------------------------------------
1013 * Bit 15-8 RXOAM_FX_MASK
1014 * Bit 7-0 RXOAM_FX_VAL
1015 *----------------------------------------------------------------------------*/
1021 /*----------------------------------------------------------------------------
1024 * Bit 11-10 RXOAM_BYPASS_MODE
1025 * Bit 5-0 RXOAM_PX_CLEAR
1026 *----------------------------------------------------------------------------*/
1033 /*----------------------------------------------------------------------------
1035 * Bit 15-8 RXOAM_COSET
1038 *----------------------------------------------------------------------------*/
1044 /*----------------------------------------------------------------------------
1057 *----------------------------------------------------------------------------*/
1070 /*----------------------------------------------------------------------------
1083 *----------------------------------------------------------------------------*/
1096 /*----------------------------------------------------------------------------
1102 *----------------------------------------------------------------------------*/
1108 /*----------------------------------------------------------------------------
1113 *----------------------------------------------------------------------------*/
1118 /*----------------------------------------------------------------------------
1120 * Bit 5-0 MSTAT_WRITE_ADDRESS
1121 *----------------------------------------------------------------------------*/
1125 /*----------------------------------------------------------------------------
1129 * Bit 13-0 IFLX_IFD_CNT
1130 *----------------------------------------------------------------------------*/
1136 /*----------------------------------------------------------------------------
1139 *----------------------------------------------------------------------------*/
1142 /*----------------------------------------------------------------------------
1145 *----------------------------------------------------------------------------*/
1148 /*----------------------------------------------------------------------------
1152 *----------------------------------------------------------------------------*/
1156 /*----------------------------------------------------------------------------
1158 * Bit 9-0 IFLX_LOLIM
1159 *----------------------------------------------------------------------------*/
1163 /*----------------------------------------------------------------------------
1165 * Bit 9-0 IFLX_HILIM
1166 *----------------------------------------------------------------------------*/
1170 /*----------------------------------------------------------------------------
1174 * Bit 13-0 IFLX_AFTH
1175 *----------------------------------------------------------------------------*/
1181 /*----------------------------------------------------------------------------
1185 * Bit 13-0 IFLX_AETH
1186 *----------------------------------------------------------------------------*/
1192 /*----------------------------------------------------------------------------
1197 *----------------------------------------------------------------------------*/
1202 /*----------------------------------------------------------------------------
1204 * Bit 11-0 PL4MOS_MAX_BURST1
1205 *----------------------------------------------------------------------------*/
1209 /*----------------------------------------------------------------------------
1211 * Bit 11-0 PL4MOS_MAX_BURST2
1212 *----------------------------------------------------------------------------*/
1216 /*----------------------------------------------------------------------------
1218 * Bit 7-0 PL4MOS_MAX_TRANSFER
1219 *----------------------------------------------------------------------------*/
1223 /*----------------------------------------------------------------------------
1225 * Bit 15-12 PL4ODP_REPEAT_T
1229 *----------------------------------------------------------------------------*/
1236 /*----------------------------------------------------------------------------
1239 *----------------------------------------------------------------------------*/
1251 /*----------------------------------------------------------------------------
1254 *----------------------------------------------------------------------------*/
1265 /*----------------------------------------------------------------------------
1273 *----------------------------------------------------------------------------*/
1281 /*----------------------------------------------------------------------------
1289 *----------------------------------------------------------------------------*/
1297 /*----------------------------------------------------------------------------
1305 *----------------------------------------------------------------------------*/
1313 /*----------------------------------------------------------------------------
1315 * Bit 15-8 PL4IO_REF_LIMIT
1316 * Bit 7-0 PL4IO_TRAN_LIMIT
1317 *----------------------------------------------------------------------------*/
1323 /*----------------------------------------------------------------------------
1325 * Bit 15-8 PL4IO_IN_MUL
1326 * Bit 7-0 PL4IO_OUT_MUL
1327 *----------------------------------------------------------------------------*/
1333 /*----------------------------------------------------------------------------
1344 * Bit 1-0 PL4IO_OUTSEL
1345 *----------------------------------------------------------------------------*/
1358 /*----------------------------------------------------------------------------
1362 * Bit 12-7 TXXG_IPGT
1369 *----------------------------------------------------------------------------*/
1381 /*----------------------------------------------------------------------------
1383 * Bit 7-0 TXXG_HDRSIZE
1384 *----------------------------------------------------------------------------*/
1387 /*----------------------------------------------------------------------------
1394 *----------------------------------------------------------------------------*/
1401 /*----------------------------------------------------------------------------
1408 *----------------------------------------------------------------------------*/
1415 /*----------------------------------------------------------------------------
1419 *----------------------------------------------------------------------------*/
1423 /*----------------------------------------------------------------------------
1424 * Register 0x3046: TXXG TX_MINFR - Transmit Min Frame Size Register
1425 * Bit 7-0 TXXG_TX_MINFR
1426 *----------------------------------------------------------------------------*/
1430 /*----------------------------------------------------------------------------
1432 * Bit 7-0 TXXG_FC_PAUSE_QNTM
1433 *----------------------------------------------------------------------------*/
1437 /*----------------------------------------------------------------------------
1439 * Bit 3-0 XTEF_FORCE_PARITY_ERR
1440 *----------------------------------------------------------------------------*/
1444 /*----------------------------------------------------------------------------
1447 *----------------------------------------------------------------------------*/
1450 /*----------------------------------------------------------------------------
1453 *----------------------------------------------------------------------------*/
1456 /*----------------------------------------------------------------------------
1459 *----------------------------------------------------------------------------*/
1462 /*----------------------------------------------------------------------------
1468 * Bit 11-6 TXOAM_PX_OVERWRITE
1469 * Bit 5-0 TXOAM_PX_SEL
1470 *----------------------------------------------------------------------------*/
1480 /*----------------------------------------------------------------------------
1481 * Register 0x30C1: TXOAM Mini-Packet Rate Configuration
1485 * Bit 10-0 TXOAM_MINIRATE
1486 *----------------------------------------------------------------------------*/
1492 /*----------------------------------------------------------------------------
1493 * Register 0x30C2: TXOAM Mini-Packet Gap and FIFO Configuration
1494 * Bit 13-10 TXOAM_FTHRESH
1495 * Bit 9-6 TXOAM_MINIPOST
1496 * Bit 5-0 TXOAM_MINIPRE
1497 *----------------------------------------------------------------------------*/
1504 /*----------------------------------------------------------------------------
1509 *----------------------------------------------------------------------------*/
1514 /*----------------------------------------------------------------------------
1519 *----------------------------------------------------------------------------*/
1524 /*----------------------------------------------------------------------------
1526 * Bit 7-0 TXOAM_COSET
1527 *----------------------------------------------------------------------------*/
1530 /*----------------------------------------------------------------------------
1534 *----------------------------------------------------------------------------*/
1538 /*----------------------------------------------------------------------------
1541 *----------------------------------------------------------------------------*/
1544 /*----------------------------------------------------------------------------
1548 *----------------------------------------------------------------------------*/
1552 /*----------------------------------------------------------------------------
1554 *----------------------------------------------------------------------------*/
1558 /*----------------------------------------------------------------------------
1560 *----------------------------------------------------------------------------*/
1564 /*----------------------------------------------------------------------------
1565 * Register 0x3205: EFLX Indirect Full/Almost-Full Status and Limit
1568 * Bit 13-0 EFLX_AFTH
1569 *----------------------------------------------------------------------------*/
1575 /*----------------------------------------------------------------------------
1576 * Register 0x3206: EFLX Indirect Empty/Almost-Empty Status and Limit
1579 * Bit 13-0 EFLX_AETH
1580 *----------------------------------------------------------------------------*/
1586 /*----------------------------------------------------------------------------
1587 * Register 0x3207: EFLX Indirect FIFO Cut-Through Threshold
1588 *----------------------------------------------------------------------------*/
1592 /*----------------------------------------------------------------------------
1595 *----------------------------------------------------------------------------*/
1598 /*----------------------------------------------------------------------------
1601 *----------------------------------------------------------------------------*/
1604 /*----------------------------------------------------------------------------
1607 *----------------------------------------------------------------------------*/
1610 /*----------------------------------------------------------------------------
1615 *----------------------------------------------------------------------------*/
1620 /*----------------------------------------------------------------------------
1623 *----------------------------------------------------------------------------*/
1626 /*----------------------------------------------------------------------------
1629 *----------------------------------------------------------------------------*/