.. | .. |
---|
1 | | -/* |
---|
2 | | - * aQuantia Corporation Network Driver |
---|
3 | | - * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
| 2 | +/* Atlantic Network Driver |
---|
4 | 3 | * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify it |
---|
6 | | - * under the terms and conditions of the GNU General Public License, |
---|
7 | | - * version 2, as published by the Free Software Foundation. |
---|
| 4 | + * Copyright (C) 2014-2019 aQuantia Corporation |
---|
| 5 | + * Copyright (C) 2019-2020 Marvell International Ltd. |
---|
8 | 6 | */ |
---|
9 | 7 | |
---|
10 | 8 | /* File hw_atl_llh_internal.h: Preprocessor definitions |
---|
.. | .. |
---|
13 | 11 | |
---|
14 | 12 | #ifndef HW_ATL_LLH_INTERNAL_H |
---|
15 | 13 | #define HW_ATL_LLH_INTERNAL_H |
---|
| 14 | + |
---|
| 15 | +/* COM Temperature Sense Reset Bitfield Definitions */ |
---|
| 16 | +#define HW_ATL_TS_RESET_ADR 0x00003100 |
---|
| 17 | +#define HW_ATL_TS_RESET_MSK 0x00000004 |
---|
| 18 | +#define HW_ATL_TS_RESET_SHIFT 2 |
---|
| 19 | +#define HW_ATL_TS_RESET_WIDTH 1 |
---|
| 20 | + |
---|
| 21 | +/* COM Temperature Sense Power Down Bitfield Definitions */ |
---|
| 22 | +#define HW_ATL_TS_POWER_DOWN_ADR 0x00003100 |
---|
| 23 | +#define HW_ATL_TS_POWER_DOWN_MSK 0x00000001 |
---|
| 24 | +#define HW_ATL_TS_POWER_DOWN_SHIFT 0 |
---|
| 25 | +#define HW_ATL_TS_POWER_DOWN_WIDTH 1 |
---|
| 26 | + |
---|
| 27 | +/* COM Temperature Sense Ready Bitfield Definitions */ |
---|
| 28 | +#define HW_ATL_TS_READY_ADR 0x00003120 |
---|
| 29 | +#define HW_ATL_TS_READY_MSK 0x80000000 |
---|
| 30 | +#define HW_ATL_TS_READY_SHIFT 31 |
---|
| 31 | +#define HW_ATL_TS_READY_WIDTH 1 |
---|
| 32 | + |
---|
| 33 | +/* COM Temperature Sense Ready Latch High Bitfield Definitions */ |
---|
| 34 | +#define HW_ATL_TS_READY_LATCH_HIGH_ADR 0x00003120 |
---|
| 35 | +#define HW_ATL_TS_READY_LATCH_HIGH_MSK 0x40000000 |
---|
| 36 | +#define HW_ATL_TS_READY_LATCH_HIGH_SHIFT 30 |
---|
| 37 | +#define HW_ATL_TS_READY_LATCH_HIGH_WIDTH 1 |
---|
| 38 | + |
---|
| 39 | +/* COM Temperature Sense Data Out [B:0] Bitfield Definitions */ |
---|
| 40 | +#define HW_ATL_TS_DATA_OUT_ADR 0x00003120 |
---|
| 41 | +#define HW_ATL_TS_DATA_OUT_MSK 0x00000FFF |
---|
| 42 | +#define HW_ATL_TS_DATA_OUT_SHIFT 0 |
---|
| 43 | +#define HW_ATL_TS_DATA_OUT_WIDTH 12 |
---|
16 | 44 | |
---|
17 | 45 | /* global microprocessor semaphore definitions |
---|
18 | 46 | * base address: 0x000003a0 |
---|
.. | .. |
---|
58 | 86 | /* preprocessor definitions for msm rx unicast octets counter register 0 */ |
---|
59 | 87 | #define HW_ATL_MAC_MSM_RX_UCST_OCTETS_COUNTER0_ADR 0x000001b8u |
---|
60 | 88 | |
---|
61 | | -/* preprocessor definitions for rx dma statistics counter 7 */ |
---|
62 | | -#define HW_ATL_RX_DMA_STAT_COUNTER7_ADR 0x00006818u |
---|
63 | | - |
---|
64 | 89 | /* preprocessor definitions for msm tx unicast frames counter register */ |
---|
65 | 90 | #define HW_ATL_MAC_MSM_TX_UCST_FRM_CNT_ADR 0x00000108u |
---|
66 | 91 | |
---|
.. | .. |
---|
95 | 120 | #define HW_ATL_ITR_RES_MSK 0x80000000 |
---|
96 | 121 | /* lower bit position of bitfield itr_reset */ |
---|
97 | 122 | #define HW_ATL_ITR_RES_SHIFT 31 |
---|
| 123 | + |
---|
| 124 | +/* register address for bitfield rsc_en */ |
---|
| 125 | +#define HW_ATL_ITR_RSC_EN_ADR 0x00002200 |
---|
| 126 | + |
---|
| 127 | +/* register address for bitfield rsc_delay */ |
---|
| 128 | +#define HW_ATL_ITR_RSC_DELAY_ADR 0x00002204 |
---|
| 129 | +/* bitmask for bitfield rsc_delay */ |
---|
| 130 | +#define HW_ATL_ITR_RSC_DELAY_MSK 0x0000000f |
---|
| 131 | +/* width of bitfield rsc_delay */ |
---|
| 132 | +#define HW_ATL_ITR_RSC_DELAY_WIDTH 4 |
---|
| 133 | +/* lower bit position of bitfield rsc_delay */ |
---|
| 134 | +#define HW_ATL_ITR_RSC_DELAY_SHIFT 0 |
---|
| 135 | + |
---|
98 | 136 | /* register address for bitfield dca{d}_cpuid[7:0] */ |
---|
99 | 137 | #define HW_ATL_RDM_DCADCPUID_ADR(dca) (0x00006100 + (dca) * 0x4) |
---|
100 | 138 | /* bitmask for bitfield dca{d}_cpuid[7:0] */ |
---|
.. | .. |
---|
310 | 348 | #define HW_ATL_RDM_RX_DMA_DESC_CACHE_INIT_WIDTH 32 |
---|
311 | 349 | /* default value of bitfield rdm_desc_init_i */ |
---|
312 | 350 | #define HW_ATL_RDM_RX_DMA_DESC_CACHE_INIT_DEFAULT 0x0 |
---|
| 351 | + |
---|
| 352 | +/* rdm_desc_init_done_i bitfield definitions |
---|
| 353 | + * preprocessor definitions for the bitfield rdm_desc_init_done_i. |
---|
| 354 | + * port="pif_rdm_desc_init_done_i" |
---|
| 355 | + */ |
---|
| 356 | + |
---|
| 357 | +/* register address for bitfield rdm_desc_init_done_i */ |
---|
| 358 | +#define RDM_RX_DMA_DESC_CACHE_INIT_DONE_ADR 0x00005a10 |
---|
| 359 | +/* bitmask for bitfield rdm_desc_init_done_i */ |
---|
| 360 | +#define RDM_RX_DMA_DESC_CACHE_INIT_DONE_MSK 0x00000001U |
---|
| 361 | +/* inverted bitmask for bitfield rdm_desc_init_done_i */ |
---|
| 362 | +#define RDM_RX_DMA_DESC_CACHE_INIT_DONE_MSKN 0xfffffffe |
---|
| 363 | +/* lower bit position of bitfield rdm_desc_init_done_i */ |
---|
| 364 | +#define RDM_RX_DMA_DESC_CACHE_INIT_DONE_SHIFT 0U |
---|
| 365 | +/* width of bitfield rdm_desc_init_done_i */ |
---|
| 366 | +#define RDM_RX_DMA_DESC_CACHE_INIT_DONE_WIDTH 1 |
---|
| 367 | +/* default value of bitfield rdm_desc_init_done_i */ |
---|
| 368 | +#define RDM_RX_DMA_DESC_CACHE_INIT_DONE_DEFAULT 0x0 |
---|
| 369 | + |
---|
313 | 370 | |
---|
314 | 371 | /* rx int_desc_wrb_en bitfield definitions |
---|
315 | 372 | * preprocessor definitions for the bitfield "int_desc_wrb_en". |
---|
.. | .. |
---|
527 | 584 | #define HW_ATL_RPB_DMA_SYS_LBK_WIDTH 1 |
---|
528 | 585 | /* default value of bitfield dma_sys_loopback */ |
---|
529 | 586 | #define HW_ATL_RPB_DMA_SYS_LBK_DEFAULT 0x0 |
---|
| 587 | + |
---|
| 588 | +/* rx dma_net_loopback bitfield definitions |
---|
| 589 | + * preprocessor definitions for the bitfield "dma_net_loopback". |
---|
| 590 | + * port="pif_rpb_dma_net_lbk_i" |
---|
| 591 | + */ |
---|
| 592 | + |
---|
| 593 | +/* register address for bitfield dma_net_loopback */ |
---|
| 594 | +#define HW_ATL_RPB_DMA_NET_LBK_ADR 0x00005000 |
---|
| 595 | +/* bitmask for bitfield dma_net_loopback */ |
---|
| 596 | +#define HW_ATL_RPB_DMA_NET_LBK_MSK 0x00000010 |
---|
| 597 | +/* inverted bitmask for bitfield dma_net_loopback */ |
---|
| 598 | +#define HW_ATL_RPB_DMA_NET_LBK_MSKN 0xffffffef |
---|
| 599 | +/* lower bit position of bitfield dma_net_loopback */ |
---|
| 600 | +#define HW_ATL_RPB_DMA_NET_LBK_SHIFT 4 |
---|
| 601 | +/* width of bitfield dma_net_loopback */ |
---|
| 602 | +#define HW_ATL_RPB_DMA_NET_LBK_WIDTH 1 |
---|
| 603 | +/* default value of bitfield dma_net_loopback */ |
---|
| 604 | +#define HW_ATL_RPB_DMA_NET_LBK_DEFAULT 0x0 |
---|
530 | 605 | |
---|
531 | 606 | /* rx rx_tc_mode bitfield definitions |
---|
532 | 607 | * preprocessor definitions for the bitfield "rx_tc_mode". |
---|
.. | .. |
---|
1092 | 1167 | /* Default value of bitfield vl_id{F}[B:0] */ |
---|
1093 | 1168 | #define HW_ATL_RPF_VL_ID_F_DEFAULT 0x0 |
---|
1094 | 1169 | |
---|
1095 | | -/* RX et_en{F} Bitfield Definitions |
---|
1096 | | - * Preprocessor definitions for the bitfield "et_en{F}". |
---|
| 1170 | +/* RX vl_rxq_en{F} Bitfield Definitions |
---|
| 1171 | + * Preprocessor definitions for the bitfield "vl_rxq{F}". |
---|
1097 | 1172 | * Parameter: filter {F} | stride size 0x4 | range [0, 15] |
---|
1098 | | - * PORT="pif_rpf_et_en_i[0]" |
---|
| 1173 | + * PORT="pif_rpf_vl_rxq_en_i" |
---|
1099 | 1174 | */ |
---|
1100 | 1175 | |
---|
1101 | | -/* Register address for bitfield et_en{F} */ |
---|
1102 | | -#define HW_ATL_RPF_ET_EN_F_ADR(filter) (0x00005300 + (filter) * 0x4) |
---|
1103 | | -/* Bitmask for bitfield et_en{F} */ |
---|
1104 | | -#define HW_ATL_RPF_ET_EN_F_MSK 0x80000000 |
---|
1105 | | -/* Inverted bitmask for bitfield et_en{F} */ |
---|
1106 | | -#define HW_ATL_RPF_ET_EN_F_MSKN 0x7FFFFFFF |
---|
1107 | | -/* Lower bit position of bitfield et_en{F} */ |
---|
1108 | | -#define HW_ATL_RPF_ET_EN_F_SHIFT 31 |
---|
1109 | | -/* Width of bitfield et_en{F} */ |
---|
1110 | | -#define HW_ATL_RPF_ET_EN_F_WIDTH 1 |
---|
1111 | | -/* Default value of bitfield et_en{F} */ |
---|
1112 | | -#define HW_ATL_RPF_ET_EN_F_DEFAULT 0x0 |
---|
| 1176 | +/* Register address for bitfield vl_rxq_en{F} */ |
---|
| 1177 | +#define HW_ATL_RPF_VL_RXQ_EN_F_ADR(filter) (0x00005290 + (filter) * 0x4) |
---|
| 1178 | +/* Bitmask for bitfield vl_rxq_en{F} */ |
---|
| 1179 | +#define HW_ATL_RPF_VL_RXQ_EN_F_MSK 0x10000000 |
---|
| 1180 | +/* Inverted bitmask for bitfield vl_rxq_en{F}[ */ |
---|
| 1181 | +#define HW_ATL_RPF_VL_RXQ_EN_F_MSKN 0xEFFFFFFF |
---|
| 1182 | +/* Lower bit position of bitfield vl_rxq_en{F} */ |
---|
| 1183 | +#define HW_ATL_RPF_VL_RXQ_EN_F_SHIFT 28 |
---|
| 1184 | +/* Width of bitfield vl_rxq_en{F} */ |
---|
| 1185 | +#define HW_ATL_RPF_VL_RXQ_EN_F_WIDTH 1 |
---|
| 1186 | +/* Default value of bitfield vl_rxq_en{F} */ |
---|
| 1187 | +#define HW_ATL_RPF_VL_RXQ_EN_F_DEFAULT 0x0 |
---|
| 1188 | + |
---|
| 1189 | +/* RX vl_rxq{F}[4:0] Bitfield Definitions |
---|
| 1190 | + * Preprocessor definitions for the bitfield "vl_rxq{F}[4:0]". |
---|
| 1191 | + * Parameter: filter {F} | stride size 0x4 | range [0, 15] |
---|
| 1192 | + * PORT="pif_rpf_vl_rxq0_i[4:0]" |
---|
| 1193 | + */ |
---|
| 1194 | + |
---|
| 1195 | +/* Register address for bitfield vl_rxq{F}[4:0] */ |
---|
| 1196 | +#define HW_ATL_RPF_VL_RXQ_F_ADR(filter) (0x00005290 + (filter) * 0x4) |
---|
| 1197 | +/* Bitmask for bitfield vl_rxq{F}[4:0] */ |
---|
| 1198 | +#define HW_ATL_RPF_VL_RXQ_F_MSK 0x01F00000 |
---|
| 1199 | +/* Inverted bitmask for bitfield vl_rxq{F}[4:0] */ |
---|
| 1200 | +#define HW_ATL_RPF_VL_RXQ_F_MSKN 0xFE0FFFFF |
---|
| 1201 | +/* Lower bit position of bitfield vl_rxq{F}[4:0] */ |
---|
| 1202 | +#define HW_ATL_RPF_VL_RXQ_F_SHIFT 20 |
---|
| 1203 | +/* Width of bitfield vl_rxw{F}[4:0] */ |
---|
| 1204 | +#define HW_ATL_RPF_VL_RXQ_F_WIDTH 5 |
---|
| 1205 | +/* Default value of bitfield vl_rxq{F}[4:0] */ |
---|
| 1206 | +#define HW_ATL_RPF_VL_RXQ_F_DEFAULT 0x0 |
---|
1113 | 1207 | |
---|
1114 | 1208 | /* rx et_en{f} bitfield definitions |
---|
1115 | 1209 | * preprocessor definitions for the bitfield "et_en{f}". |
---|
.. | .. |
---|
1263 | 1357 | /* default value of bitfield et_val{f}[f:0] */ |
---|
1264 | 1358 | #define HW_ATL_RPF_ET_VALF_DEFAULT 0x0 |
---|
1265 | 1359 | |
---|
| 1360 | +/* RX l3_l4_en{F} Bitfield Definitions |
---|
| 1361 | + * Preprocessor definitions for the bitfield "l3_l4_en{F}". |
---|
| 1362 | + * Parameter: filter {F} | stride size 0x4 | range [0, 7] |
---|
| 1363 | + * PORT="pif_rpf_l3_l4_en_i[0]" |
---|
| 1364 | + */ |
---|
| 1365 | + |
---|
| 1366 | +#define HW_ATL_RPF_L3_REG_CTRL_ADR(filter) (0x00005380 + (filter) * 0x4) |
---|
| 1367 | + |
---|
| 1368 | +/* RX rpf_l3_sa{D}[1F:0] Bitfield Definitions |
---|
| 1369 | + * Preprocessor definitions for the bitfield "l3_sa{D}[1F:0]". |
---|
| 1370 | + * Parameter: location {D} | stride size 0x4 | range [0, 7] |
---|
| 1371 | + * PORT="pif_rpf_l3_sa0_i[31:0]" |
---|
| 1372 | + */ |
---|
| 1373 | + |
---|
| 1374 | +/* Register address for bitfield pif_rpf_l3_sa0_i[31:0] */ |
---|
| 1375 | +#define HW_ATL_RPF_L3_SRCA_ADR(filter) (0x000053B0 + (filter) * 0x4) |
---|
| 1376 | +/* Bitmask for bitfield l3_sa0[1F:0] */ |
---|
| 1377 | +#define HW_ATL_RPF_L3_SRCA_MSK 0xFFFFFFFFu |
---|
| 1378 | +/* Inverted bitmask for bitfield l3_sa0[1F:0] */ |
---|
| 1379 | +#define HW_ATL_RPF_L3_SRCA_MSKN 0xFFFFFFFFu |
---|
| 1380 | +/* Lower bit position of bitfield l3_sa0[1F:0] */ |
---|
| 1381 | +#define HW_ATL_RPF_L3_SRCA_SHIFT 0 |
---|
| 1382 | +/* Width of bitfield l3_sa0[1F:0] */ |
---|
| 1383 | +#define HW_ATL_RPF_L3_SRCA_WIDTH 32 |
---|
| 1384 | +/* Default value of bitfield l3_sa0[1F:0] */ |
---|
| 1385 | +#define HW_ATL_RPF_L3_SRCA_DEFAULT 0x0 |
---|
| 1386 | + |
---|
| 1387 | +/* RX rpf_l3_da{D}[1F:0] Bitfield Definitions |
---|
| 1388 | + * Preprocessor definitions for the bitfield "l3_da{D}[1F:0]". |
---|
| 1389 | + * Parameter: location {D} | stride size 0x4 | range [0, 7] |
---|
| 1390 | + * PORT="pif_rpf_l3_da0_i[31:0]" |
---|
| 1391 | + */ |
---|
| 1392 | + |
---|
| 1393 | + /* Register address for bitfield pif_rpf_l3_da0_i[31:0] */ |
---|
| 1394 | +#define HW_ATL_RPF_L3_DSTA_ADR(filter) (0x000053D0 + (filter) * 0x4) |
---|
| 1395 | +/* Bitmask for bitfield l3_da0[1F:0] */ |
---|
| 1396 | +#define HW_ATL_RPF_L3_DSTA_MSK 0xFFFFFFFFu |
---|
| 1397 | +/* Inverted bitmask for bitfield l3_da0[1F:0] */ |
---|
| 1398 | +#define HW_ATL_RPF_L3_DSTA_MSKN 0xFFFFFFFFu |
---|
| 1399 | +/* Lower bit position of bitfield l3_da0[1F:0] */ |
---|
| 1400 | +#define HW_ATL_RPF_L3_DSTA_SHIFT 0 |
---|
| 1401 | +/* Width of bitfield l3_da0[1F:0] */ |
---|
| 1402 | +#define HW_ATL_RPF_L3_DSTA_WIDTH 32 |
---|
| 1403 | +/* Default value of bitfield l3_da0[1F:0] */ |
---|
| 1404 | +#define HW_ATL_RPF_L3_DSTA_DEFAULT 0x0 |
---|
| 1405 | + |
---|
| 1406 | +/* RX l4_sp{D}[F:0] Bitfield Definitions |
---|
| 1407 | + * Preprocessor definitions for the bitfield "l4_sp{D}[F:0]". |
---|
| 1408 | + * Parameter: srcport {D} | stride size 0x4 | range [0, 7] |
---|
| 1409 | + * PORT="pif_rpf_l4_sp0_i[15:0]" |
---|
| 1410 | + */ |
---|
| 1411 | + |
---|
| 1412 | +/* Register address for bitfield l4_sp{D}[F:0] */ |
---|
| 1413 | +#define HW_ATL_RPF_L4_SPD_ADR(srcport) (0x00005400u + (srcport) * 0x4) |
---|
| 1414 | +/* Bitmask for bitfield l4_sp{D}[F:0] */ |
---|
| 1415 | +#define HW_ATL_RPF_L4_SPD_MSK 0x0000FFFFu |
---|
| 1416 | +/* Inverted bitmask for bitfield l4_sp{D}[F:0] */ |
---|
| 1417 | +#define HW_ATL_RPF_L4_SPD_MSKN 0xFFFF0000u |
---|
| 1418 | +/* Lower bit position of bitfield l4_sp{D}[F:0] */ |
---|
| 1419 | +#define HW_ATL_RPF_L4_SPD_SHIFT 0 |
---|
| 1420 | +/* Width of bitfield l4_sp{D}[F:0] */ |
---|
| 1421 | +#define HW_ATL_RPF_L4_SPD_WIDTH 16 |
---|
| 1422 | +/* Default value of bitfield l4_sp{D}[F:0] */ |
---|
| 1423 | +#define HW_ATL_RPF_L4_SPD_DEFAULT 0x0 |
---|
| 1424 | + |
---|
| 1425 | +/* RX l4_dp{D}[F:0] Bitfield Definitions |
---|
| 1426 | + * Preprocessor definitions for the bitfield "l4_dp{D}[F:0]". |
---|
| 1427 | + * Parameter: destport {D} | stride size 0x4 | range [0, 7] |
---|
| 1428 | + * PORT="pif_rpf_l4_dp0_i[15:0]" |
---|
| 1429 | + */ |
---|
| 1430 | + |
---|
| 1431 | +/* Register address for bitfield l4_dp{D}[F:0] */ |
---|
| 1432 | +#define HW_ATL_RPF_L4_DPD_ADR(destport) (0x00005420u + (destport) * 0x4) |
---|
| 1433 | +/* Bitmask for bitfield l4_dp{D}[F:0] */ |
---|
| 1434 | +#define HW_ATL_RPF_L4_DPD_MSK 0x0000FFFFu |
---|
| 1435 | +/* Inverted bitmask for bitfield l4_dp{D}[F:0] */ |
---|
| 1436 | +#define HW_ATL_RPF_L4_DPD_MSKN 0xFFFF0000u |
---|
| 1437 | +/* Lower bit position of bitfield l4_dp{D}[F:0] */ |
---|
| 1438 | +#define HW_ATL_RPF_L4_DPD_SHIFT 0 |
---|
| 1439 | +/* Width of bitfield l4_dp{D}[F:0] */ |
---|
| 1440 | +#define HW_ATL_RPF_L4_DPD_WIDTH 16 |
---|
| 1441 | +/* Default value of bitfield l4_dp{D}[F:0] */ |
---|
| 1442 | +#define HW_ATL_RPF_L4_DPD_DEFAULT 0x0 |
---|
| 1443 | + |
---|
1266 | 1444 | /* rx ipv4_chk_en bitfield definitions |
---|
1267 | 1445 | * preprocessor definitions for the bitfield "ipv4_chk_en". |
---|
1268 | 1446 | * port="pif_rpo_ipv4_chk_en_i" |
---|
.. | .. |
---|
1318 | 1496 | #define HW_ATL_RPOL4CHK_EN_WIDTH 1 |
---|
1319 | 1497 | /* default value of bitfield l4_chk_en */ |
---|
1320 | 1498 | #define HW_ATL_RPOL4CHK_EN_DEFAULT 0x0 |
---|
| 1499 | + |
---|
| 1500 | +/* RX outer_vl_ins_mode Bitfield Definitions |
---|
| 1501 | + * Preprocessor definitions for the bitfield "outer_vl_ins_mode". |
---|
| 1502 | + * PORT="pif_rpo_outer_vl_mode_i" |
---|
| 1503 | + */ |
---|
| 1504 | + |
---|
| 1505 | +/* Register address for bitfield outer_vl_ins_mode */ |
---|
| 1506 | +#define HW_ATL_RPO_OUTER_VL_INS_MODE_ADR 0x00005580 |
---|
| 1507 | +/* Bitmask for bitfield outer_vl_ins_mode */ |
---|
| 1508 | +#define HW_ATL_RPO_OUTER_VL_INS_MODE_MSK 0x00000004 |
---|
| 1509 | +/* Inverted bitmask for bitfield outer_vl_ins_mode */ |
---|
| 1510 | +#define HW_ATL_RPO_OUTER_VL_INS_MODE_MSKN 0xFFFFFFFB |
---|
| 1511 | +/* Lower bit position of bitfield outer_vl_ins_mode */ |
---|
| 1512 | +#define HW_ATL_RPO_OUTER_VL_INS_MODE_SHIFT 2 |
---|
| 1513 | +/* Width of bitfield outer_vl_ins_mode */ |
---|
| 1514 | +#define HW_ATL_RPO_OUTER_VL_INS_MODE_WIDTH 1 |
---|
| 1515 | +/* Default value of bitfield outer_vl_ins_mode */ |
---|
| 1516 | +#define HW_ATL_RPO_OUTER_VL_INS_MODE_DEFAULT 0x0 |
---|
1321 | 1517 | |
---|
1322 | 1518 | /* rx reg_res_dsbl bitfield definitions |
---|
1323 | 1519 | * preprocessor definitions for the bitfield "reg_res_dsbl". |
---|
.. | .. |
---|
1873 | 2069 | /* default value of bitfield lso_tcp_flag_mid[b:0] */ |
---|
1874 | 2070 | #define HW_ATL_THM_LSO_TCP_FLAG_MID_DEFAULT 0x0 |
---|
1875 | 2071 | |
---|
| 2072 | +/* tx tx_tc_mode bitfield definitions |
---|
| 2073 | + * preprocessor definitions for the bitfield "tx_tc_mode". |
---|
| 2074 | + * port="pif_tpb_tx_tc_mode_i,pif_tps_tx_tc_mode_i" |
---|
| 2075 | + */ |
---|
| 2076 | + |
---|
| 2077 | +/* register address for bitfield tx_tc_mode */ |
---|
| 2078 | +#define HW_ATL_TPB_TX_TC_MODE_ADDR 0x00007900 |
---|
| 2079 | +/* bitmask for bitfield tx_tc_mode */ |
---|
| 2080 | +#define HW_ATL_TPB_TX_TC_MODE_MSK 0x00000100 |
---|
| 2081 | +/* inverted bitmask for bitfield tx_tc_mode */ |
---|
| 2082 | +#define HW_ATL_TPB_TX_TC_MODE_MSKN 0xFFFFFEFF |
---|
| 2083 | +/* lower bit position of bitfield tx_tc_mode */ |
---|
| 2084 | +#define HW_ATL_TPB_TX_TC_MODE_SHIFT 8 |
---|
| 2085 | +/* width of bitfield tx_tc_mode */ |
---|
| 2086 | +#define HW_ATL_TPB_TX_TC_MODE_WIDTH 1 |
---|
| 2087 | +/* default value of bitfield tx_tc_mode */ |
---|
| 2088 | +#define HW_ATL_TPB_TX_TC_MODE_DEFAULT 0x0 |
---|
| 2089 | + |
---|
| 2090 | +/* tx tx_desc_rate_mode bitfield definitions |
---|
| 2091 | + * preprocessor definitions for the bitfield "tx_desc_rate_mode". |
---|
| 2092 | + * port="pif_tps_desc_rate_mode_i" |
---|
| 2093 | + */ |
---|
| 2094 | + |
---|
| 2095 | +/* register address for bitfield tx_desc_rate_mode */ |
---|
| 2096 | +#define HW_ATL_TPS_TX_DESC_RATE_MODE_ADR 0x00007900 |
---|
| 2097 | +/* bitmask for bitfield tx_desc_rate_mode */ |
---|
| 2098 | +#define HW_ATL_TPS_TX_DESC_RATE_MODE_MSK 0x00000080 |
---|
| 2099 | +/* inverted bitmask for bitfield tx_desc_rate_mode */ |
---|
| 2100 | +#define HW_ATL_TPS_TX_DESC_RATE_MODE_MSKN 0xFFFFFF7F |
---|
| 2101 | +/* lower bit position of bitfield tx_desc_rate_mode */ |
---|
| 2102 | +#define HW_ATL_TPS_TX_DESC_RATE_MODE_SHIFT 7 |
---|
| 2103 | +/* width of bitfield tx_desc_rate_mode */ |
---|
| 2104 | +#define HW_ATL_TPS_TX_DESC_RATE_MODE_WIDTH 1 |
---|
| 2105 | +/* default value of bitfield tx_desc_rate_mode */ |
---|
| 2106 | +#define HW_ATL_TPS_TX_DESC_RATE_MODE_DEFAULT 0x0 |
---|
| 2107 | + |
---|
1876 | 2108 | /* tx tx_buf_en bitfield definitions |
---|
1877 | 2109 | * preprocessor definitions for the bitfield "tx_buf_en". |
---|
1878 | 2110 | * port="pif_tpb_tx_buf_en_i" |
---|
.. | .. |
---|
1947 | 2179 | /* default value of bitfield dma_sys_loopback */ |
---|
1948 | 2180 | #define HW_ATL_TPB_DMA_SYS_LBK_DEFAULT 0x0 |
---|
1949 | 2181 | |
---|
| 2182 | +/* tx dma_net_loopback bitfield definitions |
---|
| 2183 | + * preprocessor definitions for the bitfield "dma_net_loopback". |
---|
| 2184 | + * port="pif_tpb_dma_net_lbk_i" |
---|
| 2185 | + */ |
---|
| 2186 | + |
---|
| 2187 | +/* register address for bitfield dma_net_loopback */ |
---|
| 2188 | +#define HW_ATL_TPB_DMA_NET_LBK_ADR 0x00007000 |
---|
| 2189 | +/* bitmask for bitfield dma_net_loopback */ |
---|
| 2190 | +#define HW_ATL_TPB_DMA_NET_LBK_MSK 0x00000010 |
---|
| 2191 | +/* inverted bitmask for bitfield dma_net_loopback */ |
---|
| 2192 | +#define HW_ATL_TPB_DMA_NET_LBK_MSKN 0xffffffef |
---|
| 2193 | +/* lower bit position of bitfield dma_net_loopback */ |
---|
| 2194 | +#define HW_ATL_TPB_DMA_NET_LBK_SHIFT 4 |
---|
| 2195 | +/* width of bitfield dma_net_loopback */ |
---|
| 2196 | +#define HW_ATL_TPB_DMA_NET_LBK_WIDTH 1 |
---|
| 2197 | +/* default value of bitfield dma_net_loopback */ |
---|
| 2198 | +#define HW_ATL_TPB_DMA_NET_LBK_DEFAULT 0x0 |
---|
| 2199 | + |
---|
1950 | 2200 | /* tx tx{b}_buf_size[7:0] bitfield definitions |
---|
1951 | 2201 | * preprocessor definitions for the bitfield "tx{b}_buf_size[7:0]". |
---|
1952 | 2202 | * parameter: buffer {b} | stride size 0x10 | range [0, 7] |
---|
.. | .. |
---|
1983 | 2233 | #define HW_ATL_TPB_TX_SCP_INS_EN_WIDTH 1 |
---|
1984 | 2234 | /* default value of bitfield tx_scp_ins_en */ |
---|
1985 | 2235 | #define HW_ATL_TPB_TX_SCP_INS_EN_DEFAULT 0x0 |
---|
| 2236 | + |
---|
| 2237 | +/* tx tx_clk_gate_en bitfield definitions |
---|
| 2238 | + * preprocessor definitions for the bitfield "tx_clk_gate_en". |
---|
| 2239 | + * port="pif_tpb_clk_gate_en_i" |
---|
| 2240 | + */ |
---|
| 2241 | + |
---|
| 2242 | +/* register address for bitfield tx_clk_gate_en */ |
---|
| 2243 | +#define HW_ATL_TPB_TX_CLK_GATE_EN_ADR 0x00007900 |
---|
| 2244 | +/* bitmask for bitfield tx_clk_gate_en */ |
---|
| 2245 | +#define HW_ATL_TPB_TX_CLK_GATE_EN_MSK 0x00000010 |
---|
| 2246 | +/* inverted bitmask for bitfield tx_clk_gate_en */ |
---|
| 2247 | +#define HW_ATL_TPB_TX_CLK_GATE_EN_MSKN 0xffffffef |
---|
| 2248 | +/* lower bit position of bitfield tx_clk_gate_en */ |
---|
| 2249 | +#define HW_ATL_TPB_TX_CLK_GATE_EN_SHIFT 4 |
---|
| 2250 | +/* width of bitfield tx_clk_gate_en */ |
---|
| 2251 | +#define HW_ATL_TPB_TX_CLK_GATE_EN_WIDTH 1 |
---|
| 2252 | +/* default value of bitfield tx_clk_gate_en */ |
---|
| 2253 | +#define HW_ATL_TPB_TX_CLK_GATE_EN_DEFAULT 0x1 |
---|
1986 | 2254 | |
---|
1987 | 2255 | /* tx ipv4_chk_en bitfield definitions |
---|
1988 | 2256 | * preprocessor definitions for the bitfield "ipv4_chk_en". |
---|
.. | .. |
---|
2055 | 2323 | #define HW_ATL_TPS_DATA_TC_ARB_MODE_WIDTH 1 |
---|
2056 | 2324 | /* default value of bitfield data_tc_arb_mode */ |
---|
2057 | 2325 | #define HW_ATL_TPS_DATA_TC_ARB_MODE_DEFAULT 0x0 |
---|
| 2326 | + |
---|
| 2327 | +/* tx desc{r}_rate_en bitfield definitions |
---|
| 2328 | + * preprocessor definitions for the bitfield "desc{r}_rate_en". |
---|
| 2329 | + * port="pif_tps_desc_rate_en_i[0]" |
---|
| 2330 | + */ |
---|
| 2331 | + |
---|
| 2332 | +/* register address for bitfield desc{r}_rate_en */ |
---|
| 2333 | +#define HW_ATL_TPS_DESC_RATE_EN_ADR(desc) (0x00007408 + (desc) * 0x10) |
---|
| 2334 | +/* bitmask for bitfield desc{r}_rate_en */ |
---|
| 2335 | +#define HW_ATL_TPS_DESC_RATE_EN_MSK 0x80000000 |
---|
| 2336 | +/* inverted bitmask for bitfield desc{r}_rate_en */ |
---|
| 2337 | +#define HW_ATL_TPS_DESC_RATE_EN_MSKN 0x7FFFFFFF |
---|
| 2338 | +/* lower bit position of bitfield desc{r}_rate_en */ |
---|
| 2339 | +#define HW_ATL_TPS_DESC_RATE_EN_SHIFT 31 |
---|
| 2340 | +/* width of bitfield desc{r}_rate_en */ |
---|
| 2341 | +#define HW_ATL_TPS_DESC_RATE_EN_WIDTH 1 |
---|
| 2342 | +/* default value of bitfield desc{r}_rate_en */ |
---|
| 2343 | +#define HW_ATL_TPS_DESC_RATE_EN_DEFAULT 0x0 |
---|
| 2344 | + |
---|
| 2345 | +/* tx desc{r}_rate_x bitfield definitions |
---|
| 2346 | + * preprocessor definitions for the bitfield "desc{r}_rate_x". |
---|
| 2347 | + * port="pif_tps_desc0_rate_x" |
---|
| 2348 | + */ |
---|
| 2349 | +/* register address for bitfield desc{r}_rate_x */ |
---|
| 2350 | +#define HW_ATL_TPS_DESC_RATE_X_ADR(desc) (0x00007408 + (desc) * 0x10) |
---|
| 2351 | +/* bitmask for bitfield desc{r}_rate_x */ |
---|
| 2352 | +#define HW_ATL_TPS_DESC_RATE_X_MSK 0x03FF0000 |
---|
| 2353 | +/* inverted bitmask for bitfield desc{r}_rate_x */ |
---|
| 2354 | +#define HW_ATL_TPS_DESC_RATE_X_MSKN 0xFC00FFFF |
---|
| 2355 | +/* lower bit position of bitfield desc{r}_rate_x */ |
---|
| 2356 | +#define HW_ATL_TPS_DESC_RATE_X_SHIFT 16 |
---|
| 2357 | +/* width of bitfield desc{r}_rate_x */ |
---|
| 2358 | +#define HW_ATL_TPS_DESC_RATE_X_WIDTH 10 |
---|
| 2359 | +/* default value of bitfield desc{r}_rate_x */ |
---|
| 2360 | +#define HW_ATL_TPS_DESC_RATE_X_DEFAULT 0x0 |
---|
| 2361 | + |
---|
| 2362 | +/* tx desc{r}_rate_y bitfield definitions |
---|
| 2363 | + * preprocessor definitions for the bitfield "desc{r}_rate_y". |
---|
| 2364 | + * port="pif_tps_desc0_rate_y" |
---|
| 2365 | + */ |
---|
| 2366 | +/* register address for bitfield desc{r}_rate_y */ |
---|
| 2367 | +#define HW_ATL_TPS_DESC_RATE_Y_ADR(desc) (0x00007408 + (desc) * 0x10) |
---|
| 2368 | +/* bitmask for bitfield desc{r}_rate_y */ |
---|
| 2369 | +#define HW_ATL_TPS_DESC_RATE_Y_MSK 0x00003FFF |
---|
| 2370 | +/* inverted bitmask for bitfield desc{r}_rate_y */ |
---|
| 2371 | +#define HW_ATL_TPS_DESC_RATE_Y_MSKN 0xFFFFC000 |
---|
| 2372 | +/* lower bit position of bitfield desc{r}_rate_y */ |
---|
| 2373 | +#define HW_ATL_TPS_DESC_RATE_Y_SHIFT 0 |
---|
| 2374 | +/* width of bitfield desc{r}_rate_y */ |
---|
| 2375 | +#define HW_ATL_TPS_DESC_RATE_Y_WIDTH 14 |
---|
| 2376 | +/* default value of bitfield desc{r}_rate_y */ |
---|
| 2377 | +#define HW_ATL_TPS_DESC_RATE_Y_DEFAULT 0x0 |
---|
2058 | 2378 | |
---|
2059 | 2379 | /* tx desc_rate_ta_rst bitfield definitions |
---|
2060 | 2380 | * preprocessor definitions for the bitfield "desc_rate_ta_rst". |
---|
.. | .. |
---|
2326 | 2646 | /* default value of bitfield register write strobe */ |
---|
2327 | 2647 | #define HW_ATL_MSM_REG_WR_STROBE_DEFAULT 0x0 |
---|
2328 | 2648 | |
---|
| 2649 | +/* register address for bitfield PTP Digital Clock Read Enable */ |
---|
| 2650 | +#define HW_ATL_PCS_PTP_CLOCK_READ_ENABLE_ADR 0x00004628 |
---|
| 2651 | +/* bitmask for bitfield PTP Digital Clock Read Enable */ |
---|
| 2652 | +#define HW_ATL_PCS_PTP_CLOCK_READ_ENABLE_MSK 0x00000010 |
---|
| 2653 | +/* inverted bitmask for bitfield PTP Digital Clock Read Enable */ |
---|
| 2654 | +#define HW_ATL_PCS_PTP_CLOCK_READ_ENABLE_MSKN 0xFFFFFFEF |
---|
| 2655 | +/* lower bit position of bitfield PTP Digital Clock Read Enable */ |
---|
| 2656 | +#define HW_ATL_PCS_PTP_CLOCK_READ_ENABLE_SHIFT 4 |
---|
| 2657 | +/* width of bitfield PTP Digital Clock Read Enable */ |
---|
| 2658 | +#define HW_ATL_PCS_PTP_CLOCK_READ_ENABLE_WIDTH 1 |
---|
| 2659 | +/* default value of bitfield PTP Digital Clock Read Enable */ |
---|
| 2660 | +#define HW_ATL_PCS_PTP_CLOCK_READ_ENABLE_DEFAULT 0x0 |
---|
| 2661 | + |
---|
| 2662 | +/* register address for ptp counter reading */ |
---|
| 2663 | +#define HW_ATL_PCS_PTP_TS_VAL_ADDR(index) (0x00004900 + (index) * 0x4) |
---|
| 2664 | + |
---|
2329 | 2665 | /* mif soft reset bitfield definitions |
---|
2330 | 2666 | * preprocessor definitions for the bitfield "soft reset". |
---|
2331 | 2667 | * port="pif_glb_res_i" |
---|
.. | .. |
---|
2418 | 2754 | /* default value of bitfield uP Force Interrupt */ |
---|
2419 | 2755 | #define HW_ATL_MCP_UP_FORCE_INTERRUPT_DEFAULT 0x0 |
---|
2420 | 2756 | |
---|
| 2757 | +/* Preprocessor definitions for Global MDIO Interfaces |
---|
| 2758 | + * Address: 0x00000280 + 0x4 * Number of interface |
---|
| 2759 | + */ |
---|
| 2760 | +#define HW_ATL_GLB_MDIO_IFACE_ADDR_BEGIN 0x00000280u |
---|
| 2761 | + |
---|
| 2762 | +#define HW_ATL_GLB_MDIO_IFACE_N_ADR(number) \ |
---|
| 2763 | + (HW_ATL_GLB_MDIO_IFACE_ADDR_BEGIN + (((number) - 1) * 0x4)) |
---|
| 2764 | + |
---|
| 2765 | +/* MIF MDIO Busy Bitfield Definitions |
---|
| 2766 | + * Preprocessor definitions for the bitfield "MDIO Busy". |
---|
| 2767 | + * PORT="mdio_pif_busy_o" |
---|
| 2768 | + */ |
---|
| 2769 | + |
---|
| 2770 | +/* Register address for bitfield MDIO Busy */ |
---|
| 2771 | +#define HW_ATL_MDIO_BUSY_ADR 0x00000284 |
---|
| 2772 | +/* Bitmask for bitfield MDIO Busy */ |
---|
| 2773 | +#define HW_ATL_MDIO_BUSY_MSK 0x80000000 |
---|
| 2774 | +/* Inverted bitmask for bitfield MDIO Busy */ |
---|
| 2775 | +#define HW_ATL_MDIO_BUSY_MSKN 0x7FFFFFFF |
---|
| 2776 | +/* Lower bit position of bitfield MDIO Busy */ |
---|
| 2777 | +#define HW_ATL_MDIO_BUSY_SHIFT 31 |
---|
| 2778 | +/* Width of bitfield MDIO Busy */ |
---|
| 2779 | +#define HW_ATL_MDIO_BUSY_WIDTH 1 |
---|
| 2780 | + |
---|
| 2781 | +/* MIF MDIO Execute Operation Bitfield Definitions |
---|
| 2782 | + * Preprocessor definitions for the bitfield "MDIO Execute Operation". |
---|
| 2783 | + * PORT="pif_mdio_op_start_i" |
---|
| 2784 | + */ |
---|
| 2785 | + |
---|
| 2786 | +/* Register address for bitfield MDIO Execute Operation */ |
---|
| 2787 | +#define HW_ATL_MDIO_EXECUTE_OPERATION_ADR 0x00000284 |
---|
| 2788 | +/* Bitmask for bitfield MDIO Execute Operation */ |
---|
| 2789 | +#define HW_ATL_MDIO_EXECUTE_OPERATION_MSK 0x00008000 |
---|
| 2790 | +/* Inverted bitmask for bitfield MDIO Execute Operation */ |
---|
| 2791 | +#define HW_ATL_MDIO_EXECUTE_OPERATION_MSKN 0xFFFF7FFF |
---|
| 2792 | +/* Lower bit position of bitfield MDIO Execute Operation */ |
---|
| 2793 | +#define HW_ATL_MDIO_EXECUTE_OPERATION_SHIFT 15 |
---|
| 2794 | +/* Width of bitfield MDIO Execute Operation */ |
---|
| 2795 | +#define HW_ATL_MDIO_EXECUTE_OPERATION_WIDTH 1 |
---|
| 2796 | +/* Default value of bitfield MDIO Execute Operation */ |
---|
| 2797 | +#define HW_ATL_MDIO_EXECUTE_OPERATION_DEFAULT 0x0 |
---|
| 2798 | + |
---|
| 2799 | +/* MIF Op Mode [1:0] Bitfield Definitions |
---|
| 2800 | + * Preprocessor definitions for the bitfield "Op Mode [1:0]". |
---|
| 2801 | + * PORT="pif_mdio_mode_i[1:0]" |
---|
| 2802 | + */ |
---|
| 2803 | + |
---|
| 2804 | +/* Register address for bitfield Op Mode [1:0] */ |
---|
| 2805 | +#define HW_ATL_MDIO_OP_MODE_ADR 0x00000284 |
---|
| 2806 | +/* Bitmask for bitfield Op Mode [1:0] */ |
---|
| 2807 | +#define HW_ATL_MDIO_OP_MODE_MSK 0x00003000 |
---|
| 2808 | +/* Inverted bitmask for bitfield Op Mode [1:0] */ |
---|
| 2809 | +#define HW_ATL_MDIO_OP_MODE_MSKN 0xFFFFCFFF |
---|
| 2810 | +/* Lower bit position of bitfield Op Mode [1:0] */ |
---|
| 2811 | +#define HW_ATL_MDIO_OP_MODE_SHIFT 12 |
---|
| 2812 | +/* Width of bitfield Op Mode [1:0] */ |
---|
| 2813 | +#define HW_ATL_MDIO_OP_MODE_WIDTH 2 |
---|
| 2814 | +/* Default value of bitfield Op Mode [1:0] */ |
---|
| 2815 | +#define HW_ATL_MDIO_OP_MODE_DEFAULT 0x0 |
---|
| 2816 | + |
---|
| 2817 | +/* MIF PHY address Bitfield Definitions |
---|
| 2818 | + * Preprocessor definitions for the bitfield "PHY address". |
---|
| 2819 | + * PORT="pif_mdio_phy_addr_i[9:0]" |
---|
| 2820 | + */ |
---|
| 2821 | + |
---|
| 2822 | +/* Register address for bitfield PHY address */ |
---|
| 2823 | +#define HW_ATL_MDIO_PHY_ADDRESS_ADR 0x00000284 |
---|
| 2824 | +/* Bitmask for bitfield PHY address */ |
---|
| 2825 | +#define HW_ATL_MDIO_PHY_ADDRESS_MSK 0x000003FF |
---|
| 2826 | +/* Inverted bitmask for bitfield PHY address */ |
---|
| 2827 | +#define HW_ATL_MDIO_PHY_ADDRESS_MSKN 0xFFFFFC00 |
---|
| 2828 | +/* Lower bit position of bitfield PHY address */ |
---|
| 2829 | +#define HW_ATL_MDIO_PHY_ADDRESS_SHIFT 0 |
---|
| 2830 | +/* Width of bitfield PHY address */ |
---|
| 2831 | +#define HW_ATL_MDIO_PHY_ADDRESS_WIDTH 10 |
---|
| 2832 | +/* Default value of bitfield PHY address */ |
---|
| 2833 | +#define HW_ATL_MDIO_PHY_ADDRESS_DEFAULT 0x0 |
---|
| 2834 | + |
---|
| 2835 | +/* MIF MDIO WriteData [F:0] Bitfield Definitions |
---|
| 2836 | + * Preprocessor definitions for the bitfield "MDIO WriteData [F:0]". |
---|
| 2837 | + * PORT="pif_mdio_wdata_i[15:0]" |
---|
| 2838 | + */ |
---|
| 2839 | + |
---|
| 2840 | +/* Register address for bitfield MDIO WriteData [F:0] */ |
---|
| 2841 | +#define HW_ATL_MDIO_WRITE_DATA_ADR 0x00000288 |
---|
| 2842 | +/* Bitmask for bitfield MDIO WriteData [F:0] */ |
---|
| 2843 | +#define HW_ATL_MDIO_WRITE_DATA_MSK 0x0000FFFF |
---|
| 2844 | +/* Inverted bitmask for bitfield MDIO WriteData [F:0] */ |
---|
| 2845 | +#define HW_ATL_MDIO_WRITE_DATA_MSKN 0xFFFF0000 |
---|
| 2846 | +/* Lower bit position of bitfield MDIO WriteData [F:0] */ |
---|
| 2847 | +#define HW_ATL_MDIO_WRITE_DATA_SHIFT 0 |
---|
| 2848 | +/* Width of bitfield MDIO WriteData [F:0] */ |
---|
| 2849 | +#define HW_ATL_MDIO_WRITE_DATA_WIDTH 16 |
---|
| 2850 | +/* Default value of bitfield MDIO WriteData [F:0] */ |
---|
| 2851 | +#define HW_ATL_MDIO_WRITE_DATA_DEFAULT 0x0 |
---|
| 2852 | + |
---|
| 2853 | +/* MIF MDIO Address [F:0] Bitfield Definitions |
---|
| 2854 | + * Preprocessor definitions for the bitfield "MDIO Address [F:0]". |
---|
| 2855 | + * PORT="pif_mdio_addr_i[15:0]" |
---|
| 2856 | + */ |
---|
| 2857 | + |
---|
| 2858 | +/* Register address for bitfield MDIO Address [F:0] */ |
---|
| 2859 | +#define HW_ATL_MDIO_ADDRESS_ADR 0x0000028C |
---|
| 2860 | +/* Bitmask for bitfield MDIO Address [F:0] */ |
---|
| 2861 | +#define HW_ATL_MDIO_ADDRESS_MSK 0x0000FFFF |
---|
| 2862 | +/* Inverted bitmask for bitfield MDIO Address [F:0] */ |
---|
| 2863 | +#define HW_ATL_MDIO_ADDRESS_MSKN 0xFFFF0000 |
---|
| 2864 | +/* Lower bit position of bitfield MDIO Address [F:0] */ |
---|
| 2865 | +#define HW_ATL_MDIO_ADDRESS_SHIFT 0 |
---|
| 2866 | +/* Width of bitfield MDIO Address [F:0] */ |
---|
| 2867 | +#define HW_ATL_MDIO_ADDRESS_WIDTH 16 |
---|
| 2868 | +/* Default value of bitfield MDIO Address [F:0] */ |
---|
| 2869 | +#define HW_ATL_MDIO_ADDRESS_DEFAULT 0x0 |
---|
| 2870 | + |
---|
| 2871 | +#define HW_ATL_MIF_RESET_TIMEOUT_ADR 0x00000348 |
---|
| 2872 | + |
---|
| 2873 | +#define HW_ATL_FW_SM_MDIO 0x0U |
---|
| 2874 | +#define HW_ATL_FW_SM_RAM 0x2U |
---|
| 2875 | +#define HW_ATL_FW_SM_RESET1 0x3U |
---|
| 2876 | +#define HW_ATL_FW_SM_RESET2 0x4U |
---|
| 2877 | + |
---|
2421 | 2878 | #endif /* HW_ATL_LLH_INTERNAL_H */ |
---|