From a48d42f30470a2e1bebcf99d8ebaf8b9cd8b8173 Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Tue, 13 Sep 2022 13:54:06 +0800 Subject: [PATCH] Revert "add qca" This reverts commit 8f8028cb7f7bdc60ae6a9c688500c5b6d6c01dbc. --- qca/aq-fw-download/Makefile | 26 - qca/aq-fw-download/src/Makefile | 14 - qca/aq-fw-download/src/include/AQ_API.h | 246 - .../src/include/AQ_PhyInterface.h | 171 - .../src/include/AQ_PlatformRoutines.h | 71 - qca/aq-fw-download/src/include/AQ_RegMacro.h | 323 - .../src/include/AQ_ReturnCodes.h | 113 - qca/aq-fw-download/src/include/AQ_User.h | 97 - .../APPIA/AQ_APPIA_Global_registers.h | 5581 ------- .../APPIA/AQ_APPIA_Global_registers_Defines.h | 2134 --- .../AQ_APPIA_Global_registers_reversed.h | 5581 ------- .../include/registerMap/AQ_RegGroupMaxSizes.h | 387 - .../src/include/registerMap/AQ_RegMaps.h | 69 - .../registerMap/HHD/AQ_HHD_Global_registers.h | 12123 ---------------- .../HHD/AQ_HHD_Global_registers_Defines.h | 4413 ------ .../HHD/AQ_HHD_Global_registers_reversed.h | 12123 ---------------- qca/aq-fw-download/src/mdioBootLoadCLD.c | 193 - qca/aq-fw-download/src/src/AQ_API.c | 1021 -- qca/aq-fw-download/src/src/AQ_PhyInterface.c | 141 - qca/nss-eip-firmware/Makefile | 34 - qca/nss-eip-firmware/src/.gitkeep | 0 qca/nss-firmware/Makefile | 72 - qca/qca-nss-cfi/Makefile | 71 - .../patches/100-remove-noise-logs.patch | 30 - qca/qca-nss-clients/Makefile | 102 - qca/qca-nss-clients/files/qca-nss-ipsec | 214 - qca/qca-nss-clients/files/qca-nss-mirred.init | 28 - qca/qca-nss-clients/files/qca-nss-ovpn.init | 69 - qca/qca-nss-crypto/Makefile | 72 - ...1-nss-crypto-fix-SHA1-header-include.patch | 32 - ...replace-ioremap_nocache-with-ioremap.patch | 69 - ...rypto-fix-SHA-header-include-in-5.15.patch | 51 - qca/qca-nss-dp/Makefile | 56 - ...port-newer-kernels-time-stamping-API.patch | 44 - ...-phy-mode-code-compatible-with-newer.patch | 48 - ...03-Drop-_nocache-variants-of-ioremap.patch | 48 - .../0004-EDMA-Fix-NAPI-packet-counting.patch | 31 - ...-Use-NAPI_POLL_WEIGHT-as-NAPI-weight.patch | 41 - .../0006-NSS-DP-fix-of_get_mac_address.patch | 46 - ...07-NSS-DP-implement-ethernet-IOCTL-s.patch | 29 - ...dev-remove-the-transaction-structure.patch | 48 - ...09-switchdev-use-new-switchdev-flags.patch | 51 - .../0010-switchdev-fix-FDB-roaming.patch | 110 - ...fusing-printing-of-registered-netdev.patch | 48 - ...syn-xgmac-silence-debug-log-on-probe.patch | 28 - ...a-phy-handle-property-to-connect-to-.patch | 189 - ...p-edma-v1-switch-to-napi_gro_receive.patch | 46 - qca/qca-nss-drv/Makefile | 129 - qca/qca-nss-drv/files/qca-nss-drv.conf | 6 - qca/qca-nss-drv/files/qca-nss-drv.debug | 26 - qca/qca-nss-drv/files/qca-nss-drv.hotplug | 70 - qca/qca-nss-drv/files/qca-nss-drv.init | 50 - qca/qca-nss-drv/files/qca-nss-drv.sysctl | 4 - ...ore-add-5.10-kernel-to-version-check.patch | 25 - ...replace-ioremap_nocache-with-ioremap.patch | 181 - ...0003-DMA-Fix-NULL-pointer-exceptions.patch | 49 - ...-rework-NSS_CORE_DMA_CACHE_MAINT-ops.patch | 573 - ...-nss-drv-add-support-for-kernel-5.15.patch | 70 - ...dard-skb_skip_tc_classify-instead-of.patch | 30 - ...Makefile-modularize-driver-even-more.patch | 172 - qca/qca-nss-ecm/Makefile | 97 - qca/qca-nss-ecm/files/ecm_dump.sh | 95 - qca/qca-nss-ecm/files/on-demand-down | 6 - qca/qca-nss-ecm/files/qca-nss-ecm.defaults | 28 - qca/qca-nss-ecm/files/qca-nss-ecm.firewall | 18 - qca/qca-nss-ecm/files/qca-nss-ecm.init | 142 - qca/qca-nss-ecm/files/qca-nss-ecm.sysctl | 2 - qca/qca-nss-ecm/files/qca-nss-ecm.uci | 2 - ...de-componentize-the-module-even-more.patch | 335 - .../patches/100-kernel-5.10-support.patch | 831 -- .../patches/200-resolve-high-load.patch | 61 - .../203-rework-nfct-notification.patch | 25 - .../patches/204-More-compile-fixes.patch | 49 - .../patches/205-resolve-high-load.patch | 55 - qca/qca-ssdk-shell/Makefile | 48 - qca/qca-ssdk/Makefile | 91 - qca/qca-ssdk/files/qca-ssdk | 206 - .../0001-SSDK-config-add-kernel-5.10.patch | 56 - ...replace-ioremap_nocache-with-ioremap.patch | 102 - ...use-of_mdio_find_bus-to-get-MDIO-bus.patch | 40 - ...0005-SSDK-dts-fix-of_get_mac_address.patch | 42 - .../0006-SSDK-config-add-kernel-5.15.patch | 56 - ...07-qca8081-convert-to-5.11-IRQ-model.patch | 83 - ...7x-add-a-LED-quirk-for-Xiaomi-AX9000.patch | 74 - ...7x-add-a-LED-quirk-for-Xiaomi-AX3600.patch | 29 - ...mpilation-error-for-parse_uci_option.patch | 27 - 86 files changed, 50519 deletions(-) delete mode 100644 qca/aq-fw-download/Makefile delete mode 100644 qca/aq-fw-download/src/Makefile delete mode 100644 qca/aq-fw-download/src/include/AQ_API.h delete mode 100644 qca/aq-fw-download/src/include/AQ_PhyInterface.h delete mode 100644 qca/aq-fw-download/src/include/AQ_PlatformRoutines.h delete mode 100644 qca/aq-fw-download/src/include/AQ_RegMacro.h delete mode 100644 qca/aq-fw-download/src/include/AQ_ReturnCodes.h delete mode 100644 qca/aq-fw-download/src/include/AQ_User.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_Defines.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_reversed.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/AQ_RegGroupMaxSizes.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/AQ_RegMaps.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_Defines.h delete mode 100644 qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_reversed.h delete mode 100644 qca/aq-fw-download/src/mdioBootLoadCLD.c delete mode 100644 qca/aq-fw-download/src/src/AQ_API.c delete mode 100644 qca/aq-fw-download/src/src/AQ_PhyInterface.c delete mode 100644 qca/nss-eip-firmware/Makefile delete mode 100644 qca/nss-eip-firmware/src/.gitkeep delete mode 100644 qca/nss-firmware/Makefile delete mode 100644 qca/qca-nss-cfi/Makefile delete mode 100644 qca/qca-nss-cfi/patches/100-remove-noise-logs.patch delete mode 100644 qca/qca-nss-clients/Makefile delete mode 100644 qca/qca-nss-clients/files/qca-nss-ipsec delete mode 100644 qca/qca-nss-clients/files/qca-nss-mirred.init delete mode 100644 qca/qca-nss-clients/files/qca-nss-ovpn.init delete mode 100644 qca/qca-nss-crypto/Makefile delete mode 100644 qca/qca-nss-crypto/patches/0001-nss-crypto-fix-SHA1-header-include.patch delete mode 100644 qca/qca-nss-crypto/patches/0002-nss-crypto-replace-ioremap_nocache-with-ioremap.patch delete mode 100644 qca/qca-nss-crypto/patches/0003-nss-crypto-fix-SHA-header-include-in-5.15.patch delete mode 100644 qca/qca-nss-dp/Makefile delete mode 100644 qca/qca-nss-dp/patches/0001-edma_tx_rx-support-newer-kernels-time-stamping-API.patch delete mode 100644 qca/qca-nss-dp/patches/0002-nss_dp_main-make-phy-mode-code-compatible-with-newer.patch delete mode 100644 qca/qca-nss-dp/patches/0003-Drop-_nocache-variants-of-ioremap.patch delete mode 100644 qca/qca-nss-dp/patches/0004-EDMA-Fix-NAPI-packet-counting.patch delete mode 100644 qca/qca-nss-dp/patches/0005-EDMA-Use-NAPI_POLL_WEIGHT-as-NAPI-weight.patch delete mode 100644 qca/qca-nss-dp/patches/0006-NSS-DP-fix-of_get_mac_address.patch delete mode 100644 qca/qca-nss-dp/patches/0007-NSS-DP-implement-ethernet-IOCTL-s.patch delete mode 100644 qca/qca-nss-dp/patches/0008-switchdev-remove-the-transaction-structure.patch delete mode 100644 qca/qca-nss-dp/patches/0009-switchdev-use-new-switchdev-flags.patch delete mode 100644 qca/qca-nss-dp/patches/0010-switchdev-fix-FDB-roaming.patch delete mode 100644 qca/qca-nss-dp/patches/0011-treewide-fix-confusing-printing-of-registered-netdev.patch delete mode 100644 qca/qca-nss-dp/patches/0012-gmac-syn-xgmac-silence-debug-log-on-probe.patch delete mode 100644 qca/qca-nss-dp/patches/0013-nss_dp_main-Use-a-phy-handle-property-to-connect-to-.patch delete mode 100644 qca/qca-nss-dp/patches/0014-nss-dp-edma-v1-switch-to-napi_gro_receive.patch delete mode 100644 qca/qca-nss-drv/Makefile delete mode 100644 qca/qca-nss-drv/files/qca-nss-drv.conf delete mode 100644 qca/qca-nss-drv/files/qca-nss-drv.debug delete mode 100644 qca/qca-nss-drv/files/qca-nss-drv.hotplug delete mode 100644 qca/qca-nss-drv/files/qca-nss-drv.init delete mode 100644 qca/qca-nss-drv/files/qca-nss-drv.sysctl delete mode 100644 qca/qca-nss-drv/patches/0001-core-add-5.10-kernel-to-version-check.patch delete mode 100644 qca/qca-nss-drv/patches/0002-nss-drv-replace-ioremap_nocache-with-ioremap.patch delete mode 100644 qca/qca-nss-drv/patches/0003-DMA-Fix-NULL-pointer-exceptions.patch delete mode 100644 qca/qca-nss-drv/patches/0004-nss-drv-rework-NSS_CORE_DMA_CACHE_MAINT-ops.patch delete mode 100644 qca/qca-nss-drv/patches/0005-nss-drv-add-support-for-kernel-5.15.patch delete mode 100644 qca/qca-nss-drv/patches/0005-nss-drv-use-standard-skb_skip_tc_classify-instead-of.patch delete mode 100644 qca/qca-nss-drv/patches/0008-Makefile-modularize-driver-even-more.patch delete mode 100644 qca/qca-nss-ecm/Makefile delete mode 100644 qca/qca-nss-ecm/files/ecm_dump.sh delete mode 100644 qca/qca-nss-ecm/files/on-demand-down delete mode 100644 qca/qca-nss-ecm/files/qca-nss-ecm.defaults delete mode 100644 qca/qca-nss-ecm/files/qca-nss-ecm.firewall delete mode 100644 qca/qca-nss-ecm/files/qca-nss-ecm.init delete mode 100644 qca/qca-nss-ecm/files/qca-nss-ecm.sysctl delete mode 100644 qca/qca-nss-ecm/files/qca-nss-ecm.uci delete mode 100644 qca/qca-nss-ecm/patches/001-treewide-componentize-the-module-even-more.patch delete mode 100644 qca/qca-nss-ecm/patches/100-kernel-5.10-support.patch delete mode 100644 qca/qca-nss-ecm/patches/200-resolve-high-load.patch delete mode 100644 qca/qca-nss-ecm/patches/203-rework-nfct-notification.patch delete mode 100644 qca/qca-nss-ecm/patches/204-More-compile-fixes.patch delete mode 100644 qca/qca-nss-ecm/patches/205-resolve-high-load.patch delete mode 100644 qca/qca-ssdk-shell/Makefile delete mode 100644 qca/qca-ssdk/Makefile delete mode 100644 qca/qca-ssdk/files/qca-ssdk delete mode 100644 qca/qca-ssdk/patches/0001-SSDK-config-add-kernel-5.10.patch delete mode 100644 qca/qca-ssdk/patches/0002-SSDK-replace-ioremap_nocache-with-ioremap.patch delete mode 100644 qca/qca-ssdk/patches/0004-platform-use-of_mdio_find_bus-to-get-MDIO-bus.patch delete mode 100644 qca/qca-ssdk/patches/0005-SSDK-dts-fix-of_get_mac_address.patch delete mode 100644 qca/qca-ssdk/patches/0006-SSDK-config-add-kernel-5.15.patch delete mode 100644 qca/qca-ssdk/patches/0007-qca8081-convert-to-5.11-IRQ-model.patch delete mode 100644 qca/qca-ssdk/patches/0008-qca807x-add-a-LED-quirk-for-Xiaomi-AX9000.patch delete mode 100644 qca/qca-ssdk/patches/0009-qca807x-add-a-LED-quirk-for-Xiaomi-AX3600.patch delete mode 100644 qca/qca-ssdk/patches/0012-include-fix-compilation-error-for-parse_uci_option.patch diff --git a/qca/aq-fw-download/Makefile b/qca/aq-fw-download/Makefile deleted file mode 100644 index 97270688b..000000000 --- a/qca/aq-fw-download/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=aq-fw-download -PKG_RELEASE:=$(AUTORELEASE) - -PKG_FLAGS:=nonshared - -include $(INCLUDE_DIR)/package.mk - -define Package/aq-fw-download - SECTION:=firmware - CATEGORY:=Firmware - DEPENDS:=@TARGET_ipq807x - TITLE:=Aquantia FW downloader utitlity -endef - -define Package/aq-fw-download/description - Aquantia FW downloader utitlity -endef - -define Package/aq-fw-download/install - $(INSTALL_DIR) $(1)/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/aq-fw-download $(1)/sbin/aq-fw-download -endef - -$(eval $(call BuildPackage,aq-fw-download)) diff --git a/qca/aq-fw-download/src/Makefile b/qca/aq-fw-download/src/Makefile deleted file mode 100644 index dc141be0e..000000000 --- a/qca/aq-fw-download/src/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -ifndef CFLAGS -CFLAGS = -O2 -g -endif -INCLUDES=-Iinclude -Iinclude/registerMap \ - -Iinclude/registerMap/APPIA \ - -Iinclude/registerMap/HHD - -all: aq-fw-download - -%.o: %.c - $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $^ - -aq-fw-download: mdioBootLoadCLD.o src/AQ_PhyInterface.o src/AQ_API.o - $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) diff --git a/qca/aq-fw-download/src/include/AQ_API.h b/qca/aq-fw-download/src/include/AQ_API.h deleted file mode 100644 index 9a0b4c20a..000000000 --- a/qca/aq-fw-download/src/include/AQ_API.h +++ /dev/null @@ -1,246 +0,0 @@ -/* -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -/*! \file - This file contains the AQ_API function and datatype declarations. */ - - -#ifndef AQ_API_TOKEN -#define AQ_API_TOKEN - -#include - -#include "AQ_User.h" -#include "AQ_ReturnCodes.h" - -/******************************************************************* - General -*******************************************************************/ - -#ifdef __cplusplus -extern "C" { -#endif - -/*! This typedef defines the bool datatype which takes the values -true and false.*/ -typedef enum {False = 0, True = 1} AQ_boolean; - - -/*@}*/ - - -/******************************************************************* - Device Identity -*******************************************************************/ - -/*! \defgroup deviceIdentity Device Identity -All AQ_API functions accept a parameter identifying the target PHY that -should be acted upon. */ -/*@{*/ - - -/*! This enumeration is used to describe the different types of - Aquantia PHY.*/ -typedef enum -{ - /*! 1/2/4-port package, 40nm architechture.*/ - AQ_DEVICE_APPIA, - /*! 1/2/4-port package, 28nm architechture.*/ - AQ_DEVICE_HHD -} AQ_API_Device; - -/*! This structure is used to specify a particular Aquantia PHY port - within the system.*/ -typedef struct -{ - /*! The type of Aquantia PHY*/ - AQ_API_Device device; - /*! Uniquely identifies the port within the system. AQ_Port must be - defined to whatever data type is suitable for the platform. - AQ_API functions will never do anything with PHY_ID other than - pass it down to the platform's PHY register read/write - functions.*/ - AQ_Port PHY_ID; -} AQ_API_Port; - -/*@}*/ - - -/*! This function boot-loads the instruction and data memory (IRAM and - DRAM) of a set of Aquantia PHYs from a .cld format image file (the - same image file used to burn the FLASH). During boot-load of each - Aquantia PHY, the processor is halted, and after programming is - complete the processor is released. Note that calling this - function leaves the daisy-chain disabled to prevent RAM over- - write. To exit MDIO boot-load mode, use the function - AQ_API_EnableDaisyChain. - Unlike most of the other functions in this API, this function can - operate on a group of PHYs simultaneously. This is referred to as - gang-loading. To facilitate this, this function takes as - parameters 3 parallel arrays: PHY_IDs, provisioningAddresses, and - resultCodes. The length of these arrays must be identical, and is - specified by the num_PHY_IDs parameter. - In order to check the integrity of the boot-load operation, a - CRC-16 value is calculated over the IRAM and DRAM. After the image - has been loaded, this value is directly compared against each - PHY's Mailbox CRC-16 in 1E.0201. - The value of register 1E.C441 must be the same for all the boot- - loaded PHYs. This will be checked before the boot-load is - performed, and if a non-uniform value is read from any of the - PHYs, the function will fail before any writes are performed. - A separate result code is returned for each of the boot-loaded - PHYs, in the OUT parameter, resultCodes. - Individual Port Return codes: - AQ_RET_BOOTLOAD_PROVADDR_OOR: The specified provisioning address - was outside of the permitted range. - AQ_RET_BOOTLOAD_NONUNIFORM_REGVALS: The values of the register(s) - that must be uniform across the ports being bootloaded were not - uniform. - AQ_RET_BOOTLOAD_CRC_MISMATCH: The image was completely loaded into - memory, but the after the port exited bootload the running - checksum that was read from the uP memory mailbox was not the - expected value. This indicates that the memory has potentially - been corrupted, and the PHY should be reset before trying the - bootload again. - Overall Return codes (the return value from the function call): - AQ_RET_OK: all ports were successfully bootloaded. - AQ_RET_ERROR: One or more ports were not successfully bootloaded. - */ -AQ_Retcode AQ_API_WriteBootLoadImage -( - /*! An array identifying the target PHY ports.*/ - AQ_API_Port** ports, - /*! The length of the arrays ports, provisioningAddresses, and - resultCodes. These are parallel arrays, and must all be of the - same length.*/ - unsigned int numPorts, - /*! The provisioning addresses of each of the PHYs specified in - ports. This can range from 0 through 47, and is also known as - the daisy-chain address or the hop-count. If the PHYs are - connected to a FLASH using the daisy-chain, this is the distance - from the PHY to the FLASH, and is used to identify customized - provisioning for each PHY from the provisioning data within the - image. Otherwise, it is an arbitrary number. The length of this - array must match the length of ports.*/ - unsigned int* provisioningAddresses, - /*! OUT: The result code indicating success or failure of boot- - loading each of the PHYs specified in ports.*/ - AQ_Retcode* resultCodes, - /*! A pointer to the size of the image (in bytes) that is being - loaded into the Aquantia PHY.*/ - uint32_t* imageSizePointer, - /*! The image being loaded into the Aquantia PHY. This is the same - regardless of whether the target is internal RAM or FLASH.*/ - uint8_t* image, - /*! The 5-bit address to be used during the gang-loading operation. - During the boot-loading process, each of the PHYs specified in - ports will be changed such that they are addressed on the MDIO - bus at gangloadAddress. This allows all the PHYs to be loaded - simultaneously. Before returning, each PHY will be moved back to - its original MDIO address. If ports contains only a single - element, callers will probably want to use the PHY's original - MDIO address for this parameter.*/ - uint8_t gangload_MDIO_address, - /*! The address of the PHYs while in gangload mode. This is - ultimately some combination of the system address and the - gangload MDIO address, specified by gangload_MDIO_address. For - most platforms, gangload_MDIO_address and gangload_PHY_ID should - have the same value.*/ - AQ_API_Port* gangloadPort -); - -/*! This function boot-loads the instruction and data memory (IRAM and - DRAM) of a set of Aquantia PHYs from a .cld format image file (the - same image file used to burn the FLASH), as well as a separately - provided provisioning table image file.The provisioning table - image allows additional provisioning to be provided, beyond what - is built in to the .cld image. If provTableSizePointer or - provTableImage are NULL, this function behaves like - AQ_API_WriteBootLoadImage. - Aside from the additional provisioing table, this function behaves - exactly the same as AQ_API_WriteBootLoadImage. For additional - documentation and information on return codes, refer to - AQ_API_WriteBootLoadImage. - Individual Port Return codes (same as AQ_API_WriteBootLoadImage, - plus): - AQ_RET_BOOTLOAD_PROVTABLE_TOO_LARGE: The supplied provisioning - table image does not fit within the alloted space.*/ -AQ_Retcode AQ_API_WriteBootLoadImageWithProvTable -( - /*! An array identifying the target PHY ports.*/ - AQ_API_Port** ports, - /*! The length of the arrays ports, provisioningAddresses, and - resultCodes. These are parallel arrays, and must all be of the - same length.*/ - unsigned int numPorts, - /*! The provisioning addresses of each of the PHYs specified in - ports. This can range from 0 through 47, and is also known as - the daisy-chain address or the hop-count. If the PHYs are - connected to a FLASH using the daisy-chain, this is the distance - from the PHY to the FLASH, and is used to identify customized - provisioning for each PHY from the provisioning data within the - image. Otherwise, it is an arbitrary number. The length of this - array must match the length of ports.*/ - unsigned int* provisioningAddresses, - /*! OUT: The result code indicating success or failure of boot- - loading each of the PHYs specified in ports.*/ - AQ_Retcode* resultCodes, - /*! A pointer to the size of the image (in bytes) that is being - loaded into the Aquantia PHY.*/ - uint32_t* imageSizePointer, - /*! The image being loaded into the Aquantia PHY. This is the same - regardless of whether the target is internal RAM or FLASH.*/ - uint8_t* image, - /*! The 5-bit address to be used during the gang-loading operation. - During the boot-loading process, each of the PHYs specified in - ports will be changed such that they are addressed on the MDIO - bus at gangloadAddress. This allows all the PHYs to be loaded - simultaneously. Before returning, each PHY will be moved back to - its original MDIO address. If ports contains only a single - element, callers will probably want to use the PHY's original - MDIO address for this parameter.*/ - uint8_t gangload_MDIO_address, - /*! The address of the PHYs while in gangload mode. This is - ultimately some combination of the system address and the - gangload MDIO address, specified by gangload_MDIO_address. For - most platforms, gangload_MDIO_address and gangload_PHY_ID should - have the same value.*/ - AQ_API_Port* gangloadPort, - /*! A pointer to the size of the provTableImage (in bytes) that is - being loaded into the Aquantia PHY.*/ - uint32_t* provTableSizePointer, - /*! The additional provisioning table image being loaded into the - Aquantia PHY.*/ - uint8_t* provTableImage -); - -/*! Calling this function disables boot-loading and enables the daisy- - chain. This would typically be called after using MDIO boot- - loading on a daisy-chain enabled PHY. Re-enabling the daisy-chain - after performing an MDIO bootload will cause the PHY to reboot - from FLASH.*/ -AQ_Retcode AQ_API_EnableDaisyChain -( - /*! The target PHY port.*/ - AQ_API_Port* port -); - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/qca/aq-fw-download/src/include/AQ_PhyInterface.h b/qca/aq-fw-download/src/include/AQ_PhyInterface.h deleted file mode 100644 index 66eb817be..000000000 --- a/qca/aq-fw-download/src/include/AQ_PhyInterface.h +++ /dev/null @@ -1,171 +0,0 @@ -/* AQ_PhyInterface.h */ - -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* Description: -* -* Declares the base PHY register read and write functions that are -* called by the API functions. The platform integrator must provide -* the implementation of these routines. -* -***********************************************************************/ - - -/*! \file - * Declares the base PHY register read and write functions that are - * called by the API functions. The platform integrator must provide - * the implementation of these routines. */ - - -#ifndef AQ_PHY_INTERFACE_TOKEN -#define AQ_PHY_INTERFACE_TOKEN - - -#include "AQ_API.h" -#include "AQ_User.h" - - -#ifdef __cplusplus -extern "C" { -#endif - - -/******************************************************************* - MDIO Access Functions -*******************************************************************/ - -/*! \defgroup mdioAccessFunctions MDIO Access Functions -The MDIO access functions are required by the API to access the register space -of each Aquantia PHY deployed in a system. The body of these functions needs to -be written by the system designer, as the method of accessing the PHY will -be unique to the target system. They are designed to be generic read and -write access functions, as the MDIO addressing scheme relies on each -MMD to maintain a 16 bit address pointer that determines the register where -the next read or write is coming from. Consequently, various levels of -optimization of the MDIO interface are possible: from re-writing the MMD -address pointer on every transaction, to storing shadow copies of the MMD -address pointers and only updating the MMD address pointer as necessary. -Thus these functions leave the MDIO optimization to the system engineer. - */ -/*@{*/ - - -/*! Provides generic synchronous PHY register write functionality. It is the - * responsibility of the system designer to provide the specific MDIO address - * pointer updates, etc. in order to accomplish this write operation. - * It will be assumed that the write has been completed by the time this - * function returns.*/ -void AQ_API_MDIO_Write -( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID, - /*! The address of the MMD within the target PHY. */ - unsigned int MMD, - /*! The 16-bit address of the PHY register being written. */ - unsigned int address, - /*! The 16-bits of data to write to the specified PHY register. */ - unsigned int data -); - -/*! Provides generic synchronous PHY register read functionality. It is the - * responsibility of the system designer to provide the specific MDIO address - * pointer updates, etc. in order to accomplish this read operation.*/ -unsigned int AQ_API_MDIO_Read -( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID, - /*! The address of the MMD within the target PHY. */ - unsigned int MMD, - /*! The 16-bit address of the PHY register being read. */ - unsigned int address -); - -#ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - -/*! Provides generic asynchronous/buffered PHY register write functionality. - * It is the responsibility of the system designer to provide the specific - * MDIO address pointer updates, etc. in order to accomplish this write - * operation. The write need not necessarily have been completed by the time - * this function returns. All register reads and writes to a particular PHY_ID - * that are requested by calling AQ_API_MDIO_BlockWrite or AQ_API_MDIO_BlockRead - * MUST be performed in the order that the calls are made. */ -void AQ_API_MDIO_BlockWrite -( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID, - /*! The address of the MMD within the target PHY. */ - unsigned int MMD, - /*! The 16-bit address of the PHY register being written. */ - unsigned int address, - /*! The 16-bits of data to write to the specified PHY register. */ - unsigned int data -); - -/*! Provides generic asynchronous/buffered PHY register read functionality. - * It is the responsibility of the system designer to provide the specific - * MDIO address pointer updates, etc. in order to accomplish this read - * operation. All register reads and writes to a particular PHY_ID that - * are requested by calling AQ_API_MDIO_BlockWrite or AQ_API_MDIO_BlockRead - * MUST be performed in the order that the calls are made. The register value - * may subsequently be fetched by calling AQ_API_MDIO_BlockOperationExecute.*/ -void AQ_API_MDIO_BlockRead -( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID, - /*! The address of the MMD within the target PHY. */ - unsigned int MMD, - /*! The 16-bit address of the PHY register being read. */ - unsigned int address -); - -/* Retrieve the results of all PHY register reads to PHY_ID previously - * requested via calls to AQ_API_MDIO_BlockRead. The read and write - * operations previously performed by calls to AQ_API_MDIO_BlockRead and - * AQ_API_MDIO_BlockRead must have all been completed by the time this - * function returns, in the order that the calls were performed. The - * return value is an array representing the fetched results of all - * pending calls to AQ_API_MDIO_BlockRead, in the order that the calls - * were performed. Callers should track the number of pending block - * reads to determine the size of the returned array. */ -unsigned int * AQ_API_MDIO_BlockOperationExecute -( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID -); - -/* Returns the maximum number of asynchronous/buffered PHY register - * read/write operations. Callers will call AQ_API_MDIO_BlockOperationExecute - * before issuing additional calls to AQ_API_MDIO_BlockWrite or - * AQ_API_MDIO_BlockRead to avoid a buffer overflow. */ -unsigned int AQ_API_MDIO_MaxBlockOperations -( -); - -#endif - -/*@}*/ - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/qca/aq-fw-download/src/include/AQ_PlatformRoutines.h b/qca/aq-fw-download/src/include/AQ_PlatformRoutines.h deleted file mode 100644 index 9a16d6408..000000000 --- a/qca/aq-fw-download/src/include/AQ_PlatformRoutines.h +++ /dev/null @@ -1,71 +0,0 @@ -/*AQ_PlatformRoutines.h*/ - -/************************************************************************************ -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* Description: -* -* Declares the platform interface functions that will be called by AQ_API -* functions. The platform integrator must provide the implementation of -* these functions. -* -************************************************************************************/ - -/*! \file - * Declares the platform interface functions that will be called by AQ_API - * functions. The platform integrator must provide the implementation of - * these functions. */ - - -#ifndef AQ_PHY_PLATFORMROUTINES_TOKEN -#define AQ_PHY_PLATFORMROUTINES_TOKEN - -#include - -#include "AQ_API.h" -#include "AQ_User.h" -#include "AQ_ReturnCodes.h" - -#ifdef __cplusplus -extern "C" { -#endif - - -/******************************************************************* - Time Delay -*******************************************************************/ - -/*! \defgroup delay Time Delay - @{ -*/ - -/*! Returns after at least milliseconds have elapsed. This must be implemented - * in a platform-approriate way. AQ_API functions will call this function to - * block for the specified period of time. If necessary, PHY register reads - * may be performed on port to busy-wait. */ -void AQ_API_Wait -( - uint32_t milliseconds, /*!< The delay in milliseconds */ - AQ_API_Port* port /*!< The PHY to use if delay reads are necessary*/ -); - -/*@}*/ - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/qca/aq-fw-download/src/include/AQ_RegMacro.h b/qca/aq-fw-download/src/include/AQ_RegMacro.h deleted file mode 100644 index 8dcca522b..000000000 --- a/qca/aq-fw-download/src/include/AQ_RegMacro.h +++ /dev/null @@ -1,323 +0,0 @@ -/* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ -/*! \file - This file contains macros for accessing the AQ PHYs' registers - using the device-specific register map data structures and definitions. -*/ - -#ifndef AQ_REG_MACRO_TOKEN -#define AQ_REG_MACRO_TOKEN - -#include "AQ_PhyInterface.h" - - -#define AQ_API_ReadRegister(id,reg,wd) AQ_API_ReadRegister_DeviceRestricted(APPIA_HHD,id,reg,wd) - -#define AQ_API_ReadRegister_DeviceRestricted(devices,id,reg,wd) AQ_API_ReadRegister_Devs_ ## devices(id,reg,wd) - -#define AQ_API_ReadRegister_Devs_APPIA(id,reg,wd) \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_Read (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd)) : \ - (0)) - -#define AQ_API_ReadRegister_Devs_HHD(id,reg,wd) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_Read (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd)) : \ - (0)) - -#define AQ_API_ReadRegister_Devs_APPIA_HHD(id,reg,wd) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_Read (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd)) : \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_Read (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd)) : \ - (0))) - -#define AQ_API_ReadRegister_Devs_HHD_APPIA(id,reg,wd) AQ_API_ReadRegister_Devs_APPIA_HHD(id,reg,wd) - - -#define AQ_API_WriteRegister(id,reg,wd,value) AQ_API_WriteRegister_DeviceRestricted(APPIA_HHD,id,reg,wd,value) - -#define AQ_API_WriteRegister_DeviceRestricted(devices,id,reg,wd,value) AQ_API_WriteRegister_Devs_ ## devices(id,reg,wd,value) - -#define AQ_API_WriteRegister_Devs_APPIA(id,reg,wd,value) \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_Write (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd),value) : \ - ((void)0)) - -#define AQ_API_WriteRegister_Devs_HHD(id,reg,wd,value) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_Write (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd),value) : \ - ((void)0)) - -#define AQ_API_WriteRegister_Devs_APPIA_HHD(id,reg,wd,value) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_Write (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd),value) : \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_Write (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd),value) : \ - ((void)0))) - -#define AQ_API_WriteRegister_Devs_HHD_APPIA(id,reg,wd,value) AQ_API_WriteRegister_Devs_APPIA_HHD(id,reg,wd,value) - - -#ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - -#define AQ_API_BlockReadRegister(id,reg,wd) AQ_API_BlockReadRegister_DeviceRestricted(APPIA_HHD,id,reg,wd) - -#define AQ_API_BlockReadRegister_DeviceRestricted(devices,id,reg,wd) AQ_API_BlockReadRegister_Devs_ ## devices(id,reg,wd) - -#define AQ_API_BlockReadRegister_Devs_APPIA(id,reg,wd) \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_BlockRead (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd)) : \ - ((void)0)) - -#define AQ_API_BlockReadRegister_Devs_HHD(id,reg,wd) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_BlockRead (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd)) : \ - ((void)0)) - -#define AQ_API_BlockReadRegister_Devs_APPIA_HHD(id,reg,wd) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_BlockRead (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd)) : \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_BlockRead (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd)) : \ - ((void)0))) - -#define AQ_API_BlockReadRegister_Devs_HHD_APPIA(id,reg,wd) AQ_API_BlockReadRegister_Devs_APPIA_HHD(id,reg,wd) - - -#define AQ_API_BlockWriteRegister(id,reg,wd,value) AQ_API_BlockWriteRegister_DeviceRestricted(APPIA_HHD,id,reg,wd,value) - -#define AQ_API_BlockWriteRegister_DeviceRestricted(devices,id,reg,wd,value) AQ_API_BlockWriteRegister_Devs_ ## devices(id,reg,wd,value) - -#define AQ_API_BlockWriteRegister_Devs_APPIA(id,reg,wd,value) \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_BlockWrite (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd),value) : \ - ((void)0)) - -#define AQ_API_BlockWriteRegister_Devs_HHD(id,reg,wd,value) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_BlockWrite (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd),value) : \ - ((void)0)) - -#define AQ_API_BlockWriteRegister_Devs_APPIA_HHD(id,reg,wd,value) \ - ((port->device == AQ_DEVICE_HHD) ? AQ_API_MDIO_BlockWrite (id,reg ## _HHD_mmdAddress,(reg ## _HHD_baseRegisterAddress + wd),value) : \ - ((port->device == AQ_DEVICE_APPIA) ? AQ_API_MDIO_BlockWrite (id,reg ## _APPIA_mmdAddress,(reg ## _APPIA_baseRegisterAddress + wd),value) : \ - ((void)0))) - -#define AQ_API_BlockWriteRegister_Devs_HHD_APPIA(id,reg,wd,value) AQ_API_BlockWriteRegister_Devs_APPIA_HHD(id,reg,wd,value) - - -#endif - -#define AQ_API_Variable(reg) AQ_API_Variable_DeviceRestricted(APPIA_HHD,reg) - -#define AQ_API_Variable_DeviceRestricted(devices,reg) AQ_API_Variable_Devs_ ## devices(reg) - -#define AQ_API_Variable_Devs_APPIA(reg) uint8_t _local ## reg ## _space[ sizeof(reg ## _BiggestVersion) ];\ - reg ## _APPIA* _local ## reg ## _APPIA = (reg ## _APPIA*) _local ## reg ## _space; \ - -#define AQ_API_Variable_Devs_HHD(reg) uint8_t _local ## reg ## _space[ sizeof(reg ## _BiggestVersion) ];\ - reg ## _HHD* _local ## reg ## _HHD = (reg ## _HHD*) _local ## reg ## _space; \ - -#define AQ_API_Variable_Devs_APPIA_HHD(reg) uint8_t _local ## reg ## _space[ sizeof(reg ## _BiggestVersion) ];\ - reg ## _APPIA* _local ## reg ## _APPIA = (reg ## _APPIA*) _local ## reg ## _space; \ - reg ## _HHD* _local ## reg ## _HHD = (reg ## _HHD*) _local ## reg ## _space; \ - -#define AQ_API_Variable_Devs_HHD_APPIA(reg) AQ_API_Variable_Devs_APPIA_HHD(reg) - - -#define AQ_API_DeclareLocalStruct(reg,localvar) AQ_API_DeclareLocalStruct_DeviceRestricted(APPIA_HHD,reg,localvar) - -#define AQ_API_DeclareLocalStruct_DeviceRestricted(devices,reg,localvar) AQ_API_DeclareLocalStruct_Devs_ ## devices(reg,localvar) - -#define AQ_API_DeclareLocalStruct_Devs_APPIA(reg,localvar) uint8_t localvar ## _space[ sizeof(reg ## _BiggestVersion) ];\ - reg ## _APPIA* localvar ## _APPIA = (reg ## _APPIA*) localvar ## _space; \ - -#define AQ_API_DeclareLocalStruct_Devs_HHD(reg,localvar) uint8_t localvar ## _space[ sizeof(reg ## _BiggestVersion) ];\ - reg ## _HHD* localvar ## _HHD = (reg ## _HHD*) localvar ## _space; \ - -#define AQ_API_DeclareLocalStruct_Devs_APPIA_HHD(reg,localvar) uint8_t localvar ## _space[ sizeof(reg ## _BiggestVersion) ];\ - reg ## _APPIA* localvar ## _APPIA = (reg ## _APPIA*) localvar ## _space; \ - reg ## _HHD* localvar ## _HHD = (reg ## _HHD*) localvar ## _space; \ - -#define AQ_API_DeclareLocalStruct_Devs_HHD_APPIA(reg,localvar) AQ_API_DeclareLocalStruct_Devs_APPIA_HHD(reg,localvar) - - -#define AQ_API_Set(id,reg,field,value) AQ_API_Set_DeviceRestricted(APPIA_HHD,id,reg,field,value) - -#define AQ_API_Set_DeviceRestricted(devices,id,reg,field,value) AQ_API_Set_Devs_ ## devices(id,reg,field,value) - -#define AQ_API_Set_Devs_APPIA(id,reg,field,value) { \ - switch (port->device) { \ - case AQ_DEVICE_APPIA: \ - _local ## reg ## _APPIA->word_ ## reg ## _APPIA_ ## field = AQ_API_ReadRegister_Devs_APPIA(id,reg,reg ## _APPIA_ ## field); \ - if (_local ## reg ## _APPIA->bits_ ## reg ## _APPIA_ ## field.field != value) \ - { \ - _local ## reg ## _APPIA->bits_ ## reg ## _APPIA_ ## field.field = value; \ - AQ_API_WriteRegister_Devs_APPIA(id,reg,reg ## _APPIA_ ## field,_local ## reg ## _APPIA->word_ ## reg ## _APPIA_ ## field); \ - } \ - break; \ - default: break; \ - } \ -} - -#define AQ_API_Set_Devs_HHD(id,reg,field,value) { \ - switch (port->device) { \ - case AQ_DEVICE_HHD: \ - _local ## reg ## _HHD->word_ ## reg ## _HHD_ ## field = AQ_API_ReadRegister_Devs_HHD(id,reg,reg ## _HHD_ ## field); \ - if (_local ## reg ## _HHD->bits_ ## reg ## _HHD_ ## field.field != value) \ - { \ - _local ## reg ## _HHD->bits_ ## reg ## _HHD_ ## field.field = value; \ - AQ_API_WriteRegister_Devs_HHD(id,reg,reg ## _HHD_ ## field,_local ## reg ## _HHD->word_ ## reg ## _HHD_ ## field); \ - } \ - break; \ - default: break; \ - } \ -} - -#define AQ_API_Set_Devs_APPIA_HHD(id,reg,field,value) { \ - switch (port->device) { \ - case AQ_DEVICE_APPIA: \ - _local ## reg ## _APPIA->word_ ## reg ## _APPIA_ ## field = AQ_API_ReadRegister_Devs_APPIA_HHD(id,reg,reg ## _APPIA_ ## field); \ - if (_local ## reg ## _APPIA->bits_ ## reg ## _APPIA_ ## field.field != value) \ - { \ - _local ## reg ## _APPIA->bits_ ## reg ## _APPIA_ ## field.field = value; \ - AQ_API_WriteRegister_Devs_APPIA_HHD(id,reg,reg ## _APPIA_ ## field,_local ## reg ## _APPIA->word_ ## reg ## _APPIA_ ## field); \ - } \ - break; \ - case AQ_DEVICE_HHD: \ - _local ## reg ## _HHD->word_ ## reg ## _HHD_ ## field = AQ_API_ReadRegister_Devs_APPIA_HHD(id,reg,reg ## _HHD_ ## field); \ - if (_local ## reg ## _HHD->bits_ ## reg ## _HHD_ ## field.field != value) \ - { \ - _local ## reg ## _HHD->bits_ ## reg ## _HHD_ ## field.field = value; \ - AQ_API_WriteRegister_Devs_APPIA_HHD(id,reg,reg ## _HHD_ ## field,_local ## reg ## _HHD->word_ ## reg ## _HHD_ ## field); \ - } \ - break; \ - default: break; \ - } \ -} - -#define AQ_API_Set_Devs_HHD_APPIA(id,reg,field,value) AQ_API_Set_Devs_APPIA_HHD(id,reg,field,value) - - -#define AQ_API_Get(id,reg,field,value) AQ_API_Get_DeviceRestricted(APPIA_HHD,id,reg,field,value) - -#define AQ_API_Get_DeviceRestricted(devices,id,reg,field,value) AQ_API_Get_Devs_ ## devices(id,reg,field,value) - -#define AQ_API_Get_Devs_APPIA(id,reg,field,value) { \ - switch (port->device) { \ - case AQ_DEVICE_APPIA: \ - _local ## reg ## _APPIA->word_ ## reg ## _APPIA_ ## field = AQ_API_ReadRegister_Devs_APPIA(id,reg,reg ## _APPIA_ ## field); \ - value = _local ## reg ## _APPIA->bits_ ## reg ## _APPIA_ ## field.field; \ - break; \ - default: value = 0; break; \ - } \ -} - -#define AQ_API_Get_Devs_HHD(id,reg,field,value) { \ - switch (port->device) { \ - case AQ_DEVICE_HHD: \ - _local ## reg ## _HHD->word_ ## reg ## _HHD_ ## field = AQ_API_ReadRegister_Devs_HHD(id,reg,reg ## _HHD_ ## field); \ - value = _local ## reg ## _HHD->bits_ ## reg ## _HHD_ ## field.field; \ - break; \ - default: value = 0; break; \ - } \ -} - -#define AQ_API_Get_Devs_APPIA_HHD(id,reg,field,value) { \ - switch (port->device) { \ - case AQ_DEVICE_APPIA: \ - _local ## reg ## _APPIA->word_ ## reg ## _APPIA_ ## field = AQ_API_ReadRegister_Devs_APPIA_HHD(id,reg,reg ## _APPIA_ ## field); \ - value = _local ## reg ## _APPIA->bits_ ## reg ## _APPIA_ ## field.field; \ - break; \ - case AQ_DEVICE_HHD: \ - _local ## reg ## _HHD->word_ ## reg ## _HHD_ ## field = AQ_API_ReadRegister_Devs_APPIA_HHD(id,reg,reg ## _HHD_ ## field); \ - value = _local ## reg ## _HHD->bits_ ## reg ## _HHD_ ## field.field; \ - break; \ - default: value = 0; break; \ - } \ -} - -#define AQ_API_Get_Devs_HHD_APPIA(id,reg,field,value) AQ_API_Get_Devs_APPIA_HHD(id,reg,field,value) - - -#define AQ_API_BitfieldOfLocalStruct(reg,localvar,field) AQ_API_BitfieldOfLocalStruct_DeviceRestricted(APPIA_HHD,reg,localvar,field) - -#define AQ_API_BitfieldOfLocalStruct_DeviceRestricted(devices,reg,localvar,field) AQ_API_BitfieldOfLocalStruct_Devs_ ## devices(reg,localvar,field) - -#define AQ_API_BitfieldOfLocalStruct_Devs_APPIA(reg,localvar,field) \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->bits_ ## reg ## _APPIA ## _ ## field.field) : \ - (0)) - -#define AQ_API_BitfieldOfLocalStruct_Devs_HHD(reg,localvar,field) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->bits_ ## reg ## _HHD ## _ ## field.field) : \ - (0)) - -#define AQ_API_BitfieldOfLocalStruct_Devs_APPIA_HHD(reg,localvar,field) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->bits_ ## reg ## _HHD ## _ ## field.field) : \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->bits_ ## reg ## _APPIA ## _ ## field.field) : \ - (0))) - -#define AQ_API_BitfieldOfLocalStruct_Devs_HHD_APPIA(reg,localvar,field) AQ_API_BitfieldOfLocalStruct_Devs_APPIA_HHD(reg,localvar,field) - - -#define AQ_API_AssignBitfieldOfLocalStruct(reg,localvar,field,value) AQ_API_AssignBitfieldOfLocalStruct_DeviceRestricted(APPIA_HHD,reg,localvar,field,value) - -#define AQ_API_AssignBitfieldOfLocalStruct_DeviceRestricted(devices,reg,localvar,field,value) AQ_API_AssignBitfieldOfLocalStruct_Devs_ ## devices(reg,localvar,field,value) - -#define AQ_API_AssignBitfieldOfLocalStruct_Devs_APPIA(reg,localvar,field,value) \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->bits_ ## reg ## _APPIA ## _ ## field.field = value) : \ - (0)) - -#define AQ_API_AssignBitfieldOfLocalStruct_Devs_HHD(reg,localvar,field,value) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->bits_ ## reg ## _HHD ## _ ## field.field = value) : \ - (0)) - -#define AQ_API_AssignBitfieldOfLocalStruct_Devs_APPIA_HHD(reg,localvar,field,value) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->bits_ ## reg ## _HHD ## _ ## field.field = value) : \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->bits_ ## reg ## _APPIA ## _ ## field.field = value) : \ - (0))) - -#define AQ_API_AssignBitfieldOfLocalStruct_Devs_HHD_APPIA(reg,localvar,field,value) AQ_API_AssignBitfieldOfLocalStruct_Devs_APPIA_HHD(reg,localvar,field,value) - - -#define AQ_API_WordOfLocalStruct(localvar,wd) AQ_API_WordOfLocalStruct_DeviceRestricted(APPIA_HHD,localvar,wd) - -#define AQ_API_WordOfLocalStruct_DeviceRestricted(devices,localvar,wd) AQ_API_WordOfLocalStruct_Devs_ ## devices(localvar,wd) - -#define AQ_API_WordOfLocalStruct_Devs_APPIA(localvar,wd) \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->u ## wd.word_ ## wd) : \ - (0)) - -#define AQ_API_WordOfLocalStruct_Devs_HHD(localvar,wd) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->u ## wd.word_ ## wd) : \ - (0)) - -#define AQ_API_WordOfLocalStruct_Devs_APPIA_HHD(localvar,wd) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->u ## wd.word_ ## wd) : \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->u ## wd.word_ ## wd) : \ - (0))) - -#define AQ_API_WordOfLocalStruct_Devs_HHD_APPIA(localvar,wd) AQ_API_WordOfLocalStruct_Devs_APPIA_HHD(localvar,wd) - - -#define AQ_API_AssignWordOfLocalStruct(localvar,wd,value) AQ_API_AssignWordOfLocalStruct_DeviceRestricted(APPIA_HHD,localvar,wd,value) - -#define AQ_API_AssignWordOfLocalStruct_DeviceRestricted(devices,localvar,wd,value) AQ_API_AssignWordOfLocalStruct_Devs_ ## devices(localvar,wd,value) - -#define AQ_API_AssignWordOfLocalStruct_Devs_APPIA(localvar,wd,value) \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->u ## wd.word_ ## wd = value) : \ - (0)) - -#define AQ_API_AssignWordOfLocalStruct_Devs_HHD(localvar,wd,value) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->u ## wd.word_ ## wd = value) : \ - (0)) - -#define AQ_API_AssignWordOfLocalStruct_Devs_APPIA_HHD(localvar,wd,value) \ - ((port->device == AQ_DEVICE_HHD) ? ((localvar ## _HHD)->u ## wd.word_ ## wd = value) : \ - ((port->device == AQ_DEVICE_APPIA) ? ((localvar ## _APPIA)->u ## wd.word_ ## wd = value) : \ - (0))) - -#define AQ_API_AssignWordOfLocalStruct_Devs_HHD_APPIA(localvar,wd,value) AQ_API_AssignWordOfLocalStruct_Devs_APPIA_HHD(localvar,wd,value) - - -#endif - diff --git a/qca/aq-fw-download/src/include/AQ_ReturnCodes.h b/qca/aq-fw-download/src/include/AQ_ReturnCodes.h deleted file mode 100644 index bff083b03..000000000 --- a/qca/aq-fw-download/src/include/AQ_ReturnCodes.h +++ /dev/null @@ -1,113 +0,0 @@ -/* AQ_ReturnCodes.h */ - -/************************************************************************************ -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* Description: -* -* This file defines the AQ_API functions' integral return codes. -* -* -************************************************************************************/ - -/*! \file - This file defines the AQ_API functions' integral return codes. -*/ - -#ifndef AQ_RETURNCODES_TOKEN -#define AQ_RETURNCODES_TOKEN - - -/*! \defgroup ReturnCodes - @{ -*/ - -/*! Most AQ_API functions return AQ_Retcode to report success or failure. - * The values used are defined as preprocessor symbols in AQ_ReturnCodes.h. - * Callers should prefer to test the return values by equivalence to these - * symbols, rather than using the integer values directly, as these may - * not be stable across releases. The set of possible return codes that may - * be returned by a particular API function can be found in the function's - * documentation, as well as information on how to interpret each of the - * possible return codes. */ -typedef unsigned int AQ_Retcode; - -/*! \defgroup Success - @{ */ -#define AQ_RET_OK 0 -/*@}*/ - - -/*! \defgroup GeneralErrors - @{ */ -#define AQ_RET_ERROR 100 -#define AQ_RET_UP_BUSY_TIMEOUT 101 -/*@}*/ - -/*! \defgroup FunctionSpecificResults - @{ */ -#define AQ_RET_FLASH_READY 200 -#define AQ_RET_FLASH_READINESS_TIMEOUT 204 - -#define AQ_RET_FLASHINTF_READY 201 -#define AQ_RET_FLASHINTF_NOTREADY 202 -#define AQ_RET_FLASHINTF_READINESS_TIMEOUT 203 - -#define AQ_RET_FLASH_TYPE_UNKNOWN 205 -#define AQ_RET_FLASH_TYPE_BAD 206 - -#define AQ_RET_FLASH_IMAGE_CORRUPT 207 -#define AQ_RET_FLASH_IMAGE_TOO_LARGE 208 -#define AQ_RET_FLASH_IMAGE_MISMATCH 209 - -#define AQ_RET_FLASH_PAGE_SIZE_CHANGED 210 - -#define AQ_RET_BOOTLOAD_PROVADDR_OOR 211 -#define AQ_RET_BOOTLOAD_NONUNIFORM_REGVALS 212 -#define AQ_RET_BOOTLOAD_CRC_MISMATCH 213 -#define AQ_RET_BOOTLOAD_PROVTABLE_TOO_LARGE 228 - -#define AQ_RET_LOOPBACK_BAD_ENTRY_STATE 214 - -#define AQ_RET_DEBUGTRACE_FREEZE_TIMEOUT 215 -#define AQ_RET_DEBUGTRACE_UNFREEZE_TIMEOUT 216 - -#define AQ_RET_CABLEDIAG_ALREADY_RUNNING 217 -#define AQ_RET_CABLEDIAG_STILL_RUNNING 218 -#define AQ_RET_CABLEDIAG_BAD_PAIRSTATUS 219 -#define AQ_RET_CABLEDIAG_RESULTS_ALREDY_COLLECTED 220 -#define AQ_RET_CABLEDIAG_BAD_NUM_SAMPLES 221 -#define AQ_RET_CABLEDIAG_REPORTEDPAIR_MISMATCH 222 -#define AQ_RET_CABLEDIAG_REPORTEDPAIR_OOR 223 -#define AQ_RET_CABLEDIAG_STARTED_PAIR_B 224 -#define AQ_RET_CABLEDIAG_STARTED_PAIR_C 225 -#define AQ_RET_CABLEDIAG_STARTED_PAIR_D 226 -#define AQ_RET_CABLEDIAG_TXENABLE_MISMATCH 227 - -#define AQ_RET_SERDESEYE_BAD_SERDES_MODE 229 -#define AQ_RET_SERDESEYE_BAD_MEAS_COUNT 230 -#define AQ_RET_SERDESEYE_MEAS_TIMEOUT 231 -#define AQ_RET_SERDESEYE_LANE_OOR 232 -#define AQ_RET_SERDESEYE_COORD_OOR 233 - -#define AQ_RET_PIFMAILBOX_ERROR 234 -#define AQ_RET_PIFMAILBOX_TIMEOUT 235 - -#define AQ_RET_SEC_TABLE_INDEX_OOR 236 -/*@}*/ - -/*@}*/ - -#endif diff --git a/qca/aq-fw-download/src/include/AQ_User.h b/qca/aq-fw-download/src/include/AQ_User.h deleted file mode 100644 index c7526a7cb..000000000 --- a/qca/aq-fw-download/src/include/AQ_User.h +++ /dev/null @@ -1,97 +0,0 @@ -/*AQ_User.h*/ - -/************************************************************************************ -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* Description: -* -* This file contains preprocessor symbol definitions and type definitions -* for the platform-integrator controlled compile-time AQ_API options. -* -************************************************************************************/ - -/*! \file - This file contains preprocessor symbol definitions and type definitions - for the platform-integrator controlled compile-time AQ_API options. -*/ - -#ifndef AQ_USER_TOKEN -#define AQ_USER_TOKEN - -/*! \defgroup User User Definitions -This module contains the definitions used to configure AQ_API behavior as desired. */ -/*@{*/ - - -/*! Specify the proper data type for AQ_Port. This will depend on the - * platform-specific implementation of the PHY register read/write functions.*/ -typedef unsigned int AQ_Port; - - -/*! If defined, AQ_API functions will print various error and info messages - * to stdout. If not, nothing will be printed and AQ_API.c will NOT include - * stdio.h. */ -#define AQ_VERBOSE - - -/*! If defined, the PHY interface supports block (asynchronous) read/write - * operation. If AQ_PHY_SUPPORTS_BLOCK_READ_WRITE is defined, then - * the API will call the block-operation functions and so implementations - * for each must be provided. If AQ_PHY_SUPPORTS_BLOCK_READ_WRITE is not - * defined, they will not be called, and need not be implemented. */ -#undef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - - -/*! If defined, time.h exists, and so the associated functions wil be used to - * compute the elapsed time spent in a polling loop, to ensure that the - * maximum time-out period will not be exceeded. If not defined, then - * AQ_MDIO_READS_PER_SECOND will be used to calculate the minimum possible - * elapsed time. */ -#define AQ_TIME_T_EXISTS - - -/*! The maximum number of synchronous PHY register reads that can be performed - * per second. A worst case number can be derived as follows: - * - * AQ_MDIO_READS_PER_SECOND = MDIO Clock Frequency / 64 - * - * If using MDIO preamble suppression, multiply this number by 2 - * - * For instance, if a 5MHz MDIO clock is being used without preamble supression - * AQ_MDIO_READS_PER_SECOND = 78125 - * - * If AQ_TIME_T_EXISTS is defined, this will be ignored and need not be - * defined. If AQ_TIME_T_EXISTS is not defined, this must be defined. */ -#define AQ_MDIO_READS_PER_SECOND 78125 - - -/*! If defined, after writing to one of the registers that can trigger a - * processor-intensive MDIO operation, AQ_API functions will poll the - * the "processor intensive MDIO operation in progress" bit and wait for it - * to be zero before proceeding. */ -#define AQ_ENABLE_UP_BUSY_CHECKS - - -/*! If defined, the register map header files containing reverse-packed - * structs will be included. If not, the register map header files containing - * non-reverse-packed structs will be included. The proper choice is typically - * a function of the endianness of the platform; on big-endian systems the - * reverse-packed structs should be used, and on little-endian systems the - * non-reverse-packed structs should be used. */ -/*#define AQ_REVERSED_BITFIELD_ORDERING*/ - -/*@}*/ -#endif - diff --git a/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers.h b/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers.h deleted file mode 100644 index a9485f5a4..000000000 --- a/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers.h +++ /dev/null @@ -1,5581 +0,0 @@ -/*! \file -* This file contains the data structures and doxygen comments -* for the Global Registers block. - */ - -/*! \addtogroup registerMap - @{ -*/ - -/*! \defgroup Global_registers Global Registers -* This module contains the data structures and doxygen comments -* for the Global Registers block. - */ -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $Date: 2014/04/08 $ -* -* $Label: $ -* -* Description: -* -* This file contains the c header structures for the registers contained in the Global Registers block. -* -* The bit fields in this structure are from LSbit to MSbit -* -***********************************************************************/ - - -/*@{*/ -#ifndef AQ_APPIA_GLOBAL_REGS_HEADER -#define AQ_APPIA_GLOBAL_REGS_HEADER - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Control 1: 1E.0000 */ -/* Global Standard Control 1: 1E.0000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Control 1 */ - union - { - struct - { - unsigned int reserved1 : 11; - /*! \brief 1E.0000.B R/WPD Low Power - AQ_GlobalStandardControl_1_APPIA.u0.bits_0.lowPower - - Provisionable Default = 0x0 - - 1 = Low-power mode - 0 = Normal operation - - - Notes: - A one written to this register causes the chip to enter low-power mode. This bit puts the entire chip in low-power mode, with only the MDIO and microprocessor functioning, and turns off the analog front-end: i.e. places it in high-impedance mode. Setting this bit also sets all of the Low Power bits in the other MMDs. */ - unsigned int lowPower : 1; /* 1E.0000.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Low-power mode - 0 = Normal operation - */ - unsigned int reserved0 : 2; - /*! \brief 1E.0000.E R/WSC Hard Reset - AQ_GlobalStandardControl_1_APPIA.u0.bits_0.hardReset - - Default = 0x0 - - 1 = Global hard reset - 0 = Normal operation - - - Notes: - Setting this bit initiates a global hard reset, equivalent to pulling the reset pin low. This is a level sensitive pin that connects into the power-on reset generation circuitry to initiate a complete power-on reset. */ - unsigned int hardReset : 1; /* 1E.0000.E R/WSC Default = 0x0 */ - /* 1 = Global hard reset - 0 = Normal operation - */ - /*! \brief 1E.0000.F R/WSC Soft Reset - AQ_GlobalStandardControl_1_APPIA.u0.bits_0.softReset - - Default = 0x1 - - 1 = Global soft reset - 0 = Normal operation - - - Notes: - Setting this bit initiates a global soft reset on all of the digital logic, including the microprocessor. Upon completion of the reset sequence, this bit is set back to 0. */ - unsigned int softReset : 1; /* 1E.0000.F R/WSC Default = 0x1 */ - /* 1 = Global soft reset - 0 = Normal operation - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardControl_1_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Device Identifier: 1E.0002 */ -/* Global Standard Device Identifier: 1E.0002 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0002.F:0 RO Device ID MSW [1F:10] - AQ_GlobalStandardDeviceIdentifier_APPIA.u0.bits_0.deviceIdMSW - - - - Bits 31 - 16 of Device ID - */ - unsigned int deviceIdMSW : 16; /* 1E.0002.F:0 RO */ - /* Bits 31 - 16 of Device ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0003.F:0 RO Device ID LSW [F:0] - AQ_GlobalStandardDeviceIdentifier_APPIA.u1.bits_1.deviceIdLSW - - - - Bits 15 - 0 of Device ID - */ - unsigned int deviceIdLSW : 16; /* 1E.0003.F:0 RO */ - /* Bits 15 - 0 of Device ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardDeviceIdentifier_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Devices in Package: 1E.0005 */ -/* Global Standard Devices in Package: 1E.0005 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Devices in Package */ - union - { - struct - { - /*! \brief 1E.0005.0 ROS Clause 22 Registers Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.clause_22RegistersPresent - - Default = 0x0 - - 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package - - Notes: - This is always set to 0 in the PHY, as there are no Clause 22 registers in the device. */ - unsigned int clause_22RegistersPresent : 1; /* 1E.0005.0 ROS Default = 0x0 */ - /* 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package */ - /*! \brief 1E.0005.1 ROS PMA Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.pmaPresent - - Default = 0x1 - - 1 = PMA is present in package - 0 = PMA is not present - - Notes: - This is always set to 1 as there is PMA functionality in the PHY. */ - unsigned int pmaPresent : 1; /* 1E.0005.1 ROS Default = 0x1 */ - /* 1 = PMA is present in package - 0 = PMA is not present */ - /*! \brief 1E.0005.2 ROS WIS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.wisPresent - - Default = 0x0 - - 1 = WIS is present in package - 0 = WIS is not present in package - - Notes: - This is always set to 0, as there is no WIS functionality in the PHY. */ - unsigned int wisPresent : 1; /* 1E.0005.2 ROS Default = 0x0 */ - /* 1 = WIS is present in package - 0 = WIS is not present in package */ - /*! \brief 1E.0005.3 ROS PCS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.pcsPresent - - Default = 0x1 - - 1 = PCS is present in package - 0 = PCS is not present in package - - Notes: - This is always set to 1 as there is PCS functionality in the PHY. */ - unsigned int pcsPresent : 1; /* 1E.0005.3 ROS Default = 0x1 */ - /* 1 = PCS is present in package - 0 = PCS is not present in package */ - /*! \brief 1E.0005.4 ROS PHY XS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.phyXS_Present - - Default = 0x1 - - 1 = PHY XS is present in package - 0 = PHY XS is not present in package - - Notes: - This is always set to 1 as there is a PHY XS interface in the PHY. */ - unsigned int phyXS_Present : 1; /* 1E.0005.4 ROS Default = 0x1 */ - /* 1 = PHY XS is present in package - 0 = PHY XS is not present in package */ - /*! \brief 1E.0005.5 ROS DTE XS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.dteXsPresent - - Default = 0x0 - - 1 = DTE XS is present in package - 0 = DTE XS is not present in package - - - Notes: - This is always set to 0, as there is no DTE XAUI interface in the PHY. */ - unsigned int dteXsPresent : 1; /* 1E.0005.5 ROS Default = 0x0 */ - /* 1 = DTE XS is present in package - 0 = DTE XS is not present in package - */ - /*! \brief 1E.0005.6 ROS TC Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.tcPresent - - Default = 0x0 - - 1 = TC is present in package - 0 = TC is not present in package - - Notes: - This is always set to 0, as there is no TC functionality in the PHY. */ - unsigned int tcPresent : 1; /* 1E.0005.6 ROS Default = 0x0 */ - /* 1 = TC is present in package - 0 = TC is not present in package */ - /*! \brief 1E.0005.7 ROS Autonegotiation Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.autonegotiationPresent - - Default = 0x1 - - 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package - - Notes: - This is always set to 1, as there is Autonegotiation in the PHY. */ - unsigned int autonegotiationPresent : 1; /* 1E.0005.7 ROS Default = 0x1 */ - /* 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package */ - unsigned int reserved0 : 8; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardDevicesInPackage_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Vendor Devices in Package: 1E.0006 */ -/* Global Standard Vendor Devices in Package: 1E.0006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Vendor Devices in Package */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.0006.D ROS Clause 22 Extension Present - AQ_GlobalStandardVendorDevicesInPackage_APPIA.u0.bits_0.clause_22ExtensionPresent - - Default = 0x1 - - 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the GbE registers. */ - unsigned int clause_22ExtensionPresent : 1; /* 1E.0006.D ROS Default = 0x1 */ - /* 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package */ - /*! \brief 1E.0006.E ROS Vendor Specific Device #1 Present - AQ_GlobalStandardVendorDevicesInPackage_APPIA.u0.bits_0.vendorSpecificDevice_1Present - - Default = 0x1 - - 1 = Device #1 is present in package - 0 = Device #1 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the global control registers. */ - unsigned int vendorSpecificDevice_1Present : 1; /* 1E.0006.E ROS Default = 0x1 */ - /* 1 = Device #1 is present in package - 0 = Device #1 is not present in package */ - /*! \brief 1E.0006.F ROS Vendor Specific Device #2 Present - AQ_GlobalStandardVendorDevicesInPackage_APPIA.u0.bits_0.vendorSpecificDevice_2Present - - Default = 0x1 - - 1 = Device #2 is present in package - 0 = Device #2 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the DSP PMA registers. */ - unsigned int vendorSpecificDevice_2Present : 1; /* 1E.0006.F ROS Default = 0x1 */ - /* 1 = Device #2 is present in package - 0 = Device #2 is not present in package */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardVendorDevicesInPackage_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Status 2: 1E.0008 */ -/* Global Standard Status 2: 1E.0008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Status 2 */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.0008.F:E ROS Device Present [1:0] - AQ_GlobalStandardStatus_2_APPIA.u0.bits_0.devicePresent - - Default = 0x2 - - [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address - - Notes: - This field is always set to 0x2, as the Global MMD resides here in the PHY. */ - unsigned int devicePresent : 2; /* 1E.0008.F:E ROS Default = 0x2 */ - /* [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardStatus_2_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Package Identifier: 1E.000E */ -/* Global Standard Package Identifier: 1E.000E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000E.F:0 RO Package ID MSW [1F:10] - AQ_GlobalStandardPackageIdentifier_APPIA.u0.bits_0.packageIdMSW - - - - Bits 31- 16 of Package ID - */ - unsigned int packageIdMSW : 16; /* 1E.000E.F:0 RO */ - /* Bits 31- 16 of Package ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000F.F:0 RO Package ID LSW [F:0] - AQ_GlobalStandardPackageIdentifier_APPIA.u1.bits_1.packageIdLSW - - - - Bits 15 - 0 of Package ID - */ - unsigned int packageIdLSW : 16; /* 1E.000F.F:0 RO */ - /* Bits 15 - 0 of Package ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardPackageIdentifier_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Firmware ID: 1E.0020 */ -/* Global Firmware ID: 1E.0020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Firmware ID */ - union - { - struct - { - /*! \brief 1E.0020.7:0 RO Firmware Minor Revision Number [7:0] - AQ_GlobalFirmwareID_APPIA.u0.bits_0.firmwareMinorRevisionNumber - - - - [7:0] = Minor revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMinorRevisionNumber : 8; /* 1E.0020.7:0 RO */ - /* [7:0] = Minor revision number */ - /*! \brief 1E.0020.F:8 RO Firmware Major Revision Number [7:0] - AQ_GlobalFirmwareID_APPIA.u0.bits_0.firmwareMajorRevisionNumber - - - - [F:8] = Major revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMajorRevisionNumber : 8; /* 1E.0020.F:8 RO */ - /* [F:8] = Major revision number */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFirmwareID_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip Identification: 1E.0021 */ -/* Global Chip Identification: 1E.0021 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip Identification */ - union - { - struct - { - /*! \brief 1E.0021.F:0 RO Chip Identification [F:0] - AQ_GlobalChipIdentification_APPIA.u0.bits_0.chipIdentification - - - - Hardware Chip ID - - Notes: - This value is a hard-coded chip ID */ - unsigned int chipIdentification : 16; /* 1E.0021.F:0 RO */ - /* Hardware Chip ID */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChipIdentification_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip Revision: 1E.0022 */ -/* Global Chip Revision: 1E.0022 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip Revision */ - union - { - struct - { - /*! \brief 1E.0022.F:0 RO Chip Revision [F:0] - AQ_GlobalChipRevision_APPIA.u0.bits_0.chipRevision - - - - Hardware Chip Revision - - Notes: - This value is a hard-coded chip revision */ - unsigned int chipRevision : 16; /* 1E.0022.F:0 RO */ - /* Hardware Chip Revision */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChipRevision_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Interface: 1E.0100 */ -/* Global NVR Interface: 1E.0100 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0100.7:0 R/W NVR Opcode [7:0] - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrOpcode - - Default = 0x03 - - NVR instruction opcode - - */ - unsigned int nvrOpcode : 8; /* 1E.0100.7:0 R/W Default = 0x03 */ - /* NVR instruction opcode - */ - /*! \brief 1E.0100.8 RO NVR Busy - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrBusy - - - - 1 = NVR is busy - 0 = NVR is ready - - - Notes: - When set to 1, the NVR is busy. A new NVR operation should not occur until this bit is 0. If the NVR clock is greater than 64/63 of the MDIO clock, this bit never needs to be polled when operating over the MDIO. */ - unsigned int nvrBusy : 1; /* 1E.0100.8 RO */ - /* 1 = NVR is busy - 0 = NVR is ready - */ - unsigned int reserved1 : 1; - /*! \brief 1E.0100.A R/W NVR Burst - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrBurst - - Default = 0x0 - - 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - - - Notes: - When this bit is set, the operation is a burst operation where more than 32-bits is read from the NVR or written to the NVR. This bit should be set to one until the last burst in the read or write operation, when it should be set to zero. It operates by gating the SPI clock, and not restarting it until new data is ready to be written, or the previous contents have been read. Each burst of data requires the NVR Execute Operation bit to be set to initiate the next phase. */ - unsigned int nvrBurst : 1; /* 1E.0100.A R/W Default = 0x0 */ - /* 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0100.C R/WSC Reset NVR CRC - AQ_GlobalNvrInterface_APPIA.u0.bits_0.resetNvrCrc - - Default = 0x0 - - 1 = Reset NVR Mailbox CRC calculation register - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int resetNvrCrc : 1; /* 1E.0100.C R/WSC Default = 0x0 */ - /* 1 = Reset NVR Mailbox CRC calculation register - */ - /*! \brief 1E.0100.D R/W Freeze NVR CRC - AQ_GlobalNvrInterface_APPIA.u0.bits_0.freezeNvrCrc - - Default = 0x0 - - 1 = Freeze NVR Mailbox CRC calculation register - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int freezeNvrCrc : 1; /* 1E.0100.D R/W Default = 0x0 */ - /* 1 = Freeze NVR Mailbox CRC calculation register - */ - /*! \brief 1E.0100.E R/W NVR Write Mode - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrWriteMode - - Default = 0x0 - - 1 = Write to NVR - 0 = Read from NVR - - */ - unsigned int nvrWriteMode : 1; /* 1E.0100.E R/W Default = 0x0 */ - /* 1 = Write to NVR - 0 = Read from NVR - */ - /*! \brief 1E.0100.F R/WSC NVR Execute Operation - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrExecuteOperation - - Default = 0x0 - - 1 = Start NVR Operation - - - Notes: - When set to 1, the NVR operation will begin. Ensure that the uP is stalled using the See MCP Run Stall bit to ensure no NVR contention. */ - unsigned int nvrExecuteOperation : 1; /* 1E.0100.F R/WSC Default = 0x0 */ - /* 1 = Start NVR Operation - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0101.F:0 RO NVR Mailbox CRC [F:0] - AQ_GlobalNvrInterface_APPIA.u1.bits_1.nvrMailboxCrc - - - - The running CRC-16 of everything passing through the NVR interface - - - Notes: - The CRC-16 over all data written or read through the NVR interface. The CRC-16 is calculated by dividing the data by: - x^16 + x^12 + x^5 + 1 */ - unsigned int nvrMailboxCrc : 16; /* 1E.0101.F:0 RO */ - /* The running CRC-16 of everything passing through the NVR interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0102.7:0 R/W NVR Address MSW [17:10] - AQ_GlobalNvrInterface_APPIA.u2.bits_2.nvrAddressMSW - - Default = 0x00 - - NVR address MSW bits [17:10] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. The increment amount is based on the data length (i.e. increments by 4 if the data length is 4 bytes) */ - unsigned int nvrAddressMSW : 8; /* 1E.0102.7:0 R/W Default = 0x00 */ - /* NVR address MSW bits [17:10] - */ - unsigned int reserved0 : 8; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0103.F:0 R/W NVR Address LSW [F:0] - AQ_GlobalNvrInterface_APPIA.u3.bits_3.nvrAddressLSW - - Default = 0x0000 - - NVR address LSW bits [F:0] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. */ - unsigned int nvrAddressLSW : 16; /* 1E.0103.F:0 R/W Default = 0x0000 */ - /* NVR address LSW bits [F:0] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0104.F:0 R/W NVR Data MSW [1F:10] - AQ_GlobalNvrInterface_APPIA.u4.bits_4.nvrDataMSW - - Default = 0x0000 - - NVR data MSW bits [1F:10] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataMSW : 16; /* 1E.0104.F:0 R/W Default = 0x0000 */ - /* NVR data MSW bits [1F:10] - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0105.F:0 R/W NVR Data LSW [F:0] - AQ_GlobalNvrInterface_APPIA.u5.bits_5.nvrDataLSW - - Default = 0x0000 - - NVR data LSW bits [F:0] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataLSW : 16; /* 1E.0105.F:0 R/W Default = 0x0000 */ - /* NVR data LSW bits [F:0] - */ - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalNvrInterface_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Mailbox Interface: 1E.0200 */ -/* Global Mailbox Interface: 1E.0200 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Mailbox Interface */ - union - { - struct - { - unsigned int reserved2 : 8; - /*! \brief 1E.0200.8 RO uP Mailbox Busy - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.upMailboxBusy - - - - 1 = uP mailbox busy - 0 = uP mailbox ready - - - Notes: - In general the uP will respond within a few processor cycles to any PIF slave request, much faster than the MDIO. If the busy is asserted over multiple MDIO polling cycles, then a H/W error may have occured and a Global S/W reset or uP reset is required. */ - unsigned int upMailboxBusy : 1; /* 1E.0200.8 RO */ - /* 1 = uP mailbox busy - 0 = uP mailbox ready - */ - unsigned int reserved1 : 3; - /*! \brief 1E.0200.C R/WSC Reset uP Mailbox CRC - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.resetUpMailboxCrc - - Default = 0x0 - - 1 = Reset uP mailbox CRC calculation register - - */ - unsigned int resetUpMailboxCrc : 1; /* 1E.0200.C R/WSC Default = 0x0 */ - /* 1 = Reset uP mailbox CRC calculation register - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0200.E R/W uP Mailbox Write Mode - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.upMailboxWriteMode - - Default = 0x0 - - 1 = Write - 0 = Read - - - Notes: - Mailbox direction */ - unsigned int upMailboxWriteMode : 1; /* 1E.0200.E R/W Default = 0x0 */ - /* 1 = Write - 0 = Read - */ - /*! \brief 1E.0200.F R/WSC uP Mailbox Execute Operation - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.upMailboxExecuteOperation - - Default = 0x0 - - 1 = Start of mailbox Operation - - - Notes: - Indicates mailbox is loaded and ready */ - unsigned int upMailboxExecuteOperation : 1; /* 1E.0200.F R/WSC Default = 0x0 */ - /* 1 = Start of mailbox Operation - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0201.F:0 RO uP Mailbox CRC [F:0] - AQ_GlobalMailboxInterface_APPIA.u1.bits_1.upMailboxCrc - - - - The running CRC-16 of everything passing through the mailbox interface - - */ - unsigned int upMailboxCrc : 16; /* 1E.0201.F:0 RO */ - /* The running CRC-16 of everything passing through the mailbox interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0202.F:0 R/W uP Mailbox Address MSW [1F:10] - AQ_GlobalMailboxInterface_APPIA.u2.bits_2.upMailboxAddressMSW - - Default = 0x0000 - - uP Mailbox MSW address - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressMSW : 16; /* 1E.0202.F:0 R/W Default = 0x0000 */ - /* uP Mailbox MSW address - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0203.1:0 RO uP Mailbox Address LSW Don't Care [1:0] - AQ_GlobalMailboxInterface_APPIA.u3.bits_3.upMailboxAddressLSW_Don_tCare - - - - Least significant uP LSW Mailbox address bits [1:0] - - - Notes: - These bits are always set to 0 since each memory access is on a 4-byte boundary. */ - unsigned int upMailboxAddressLSW_Don_tCare : 2; /* 1E.0203.1:0 RO */ - /* Least significant uP LSW Mailbox address bits [1:0] - */ - /*! \brief 1E.0203.F:2 R/W uP Mailbox Address LSW [F:2] - AQ_GlobalMailboxInterface_APPIA.u3.bits_3.upMailboxAddressLSW - - Default = 0x0000 - - uP LSW Mailbox address [F:2] - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressLSW : 14; /* 1E.0203.F:2 R/W Default = 0x0000 */ - /* uP LSW Mailbox address [F:2] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0204.F:0 R/W uP Mailbox Data MSW [1F:10] - AQ_GlobalMailboxInterface_APPIA.u4.bits_4.upMailboxDataMSW - - Default = 0x0000 - - uP Mailbox data MSW - - */ - unsigned int upMailboxDataMSW : 16; /* 1E.0204.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data MSW - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0205.F:0 R/W uP Mailbox Data LSW [F:0] - AQ_GlobalMailboxInterface_APPIA.u5.bits_5.upMailboxDataLSW - - Default = 0x0000 - - uP Mailbox data LSW - - */ - unsigned int upMailboxDataLSW : 16; /* 1E.0205.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data LSW - */ - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalMailboxInterface_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Microprocessor Scratch Pad: 1E.0300 */ -/* Global Microprocessor Scratch Pad: 1E.0300 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0300.F:0 R/W Scratch Pad 1[F:0] - AQ_GlobalMicroprocessorScratchPad_APPIA.u0.bits_0.scratchPad_1 - - Default = 0x0000 - - General Purpose Scratch Pad1 - */ - unsigned int scratchPad_1 : 16; /* 1E.0300.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch Pad1 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0301.F:0 R/W Scratch Pad 2 [F:0] - AQ_GlobalMicroprocessorScratchPad_APPIA.u1.bits_1.scratchPad_2 - - Default = 0x0000 - - General Purpose Scratch P - */ - unsigned int scratchPad_2 : 16; /* 1E.0301.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch P */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalMicroprocessorScratchPad_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Control: 1E.C000 */ -/* Global Control: 1E.C000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Control */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Control */ - union - { - struct - { - /*! \brief 1E.C001.0 R/W uP Run Stall - AQ_GlobalControl_APPIA.u1.bits_1.upRunStall - - Default = 0x0 - - 1 = uP Run Stall - 0 = uP normal mode - - - Notes: - Deactivates the uP. The PIF slave bus for inbound requests will still be active. This bit is muliplexed with the "MDIO Boot Load" pin with the See uP Run Stall Override bit as the select. When the "MDIO Boot Load" pin is asserted, the uP will be in Run Stall mode after reset. */ - unsigned int upRunStall : 1; /* 1E.C001.0 R/W Default = 0x0 */ - /* 1 = uP Run Stall - 0 = uP normal mode - */ - unsigned int reserved1 : 5; - /*! \brief 1E.C001.6 R/W uP Run Stall Override - AQ_GlobalControl_APPIA.u1.bits_1.upRunStallOverride - - Default = 0x0 - - 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - - - Notes: - This bit selects the uP Run Stall from either the "MDIO Boot Load" pin or the See MCP Run Stall bit. */ - unsigned int upRunStallOverride : 1; /* 1E.C001.6 R/W Default = 0x0 */ - /* 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - */ - unsigned int reserved0 : 8; - /*! \brief 1E.C001.F R/W uP Reset - AQ_GlobalControl_APPIA.u1.bits_1.upReset - - Default = 0x0 - - 1 = Reset - - - Notes: - Resets the uP and the PIF master and slave bus. Will be active for a minimum of 100 microseconds. */ - unsigned int upReset : 1; /* 1E.C001.F R/W Default = 0x0 */ - /* 1 = Reset - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalControl_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reset Control: 1E.C006 */ -/* Global Reset Control: 1E.C006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reset Control */ - union - { - struct - { - unsigned int reserved1 : 14; - /*! \brief 1E.C006.E R/WPD Global MMD Reset Disable - AQ_GlobalResetControl_APPIA.u0.bits_0.globalMMD_ResetDisable - - Provisionable Default = 0x0 - - 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - - - Notes: - Setting this bit prevents a Global S/W reset or Global S/W reset from resetting the Global MMD registers */ - unsigned int globalMMD_ResetDisable : 1; /* 1E.C006.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalResetControl_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Diagnostic Provisioning: 1E.C400 */ -/* Global Diagnostic Provisioning: 1E.C400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Diagnostic Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C400.F R/WPD Enable Diagnostics - AQ_GlobalDiagnosticProvisioning_APPIA.u0.bits_0.enableDiagnostics - - Provisionable Default = 0x1 - - 1 = Chip performs diagnostics on power-up - */ - unsigned int enableDiagnostics : 1; /* 1E.C400.F R/WPD Provisionable Default = 0x1 */ - /* 1 = Chip performs diagnostics on power-up */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDiagnosticProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Provisioning: 1E.C420 */ -/* Global Thermal Provisioning: 1E.C420 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C420.F:0 R/WPD Reserved 0 [F:0] - AQ_GlobalThermalProvisioning_APPIA.u0.bits_0.reserved_0 - - Provisionable Default = 0x0000 - - Internal reserved - do not modify - - */ - unsigned int reserved_0 : 16; /* 1E.C420.F:0 R/WPD Provisionable Default = 0x0000 */ - /* Internal reserved - do not modify - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C421.F:0 R/WPD High Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u1.bits_1.highTempFailureThreshold - - Provisionable Default = 0x4600 - - [F:0] of high temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A000 - 1.A001: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempFailureThreshold : 16; /* 1E.C421.F:0 R/WPD Provisionable Default = 0x4600 */ - /* [F:0] of high temperature failure threshold */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C422.F:0 R/WPD Low Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u2.bits_2.lowTempFailureThreshold - - Provisionable Default = 0x0000 - - [F:0] of low temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 0 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A002 - 1.A003: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempFailureThreshold : 16; /* 1E.C422.F:0 R/WPD Provisionable Default = 0x0000 */ - /* [F:0] of low temperature failure threshold */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C423.F:0 R/WPD High Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u3.bits_3.highTempWarningThreshold - - Provisionable Default = 0x3C00 - - [F:0] of high temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD008. Default is 60 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A004 - 1.A005: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempWarningThreshold : 16; /* 1E.C423.F:0 R/WPD Provisionable Default = 0x3C00 */ - /* [F:0] of high temperature warning threshold */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C424.F:0 R/WPD Low Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u4.bits_4.lowTempWarningThreshold - - Provisionable Default = 0x0A00 - - [F:0] of low temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 10 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A006 - 1.A007: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempWarningThreshold : 16; /* 1E.C424.F:0 R/WPD Provisionable Default = 0x0A00 */ - /* [F:0] of low temperature warning threshold */ - } bits_4; - uint16_t word_4; - } u4; -} AQ_GlobalThermalProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global LED Provisioning: 1E.C430 */ -/* Global LED Provisioning: 1E.C430 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C430.1:0 R/WPD LED #0 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_0ActivityStretch : 2; /* 1E.C430.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C430.2 R/WPD LED #0 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_0TransmitActivity : 1; /* 1E.C430.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C430.3 R/WPD LED #0 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_0ReceiveActivity : 1; /* 1E.C430.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C430.4 R/WPD LED #0 Connecting - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_0Connecting : 1; /* 1E.C430.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C430.5 R/WPD LED #0 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_0_100Mb_sLinkEstablished : 1; /* 1E.C430.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C430.6 R/WPD LED #0 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_0_1Gb_sLinkEstablished : 1; /* 1E.C430.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C430.7 R/WPD LED #0 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_0_10Gb_sLinkEstablished : 1; /* 1E.C430.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C430.8 R/WPD LED #0 Manual Set - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_0ManualSet : 1; /* 1E.C430.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - unsigned int reserved0 : 7; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C431.1:0 R/WPD LED #1 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_1ActivityStretch : 2; /* 1E.C431.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C431.2 R/WPD LED #1 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_1TransmitActivity : 1; /* 1E.C431.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C431.3 R/WPD LED #1 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_1ReceiveActivity : 1; /* 1E.C431.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C431.4 R/WPD LED #1 Connecting - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_1Connecting : 1; /* 1E.C431.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C431.5 R/WPD LED #1 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_1_100Mb_sLinkEstablished : 1; /* 1E.C431.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C431.6 R/WPD LED #1 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_1_1Gb_sLinkEstablished : 1; /* 1E.C431.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C431.7 R/WPD LED #1 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_1_10Gb_sLinkEstablished : 1; /* 1E.C431.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C431.8 R/WPD LED #1 Manual Set - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_1ManualSet : 1; /* 1E.C431.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - unsigned int reserved0 : 7; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C432.1:0 R/WPD LED #2 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_2ActivityStretch : 2; /* 1E.C432.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C432.2 R/WPD LED #2 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_2TransmitActivity : 1; /* 1E.C432.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C432.3 R/WPD LED #2 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_2ReceiveActivity : 1; /* 1E.C432.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C432.4 R/WPD LED #2 Connecting - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_2Connecting : 1; /* 1E.C432.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C432.5 R/WPD LED #2 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_2_100Mb_sLinkEstablished : 1; /* 1E.C432.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C432.6 R/WPD LED #2 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_2_1Gb_sLinkEstablished : 1; /* 1E.C432.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C432.7 R/WPD LED #2 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_2_10Gb_sLinkEstablished : 1; /* 1E.C432.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C432.8 R/WPD LED #2 Manual Set - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_2ManualSet : 1; /* 1E.C432.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - unsigned int reserved0 : 7; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C433.1:0 R/WPD LED #3 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_3ActivityStretch : 2; /* 1E.C433.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C433.2 R/WPD LED #3 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_3TransmitActivity : 1; /* 1E.C433.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C433.3 R/WPD LED #3 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_3ReceiveActivity : 1; /* 1E.C433.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C433.4 R/WPD LED #3 Connecting - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_3Connecting : 1; /* 1E.C433.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C433.5 R/WPD LED #3 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_3_100Mb_sLinkEstablished : 1; /* 1E.C433.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C433.6 R/WPD LED #3 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_3_1Gb_sLinkEstablished : 1; /* 1E.C433.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C433.7 R/WPD LED #3 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_3_10Gb_sLinkEstablished : 1; /* 1E.C433.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C433.8 R/WPD LED #3 Manual Set - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_3ManualSet : 1; /* 1E.C433.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - unsigned int reserved0 : 7; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C434.1:0 R/WPD LED #4 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_4ActivityStretch : 2; /* 1E.C434.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C434.2 R/WPD LED #4 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_4TransmitActivity : 1; /* 1E.C434.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C434.3 R/WPD LED #4 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_4ReceiveActivity : 1; /* 1E.C434.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C434.4 R/WPD LED #4 Connecting - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_4Connecting : 1; /* 1E.C434.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C434.5 R/WPD LED #4 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_4_100Mb_sLinkEstablished : 1; /* 1E.C434.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C434.6 R/WPD LED #4 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_4_1Gb_sLinkEstablished : 1; /* 1E.C434.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C434.7 R/WPD LED #4 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_4_10Gb_sLinkEstablished : 1; /* 1E.C434.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C434.8 R/WPD LED #4 Manual Set - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_4ManualSet : 1; /* 1E.C434.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - unsigned int reserved0 : 7; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C435.1:0 R/WPD LED #5 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_5ActivityStretch : 2; /* 1E.C435.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C435.2 R/WPD LED #5 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_5TransmitActivity : 1; /* 1E.C435.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C435.3 R/WPD LED #5 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_5ReceiveActivity : 1; /* 1E.C435.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C435.4 R/WPD LED #5 Connecting - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_5Connecting : 1; /* 1E.C435.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C435.5 R/WPD LED #5 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_5_100Mb_sLinkEstablished : 1; /* 1E.C435.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C435.6 R/WPD LED #5 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_5_1Gb_sLinkEstablished : 1; /* 1E.C435.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C435.7 R/WPD LED #5 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_5_10Gb_sLinkEstablished : 1; /* 1E.C435.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C435.8 R/WPD LED #5 Manual Set - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_5ManualSet : 1; /* 1E.C435.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - unsigned int reserved0 : 7; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C437.0 R/WPD LED Operation Mode - AQ_GlobalLedProvisioning_APPIA.u7.bits_7.ledOperationMode - - Provisionable Default = 0x0 - - 1 = LED link activity in Mode #2 - 0 = LED link activity in classic mode - - - Notes: - When set to 1, the LED blinking rate is based on Mode #2 algorithm. When set to 0, the LED blinking rate is based on the classic algorithm. */ - unsigned int ledOperationMode : 1; /* 1E.C437.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED link activity in Mode #2 - 0 = LED link activity in classic mode - */ - unsigned int reserved0 : 15; - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C438.0 R/WPD LED #0 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u8.bits_8.led_0ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_0ManualActiveSelect : 1; /* 1E.C438.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - /*! \brief 1E.C438.1 R/WPD LED #0 Active High Select - AQ_GlobalLedProvisioning_APPIA.u8.bits_8.led_0ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #0 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_0ActiveHighSelect : 1; /* 1E.C438.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C438.2 R/WPD LED #0 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u8.bits_8.led_0DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_0DriveThreeStateSelect : 1; /* 1E.C438.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - unsigned int reserved0 : 13; - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C439.0 R/WPD LED #1 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u9.bits_9.led_1ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_1ManualActiveSelect : 1; /* 1E.C439.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - /*! \brief 1E.C439.1 R/WPD LED #1 Active High Select - AQ_GlobalLedProvisioning_APPIA.u9.bits_9.led_1ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #1 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_1ActiveHighSelect : 1; /* 1E.C439.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C439.2 R/WPD LED #1 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u9.bits_9.led_1DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_1DriveThreeStateSelect : 1; /* 1E.C439.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - unsigned int reserved0 : 13; - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C43A.0 R/WPD LED #2 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u10.bits_10.led_2ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_2ManualActiveSelect : 1; /* 1E.C43A.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - /*! \brief 1E.C43A.1 R/WPD LED #2 Active High Select - AQ_GlobalLedProvisioning_APPIA.u10.bits_10.led_2ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #2 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_2ActiveHighSelect : 1; /* 1E.C43A.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43A.2 R/WPD LED #2 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u10.bits_10.led_2DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_2DriveThreeStateSelect : 1; /* 1E.C43A.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - unsigned int reserved0 : 13; - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C43B.0 R/WPD LED #3 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u11.bits_11.led_3ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_3ManualActiveSelect : 1; /* 1E.C43B.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - /*! \brief 1E.C43B.1 R/WPD LED #3 Active High Select - AQ_GlobalLedProvisioning_APPIA.u11.bits_11.led_3ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #3 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_3ActiveHighSelect : 1; /* 1E.C43B.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43B.2 R/WPD LED #3 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u11.bits_11.led_3DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_3DriveThreeStateSelect : 1; /* 1E.C43B.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - unsigned int reserved0 : 13; - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Union for bit and word level access of word 12 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C43C.0 R/WPD LED #4 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u12.bits_12.led_4ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_4ManualActiveSelect : 1; /* 1E.C43C.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - /*! \brief 1E.C43C.1 R/WPD LED #4 Active High Select - AQ_GlobalLedProvisioning_APPIA.u12.bits_12.led_4ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #4 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_4ActiveHighSelect : 1; /* 1E.C43C.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43C.2 R/WPD LED #4 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u12.bits_12.led_4DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_4DriveThreeStateSelect : 1; /* 1E.C43C.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - unsigned int reserved0 : 13; - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Union for bit and word level access of word 13 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C43D.0 R/WPD LED #5 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u13.bits_13.led_5ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_5ManualActiveSelect : 1; /* 1E.C43D.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - /*! \brief 1E.C43D.1 R/WPD LED #5 Active High Select - AQ_GlobalLedProvisioning_APPIA.u13.bits_13.led_5ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #5 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_5ActiveHighSelect : 1; /* 1E.C43D.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43D.2 R/WPD LED #5 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u13.bits_13.led_5DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_5DriveThreeStateSelect : 1; /* 1E.C43D.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - unsigned int reserved0 : 13; - } bits_13; - uint16_t word_13; - } u13; -} AQ_GlobalLedProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Provisioning: 1E.C440 */ -/* Global General Provisioning: 1E.C440 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Provisioning */ - union - { - struct - { - /*! \brief 1E.C440.0 RO Gang Load MDIO Write Only - AQ_GlobalGeneralProvisioning_APPIA.u0.bits_0.gangLoadMdioWriteOnly - - - - 1 = MDIO gang load enable - - - Notes: - This bit enables gang load operation with the address specified in Bits 8:4. */ - unsigned int gangLoadMdioWriteOnly : 1; /* 1E.C440.0 RO */ - /* 1 = MDIO gang load enable - */ - unsigned int reserved1 : 3; - /*! \brief 1E.C440.8:4 R/WPD Gang Load MDIO Address [4:0] - AQ_GlobalGeneralProvisioning_APPIA.u0.bits_0.gangLoadMdioAddress - - Provisionable Default = 0x00 - - MDIO Address to be used during gang load operation - - - Notes: - Gang load operation is used to load data into multiple PHYs all connected to the same MDIO bus. The address for gang load operation is provided by these bits (8:4), and enabling is done by writing Bit 0. Disabling of gang load mode is done by writing the See MDIO Address Reset (1E.C441.2) bit. These will revert the PHY's MDIO address back to the address provided by the MDIO Address pins. During gang load operation, MDIO reads are disabled to prevent bus contention. */ - unsigned int gangLoadMdioAddress : 5; /* 1E.C440.8:4 R/WPD Provisionable Default = 0x00 */ - /* MDIO Address to be used during gang load operation - */ - unsigned int reserved0 : 7; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved2 : 2; - /*! \brief 1E.C441.2 R/WSC MDIO Address Reset - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioAddressReset - - Default = 0x0 - - 1 = Load MDIO Address with the address on the MDIO address pins - - - Notes: - Used to reset the address after gang load and enable MDIO reads again. */ - unsigned int mdioAddressReset : 1; /* 1E.C441.2 R/WSC Default = 0x0 */ - /* 1 = Load MDIO Address with the address on the MDIO address pins - */ - /*! \brief 1E.C441.3 R/WPD MDIO Preamble Detection Disable - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioPreambleDetectionDisable - - Provisionable Default = 0x0 - - 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - - */ - unsigned int mdioPreambleDetectionDisable : 1; /* 1E.C441.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - */ - /*! \brief 1E.C441.4 R/WPD MDIO Drive Configuration - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioDriveConfiguration - - Provisionable Default = 0x0 - - 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - - - Notes: - When the MDIO driver is in open drain mode during a read cycle, "0" data will be actively driven out of the MDIO, "1" data will set the MDIO driver in high impedance state and an external pullup will set the MDIO line to "1". The Turn-Around "0" will also be actively driven out of the MDIO, therefore in open drain mode, the Turn-Around is still "Z0". */ - unsigned int mdioDriveConfiguration : 1; /* 1E.C441.4 R/WPD Provisionable Default = 0x0 */ - /* 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - */ - unsigned int reserved1 : 8; - /*! \brief 1E.C441.D R/WPD MDIO Read MSW First Enable - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioReadMSW_FirstEnable - - Provisionable Default = 0x0 - - 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - - - Notes: - This bit configures whether the MSW or LSW must be read first for counters greater than 16 bits. */ - unsigned int mdioReadMSW_FirstEnable : 1; /* 1E.C441.D R/WPD Provisionable Default = 0x0 */ - /* 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - */ - /*! \brief 1E.C441.E R/WPD MDIO Broadcast Mode Enable - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioBroadcastModeEnable - - Provisionable Default = 0x0 - - 1 = Enable broadcast on Address 0 - 0 = Disable broadcast on Address 0 - - - Notes: - When set, this bit enables gang-load operation on address zero, simultaneous with normal MDIO operation. Obviously, this requires that no PHY use address 0 as its normal operating address. As well, reads on MDIO Address 0 are disabled to prevent bus contention. */ - unsigned int mdioBroadcastModeEnable : 1; /* 1E.C441.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable broadcast on Address 0 - 0 = Disable broadcast on Address 0 - */ - unsigned int reserved0 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global General Provisioning */ - union - { - struct - { - /*! \brief 1E.C442.0 R/W Daisy Chain Reset - AQ_GlobalGeneralProvisioning_APPIA.u2.bits_2.daisyChainReset - - Default = 0x0 - - 1 = Reset the daisy chain - - - Notes: - Toggling this bit from 0 to 1 will reload the IRAM and DRAM and reset the uP. The uP will be in uP run stall during the reload process. After the reload process, uP run stall will be de-asserted adn the uP reset will be asserted. Note that before setting this bit, the See Soft Reset bit needs to be de-asserted. */ - unsigned int daisyChainReset : 1; /* 1E.C442.0 R/W Default = 0x0 */ - /* 1 = Reset the daisy chain - */ - unsigned int reserved0 : 15; - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalGeneralProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Provisioning: 1E.C450 */ -/* Global NVR Provisioning: 1E.C450 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Provisioning */ - union - { - struct - { - /*! \brief 1E.C450.1:0 R/WPD NVR Address Length [1:0] - AQ_GlobalNvrProvisioning_APPIA.u0.bits_0.nvrAddressLength - - Provisionable Default = 0x2 - - NVR address length ranges from 0 bytes up to 3 bytes. - - - Notes: - This sets the length of the address field used in read and write operations. Use of this field is enabled via Bit 8 of See Global NVR Provisioning 2: Address 1E.C451 . - */ - unsigned int nvrAddressLength : 2; /* 1E.C450.1:0 R/WPD Provisionable Default = 0x2 */ - /* NVR address length ranges from 0 bytes up to 3 bytes. - */ - unsigned int reserved2 : 2; - /*! \brief 1E.C450.6:4 R/WPD NVR Dummy Length [2:0] - AQ_GlobalNvrProvisioning_APPIA.u0.bits_0.nvrDummyLength - - Provisionable Default = 0x0 - - NVR dummy length ranges from 0 bytes to 4 bytes. - - - Notes: - This sets the length of the dummy field used in some maunfacturer's read status and write status operations. - */ - unsigned int nvrDummyLength : 3; /* 1E.C450.6:4 R/WPD Provisionable Default = 0x0 */ - /* NVR dummy length ranges from 0 bytes to 4 bytes. - */ - unsigned int reserved1 : 1; - /*! \brief 1E.C450.A:8 R/WPD NVR Data Length [2:0] - AQ_GlobalNvrProvisioning_APPIA.u0.bits_0.nvrDataLength - - Provisionable Default = 0x4 - - NVR data length ranges from 0 bytes to 4 bytes - - - Notes: - This sets the length of the data burst used in read and write operations. - */ - unsigned int nvrDataLength : 3; /* 1E.C450.A:8 R/WPD Provisionable Default = 0x4 */ - /* NVR data length ranges from 0 bytes to 4 bytes - */ - unsigned int reserved0 : 5; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Provisioning */ - union - { - struct - { - /*! \brief 1E.C451.7:0 R/WPD NVR Clock Divide [7:0] - AQ_GlobalNvrProvisioning_APPIA.u1.bits_1.nvrClockDivide - - Provisionable Default = 0xA0 - - NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - - */ - unsigned int nvrClockDivide : 8; /* 1E.C451.7:0 R/WPD Provisionable Default = 0xA0 */ - /* NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - */ - /*! \brief 1E.C451.8 R/WPD NVR Address Length Override - AQ_GlobalNvrProvisioning_APPIA.u1.bits_1.nvrAddressLengthOverride - - Provisionable Default = 0x0 - - 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register. - - - Notes: - When the this bit = 0 and NVR_SIZE pin = 0, the NVR address length is 2 bytes. When this bit = 0 and the NVR_SIZE pin = 1, the NVR address length is 3 bytes. When this bit = 1 the NVR address length is from the See NVR Address Length [1:0] */ - unsigned int nvrAddressLengthOverride : 1; /* 1E.C451.8 R/WPD Provisionable Default = 0x0 */ - /* 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register. - */ - unsigned int reserved0 : 7; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Provisioning */ - union - { - struct - { - /*! \brief 1E.C452.0 R/W NVR Daisy Chain Disable - AQ_GlobalNvrProvisioning_APPIA.u2.bits_2.nvrDaisyChainDisable - - Default = 0x0 - - 1 = Disable the Daisy Chain - - - Notes: - When in daisy chain master mode, the daisy chain and MDIO can both access the SPI. Setting this bit to 1 will disable the dasiy chain from accessing the SPI and force it into a reset state. */ - unsigned int nvrDaisyChainDisable : 1; /* 1E.C452.0 R/W Default = 0x0 */ - /* 1 = Disable the Daisy Chain - */ - /*! \brief 1E.C452.1 R/W NVR Daisy Chain Clock Divide Override - AQ_GlobalNvrProvisioning_APPIA.u2.bits_2.nvrDaisyChainClockDivideOverride - - Default = 0x0 - - 1 = Override NVR clock divide when in daisy chain master mode - - - - Notes: - When in daisy chain master mode, the clock divide configuration is received from the flash. This bit will override the clock divide configuration from the flash with the See NVR Clock Divide [7:0] . */ - unsigned int nvrDaisyChainClockDivideOverride : 1; /* 1E.C452.1 R/W Default = 0x0 */ - /* 1 = Override NVR clock divide when in daisy chain master mode - - */ - unsigned int reserved0 : 14; - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalNvrProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Provisioning: 1E.C470 */ -/* Global Reserved Provisioning: 1E.C470 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved2 : 4; - /*! \brief 1E.C470.4 R/WSC Initiate Cable Diagnostics - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.initiateCableDiagnostics - - Default = 0x0 - - 1 = Perform cable diagnostics - - - Notes: - Perform cable diagnostics regardless of link state. If link is up, setting this bit will cause the link to drop while diagnostics are performed. This bit is self-clearing upon completion of the cable diagnostics. Further MDIO writes should be avoided until this bit has self-cleared, indicating completion of the diagnostic routine. */ - unsigned int initiateCableDiagnostics : 1; /* 1E.C470.4 R/WSC Default = 0x0 */ - /* 1 = Perform cable diagnostics - */ - /*! \brief 1E.C470.5 R/WSC Initiate Component Diagnostics - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.initiateComponentDiagnostics - - Default = 0x0 - - 1 = Perform component diagnostics - - - Notes: - Perform component diagnostics regardless of link state. If link is up, setting this bit will cause the link to drop while diagnostics are performed. This bit is self-clearing upon completion of the component diagnostics. Further MDIO writes should be avoided until this bit has self-cleared, indicating completion of the diagnostic routine. */ - unsigned int initiateComponentDiagnostics : 1; /* 1E.C470.5 R/WSC Default = 0x0 */ - /* 1 = Perform component diagnostics - */ - unsigned int reserved1 : 2; - unsigned int reserved0 : 5; - /*! \brief 1E.C470.E:D R/WPD Extended MDI Diagnostics Select [1:0] - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.extendedMdiDiagnosticsSelect - - Provisionable Default = 0x0 - - 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversly the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int extendedMdiDiagnosticsSelect : 2; /* 1E.C470.E:D R/WPD Provisionable Default = 0x0 */ - /* 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - */ - /*! \brief 1E.C470.F R/WPD Diagnostics Select - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.diagnosticsSelect - - Provisionable Default = 0x0 - - 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversly the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int diagnosticsSelect : 1; /* 1E.C470.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C471.5:0 R/WuP Daisy-Chain Hop-Count Override Value [5:0] - AQ_GlobalReservedProvisioning_APPIA.u1.bits_1.daisy_chainHop_countOverrideValue - - Default = 0x00 - - The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the diasy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int daisy_chainHop_countOverrideValue : 6; /* 1E.C471.5:0 R/WuP Default = 0x00 */ - /* The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - */ - /*! \brief 1E.C471.6 R/WuP Enable Daisy-Chain Hop-Count Override - AQ_GlobalReservedProvisioning_APPIA.u1.bits_1.enableDaisy_chainHop_countOverride - - Default = 0x0 - - 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the diasy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int enableDaisy_chainHop_countOverride : 1; /* 1E.C471.6 R/WuP Default = 0x0 */ - /* 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - */ - /*! \brief 1E.C471.F:7 R/WPD Reserved Provisioning 2 [8:0] - AQ_GlobalReservedProvisioning_APPIA.u1.bits_1.reservedProvisioning_2 - - Provisionable Default = 0x000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_2 : 9; /* 1E.C471.F:7 R/WPD Provisionable Default = 0x000 */ - /* Reserved for future use - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C472.0 R/WPDuP Enable 5th Channel RFI Cancellation - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enable_5thChannelRfiCancellation - - Provisionable Default = 0x0 - - 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - - - Notes: - Note: The value of this bit at the time of Autonegotiation sets the local PHY behavior until the next time Autonegotiation occurs. */ - unsigned int enable_5thChannelRfiCancellation : 1; /* 1E.C472.0 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - */ - /*! \brief 1E.C472.1 R/WPDuP Enable XENPAK Register Space - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enableXenpakRegisterSpace - - Provisionable Default = 0x0 - - 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - - */ - unsigned int enableXenpakRegisterSpace : 1; /* 1E.C472.1 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - */ - unsigned int reserved1 : 4; - /*! \brief 1E.C472.6 R/WPD Tunable External VDD Power Supply Present - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.tunableExternalVddPowerSupplyPresent - - Provisionable Default = 0x0 - - 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - - - Notes: - - - - These bits must be set if tuning of external power supplies is desired (see Bits 7:6) */ - unsigned int tunableExternalVddPowerSupplyPresent : 1; /* 1E.C472.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - */ - /*! \brief 1E.C472.7 R/WPD Tunable External LVDD Power Supply Present - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.tunableExternalLvddPowerSupplyPresent - - Provisionable Default = 0x0 - - 1 = Tunable external LVDD power supply present - 0 = No tunable external LVDD power supply present - - - Notes: - - - - These bits must be set if tuning of external power supplies is desired (see Bits 7:6) */ - unsigned int tunableExternalLvddPowerSupplyPresent : 1; /* 1E.C472.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Tunable external LVDD power supply present - 0 = No tunable external LVDD power supply present - */ - unsigned int reserved0 : 6; - /*! \brief 1E.C472.E R/WPD Enable VDD Power Supply Tuning - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enableVddPowerSupplyTuning - - Provisionable Default = 0x0 - - 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - - - Notes: - - - - These bits control whether the PHY attempts to tune the external VDD and LVDD power supplies via the PMBus. These bits are only operational if the external supplies are present (see Bits 7:6) */ - unsigned int enableVddPowerSupplyTuning : 1; /* 1E.C472.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - */ - /*! \brief 1E.C472.F R/WPD Enable LVDD Power Supply Tuning - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enableLvddPowerSupplyTuning - - Provisionable Default = 0x0 - - 1 = Enable external LVDD power supply tuning - 0 = Disable external LVDD power supply tuning is disabled - - - Notes: - - - - These bits control whether the PHY attempts to tune the external VDD and LVDD power supplies via the PMBus. These bits are only operational if the external supplies are present (see Bits 7:6) */ - unsigned int enableLvddPowerSupplyTuning : 1; /* 1E.C472.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable external LVDD power supply tuning - 0 = Disable external LVDD power supply tuning is disabled - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C474.7:0 R/WPD Training SNR [7:0] - AQ_GlobalReservedProvisioning_APPIA.u4.bits_4.trainingSNR - - Provisionable Default = 0x00 - - SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - - - Notes: - The SNR margin that is enjoyed by the worst channel, over and above the minimum SNR required to operate at a BER of 10-12. It is reported with 0.1 dB of resolution to an accuracy of 0.5 dB within the range of -12.7 dB to 12.7 dB. The number is in offset binary, with 0.0 dB represented by 0x8000. - */ - unsigned int trainingSNR : 8; /* 1E.C474.7:0 R/WPD Provisionable Default = 0x00 */ - /* SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - */ - unsigned int reserved0 : 8; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved1 : 2; - /*! \brief 1E.C475.2 R/WPD Smart Power-Down Enable - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.smartPower_downEnable - - Provisionable Default = 0x0 - - 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - - - Notes: - Smart power down (SPD) is the lowest power mode at which PHY is able to autonegotiate. SPD can be enabled with bit 1E.C475.2 */ - unsigned int smartPower_downEnable : 1; /* 1E.C475.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - */ - /*! \brief 1E.C475.3 R/WPD Deadlock Avoidance Enable - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.deadlockAvoidanceEnable - - Provisionable Default = 0x0 - - 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - - */ - unsigned int deadlockAvoidanceEnable : 1; /* 1E.C475.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - */ - /*! \brief 1E.C475.4 R/WPD CFR Support - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrSupport - - Provisionable Default = 0x0 - - 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - - */ - unsigned int cfrSupport : 1; /* 1E.C475.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.5 R/WPD CFR THP - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrTHP - - Provisionable Default = 0x0 - - 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - - */ - unsigned int cfrTHP : 1; /* 1E.C475.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - */ - /*! \brief 1E.C475.6 R/WPD CFR Extended Maxwait - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - - */ - unsigned int cfrExtendedMaxwait : 1; /* 1E.C475.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - */ - /*! \brief 1E.C475.7 R/WPD CFR Disable Timer - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrDisableTimer - - Provisionable Default = 0x0 - - 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - - */ - unsigned int cfrDisableTimer : 1; /* 1E.C475.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - */ - /*! \brief 1E.C475.8 R/WPD CFR LP Support - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpSupport - - Provisionable Default = 0x0 - - 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - - */ - unsigned int cfrLpSupport : 1; /* 1E.C475.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.9 R/WPD CFR LP THP - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpTHP - - Provisionable Default = 0x0 - - 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - - */ - unsigned int cfrLpTHP : 1; /* 1E.C475.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - */ - /*! \brief 1E.C475.A R/WPD CFR LP Extended Maxwait - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - - */ - unsigned int cfrLpExtendedMaxwait : 1; /* 1E.C475.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - */ - /*! \brief 1E.C475.B R/WPD CFR LP Disable Timer - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpDisableTimer - - Provisionable Default = 0x0 - - 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - - */ - unsigned int cfrLpDisableTimer : 1; /* 1E.C475.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - */ - /*! \brief 1E.C475.C R/WPD Reserved Provisioning 6 - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.reservedProvisioning_6 - - Provisionable Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedProvisioning_6 : 1; /* 1E.C475.C R/WPD Provisionable Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C475.D R/WPD Smart Power-Down Status - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.smartPower_downStatus - - Provisionable Default = 0x0 - - 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - - */ - unsigned int smartPower_downStatus : 1; /* 1E.C475.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - */ - unsigned int reserved0 : 2; - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalReservedProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Status: 1E.C800 */ -/* Global Cable Diagnostic Status: 1E.C800 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C800.2:0 RO Pair D Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairDStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair D, of running either cable diagnostics or component diagnostics. */ - unsigned int pairDStatus : 3; /* 1E.C800.2:0 RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved3 : 1; - /*! \brief 1E.C800.6:4 RO Pair C Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairCStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair C, of running either cable diagnostics or component diagnostics. */ - unsigned int pairCStatus : 3; /* 1E.C800.6:4 RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved2 : 1; - /*! \brief 1E.C800.A:8 RO Pair B Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairBStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair B, of running either cable diagnostics or component diagnostics. */ - unsigned int pairBStatus : 3; /* 1E.C800.A:8 RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved1 : 1; - /*! \brief 1E.C800.E:C RO Pair A Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairAStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair A, of running either cable diagnostics or component diagnostics. */ - unsigned int pairAStatus : 3; /* 1E.C800.E:C RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C801.7:0 RO Pair A Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u1.bits_1.pairAReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_2 : 8; /* 1E.C801.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A */ - /*! \brief 1E.C801.F:8 RO Pair A Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u1.bits_1.pairAReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_1 : 8; /* 1E.C801.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C802.F:0 RO Impulse Response MSW [F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u2.bits_2.impulseResponseMSW - - - - The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D - - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseMSW : 16; /* 1E.C802.F:0 RO */ - /* The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C803.7:0 RO Pair B Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u3.bits_3.pairBReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_2 : 8; /* 1E.C803.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B */ - /*! \brief 1E.C803.F:8 RO Pair B Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u3.bits_3.pairBReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_1 : 8; /* 1E.C803.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C804.F:0 RO Impulse Response LSW [F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u4.bits_4.impulseResponseLSW - - - - The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D - - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseLSW : 16; /* 1E.C804.F:0 RO */ - /* The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C805.7:0 RO Pair C Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u5.bits_5.pairCReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_2 : 8; /* 1E.C805.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C */ - /*! \brief 1E.C805.F:8 RO Pair C Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u5.bits_5.pairCReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_1 : 8; /* 1E.C805.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C806.F:0 RO Reserved 1 [F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u6.bits_6.reserved_1 - - - - Reserved for future use - - */ - unsigned int reserved_1 : 16; /* 1E.C806.F:0 RO */ - /* Reserved for future use - */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C807.7:0 RO Pair D Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u7.bits_7.pairDReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_2 : 8; /* 1E.C807.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D */ - /*! \brief 1E.C807.F:8 RO Pair D Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u7.bits_7.pairDReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_1 : 8; /* 1E.C807.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C808.F:0 RO Reserved 2[F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u8.bits_8.reserved_2 - - - - Reserved for future use - - */ - unsigned int reserved_2 : 16; /* 1E.C808.F:0 RO */ - /* Reserved for future use - */ - } bits_8; - uint16_t word_8; - } u8; -} AQ_GlobalCableDiagnosticStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Status: 1E.C820 */ -/* Global Thermal Status: 1E.C820 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Status */ - union - { - struct - { - /*! \brief 1E.C820.F:0 RO Temperature [F:0] - AQ_GlobalThermalStatus_APPIA.u0.bits_0.temperature - - - - [F:0] of temperature - - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. This is a mirror of the XENPAK register 1.A060 - 1.A061. The mirror is performed in H/W. */ - unsigned int temperature : 16; /* 1E.C820.F:0 RO */ - /* [F:0] of temperature - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Status */ - union - { - struct - { - /*! \brief 1E.C821.0 RO Temperature Ready - AQ_GlobalThermalStatus_APPIA.u1.bits_1.temperatureReady - - - - 1 = Temperature measurement is valid - - - Notes: - This is a mirror of the XENPAK register 1.A06E. */ - unsigned int temperatureReady : 1; /* 1E.C821.0 RO */ - /* 1 = Temperature measurement is valid - */ - unsigned int reserved0 : 15; - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalThermalStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Status: 1E.C830 */ -/* Global General Status: 1E.C830 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Status */ - union - { - struct - { - unsigned int reserved1 : 11; - /*! \brief 1E.C830.B RO Low Temperature Warning State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.lowTemperatureWarningState - - - - 1 = Low temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.6 register. - - */ - unsigned int lowTemperatureWarningState : 1; /* 1E.C830.B RO */ - /* 1 = Low temperature warning threshold has been exceeded */ - /*! \brief 1E.C830.C RO High Temperature Warning State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.highTemperatureWarningState - - - - 1 = High temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.7 register. - - */ - unsigned int highTemperatureWarningState : 1; /* 1E.C830.C RO */ - /* 1 = High temperature warning threshold has been exceeded */ - /*! \brief 1E.C830.D RO Low Temperature Failure State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.lowTemperatureFailureState - - - - 1 = Low temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.6 register. - - */ - unsigned int lowTemperatureFailureState : 1; /* 1E.C830.D RO */ - /* 1 = Low temperature failure threshold has been exceeded */ - /*! \brief 1E.C830.E RO High Temperature Failure State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.highTemperatureFailureState - - - - 1 = High temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.7 register. - - */ - unsigned int highTemperatureFailureState : 1; /* 1E.C830.E RO */ - /* 1 = High temperature failure threshold has been exceeded */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Status */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C831.F RO Processor Intensive MDIO Operation In- Progress - AQ_GlobalGeneralStatus_APPIA.u1.bits_1.processorIntensiveMdioOperationIn_Progress - - - - 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - - - Notes: - This bit should may be used with certain processor-intensive MDIO commands (such as Loopbacks, Test Modes, Low power modes, Tx-Disable, Restart autoneg, Cable Diagnostics, etc.) that take longer than an MDIO cycle to complete. Upon receiving an MDIO command that involves the PHY's microprocessor, this bit is set, and when the command is completed, this bit is cleared. - - NOTE!!! This bit should be checked only after 1 ms of issuing a processor-intensive MDIO operation. - - The list of operations that set this bit are as follows: - - 1.0.0, PMA Loopback - 1.0.B, Low power mode - 1.9.4:0, Tx Disable - 1.84, 10G Test modes - 1.8000.5, XENPAK Control - 1.9000, XENPAK Rx Fault Enable - 1.9002, XENPAK Alarm Enable - 1.E400.F, External loopback - 3.0.B, Low power mode - 3.0.E, System PCS loopback - 3.C471.5, PRBS Test - 3.C471.6, PRBS Test - 3.E471.5, PRBS Test - 3.E471.6, PRBS Test - 4.0.B, Low power mode - 4.0.E, PHY-XS network loopback - 4.C440, Output clock control, Load SERDES parameters - 4.F802.E, System loopback - 4.C444.F:B, Loopback Control - 4.C444.4:2, Packet generation - 4.C445.C, SERDES calibration - 7.0.9, Restart autonegotiation - 1D.C280, 1G/100M Network loopback - 1D.C500, 1G System loopback - 1D.C501, 1G / 100M Test modes */ - unsigned int processorIntensiveMdioOperationIn_Progress : 1; /* 1E.C831.F RO */ - /* 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalGeneralStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Pin Status: 1E.C840 */ -/* Global Pin Status: 1E.C840 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Pin Status */ - union - { - struct - { - /*! \brief 1E.C840.5:0 RO LED Pullup State [5:0] - AQ_GlobalPinStatus_APPIA.u0.bits_0.ledPullupState - - - - 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - - */ - unsigned int ledPullupState : 6; /* 1E.C840.5:0 RO */ - /* 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - */ - unsigned int reserved3 : 1; - /*! \brief 1E.C840.7 RO Tx Enable - AQ_GlobalPinStatus_APPIA.u0.bits_0.txEnable - - - - Current Value of Tx Enable pin - - - Notes: - 0 = Disable Transmitter */ - unsigned int txEnable : 1; /* 1E.C840.7 RO */ - /* Current Value of Tx Enable pin - */ - unsigned int reserved2 : 1; - /*! \brief 1E.C840.9 RO Package Connectivity - AQ_GlobalPinStatus_APPIA.u0.bits_0.packageConnectivity - - - - Value of the package connection pin - - */ - unsigned int packageConnectivity : 1; /* 1E.C840.9 RO */ - /* Value of the package connection pin - */ - unsigned int reserved1 : 3; - /*! \brief 1E.C840.E:D RO MDIO Boot Load [1:0] - AQ_GlobalPinStatus_APPIA.u0.bits_0.mdioBootLoad - - - - Value of MDIO Boot Load pins - - 0x3 = PHY #0 Slave Daisy Chain Boot - 0x2 = PHY #0 Master Daisy Chain Boot from Flash - 0x1 = MDIO Boot Load - 0x0 = Boot from Flash (PHY #0 only) - - - Notes: - NOTES: - - PHY #0 is the primary PHY, and PHY #1 is the secondary PHY - - PHY #1 is always in Slave Daisy Chain Boot from Flash when set to 0x2 or 0x3. */ - unsigned int mdioBootLoad : 2; /* 1E.C840.E:D RO */ - /* Value of MDIO Boot Load pins - - 0x3 = PHY #0 Slave Daisy Chain Boot - 0x2 = PHY #0 Master Daisy Chain Boot from Flash - 0x1 = MDIO Boot Load - 0x0 = Boot from Flash (PHY #0 only) - */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalPinStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Daisy Chain Status: 1E.C842 */ -/* Global Daisy Chain Status: 1E.C842 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Daisy Chain Status */ - union - { - struct - { - /*! \brief 1E.C842.F:0 RO Rx Daisy Chain Calculated CRC [F:0] - AQ_GlobalDaisyChainStatus_APPIA.u0.bits_0.rxDaisyChainCalculatedCrc - - - - Rx Daisy Chain Calculated CRC - - - Notes: - This is the calculated daisy chain CRC. */ - unsigned int rxDaisyChainCalculatedCrc : 16; /* 1E.C842.F:0 RO */ - /* Rx Daisy Chain Calculated CRC - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDaisyChainStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Fault Message: 1E.C850 */ -/* Global Fault Message: 1E.C850 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Fault Message */ - union - { - struct - { - /*! \brief 1E.C850.F:0 RO Message [F:0] - AQ_GlobalFaultMessage_APPIA.u0.bits_0.message - - - - Error code describing fault - - Notes: - Code 0x8001: Firmware not compatible with chip architecture. This fault occurs when firmware compiled for a different Tensilica core is loaded. - Code 0x8002: VCO calibration failed. This occurs when the main PLLs on chip fail to lock: this is not possible to trigger. - Code 0x8003: XAUI calibration failed. This occurs when the XAUI PLLs fail to lock: this is not possible to trigger. - Code 0x8004: Failed to set operating voltages via PMBus. This only occurs when the processor has control over power supply voltage via an attached PMBus device and there is a protocol error on the I2C bus: this is not possible to trigger. - Code 0x8005: Unexpected device ID. This occurs if the device ID programmed into the internal E-Fuse registers in not valid: this is not possible to trigger. - Code 0x8006: Computed checksum does not match expected checksum. This occurs when the FLASH checksum check performed at boot time fails. This only occurs when the system boots from FLASH. - Code 0x8007: Detected a bit error in static memory. To trigger, corrupt one of the static regions. - Code 0xC001: Illegal Instruction exception. This occurs when the processor attempts to execute an illegal instruction. To trigger this, write an illegal instruction to program memory. It's possible that the bit error check will trigger before the illegal instruction is executed. - Code 0xC002 Instruction Fetch Error. Internal physical address or a data error during instruction fetch: this is not possible to trigger. - Code 0xC003 Load Store Error. Internal physical address or data error during load store operation: this is not possible to trigger.. - Code 0xC004 Privileged Instruction. Attempt to execute a privileged operation without sufficient privilege: this is not possible to trigger. - Code 0xC005 Unaligned Load or Store. Attempt to load or store data at an address which cannot be handled due to alignment: this is not possible to trigger. - Code 0xC006 Instruction fetch from prohibited space: this is not possible to trigger. - Code 0xC007 Data load from prohibited space: this is not possible to trigger. - Code 0xC008 Data store into prohibited space: this is not possible to trigger. */ - unsigned int message : 16; /* 1E.C850.F:0 RO */ - /* Error code describing fault */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFaultMessage_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Primary Status: 1E.C851 */ -/* Global Primary Status: 1E.C851 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Primary Status */ - union - { - struct - { - /*! \brief 1E.C851.0 RO Primary Status - AQ_GlobalPrimaryStatus_APPIA.u0.bits_0.primaryStatus - - - - 1 = PHY is the primary PHY - 0 = PHY is is secondary PHY - - */ - unsigned int primaryStatus : 1; /* 1E.C851.0 RO */ - /* 1 = PHY is the primary PHY - 0 = PHY is is secondary PHY - */ - unsigned int reserved0 : 15; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalPrimaryStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Impedance: 1E.C880 */ -/* Global Cable Diagnostic Impedance: 1E.C880 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C880.2:0 RO Pair A Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_4 : 3; /* 1E.C880.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.3 RO Reserved 4 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_4 - - - - Reserved for future use - - */ - unsigned int reserved_4 : 1; /* 1E.C880.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.6:4 RO Pair A Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_3 : 3; /* 1E.C880.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.7 RO Reserved 3 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_3 - - - - Reserved for future use - - */ - unsigned int reserved_3 : 1; /* 1E.C880.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.A:8 RO Pair A Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_2 : 3; /* 1E.C880.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.B RO Reserved 2 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_2 - - - - Reserved for future use - - */ - unsigned int reserved_2 : 1; /* 1E.C880.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.E:C RO Pair A Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_1 : 3; /* 1E.C880.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.F RO Reserved 1 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_1 - - - - Reserved for future use - - */ - unsigned int reserved_1 : 1; /* 1E.C880.F RO */ - /* Reserved for future use - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C881.2:0 RO Pair B Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_4 : 3; /* 1E.C881.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.3 RO Reserved 8 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_8 - - - - Reserved for future use - - */ - unsigned int reserved_8 : 1; /* 1E.C881.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.6:4 RO Pair B Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_3 : 3; /* 1E.C881.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.7 RO Reserved 7 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_7 - - - - Reserved for future use - - */ - unsigned int reserved_7 : 1; /* 1E.C881.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.A:8 RO Pair B Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_2 : 3; /* 1E.C881.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.B RO Reserved 6 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_6 - - - - Reserved for future use - - */ - unsigned int reserved_6 : 1; /* 1E.C881.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.E:C RO Pair B Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_1 : 3; /* 1E.C881.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.F RO Reserved 5 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_5 - - - - Reserved for future use - - */ - unsigned int reserved_5 : 1; /* 1E.C881.F RO */ - /* Reserved for future use - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C882.2:0 RO Pair C Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_4 : 3; /* 1E.C882.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.3 RO Reserved 12 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_12 - - - - Reserved for future use - - */ - unsigned int reserved_12 : 1; /* 1E.C882.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.6:4 RO Pair C Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_3 : 3; /* 1E.C882.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.7 RO Reserved 11 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_11 - - - - Reserved for future use - - */ - unsigned int reserved_11 : 1; /* 1E.C882.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.A:8 RO Pair C Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_2 : 3; /* 1E.C882.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.B RO Reserved 10 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_10 - - - - Reserved for future use - - */ - unsigned int reserved_10 : 1; /* 1E.C882.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.E:C RO Pair C Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_1 : 3; /* 1E.C882.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.F RO Reserved 9 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_9 - - - - Reserved for future use - - */ - unsigned int reserved_9 : 1; /* 1E.C882.F RO */ - /* Reserved for future use - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C883.2:0 RO Pair D Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_4 : 3; /* 1E.C883.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.3 RO Reserved 16 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_16 - - - - Reserved for future use - - */ - unsigned int reserved_16 : 1; /* 1E.C883.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.6:4 RO Pair D Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_3 : 3; /* 1E.C883.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.7 RO Reserved 15 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_15 - - - - Reserved for future use - - */ - unsigned int reserved_15 : 1; /* 1E.C883.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.A:8 RO Pair D Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_2 : 3; /* 1E.C883.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.B RO Reserved 14 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_14 - - - - Reserved for future use - - */ - unsigned int reserved_14 : 1; /* 1E.C883.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.E:C RO Pair D Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_1 : 3; /* 1E.C883.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.F RO Reserved 13 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_13 - - - - Reserved for future use - - */ - unsigned int reserved_13 : 1; /* 1E.C883.F RO */ - /* Reserved for future use - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalCableDiagnosticImpedance_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Status: 1E.C884 */ -/* Global Status: 1E.C884 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Status */ - union - { - struct - { - /*! \brief 1E.C884.7:0 RO Cable Length [7:0] - AQ_GlobalStatus_APPIA.u0.bits_0.cableLength - - - - The estimated length of the cable in meters - - - Notes: - The length of the cable shown here is estimated from the cable diagnostic engine and should be accurate to +/-1m. */ - unsigned int cableLength : 8; /* 1E.C884.7:0 RO */ - /* The estimated length of the cable in meters - */ - /*! \brief 1E.C884.F:8 RO Reserved Status 0 [7:0] - AQ_GlobalStatus_APPIA.u0.bits_0.reservedStatus_0 - - - - Reserved for future use - - */ - unsigned int reservedStatus_0 : 8; /* 1E.C884.F:8 RO */ - /* Reserved for future use - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Status: 1E.C885 */ -/* Global Reserved Status: 1E.C885 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C885.7:0 ROSPD ROM Revision [7:0] - AQ_GlobalReservedStatus_APPIA.u0.bits_0.romRevision - - Provisionable Default = 0x00 - - ROM Revision Number - - - Notes: - Customers may receive multiple ROM images that differ only in their provisioning. This field is used to differentiate those images. This field is used in conjunction with the firmware major and minor revision numbers to uniquely identify ROM images. */ - unsigned int romRevision : 8; /* 1E.C885.7:0 ROSPD Provisionable Default = 0x00 */ - /* ROM Revision Number - */ - /*! \brief 1E.C885.9:8 ROSPD XENPAK NVR Status [1:0] - AQ_GlobalReservedStatus_APPIA.u0.bits_0.xenpakNvrStatus - - Provisionable Default = 0x0 - - Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - - - Notes: - XENPAK register space is mirrored in NVR (SPI ROM). This register indicates the status of the last NVR operation. */ - unsigned int xenpakNvrStatus : 2; /* 1E.C885.9:8 ROSPD Provisionable Default = 0x0 */ - /* Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - */ - /*! \brief 1E.C885.F:A RO Nearly Seconds MSW[5:0] - AQ_GlobalReservedStatus_APPIA.u0.bits_0.nearlySecondsMSW - - - - Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsMSW : 6; /* 1E.C885.F:A RO */ - /* Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C886.F:0 RO Nearly Seconds LSW[F:0] - AQ_GlobalReservedStatus_APPIA.u1.bits_1.nearlySecondsLSW - - - - Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter. - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsLSW : 16; /* 1E.C886.F:0 RO */ - /* Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter. - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalReservedStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Alarms: 1E.CC00 */ -/* Global Alarms: 1E.CC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC00.0 LH Reserved Alarm D - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmD - - - - Reserved for future use - - */ - unsigned int reservedAlarmD : 1; /* 1E.CC00.0 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.1 LH Reserved Alarm C - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmC - - - - Reserved for future use - - */ - unsigned int reservedAlarmC : 1; /* 1E.CC00.1 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.2 LH Reserved Alarm B - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmB - - - - Reserved for future use - - */ - unsigned int reservedAlarmB : 1; /* 1E.CC00.2 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.3 LH Reserved Alarm A - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmA - - - - Reserved for future use - - */ - unsigned int reservedAlarmA : 1; /* 1E.CC00.3 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.4 LH Device Fault - AQ_GlobalAlarms_APPIA.u0.bits_0.deviceFault - - - - 1 = Fault - - Notes: - When set, a fault has been detected by the uP and the associated 16 bit error code is visible in See Global Configuration Fault Message: Address 1E.C850 */ - unsigned int deviceFault : 1; /* 1E.CC00.4 LH */ - /* 1 = Fault */ - unsigned int reserved2 : 1; - /*! \brief 1E.CC00.6 LH Reset completed - AQ_GlobalAlarms_APPIA.u0.bits_0.resetCompleted - - - - 1 = Chip wide reset completed - - Notes: - This bit is set by the microprocessor when it has completed it's initialization sequence. This bit is mirrored in 1.CC02.0 */ - unsigned int resetCompleted : 1; /* 1E.CC00.6 LH */ - /* 1 = Chip wide reset completed */ - unsigned int reserved1 : 4; - /*! \brief 1E.CC00.B LH Low Temperature Warning - AQ_GlobalAlarms_APPIA.u0.bits_0.lowTemperatureWarning - - - - 1 = Low temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureWarning : 1; /* 1E.CC00.B LH */ - /* 1 = Low temperature warning threshold has been exceeded - */ - /*! \brief 1E.CC00.C LH High Temperature Warning - AQ_GlobalAlarms_APPIA.u0.bits_0.highTemperatureWarning - - - - 1 = High temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureWarning : 1; /* 1E.CC00.C LH */ - /* 1 = High temperature warning threshold has been exceeded - */ - /*! \brief 1E.CC00.D LH Low Temperature Failure - AQ_GlobalAlarms_APPIA.u0.bits_0.lowTemperatureFailure - - - - 1 = Low temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureFailure : 1; /* 1E.CC00.D LH */ - /* 1 = Low temperature failure threshold has been exceeded - */ - /*! \brief 1E.CC00.E LH High Temperature Failure - AQ_GlobalAlarms_APPIA.u0.bits_0.highTemperatureFailure - - - - 1 = High temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureFailure : 1; /* 1E.CC00.E LH */ - /* 1 = High temperature failure threshold has been exceeded - */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC01.0 LH Diagnostic Alarm - AQ_GlobalAlarms_APPIA.u1.bits_1.diagnosticAlarm - - - - 1 = Alarm triggered by a write to 1E.C470.7 - - - Notes: - A diagnostic alarm use to test system alarm circuitry */ - unsigned int diagnosticAlarm : 1; /* 1E.CC01.0 LH */ - /* 1 = Alarm triggered by a write to 1E.C470.7 - */ - unsigned int reserved1 : 6; - /*! \brief 1E.CC01.7 LH MDIO Command Handling Overflow - AQ_GlobalAlarms_APPIA.u1.bits_1.mdioCommandHandlingOverflow - - - - 1 = PHY was issued more MDIO requests than it could service in it's request buffer - - - Notes: - Assertion of this bit means that more MDIO commands were issued than FW could handle. */ - unsigned int mdioCommandHandlingOverflow : 1; /* 1E.CC01.7 LH */ - /* 1 = PHY was issued more MDIO requests than it could service in it's request buffer - */ - /*! \brief 1E.CC01.C:8 LH Reserved Alarms [4:0] - AQ_GlobalAlarms_APPIA.u1.bits_1.reservedAlarms - - - - Reserved for future use - - */ - unsigned int reservedAlarms : 5; /* 1E.CC01.C:8 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC01.D RO XENPAK Alarm - AQ_GlobalAlarms_APPIA.u1.bits_1.xenpakAlarm - - - - 1 = XENPAK Alarm - - - Notes: - This alarm is performed by H/W. */ - unsigned int xenpakAlarm : 1; /* 1E.CC01.D RO */ - /* 1 = XENPAK Alarm - */ - /*! \brief 1E.CC01.E LH Smart Power-Down Entered - AQ_GlobalAlarms_APPIA.u1.bits_1.smartPower_downEntered - - - - 1 = Smart Power-Down State Entered - - - Notes: - When this bit is set, it indicates that the Smart Power-Down state was entered */ - unsigned int smartPower_downEntered : 1; /* 1E.CC01.E LH */ - /* 1 = Smart Power-Down State Entered - */ - unsigned int reserved0 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC02.0 LH Watchdog Timer Alarm - AQ_GlobalAlarms_APPIA.u2.bits_2.watchdogTimerAlarm - - - - 1 = Watchdog timer alarm - - */ - unsigned int watchdogTimerAlarm : 1; /* 1E.CC02.0 LH */ - /* 1 = Watchdog timer alarm - */ - /*! \brief 1E.CC02.1 LH MDIO Timeout Error - AQ_GlobalAlarms_APPIA.u2.bits_2.mdioTimeoutError - - - - 1 = MDIO timeout detected - - */ - unsigned int mdioTimeoutError : 1; /* 1E.CC02.1 LH */ - /* 1 = MDIO timeout detected - */ - /*! \brief 1E.CC02.2 LH MDIO MMD Error - AQ_GlobalAlarms_APPIA.u2.bits_2.mdioMMD_Error - - - - 1 = Invalid MMD address detected - - */ - unsigned int mdioMMD_Error : 1; /* 1E.CC02.2 LH */ - /* 1 = Invalid MMD address detected - */ - unsigned int reserved2 : 2; - /*! \brief 1E.CC02.5 LRF Tx Enable State Change - AQ_GlobalAlarms_APPIA.u2.bits_2.txEnableStateChange - - - - 1 = TX_EN pin has changed state - - */ - unsigned int txEnableStateChange : 1; /* 1E.CC02.5 LRF */ - /* 1 = TX_EN pin has changed state - */ - unsigned int reserved1 : 2; - /*! \brief 1E.CC02.9:8 LH uP IRAM Parity Error [1:0] - AQ_GlobalAlarms_APPIA.u2.bits_2.upIramParityError - - - - 1 = Parity error detected in the uP IRAM - - - Notes: - Bit 0 indicates a parity error was detected in the uP IRAM but was corrected. - Bit 1 indicates a multiple parity errors were detected in the uP IRAM and could not be corrected. - The uP IRAM is protected with ECC. */ - unsigned int upIramParityError : 2; /* 1E.CC02.9:8 LH */ - /* 1 = Parity error detected in the uP IRAM - */ - /*! \brief 1E.CC02.A LH uP DRAM Parity Error - AQ_GlobalAlarms_APPIA.u2.bits_2.upDramParityError - - - - 1 = Parity error detected in the uP DRAM - - */ - unsigned int upDramParityError : 1; /* 1E.CC02.A LH */ - /* 1 = Parity error detected in the uP DRAM - */ - unsigned int reserved0 : 3; - /*! \brief 1E.CC02.E LH Mailbox Operation: Complete - AQ_GlobalAlarms_APPIA.u2.bits_2.mailboxOperation_Complete - - - - 1 = Mailbox operation is complete - - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperation_Complete : 1; /* 1E.CC02.E LH */ - /* 1 = Mailbox operation is complete - */ - /*! \brief 1E.CC02.F LH NVR Operation Complete - AQ_GlobalAlarms_APPIA.u2.bits_2.nvrOperationComplete - - - - 1 = NVR operation is complete - - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 . */ - unsigned int nvrOperationComplete : 1; /* 1E.CC02.F LH */ - /* 1 = NVR operation is complete - */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalAlarms_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Mask: 1E.D400 */ -/* Global Interrupt Mask: 1E.D400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D400.0 R/WPD Reserved Alarm D Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmDMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmDMask : 1; /* 1E.D400.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.1 R/WPD Reserved Alarm C Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmCMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmCMask : 1; /* 1E.D400.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.2 R/WPD Reserved Alarm B Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmBMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmBMask : 1; /* 1E.D400.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.3 R/WPD Reserved Alarm A Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmAMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmAMask : 1; /* 1E.D400.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.4 R/WPD Device Fault Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.deviceFaultMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int deviceFaultMask : 1; /* 1E.D400.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 1; - /*! \brief 1E.D400.6 R/WPD Reset completed Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.resetCompletedMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int resetCompletedMask : 1; /* 1E.D400.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved1 : 4; - /*! \brief 1E.D400.B R/WPD Low Temperature Warning Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.lowTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureWarningMask : 1; /* 1E.D400.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.C R/WPD High Temperature Warning Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.highTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureWarningMask : 1; /* 1E.D400.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.D R/WPD Low Temperature Failure Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.lowTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureFailureMask : 1; /* 1E.D400.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.E R/WPD High Temperature Failure Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.highTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureFailureMask : 1; /* 1E.D400.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D401.0 R/WPD Diagnostic Alarm Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.diagnosticAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int diagnosticAlarmMask : 1; /* 1E.D401.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved1 : 6; - /*! \brief 1E.D401.7 R/WPD MDIO Command Handling Overflow Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.mdioCommandHandlingOverflowMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int mdioCommandHandlingOverflowMask : 1; /* 1E.D401.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.C:8 R/WPD Reserved Alarms Mask [4:0] - AQ_GlobalInterruptMask_APPIA.u1.bits_1.reservedAlarmsMask - - Provisionable Default = 0x00 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmsMask : 5; /* 1E.D401.C:8 R/WPD Provisionable Default = 0x00 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.D R/WPD XENPAK Alarm Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.xenpakAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int xenpakAlarmMask : 1; /* 1E.D401.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D401.E R/WPD Smart Power-Down Entered Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.smartPower_downEnteredMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int smartPower_downEnteredMask : 1; /* 1E.D401.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved0 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D402.0 R/WPD Watchdog Timer Alarm Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.watchdogTimerAlarmMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int watchdogTimerAlarmMask : 1; /* 1E.D402.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.1 R/WPD MDIO Timeout Error Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.mdioTimeoutErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioTimeoutErrorMask : 1; /* 1E.D402.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.2 R/WPD MDIO MMD Error Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.mdioMMD_ErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioMMD_ErrorMask : 1; /* 1E.D402.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 2; - /*! \brief 1E.D402.5 R/WPD Tx Enable State Change Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.txEnableStateChangeMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int txEnableStateChangeMask : 1; /* 1E.D402.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved1 : 2; - /*! \brief 1E.D402.9:8 R/WPD uP IRAM Parity Error Mask [1:0] - AQ_GlobalInterruptMask_APPIA.u2.bits_2.upIramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upIramParityErrorMask : 2; /* 1E.D402.9:8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D402.A R/WPD uP DRAM Parity Error Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.upDramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upDramParityErrorMask : 1; /* 1E.D402.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved0 : 3; - /*! \brief 1E.D402.E R/WPD Mailbox Operation Complete Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.mailboxOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperationCompleteMask : 1; /* 1E.D402.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.F R/WPD NVR Operation Complete Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.nvrOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 */ - unsigned int nvrOperationCompleteMask : 1; /* 1E.D402.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalInterruptMask_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/* Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Standard Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC00.0 RO All Vendor Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.allVendorAlarmsInterrupt - - - - 1 = Interrupt in all vendor alarms - - - Notes: - An interrupt was generated from status register ( See Global Chip-Wide LASI Vendor Interrupt Flags: Address 1E.FC01 ) and the corresponding mask register. ( See Global Interrupt LASI Mask: Address 1E.FF01 ) */ - unsigned int allVendorAlarmsInterrupt : 1; /* 1E.FC00.0 RO */ - /* 1 = Interrupt in all vendor alarms - */ - unsigned int reserved0 : 5; - /*! \brief 1E.FC00.6 RO GbE Standard Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.gbeStandardAlarmsInterrupt - - - - 1 = Interrupt in GbE standard alarms - - - Notes: - An interrupt was generated from the TGE core. */ - unsigned int gbeStandardAlarmsInterrupt : 1; /* 1E.FC00.6 RO */ - /* 1 = Interrupt in GbE standard alarms - */ - /*! \brief 1E.FC00.7 RO Autonegotiation Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.autonegotiationStandardAlarms_2Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See Autonegotiation 10GBASE-T Status Register - Address 7.21 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int autonegotiationStandardAlarms_2Interrupt : 1; /* 1E.FC00.7 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 2 - */ - /*! \brief 1E.FC00.8 RO Autonegotiation Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.autonegotiationStandardAlarms_1Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See Autonegotiation Standard LASI Interrupt Mask 1: Address 7.D000 ) */ - unsigned int autonegotiationStandardAlarms_1Interrupt : 1; /* 1E.FC00.8 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 1 - */ - /*! \brief 1E.FC00.9 RO PHY XS Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.phyXS_StandardAlarms_2Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 2 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int phyXS_StandardAlarms_2Interrupt : 1; /* 1E.FC00.9 RO */ - /* 1 = Interrupt in PHY XS standard alarms 2 - */ - /*! \brief 1E.FC00.A RO PHY XS Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.phyXS_StandardAlarms_1Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 1 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int phyXS_StandardAlarms_1Interrupt : 1; /* 1E.FC00.A RO */ - /* 1 = Interrupt in PHY XS standard alarms 1 - */ - /*! \brief 1E.FC00.B RO PCS Standard Alarm 3 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pcsStandardAlarm_3Interrupt - - - - 1 = Interrupt in PCS standard alarms 3 - - - Notes: - An interrupt was generated from status register ( See PCS 10GBASE-T Status 2 - Address 3.21 ) and the corresponding mask register. ( See PCS Standard Interrupt Mask 1 - Address 3.E021 ) */ - unsigned int pcsStandardAlarm_3Interrupt : 1; /* 1E.FC00.B RO */ - /* 1 = Interrupt in PCS standard alarms 3 - */ - /*! \brief 1E.FC00.C RO PCS Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pcsStandardAlarm_2Interrupt - - - - 1 = Interrupt in PCS standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pcsStandardAlarm_2Interrupt : 1; /* 1E.FC00.C RO */ - /* 1 = Interrupt in PCS standard alarms 2 - */ - /*! \brief 1E.FC00.D RO PCS Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pcsStandardAlarm_1Interrupt - - - - 1 = Interrupt in PCS standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pcsStandardAlarm_1Interrupt : 1; /* 1E.FC00.D RO */ - /* 1 = Interrupt in PCS standard alarms 1 - */ - /*! \brief 1E.FC00.E RO PMA Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pmaStandardAlarm_2Interrupt - - - - 1 = Interrupt in PMA standard alarms 2 - - - Notes: - An interrupt was generated from either bit 1.8.B or 1.8.A. - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pmaStandardAlarm_2Interrupt : 1; /* 1E.FC00.E RO */ - /* 1 = Interrupt in PMA standard alarms 2 - */ - /*! \brief 1E.FC00.F RO PMA Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pmaStandardAlarm_1Interrupt - - - - 1 = Interrupt in PMA standard alarms 1 - - - Notes: - An interrupt was generated from bit 1.1.2. - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pmaStandardAlarm_1Interrupt : 1; /* 1E.FC00.F RO */ - /* 1 = Interrupt in PMA standard alarms 1 - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideStandardInterruptFlags_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/* Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Vendor Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC01.0 RO Global Alarms 3 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.globalAlarms_3Interrupt - - - - 1 = Interrupt in Global alarms 3 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_3Interrupt : 1; /* 1E.FC01.0 RO */ - /* 1 = Interrupt in Global alarms 3 - */ - /*! \brief 1E.FC01.1 RO Global Alarms 2 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.globalAlarms_2Interrupt - - - - 1 = Interrupt in Global alarms 2 - - - Notes: - An interrupt was generated from status register ( See Global Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_2Interrupt : 1; /* 1E.FC01.1 RO */ - /* 1 = Interrupt in Global alarms 2 - */ - /*! \brief 1E.FC01.2 RO Global Alarms 1 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.globalAlarms_1Interrupt - - - - 1 = Interrupt in Global alarms 1 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 1 - Address 1E.CC00 ) and the corresponding mask register. ( See Global Vendor Interrupt Mask - Address 1E.D400 ) */ - unsigned int globalAlarms_1Interrupt : 1; /* 1E.FC01.2 RO */ - /* 1 = Interrupt in Global alarms 1 - */ - unsigned int reserved0 : 8; - /*! \brief 1E.FC01.B RO GbE Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.gbeVendorAlarmInterrupt - - - - 1 = Interrupt in GbE vendor specific alarm - - - Notes: - A GbE alarm was generated. ( See GbE PHY Vendor Global LASI Interrupt Flags 1: Address 1D.FC00 ) */ - unsigned int gbeVendorAlarmInterrupt : 1; /* 1E.FC01.B RO */ - /* 1 = Interrupt in GbE vendor specific alarm - */ - /*! \brief 1E.FC01.C RO Autonegotiation Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.autonegotiationVendorAlarmInterrupt - - - - 1 = Interrupt in Autonegotiation vendor specific alarm - - - Notes: - An Autonegotiation alarm was generated. ( See Autonegotiation Vendor Global LASI Interrupt Flags 1: Address 7.FC00 ) */ - unsigned int autonegotiationVendorAlarmInterrupt : 1; /* 1E.FC01.C RO */ - /* 1 = Interrupt in Autonegotiation vendor specific alarm - */ - /*! \brief 1E.FC01.D RO PHY XS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.phyXS_VendorAlarmInterrupt - - - - 1 = Interrupt in PHY XS vendor specific alarm - - - Notes: - A PHY XS alarm was generated. ( See PHY XS Vendor Global LASI Interrupt Flags 1: Address 4.FC00 ) */ - unsigned int phyXS_VendorAlarmInterrupt : 1; /* 1E.FC01.D RO */ - /* 1 = Interrupt in PHY XS vendor specific alarm - */ - /*! \brief 1E.FC01.E RO PCS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.pcsVendorAlarmInterrupt - - - - 1 = Interrupt in PCS vendor specific alarm - - - Notes: - A PCS alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pcsVendorAlarmInterrupt : 1; /* 1E.FC01.E RO */ - /* 1 = Interrupt in PCS vendor specific alarm - */ - /*! \brief 1E.FC01.F RO PMA Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.pmaVendorAlarmInterrupt - - - - 1 = Interrupt in PMA vendor specific alarm - - - Notes: - A PMA alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pmaVendorAlarmInterrupt : 1; /* 1E.FC01.F RO */ - /* 1 = Interrupt in PMA vendor specific alarm - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideVendorInterruptFlags_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/* Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Standard Mask */ - union - { - struct - { - /*! \brief 1E.FF00.0 R/WPD All Vendor Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.allVendorAlarmsInterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int allVendorAlarmsInterruptMask : 1; /* 1E.FF00.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 5; - /*! \brief 1E.FF00.6 R/WPD Gbe Standard Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.gbeStandardAlarmsInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeStandardAlarmsInterruptMask : 1; /* 1E.FF00.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.7 R/WPD Autonegotiation Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.autonegotiationStandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_2InterruptMask : 1; /* 1E.FF00.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.8 R/WPD Autonegotiation Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.autonegotiationStandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_1InterruptMask : 1; /* 1E.FF00.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.9 R/WPD PHY XS Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.phyXS_StandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_2InterruptMask : 1; /* 1E.FF00.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.A R/WPD PHY XS Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.phyXS_StandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_1InterruptMask : 1; /* 1E.FF00.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.B R/WPD PCS Standard Alarm 3 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pcsStandardAlarm_3InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_3InterruptMask : 1; /* 1E.FF00.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.C R/WPD PCS Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pcsStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_2InterruptMask : 1; /* 1E.FF00.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.D R/WPD PCS Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pcsStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_1InterruptMask : 1; /* 1E.FF00.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.E R/WPD PMA Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pmaStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_2InterruptMask : 1; /* 1E.FF00.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.F R/WPD PMA Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pmaStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_1InterruptMask : 1; /* 1E.FF00.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideStandardMask_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/* Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Vendor Mask */ - union - { - struct - { - /*! \brief 1E.FF01.0 R/WPD Global Alarms 3 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.globalAlarms_3InterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_3InterruptMask : 1; /* 1E.FF01.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.1 R/WPD Global Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.globalAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_2InterruptMask : 1; /* 1E.FF01.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.2 R/WPD Global Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.globalAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_1InterruptMask : 1; /* 1E.FF01.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 8; - /*! \brief 1E.FF01.B R/WPD GbE Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.gbeVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeVendorAlarmInterruptMask : 1; /* 1E.FF01.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.C R/WPD Autonegotiation Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.autonegotiationVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationVendorAlarmInterruptMask : 1; /* 1E.FF01.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.D R/WPD PHY XS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.phyXS_VendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_VendorAlarmInterruptMask : 1; /* 1E.FF01.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.E R/WPD PCS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.pcsVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsVendorAlarmInterruptMask : 1; /* 1E.FF01.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.F R/WPD PMA Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.pmaVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaVendorAlarmInterruptMask : 1; /* 1E.FF01.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideVendorMask_APPIA; - -#endif -/*@}*/ -/*@}*/ diff --git a/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_Defines.h b/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_Defines.h deleted file mode 100644 index 9c7bb5cb5..000000000 --- a/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_Defines.h +++ /dev/null @@ -1,2134 +0,0 @@ -/*! \file -* This file contains the compiler assist macros and doxygen comments -* for the Global Registers block. -*/ - -/*! \defgroup Global_registers_Defines Global Registers Defines -* This module contains the compiler assist macros and doxygen comments -* for the Global Registers block. -*/ -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $File: //depot/icm/proj/Dena/rev1.0/c/Systems/tools/windows/regMapParser/src/gencheaders.py $ -* -* $Revision: #10 $ -* -* $DateTime: 2014/04/08 16:55:58 $ -* -* $Author: joshd $ -* -* $Label: $ -* -* Description: -* -* This file contains the compiler assist macros for the registers contained in the Global Registers block. -* -* -***********************************************************************/ - - -/*@{*/ -#ifndef AQ_APPIA_GLOBAL_REGS_DEFINES_HEADER -#define AQ_APPIA_GLOBAL_REGS_DEFINES_HEADER - - -/*-----------------------------------------------------------------------------*/ -/*Access macro definitions */ -/*-----------------------------------------------------------------------------*/ -/*! \brief Base register address of structure AQ_GlobalStandardControl_1_APPIA */ -#define AQ_GlobalStandardControl_1_APPIA_baseRegisterAddress 0x0000 -/*! \brief MMD address of structure AQ_GlobalStandardControl_1_APPIA */ -#define AQ_GlobalStandardControl_1_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure softReset in AQ_GlobalStandardControl_1_APPIA */ -#define AQ_GlobalStandardControl_1_APPIA_softReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure softReset in AQ_GlobalStandardControl_1_APPIA */ -#define bits_AQ_GlobalStandardControl_1_APPIA_softReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure softReset in AQ_GlobalStandardControl_1_APPIA */ -#define word_AQ_GlobalStandardControl_1_APPIA_softReset u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure hardReset in AQ_GlobalStandardControl_1_APPIA */ -#define AQ_GlobalStandardControl_1_APPIA_hardReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure hardReset in AQ_GlobalStandardControl_1_APPIA */ -#define bits_AQ_GlobalStandardControl_1_APPIA_hardReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure hardReset in AQ_GlobalStandardControl_1_APPIA */ -#define word_AQ_GlobalStandardControl_1_APPIA_hardReset u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowPower in AQ_GlobalStandardControl_1_APPIA */ -#define AQ_GlobalStandardControl_1_APPIA_lowPower 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowPower in AQ_GlobalStandardControl_1_APPIA */ -#define bits_AQ_GlobalStandardControl_1_APPIA_lowPower u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowPower in AQ_GlobalStandardControl_1_APPIA */ -#define word_AQ_GlobalStandardControl_1_APPIA_lowPower u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define AQ_GlobalStandardDeviceIdentifier_APPIA_baseRegisterAddress 0x0002 -/*! \brief MMD address of structure AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define AQ_GlobalStandardDeviceIdentifier_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure deviceIdMSW in AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define AQ_GlobalStandardDeviceIdentifier_APPIA_deviceIdMSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceIdMSW in AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define bits_AQ_GlobalStandardDeviceIdentifier_APPIA_deviceIdMSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure deviceIdMSW in AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define word_AQ_GlobalStandardDeviceIdentifier_APPIA_deviceIdMSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure deviceIdLSW in AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define AQ_GlobalStandardDeviceIdentifier_APPIA_deviceIdLSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceIdLSW in AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define bits_AQ_GlobalStandardDeviceIdentifier_APPIA_deviceIdLSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure deviceIdLSW in AQ_GlobalStandardDeviceIdentifier_APPIA */ -#define word_AQ_GlobalStandardDeviceIdentifier_APPIA_deviceIdLSW u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_baseRegisterAddress 0x0005 -/*! \brief MMD address of structure AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_autonegotiationPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_autonegotiationPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_autonegotiationPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure tcPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_tcPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure tcPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_tcPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure tcPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_tcPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure dteXsPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_dteXsPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure dteXsPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_dteXsPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure dteXsPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_dteXsPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_Present in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_phyXS_Present 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_Present in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_phyXS_Present u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_Present in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_phyXS_Present u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_pcsPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_pcsPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_pcsPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure wisPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_wisPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure wisPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_wisPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure wisPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_wisPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pmaPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_pmaPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_pmaPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_pmaPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure clause_22RegistersPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define AQ_GlobalStandardDevicesInPackage_APPIA_clause_22RegistersPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure clause_22RegistersPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardDevicesInPackage_APPIA_clause_22RegistersPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure clause_22RegistersPresent in AQ_GlobalStandardDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardDevicesInPackage_APPIA_clause_22RegistersPresent u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define AQ_GlobalStandardVendorDevicesInPackage_APPIA_baseRegisterAddress 0x0006 -/*! \brief MMD address of structure AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define AQ_GlobalStandardVendorDevicesInPackage_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure vendorSpecificDevice_2Present in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define AQ_GlobalStandardVendorDevicesInPackage_APPIA_vendorSpecificDevice_2Present 0 -/*! \brief Preprocessor variable to relate field to bit position in structure vendorSpecificDevice_2Present in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardVendorDevicesInPackage_APPIA_vendorSpecificDevice_2Present u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure vendorSpecificDevice_2Present in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardVendorDevicesInPackage_APPIA_vendorSpecificDevice_2Present u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure vendorSpecificDevice_1Present in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define AQ_GlobalStandardVendorDevicesInPackage_APPIA_vendorSpecificDevice_1Present 0 -/*! \brief Preprocessor variable to relate field to bit position in structure vendorSpecificDevice_1Present in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardVendorDevicesInPackage_APPIA_vendorSpecificDevice_1Present u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure vendorSpecificDevice_1Present in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardVendorDevicesInPackage_APPIA_vendorSpecificDevice_1Present u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure clause_22ExtensionPresent in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define AQ_GlobalStandardVendorDevicesInPackage_APPIA_clause_22ExtensionPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure clause_22ExtensionPresent in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define bits_AQ_GlobalStandardVendorDevicesInPackage_APPIA_clause_22ExtensionPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure clause_22ExtensionPresent in AQ_GlobalStandardVendorDevicesInPackage_APPIA */ -#define word_AQ_GlobalStandardVendorDevicesInPackage_APPIA_clause_22ExtensionPresent u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardStatus_2_APPIA */ -#define AQ_GlobalStandardStatus_2_APPIA_baseRegisterAddress 0x0008 -/*! \brief MMD address of structure AQ_GlobalStandardStatus_2_APPIA */ -#define AQ_GlobalStandardStatus_2_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure devicePresent in AQ_GlobalStandardStatus_2_APPIA */ -#define AQ_GlobalStandardStatus_2_APPIA_devicePresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure devicePresent in AQ_GlobalStandardStatus_2_APPIA */ -#define bits_AQ_GlobalStandardStatus_2_APPIA_devicePresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure devicePresent in AQ_GlobalStandardStatus_2_APPIA */ -#define word_AQ_GlobalStandardStatus_2_APPIA_devicePresent u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardPackageIdentifier_APPIA */ -#define AQ_GlobalStandardPackageIdentifier_APPIA_baseRegisterAddress 0x000E -/*! \brief MMD address of structure AQ_GlobalStandardPackageIdentifier_APPIA */ -#define AQ_GlobalStandardPackageIdentifier_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure packageIdMSW in AQ_GlobalStandardPackageIdentifier_APPIA */ -#define AQ_GlobalStandardPackageIdentifier_APPIA_packageIdMSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure packageIdMSW in AQ_GlobalStandardPackageIdentifier_APPIA */ -#define bits_AQ_GlobalStandardPackageIdentifier_APPIA_packageIdMSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure packageIdMSW in AQ_GlobalStandardPackageIdentifier_APPIA */ -#define word_AQ_GlobalStandardPackageIdentifier_APPIA_packageIdMSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure packageIdLSW in AQ_GlobalStandardPackageIdentifier_APPIA */ -#define AQ_GlobalStandardPackageIdentifier_APPIA_packageIdLSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure packageIdLSW in AQ_GlobalStandardPackageIdentifier_APPIA */ -#define bits_AQ_GlobalStandardPackageIdentifier_APPIA_packageIdLSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure packageIdLSW in AQ_GlobalStandardPackageIdentifier_APPIA */ -#define word_AQ_GlobalStandardPackageIdentifier_APPIA_packageIdLSW u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalFirmwareID_APPIA */ -#define AQ_GlobalFirmwareID_APPIA_baseRegisterAddress 0x0020 -/*! \brief MMD address of structure AQ_GlobalFirmwareID_APPIA */ -#define AQ_GlobalFirmwareID_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure firmwareMajorRevisionNumber in AQ_GlobalFirmwareID_APPIA */ -#define AQ_GlobalFirmwareID_APPIA_firmwareMajorRevisionNumber 0 -/*! \brief Preprocessor variable to relate field to bit position in structure firmwareMajorRevisionNumber in AQ_GlobalFirmwareID_APPIA */ -#define bits_AQ_GlobalFirmwareID_APPIA_firmwareMajorRevisionNumber u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure firmwareMajorRevisionNumber in AQ_GlobalFirmwareID_APPIA */ -#define word_AQ_GlobalFirmwareID_APPIA_firmwareMajorRevisionNumber u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure firmwareMinorRevisionNumber in AQ_GlobalFirmwareID_APPIA */ -#define AQ_GlobalFirmwareID_APPIA_firmwareMinorRevisionNumber 0 -/*! \brief Preprocessor variable to relate field to bit position in structure firmwareMinorRevisionNumber in AQ_GlobalFirmwareID_APPIA */ -#define bits_AQ_GlobalFirmwareID_APPIA_firmwareMinorRevisionNumber u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure firmwareMinorRevisionNumber in AQ_GlobalFirmwareID_APPIA */ -#define word_AQ_GlobalFirmwareID_APPIA_firmwareMinorRevisionNumber u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalChipIdentification_APPIA */ -#define AQ_GlobalChipIdentification_APPIA_baseRegisterAddress 0x0021 -/*! \brief MMD address of structure AQ_GlobalChipIdentification_APPIA */ -#define AQ_GlobalChipIdentification_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure chipIdentification in AQ_GlobalChipIdentification_APPIA */ -#define AQ_GlobalChipIdentification_APPIA_chipIdentification 0 -/*! \brief Preprocessor variable to relate field to bit position in structure chipIdentification in AQ_GlobalChipIdentification_APPIA */ -#define bits_AQ_GlobalChipIdentification_APPIA_chipIdentification u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure chipIdentification in AQ_GlobalChipIdentification_APPIA */ -#define word_AQ_GlobalChipIdentification_APPIA_chipIdentification u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalChipRevision_APPIA */ -#define AQ_GlobalChipRevision_APPIA_baseRegisterAddress 0x0022 -/*! \brief MMD address of structure AQ_GlobalChipRevision_APPIA */ -#define AQ_GlobalChipRevision_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure chipRevision in AQ_GlobalChipRevision_APPIA */ -#define AQ_GlobalChipRevision_APPIA_chipRevision 0 -/*! \brief Preprocessor variable to relate field to bit position in structure chipRevision in AQ_GlobalChipRevision_APPIA */ -#define bits_AQ_GlobalChipRevision_APPIA_chipRevision u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure chipRevision in AQ_GlobalChipRevision_APPIA */ -#define word_AQ_GlobalChipRevision_APPIA_chipRevision u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_baseRegisterAddress 0x0100 -/*! \brief MMD address of structure AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure nvrExecuteOperation in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrExecuteOperation 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrExecuteOperation in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrExecuteOperation u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrExecuteOperation in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrExecuteOperation u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrWriteMode in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrWriteMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrWriteMode in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrWriteMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrWriteMode in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrWriteMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure freezeNvrCrc in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_freezeNvrCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure freezeNvrCrc in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_freezeNvrCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure freezeNvrCrc in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_freezeNvrCrc u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetNvrCrc in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_resetNvrCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetNvrCrc in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_resetNvrCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetNvrCrc in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_resetNvrCrc u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrBurst in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrBurst 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrBurst in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrBurst u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrBurst in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrBurst u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrBusy in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrBusy 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrBusy in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrBusy u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrBusy in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrBusy u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrOpcode in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrOpcode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrOpcode in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrOpcode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrOpcode in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrOpcode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrMailboxCrc in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrMailboxCrc 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrMailboxCrc in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrMailboxCrc u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nvrMailboxCrc in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrMailboxCrc u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressMSW in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrAddressMSW 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressMSW in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrAddressMSW u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressMSW in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrAddressMSW u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressLSW in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrAddressLSW 3 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressLSW in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrAddressLSW u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressLSW in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrAddressLSW u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDataMSW in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrDataMSW 4 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDataMSW in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrDataMSW u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDataMSW in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrDataMSW u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDataLSW in AQ_GlobalNvrInterface_APPIA */ -#define AQ_GlobalNvrInterface_APPIA_nvrDataLSW 5 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDataLSW in AQ_GlobalNvrInterface_APPIA */ -#define bits_AQ_GlobalNvrInterface_APPIA_nvrDataLSW u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDataLSW in AQ_GlobalNvrInterface_APPIA */ -#define word_AQ_GlobalNvrInterface_APPIA_nvrDataLSW u5.word_5 - -/*! \brief Base register address of structure AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_baseRegisterAddress 0x0200 -/*! \brief MMD address of structure AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxExecuteOperation in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxExecuteOperation 0 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxExecuteOperation in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxExecuteOperation u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxExecuteOperation in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxExecuteOperation u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxWriteMode in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxWriteMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxWriteMode in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxWriteMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxWriteMode in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxWriteMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetUpMailboxCrc in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_resetUpMailboxCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetUpMailboxCrc in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_resetUpMailboxCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetUpMailboxCrc in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_resetUpMailboxCrc u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxBusy in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxBusy 0 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxBusy in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxBusy u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxBusy in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxBusy u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxCrc in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxCrc 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxCrc in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxCrc u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxCrc in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxCrc u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxAddressMSW in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxAddressMSW 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxAddressMSW in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxAddressMSW u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxAddressMSW in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxAddressMSW u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxAddressLSW in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxAddressLSW 3 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxAddressLSW in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxAddressLSW u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxAddressLSW in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxAddressLSW u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxAddressLSW_Don_tCare in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxAddressLSW_Don_tCare 3 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxAddressLSW_Don_tCare in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxAddressLSW_Don_tCare u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxAddressLSW_Don_tCare in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxAddressLSW_Don_tCare u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxDataMSW in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxDataMSW 4 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxDataMSW in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxDataMSW u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxDataMSW in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxDataMSW u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxDataLSW in AQ_GlobalMailboxInterface_APPIA */ -#define AQ_GlobalMailboxInterface_APPIA_upMailboxDataLSW 5 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxDataLSW in AQ_GlobalMailboxInterface_APPIA */ -#define bits_AQ_GlobalMailboxInterface_APPIA_upMailboxDataLSW u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxDataLSW in AQ_GlobalMailboxInterface_APPIA */ -#define word_AQ_GlobalMailboxInterface_APPIA_upMailboxDataLSW u5.word_5 - -/*! \brief Base register address of structure AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define AQ_GlobalMicroprocessorScratchPad_APPIA_baseRegisterAddress 0x0300 -/*! \brief MMD address of structure AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define AQ_GlobalMicroprocessorScratchPad_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure scratchPad_1 in AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define AQ_GlobalMicroprocessorScratchPad_APPIA_scratchPad_1 0 -/*! \brief Preprocessor variable to relate field to bit position in structure scratchPad_1 in AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define bits_AQ_GlobalMicroprocessorScratchPad_APPIA_scratchPad_1 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure scratchPad_1 in AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define word_AQ_GlobalMicroprocessorScratchPad_APPIA_scratchPad_1 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure scratchPad_2 in AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define AQ_GlobalMicroprocessorScratchPad_APPIA_scratchPad_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure scratchPad_2 in AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define bits_AQ_GlobalMicroprocessorScratchPad_APPIA_scratchPad_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure scratchPad_2 in AQ_GlobalMicroprocessorScratchPad_APPIA */ -#define word_AQ_GlobalMicroprocessorScratchPad_APPIA_scratchPad_2 u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalControl_APPIA */ -#define AQ_GlobalControl_APPIA_baseRegisterAddress 0xC000 -/*! \brief MMD address of structure AQ_GlobalControl_APPIA */ -#define AQ_GlobalControl_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure upReset in AQ_GlobalControl_APPIA */ -#define AQ_GlobalControl_APPIA_upReset 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upReset in AQ_GlobalControl_APPIA */ -#define bits_AQ_GlobalControl_APPIA_upReset u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upReset in AQ_GlobalControl_APPIA */ -#define word_AQ_GlobalControl_APPIA_upReset u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure upRunStallOverride in AQ_GlobalControl_APPIA */ -#define AQ_GlobalControl_APPIA_upRunStallOverride 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upRunStallOverride in AQ_GlobalControl_APPIA */ -#define bits_AQ_GlobalControl_APPIA_upRunStallOverride u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upRunStallOverride in AQ_GlobalControl_APPIA */ -#define word_AQ_GlobalControl_APPIA_upRunStallOverride u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure upRunStall in AQ_GlobalControl_APPIA */ -#define AQ_GlobalControl_APPIA_upRunStall 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upRunStall in AQ_GlobalControl_APPIA */ -#define bits_AQ_GlobalControl_APPIA_upRunStall u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upRunStall in AQ_GlobalControl_APPIA */ -#define word_AQ_GlobalControl_APPIA_upRunStall u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalResetControl_APPIA */ -#define AQ_GlobalResetControl_APPIA_baseRegisterAddress 0xC006 -/*! \brief MMD address of structure AQ_GlobalResetControl_APPIA */ -#define AQ_GlobalResetControl_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure globalMMD_ResetDisable in AQ_GlobalResetControl_APPIA */ -#define AQ_GlobalResetControl_APPIA_globalMMD_ResetDisable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalMMD_ResetDisable in AQ_GlobalResetControl_APPIA */ -#define bits_AQ_GlobalResetControl_APPIA_globalMMD_ResetDisable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalMMD_ResetDisable in AQ_GlobalResetControl_APPIA */ -#define word_AQ_GlobalResetControl_APPIA_globalMMD_ResetDisable u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalDiagnosticProvisioning_APPIA */ -#define AQ_GlobalDiagnosticProvisioning_APPIA_baseRegisterAddress 0xC400 -/*! \brief MMD address of structure AQ_GlobalDiagnosticProvisioning_APPIA */ -#define AQ_GlobalDiagnosticProvisioning_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure enableDiagnostics in AQ_GlobalDiagnosticProvisioning_APPIA */ -#define AQ_GlobalDiagnosticProvisioning_APPIA_enableDiagnostics 0 -/*! \brief Preprocessor variable to relate field to bit position in structure enableDiagnostics in AQ_GlobalDiagnosticProvisioning_APPIA */ -#define bits_AQ_GlobalDiagnosticProvisioning_APPIA_enableDiagnostics u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure enableDiagnostics in AQ_GlobalDiagnosticProvisioning_APPIA */ -#define word_AQ_GlobalDiagnosticProvisioning_APPIA_enableDiagnostics u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_baseRegisterAddress 0xC420 -/*! \brief MMD address of structure AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reserved_0 in AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_reserved_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_0 in AQ_GlobalThermalProvisioning_APPIA */ -#define bits_AQ_GlobalThermalProvisioning_APPIA_reserved_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_0 in AQ_GlobalThermalProvisioning_APPIA */ -#define word_AQ_GlobalThermalProvisioning_APPIA_reserved_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTempFailureThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_highTempFailureThreshold 1 -/*! \brief Preprocessor variable to relate field to bit position in structure highTempFailureThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define bits_AQ_GlobalThermalProvisioning_APPIA_highTempFailureThreshold u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure highTempFailureThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define word_AQ_GlobalThermalProvisioning_APPIA_highTempFailureThreshold u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure lowTempFailureThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_lowTempFailureThreshold 2 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTempFailureThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define bits_AQ_GlobalThermalProvisioning_APPIA_lowTempFailureThreshold u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure lowTempFailureThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define word_AQ_GlobalThermalProvisioning_APPIA_lowTempFailureThreshold u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure highTempWarningThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_highTempWarningThreshold 3 -/*! \brief Preprocessor variable to relate field to bit position in structure highTempWarningThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define bits_AQ_GlobalThermalProvisioning_APPIA_highTempWarningThreshold u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure highTempWarningThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define word_AQ_GlobalThermalProvisioning_APPIA_highTempWarningThreshold u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure lowTempWarningThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define AQ_GlobalThermalProvisioning_APPIA_lowTempWarningThreshold 4 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTempWarningThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define bits_AQ_GlobalThermalProvisioning_APPIA_lowTempWarningThreshold u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure lowTempWarningThreshold in AQ_GlobalThermalProvisioning_APPIA */ -#define word_AQ_GlobalThermalProvisioning_APPIA_lowTempWarningThreshold u4.word_4 - -/*! \brief Base register address of structure AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_baseRegisterAddress 0xC430 -/*! \brief MMD address of structure AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure led_0ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0ManualSet 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0ManualSet u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0ManualSet u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0_10Gb_sLinkEstablished 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0_10Gb_sLinkEstablished u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0_10Gb_sLinkEstablished u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0_1Gb_sLinkEstablished 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0_1Gb_sLinkEstablished u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0_1Gb_sLinkEstablished u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0_100Mb_sLinkEstablished 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0_100Mb_sLinkEstablished u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0_100Mb_sLinkEstablished u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0Connecting 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0Connecting u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0Connecting u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0ReceiveActivity 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0ReceiveActivity u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0ReceiveActivity u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0TransmitActivity 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0TransmitActivity u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0TransmitActivity u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0ActivityStretch 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0ActivityStretch u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0ActivityStretch u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1ManualSet 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1ManualSet u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1ManualSet u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1_10Gb_sLinkEstablished 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1_10Gb_sLinkEstablished u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1_10Gb_sLinkEstablished u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1_1Gb_sLinkEstablished 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1_1Gb_sLinkEstablished u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1_1Gb_sLinkEstablished u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1_100Mb_sLinkEstablished 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1_100Mb_sLinkEstablished u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1_100Mb_sLinkEstablished u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1Connecting 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1Connecting u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1Connecting u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1ReceiveActivity 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1ReceiveActivity u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1ReceiveActivity u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1TransmitActivity 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1TransmitActivity u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1TransmitActivity u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1ActivityStretch 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1ActivityStretch u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1ActivityStretch u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2ManualSet 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2ManualSet u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2ManualSet u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2_10Gb_sLinkEstablished 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2_10Gb_sLinkEstablished u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2_10Gb_sLinkEstablished u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2_1Gb_sLinkEstablished 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2_1Gb_sLinkEstablished u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2_1Gb_sLinkEstablished u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2_100Mb_sLinkEstablished 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2_100Mb_sLinkEstablished u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2_100Mb_sLinkEstablished u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2Connecting 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2Connecting u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2Connecting u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2ReceiveActivity 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2ReceiveActivity u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2ReceiveActivity u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2TransmitActivity 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2TransmitActivity u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2TransmitActivity u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2ActivityStretch 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2ActivityStretch u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2ActivityStretch u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_3ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3ManualSet 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3ManualSet u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3ManualSet u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3_10Gb_sLinkEstablished 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3_10Gb_sLinkEstablished u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3_10Gb_sLinkEstablished u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3_1Gb_sLinkEstablished 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3_1Gb_sLinkEstablished u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3_1Gb_sLinkEstablished u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3_100Mb_sLinkEstablished 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3_100Mb_sLinkEstablished u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3_100Mb_sLinkEstablished u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3Connecting 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3Connecting u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3Connecting u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3ReceiveActivity 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3ReceiveActivity u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3ReceiveActivity u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3TransmitActivity 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3TransmitActivity u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3TransmitActivity u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_3ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3ActivityStretch 3 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3ActivityStretch u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure led_3ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3ActivityStretch u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure led_4ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4ManualSet 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4ManualSet u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4ManualSet u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4_10Gb_sLinkEstablished 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4_10Gb_sLinkEstablished u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4_10Gb_sLinkEstablished u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4_1Gb_sLinkEstablished 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4_1Gb_sLinkEstablished u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4_1Gb_sLinkEstablished u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4_100Mb_sLinkEstablished 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4_100Mb_sLinkEstablished u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4_100Mb_sLinkEstablished u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4Connecting 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4Connecting u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4Connecting u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4ReceiveActivity 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4ReceiveActivity u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4ReceiveActivity u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4TransmitActivity 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4TransmitActivity u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4TransmitActivity u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_4ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4ActivityStretch 4 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4ActivityStretch u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure led_4ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4ActivityStretch u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure led_5ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5ManualSet 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5ManualSet u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5ManualSet in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5ManualSet u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5_10Gb_sLinkEstablished 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5_10Gb_sLinkEstablished u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5_10Gb_sLinkEstablished u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5_1Gb_sLinkEstablished 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5_1Gb_sLinkEstablished u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5_1Gb_sLinkEstablished u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5_100Mb_sLinkEstablished 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5_100Mb_sLinkEstablished u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5_100Mb_sLinkEstablished u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5Connecting 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5Connecting u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5Connecting in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5Connecting u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5ReceiveActivity 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5ReceiveActivity u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5ReceiveActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5ReceiveActivity u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5TransmitActivity 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5TransmitActivity u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5TransmitActivity in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5TransmitActivity u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure led_5ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5ActivityStretch 5 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5ActivityStretch u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure led_5ActivityStretch in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5ActivityStretch u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure ledOperationMode in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_ledOperationMode 7 -/*! \brief Preprocessor variable to relate field to bit position in structure ledOperationMode in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_ledOperationMode u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure ledOperationMode in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_ledOperationMode u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure led_0DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0DriveThreeStateSelect 8 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0DriveThreeStateSelect u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure led_0DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0DriveThreeStateSelect u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0ActiveHighSelect 8 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0ActiveHighSelect u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0ActiveHighSelect u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_0ManualActiveSelect 8 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_0ManualActiveSelect u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_0ManualActiveSelect u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure led_1DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1DriveThreeStateSelect 9 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1DriveThreeStateSelect u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure led_1DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1DriveThreeStateSelect u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1ActiveHighSelect 9 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1ActiveHighSelect u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1ActiveHighSelect u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_1ManualActiveSelect 9 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_1ManualActiveSelect u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_1ManualActiveSelect u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure led_2DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2DriveThreeStateSelect 10 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2DriveThreeStateSelect u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure led_2DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2DriveThreeStateSelect u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2ActiveHighSelect 10 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2ActiveHighSelect u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2ActiveHighSelect u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_2ManualActiveSelect 10 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_2ManualActiveSelect u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_2ManualActiveSelect u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure led_3DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3DriveThreeStateSelect 11 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3DriveThreeStateSelect u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure led_3DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3DriveThreeStateSelect u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure led_3ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3ActiveHighSelect 11 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3ActiveHighSelect u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure led_3ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3ActiveHighSelect u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure led_3ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_3ManualActiveSelect 11 -/*! \brief Preprocessor variable to relate field to bit position in structure led_3ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_3ManualActiveSelect u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure led_3ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_3ManualActiveSelect u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure led_4DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4DriveThreeStateSelect 12 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4DriveThreeStateSelect u12.bits_12 -/*! \brief Preprocessor variable to relate field to word position in structure led_4DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4DriveThreeStateSelect u12.word_12 -/*! \brief Preprocessor variable to relate field to word number in structure led_4ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4ActiveHighSelect 12 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4ActiveHighSelect u12.bits_12 -/*! \brief Preprocessor variable to relate field to word position in structure led_4ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4ActiveHighSelect u12.word_12 -/*! \brief Preprocessor variable to relate field to word number in structure led_4ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_4ManualActiveSelect 12 -/*! \brief Preprocessor variable to relate field to bit position in structure led_4ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_4ManualActiveSelect u12.bits_12 -/*! \brief Preprocessor variable to relate field to word position in structure led_4ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_4ManualActiveSelect u12.word_12 -/*! \brief Preprocessor variable to relate field to word number in structure led_5DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5DriveThreeStateSelect 13 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5DriveThreeStateSelect u13.bits_13 -/*! \brief Preprocessor variable to relate field to word position in structure led_5DriveThreeStateSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5DriveThreeStateSelect u13.word_13 -/*! \brief Preprocessor variable to relate field to word number in structure led_5ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5ActiveHighSelect 13 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5ActiveHighSelect u13.bits_13 -/*! \brief Preprocessor variable to relate field to word position in structure led_5ActiveHighSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5ActiveHighSelect u13.word_13 -/*! \brief Preprocessor variable to relate field to word number in structure led_5ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define AQ_GlobalLedProvisioning_APPIA_led_5ManualActiveSelect 13 -/*! \brief Preprocessor variable to relate field to bit position in structure led_5ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define bits_AQ_GlobalLedProvisioning_APPIA_led_5ManualActiveSelect u13.bits_13 -/*! \brief Preprocessor variable to relate field to word position in structure led_5ManualActiveSelect in AQ_GlobalLedProvisioning_APPIA */ -#define word_AQ_GlobalLedProvisioning_APPIA_led_5ManualActiveSelect u13.word_13 - -/*! \brief Base register address of structure AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_baseRegisterAddress 0xC440 -/*! \brief MMD address of structure AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure gangLoadMdioAddress in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_gangLoadMdioAddress 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gangLoadMdioAddress in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_gangLoadMdioAddress u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gangLoadMdioAddress in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_gangLoadMdioAddress u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gangLoadMdioWriteOnly in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_gangLoadMdioWriteOnly 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gangLoadMdioWriteOnly in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_gangLoadMdioWriteOnly u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gangLoadMdioWriteOnly in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_gangLoadMdioWriteOnly u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mdioBroadcastModeEnable in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_mdioBroadcastModeEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioBroadcastModeEnable in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_mdioBroadcastModeEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioBroadcastModeEnable in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_mdioBroadcastModeEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioReadMSW_FirstEnable in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_mdioReadMSW_FirstEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioReadMSW_FirstEnable in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_mdioReadMSW_FirstEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioReadMSW_FirstEnable in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_mdioReadMSW_FirstEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioDriveConfiguration in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_mdioDriveConfiguration 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioDriveConfiguration in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_mdioDriveConfiguration u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioDriveConfiguration in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_mdioDriveConfiguration u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioPreambleDetectionDisable in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_mdioPreambleDetectionDisable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioPreambleDetectionDisable in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_mdioPreambleDetectionDisable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioPreambleDetectionDisable in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_mdioPreambleDetectionDisable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioAddressReset in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_mdioAddressReset 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioAddressReset in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_mdioAddressReset u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioAddressReset in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_mdioAddressReset u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure daisyChainReset in AQ_GlobalGeneralProvisioning_APPIA */ -#define AQ_GlobalGeneralProvisioning_APPIA_daisyChainReset 2 -/*! \brief Preprocessor variable to relate field to bit position in structure daisyChainReset in AQ_GlobalGeneralProvisioning_APPIA */ -#define bits_AQ_GlobalGeneralProvisioning_APPIA_daisyChainReset u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure daisyChainReset in AQ_GlobalGeneralProvisioning_APPIA */ -#define word_AQ_GlobalGeneralProvisioning_APPIA_daisyChainReset u2.word_2 - -/*! \brief Base register address of structure AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_baseRegisterAddress 0xC450 -/*! \brief MMD address of structure AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure nvrDataLength in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrDataLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDataLength in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrDataLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDataLength in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrDataLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDummyLength in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrDummyLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDummyLength in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrDummyLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDummyLength in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrDummyLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressLength in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrAddressLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressLength in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrAddressLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressLength in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrAddressLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressLengthOverride in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrAddressLengthOverride 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressLengthOverride in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrAddressLengthOverride u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressLengthOverride in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrAddressLengthOverride u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrClockDivide in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrClockDivide 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrClockDivide in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrClockDivide u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nvrClockDivide in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrClockDivide u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDaisyChainClockDivideOverride in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrDaisyChainClockDivideOverride 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDaisyChainClockDivideOverride in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrDaisyChainClockDivideOverride u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDaisyChainClockDivideOverride in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrDaisyChainClockDivideOverride u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDaisyChainDisable in AQ_GlobalNvrProvisioning_APPIA */ -#define AQ_GlobalNvrProvisioning_APPIA_nvrDaisyChainDisable 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDaisyChainDisable in AQ_GlobalNvrProvisioning_APPIA */ -#define bits_AQ_GlobalNvrProvisioning_APPIA_nvrDaisyChainDisable u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDaisyChainDisable in AQ_GlobalNvrProvisioning_APPIA */ -#define word_AQ_GlobalNvrProvisioning_APPIA_nvrDaisyChainDisable u2.word_2 - -/*! \brief Base register address of structure AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_baseRegisterAddress 0xC470 -/*! \brief MMD address of structure AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure diagnosticsSelect in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_diagnosticsSelect 0 -/*! \brief Preprocessor variable to relate field to bit position in structure diagnosticsSelect in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_diagnosticsSelect u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure diagnosticsSelect in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_diagnosticsSelect u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure extendedMdiDiagnosticsSelect in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_extendedMdiDiagnosticsSelect 0 -/*! \brief Preprocessor variable to relate field to bit position in structure extendedMdiDiagnosticsSelect in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_extendedMdiDiagnosticsSelect u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure extendedMdiDiagnosticsSelect in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_extendedMdiDiagnosticsSelect u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure initiateComponentDiagnostics in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_initiateComponentDiagnostics 0 -/*! \brief Preprocessor variable to relate field to bit position in structure initiateComponentDiagnostics in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_initiateComponentDiagnostics u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure initiateComponentDiagnostics in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_initiateComponentDiagnostics u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure initiateCableDiagnostics in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_initiateCableDiagnostics 0 -/*! \brief Preprocessor variable to relate field to bit position in structure initiateCableDiagnostics in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_initiateCableDiagnostics u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure initiateCableDiagnostics in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_initiateCableDiagnostics u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_2 in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_reservedProvisioning_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_2 in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_reservedProvisioning_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_2 in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_reservedProvisioning_2 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure enableDaisy_chainHop_countOverride in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_enableDaisy_chainHop_countOverride 1 -/*! \brief Preprocessor variable to relate field to bit position in structure enableDaisy_chainHop_countOverride in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_enableDaisy_chainHop_countOverride u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure enableDaisy_chainHop_countOverride in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_enableDaisy_chainHop_countOverride u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure daisy_chainHop_countOverrideValue in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_daisy_chainHop_countOverrideValue 1 -/*! \brief Preprocessor variable to relate field to bit position in structure daisy_chainHop_countOverrideValue in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_daisy_chainHop_countOverrideValue u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure daisy_chainHop_countOverrideValue in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_daisy_chainHop_countOverrideValue u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure enableLvddPowerSupplyTuning in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_enableLvddPowerSupplyTuning 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enableLvddPowerSupplyTuning in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_enableLvddPowerSupplyTuning u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enableLvddPowerSupplyTuning in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_enableLvddPowerSupplyTuning u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure enableVddPowerSupplyTuning in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_enableVddPowerSupplyTuning 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enableVddPowerSupplyTuning in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_enableVddPowerSupplyTuning u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enableVddPowerSupplyTuning in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_enableVddPowerSupplyTuning u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure tunableExternalLvddPowerSupplyPresent in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_tunableExternalLvddPowerSupplyPresent 2 -/*! \brief Preprocessor variable to relate field to bit position in structure tunableExternalLvddPowerSupplyPresent in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_tunableExternalLvddPowerSupplyPresent u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure tunableExternalLvddPowerSupplyPresent in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_tunableExternalLvddPowerSupplyPresent u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure tunableExternalVddPowerSupplyPresent in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_tunableExternalVddPowerSupplyPresent 2 -/*! \brief Preprocessor variable to relate field to bit position in structure tunableExternalVddPowerSupplyPresent in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_tunableExternalVddPowerSupplyPresent u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure tunableExternalVddPowerSupplyPresent in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_tunableExternalVddPowerSupplyPresent u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure enableXenpakRegisterSpace in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_enableXenpakRegisterSpace 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enableXenpakRegisterSpace in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_enableXenpakRegisterSpace u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enableXenpakRegisterSpace in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_enableXenpakRegisterSpace u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure enable_5thChannelRfiCancellation in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_enable_5thChannelRfiCancellation 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enable_5thChannelRfiCancellation in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_enable_5thChannelRfiCancellation u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enable_5thChannelRfiCancellation in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_enable_5thChannelRfiCancellation u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure trainingSNR in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_trainingSNR 4 -/*! \brief Preprocessor variable to relate field to bit position in structure trainingSNR in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_trainingSNR u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure trainingSNR in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_trainingSNR u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downStatus in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_smartPower_downStatus 5 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downStatus in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_smartPower_downStatus u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downStatus in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_smartPower_downStatus u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_6 in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_reservedProvisioning_6 5 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_6 in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_reservedProvisioning_6 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_6 in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_reservedProvisioning_6 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpDisableTimer in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrLpDisableTimer 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpDisableTimer in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrLpDisableTimer u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpDisableTimer in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrLpDisableTimer u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpExtendedMaxwait in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrLpExtendedMaxwait 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpExtendedMaxwait in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrLpExtendedMaxwait u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpExtendedMaxwait in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrLpExtendedMaxwait u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpTHP in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrLpTHP 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpTHP in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrLpTHP u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpTHP in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrLpTHP u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpSupport in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrLpSupport 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpSupport in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrLpSupport u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpSupport in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrLpSupport u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrDisableTimer in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrDisableTimer 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrDisableTimer in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrDisableTimer u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrDisableTimer in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrDisableTimer u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrExtendedMaxwait in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrExtendedMaxwait 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrExtendedMaxwait in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrExtendedMaxwait u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrExtendedMaxwait in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrExtendedMaxwait u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrTHP in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrTHP 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrTHP in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrTHP u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrTHP in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrTHP u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrSupport in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_cfrSupport 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrSupport in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_cfrSupport u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrSupport in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_cfrSupport u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure deadlockAvoidanceEnable in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_deadlockAvoidanceEnable 5 -/*! \brief Preprocessor variable to relate field to bit position in structure deadlockAvoidanceEnable in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_deadlockAvoidanceEnable u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure deadlockAvoidanceEnable in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_deadlockAvoidanceEnable u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downEnable in AQ_GlobalReservedProvisioning_APPIA */ -#define AQ_GlobalReservedProvisioning_APPIA_smartPower_downEnable 5 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downEnable in AQ_GlobalReservedProvisioning_APPIA */ -#define bits_AQ_GlobalReservedProvisioning_APPIA_smartPower_downEnable u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downEnable in AQ_GlobalReservedProvisioning_APPIA */ -#define word_AQ_GlobalReservedProvisioning_APPIA_smartPower_downEnable u5.word_5 - -/*! \brief Base register address of structure AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_baseRegisterAddress 0xC800 -/*! \brief MMD address of structure AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pairAStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairAStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairAStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairAStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairBStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairBStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairBStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairBStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairBStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairCStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairCStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairCStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairCStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairCStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairDStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairDStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairDStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairDStatus in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairDStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairAReflection_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairAReflection_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairAReflection_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairAReflection_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairAReflection_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairAReflection_2 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure impulseResponseMSW in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_impulseResponseMSW 2 -/*! \brief Preprocessor variable to relate field to bit position in structure impulseResponseMSW in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_impulseResponseMSW u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure impulseResponseMSW in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_impulseResponseMSW u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairBReflection_1 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairBReflection_1 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairBReflection_1 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairBReflection_2 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairBReflection_2 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairBReflection_2 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure impulseResponseLSW in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_impulseResponseLSW 4 -/*! \brief Preprocessor variable to relate field to bit position in structure impulseResponseLSW in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_impulseResponseLSW u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure impulseResponseLSW in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_impulseResponseLSW u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairCReflection_1 5 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairCReflection_1 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairCReflection_1 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairCReflection_2 5 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairCReflection_2 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairCReflection_2 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_reserved_1 6 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_reserved_1 u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_reserved_1 u6.word_6 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairDReflection_1 7 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairDReflection_1 u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairDReflection_1 u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_pairDReflection_2 7 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_pairDReflection_2 u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_pairDReflection_2 u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define AQ_GlobalCableDiagnosticStatus_APPIA_reserved_2 8 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define bits_AQ_GlobalCableDiagnosticStatus_APPIA_reserved_2 u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_2 in AQ_GlobalCableDiagnosticStatus_APPIA */ -#define word_AQ_GlobalCableDiagnosticStatus_APPIA_reserved_2 u8.word_8 - -/*! \brief Base register address of structure AQ_GlobalThermalStatus_APPIA */ -#define AQ_GlobalThermalStatus_APPIA_baseRegisterAddress 0xC820 -/*! \brief MMD address of structure AQ_GlobalThermalStatus_APPIA */ -#define AQ_GlobalThermalStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure temperature in AQ_GlobalThermalStatus_APPIA */ -#define AQ_GlobalThermalStatus_APPIA_temperature 0 -/*! \brief Preprocessor variable to relate field to bit position in structure temperature in AQ_GlobalThermalStatus_APPIA */ -#define bits_AQ_GlobalThermalStatus_APPIA_temperature u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure temperature in AQ_GlobalThermalStatus_APPIA */ -#define word_AQ_GlobalThermalStatus_APPIA_temperature u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure temperatureReady in AQ_GlobalThermalStatus_APPIA */ -#define AQ_GlobalThermalStatus_APPIA_temperatureReady 1 -/*! \brief Preprocessor variable to relate field to bit position in structure temperatureReady in AQ_GlobalThermalStatus_APPIA */ -#define bits_AQ_GlobalThermalStatus_APPIA_temperatureReady u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure temperatureReady in AQ_GlobalThermalStatus_APPIA */ -#define word_AQ_GlobalThermalStatus_APPIA_temperatureReady u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_baseRegisterAddress 0xC830 -/*! \brief MMD address of structure AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureFailureState in AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_highTemperatureFailureState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureFailureState in AQ_GlobalGeneralStatus_APPIA */ -#define bits_AQ_GlobalGeneralStatus_APPIA_highTemperatureFailureState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureFailureState in AQ_GlobalGeneralStatus_APPIA */ -#define word_AQ_GlobalGeneralStatus_APPIA_highTemperatureFailureState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureFailureState in AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_lowTemperatureFailureState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureFailureState in AQ_GlobalGeneralStatus_APPIA */ -#define bits_AQ_GlobalGeneralStatus_APPIA_lowTemperatureFailureState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureFailureState in AQ_GlobalGeneralStatus_APPIA */ -#define word_AQ_GlobalGeneralStatus_APPIA_lowTemperatureFailureState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureWarningState in AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_highTemperatureWarningState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureWarningState in AQ_GlobalGeneralStatus_APPIA */ -#define bits_AQ_GlobalGeneralStatus_APPIA_highTemperatureWarningState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureWarningState in AQ_GlobalGeneralStatus_APPIA */ -#define word_AQ_GlobalGeneralStatus_APPIA_highTemperatureWarningState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureWarningState in AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_lowTemperatureWarningState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureWarningState in AQ_GlobalGeneralStatus_APPIA */ -#define bits_AQ_GlobalGeneralStatus_APPIA_lowTemperatureWarningState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureWarningState in AQ_GlobalGeneralStatus_APPIA */ -#define word_AQ_GlobalGeneralStatus_APPIA_lowTemperatureWarningState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure processorIntensiveMdioOperationIn_Progress in AQ_GlobalGeneralStatus_APPIA */ -#define AQ_GlobalGeneralStatus_APPIA_processorIntensiveMdioOperationIn_Progress 1 -/*! \brief Preprocessor variable to relate field to bit position in structure processorIntensiveMdioOperationIn_Progress in AQ_GlobalGeneralStatus_APPIA */ -#define bits_AQ_GlobalGeneralStatus_APPIA_processorIntensiveMdioOperationIn_Progress u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure processorIntensiveMdioOperationIn_Progress in AQ_GlobalGeneralStatus_APPIA */ -#define word_AQ_GlobalGeneralStatus_APPIA_processorIntensiveMdioOperationIn_Progress u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalPinStatus_APPIA */ -#define AQ_GlobalPinStatus_APPIA_baseRegisterAddress 0xC840 -/*! \brief MMD address of structure AQ_GlobalPinStatus_APPIA */ -#define AQ_GlobalPinStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mdioBootLoad in AQ_GlobalPinStatus_APPIA */ -#define AQ_GlobalPinStatus_APPIA_mdioBootLoad 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioBootLoad in AQ_GlobalPinStatus_APPIA */ -#define bits_AQ_GlobalPinStatus_APPIA_mdioBootLoad u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mdioBootLoad in AQ_GlobalPinStatus_APPIA */ -#define word_AQ_GlobalPinStatus_APPIA_mdioBootLoad u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure packageConnectivity in AQ_GlobalPinStatus_APPIA */ -#define AQ_GlobalPinStatus_APPIA_packageConnectivity 0 -/*! \brief Preprocessor variable to relate field to bit position in structure packageConnectivity in AQ_GlobalPinStatus_APPIA */ -#define bits_AQ_GlobalPinStatus_APPIA_packageConnectivity u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure packageConnectivity in AQ_GlobalPinStatus_APPIA */ -#define word_AQ_GlobalPinStatus_APPIA_packageConnectivity u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure txEnable in AQ_GlobalPinStatus_APPIA */ -#define AQ_GlobalPinStatus_APPIA_txEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure txEnable in AQ_GlobalPinStatus_APPIA */ -#define bits_AQ_GlobalPinStatus_APPIA_txEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure txEnable in AQ_GlobalPinStatus_APPIA */ -#define word_AQ_GlobalPinStatus_APPIA_txEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure ledPullupState in AQ_GlobalPinStatus_APPIA */ -#define AQ_GlobalPinStatus_APPIA_ledPullupState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure ledPullupState in AQ_GlobalPinStatus_APPIA */ -#define bits_AQ_GlobalPinStatus_APPIA_ledPullupState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure ledPullupState in AQ_GlobalPinStatus_APPIA */ -#define word_AQ_GlobalPinStatus_APPIA_ledPullupState u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalDaisyChainStatus_APPIA */ -#define AQ_GlobalDaisyChainStatus_APPIA_baseRegisterAddress 0xC842 -/*! \brief MMD address of structure AQ_GlobalDaisyChainStatus_APPIA */ -#define AQ_GlobalDaisyChainStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure rxDaisyChainCalculatedCrc in AQ_GlobalDaisyChainStatus_APPIA */ -#define AQ_GlobalDaisyChainStatus_APPIA_rxDaisyChainCalculatedCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure rxDaisyChainCalculatedCrc in AQ_GlobalDaisyChainStatus_APPIA */ -#define bits_AQ_GlobalDaisyChainStatus_APPIA_rxDaisyChainCalculatedCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure rxDaisyChainCalculatedCrc in AQ_GlobalDaisyChainStatus_APPIA */ -#define word_AQ_GlobalDaisyChainStatus_APPIA_rxDaisyChainCalculatedCrc u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalFaultMessage_APPIA */ -#define AQ_GlobalFaultMessage_APPIA_baseRegisterAddress 0xC850 -/*! \brief MMD address of structure AQ_GlobalFaultMessage_APPIA */ -#define AQ_GlobalFaultMessage_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure message in AQ_GlobalFaultMessage_APPIA */ -#define AQ_GlobalFaultMessage_APPIA_message 0 -/*! \brief Preprocessor variable to relate field to bit position in structure message in AQ_GlobalFaultMessage_APPIA */ -#define bits_AQ_GlobalFaultMessage_APPIA_message u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure message in AQ_GlobalFaultMessage_APPIA */ -#define word_AQ_GlobalFaultMessage_APPIA_message u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalPrimaryStatus_APPIA */ -#define AQ_GlobalPrimaryStatus_APPIA_baseRegisterAddress 0xC851 -/*! \brief MMD address of structure AQ_GlobalPrimaryStatus_APPIA */ -#define AQ_GlobalPrimaryStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure primaryStatus in AQ_GlobalPrimaryStatus_APPIA */ -#define AQ_GlobalPrimaryStatus_APPIA_primaryStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure primaryStatus in AQ_GlobalPrimaryStatus_APPIA */ -#define bits_AQ_GlobalPrimaryStatus_APPIA_primaryStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure primaryStatus in AQ_GlobalPrimaryStatus_APPIA */ -#define word_AQ_GlobalPrimaryStatus_APPIA_primaryStatus u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_baseRegisterAddress 0xC880 -/*! \brief MMD address of structure AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reserved_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_1 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_1 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_1 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_1 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_1 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_1 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_2 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_2 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_2 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_2 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_2 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_2 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_3 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_3 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_3 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_3 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_3 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_3 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_4 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_4 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_4 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_4 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_4 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairAReflection_4 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_5 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_5 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_5 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_5 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_5 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_5 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_6 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_6 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_6 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_6 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_6 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_6 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_2 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_7 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_7 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_7 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_7 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_7 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_7 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_3 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_3 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_3 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_8 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_8 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_8 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_8 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_8 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_8 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_4 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_4 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairBReflection_4 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_9 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_9 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_9 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_9 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_9 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_9 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_1 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_1 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_1 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_10 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_10 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_10 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_10 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_10 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_10 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_2 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_2 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_2 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_11 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_11 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_11 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_11 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_11 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_11 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_3 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_3 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_3 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_12 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_12 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_12 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_12 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_12 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_12 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_4 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_4 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairCReflection_4 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_13 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_13 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_13 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_13 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_13 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_13 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_1 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_1 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_1 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_14 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_14 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_14 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_14 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_14 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_14 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_2 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_2 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_2 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_15 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_15 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_15 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_15 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_15 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_15 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_3 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_3 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_3 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_3 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_16 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_16 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_16 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_16 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_16 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_reserved_16 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_4 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define bits_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_4 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_4 in AQ_GlobalCableDiagnosticImpedance_APPIA */ -#define word_AQ_GlobalCableDiagnosticImpedance_APPIA_pairDReflection_4 u3.word_3 - -/*! \brief Base register address of structure AQ_GlobalStatus_APPIA */ -#define AQ_GlobalStatus_APPIA_baseRegisterAddress 0xC884 -/*! \brief MMD address of structure AQ_GlobalStatus_APPIA */ -#define AQ_GlobalStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reservedStatus_0 in AQ_GlobalStatus_APPIA */ -#define AQ_GlobalStatus_APPIA_reservedStatus_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedStatus_0 in AQ_GlobalStatus_APPIA */ -#define bits_AQ_GlobalStatus_APPIA_reservedStatus_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedStatus_0 in AQ_GlobalStatus_APPIA */ -#define word_AQ_GlobalStatus_APPIA_reservedStatus_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure cableLength in AQ_GlobalStatus_APPIA */ -#define AQ_GlobalStatus_APPIA_cableLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure cableLength in AQ_GlobalStatus_APPIA */ -#define bits_AQ_GlobalStatus_APPIA_cableLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure cableLength in AQ_GlobalStatus_APPIA */ -#define word_AQ_GlobalStatus_APPIA_cableLength u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalReservedStatus_APPIA */ -#define AQ_GlobalReservedStatus_APPIA_baseRegisterAddress 0xC885 -/*! \brief MMD address of structure AQ_GlobalReservedStatus_APPIA */ -#define AQ_GlobalReservedStatus_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure nearlySecondsMSW in AQ_GlobalReservedStatus_APPIA */ -#define AQ_GlobalReservedStatus_APPIA_nearlySecondsMSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nearlySecondsMSW in AQ_GlobalReservedStatus_APPIA */ -#define bits_AQ_GlobalReservedStatus_APPIA_nearlySecondsMSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nearlySecondsMSW in AQ_GlobalReservedStatus_APPIA */ -#define word_AQ_GlobalReservedStatus_APPIA_nearlySecondsMSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure xenpakNvrStatus in AQ_GlobalReservedStatus_APPIA */ -#define AQ_GlobalReservedStatus_APPIA_xenpakNvrStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure xenpakNvrStatus in AQ_GlobalReservedStatus_APPIA */ -#define bits_AQ_GlobalReservedStatus_APPIA_xenpakNvrStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure xenpakNvrStatus in AQ_GlobalReservedStatus_APPIA */ -#define word_AQ_GlobalReservedStatus_APPIA_xenpakNvrStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure romRevision in AQ_GlobalReservedStatus_APPIA */ -#define AQ_GlobalReservedStatus_APPIA_romRevision 0 -/*! \brief Preprocessor variable to relate field to bit position in structure romRevision in AQ_GlobalReservedStatus_APPIA */ -#define bits_AQ_GlobalReservedStatus_APPIA_romRevision u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure romRevision in AQ_GlobalReservedStatus_APPIA */ -#define word_AQ_GlobalReservedStatus_APPIA_romRevision u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nearlySecondsLSW in AQ_GlobalReservedStatus_APPIA */ -#define AQ_GlobalReservedStatus_APPIA_nearlySecondsLSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nearlySecondsLSW in AQ_GlobalReservedStatus_APPIA */ -#define bits_AQ_GlobalReservedStatus_APPIA_nearlySecondsLSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nearlySecondsLSW in AQ_GlobalReservedStatus_APPIA */ -#define word_AQ_GlobalReservedStatus_APPIA_nearlySecondsLSW u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_baseRegisterAddress 0xCC00 -/*! \brief MMD address of structure AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureFailure in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_highTemperatureFailure 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureFailure in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_highTemperatureFailure u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureFailure in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_highTemperatureFailure u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureFailure in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_lowTemperatureFailure 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureFailure in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_lowTemperatureFailure u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureFailure in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_lowTemperatureFailure u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureWarning in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_highTemperatureWarning 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureWarning in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_highTemperatureWarning u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureWarning in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_highTemperatureWarning u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureWarning in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_lowTemperatureWarning 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureWarning in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_lowTemperatureWarning u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureWarning in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_lowTemperatureWarning u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetCompleted in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_resetCompleted 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetCompleted in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_resetCompleted u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetCompleted in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_resetCompleted u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure deviceFault in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_deviceFault 0 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceFault in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_deviceFault u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure deviceFault in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_deviceFault u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmA in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_reservedAlarmA 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmA in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_reservedAlarmA u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmA in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_reservedAlarmA u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmB in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_reservedAlarmB 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmB in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_reservedAlarmB u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmB in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_reservedAlarmB u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmC in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_reservedAlarmC 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmC in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_reservedAlarmC u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmC in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_reservedAlarmC u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmD in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_reservedAlarmD 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmD in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_reservedAlarmD u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmD in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_reservedAlarmD u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downEntered in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_smartPower_downEntered 1 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downEntered in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_smartPower_downEntered u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downEntered in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_smartPower_downEntered u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure xenpakAlarm in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_xenpakAlarm 1 -/*! \brief Preprocessor variable to relate field to bit position in structure xenpakAlarm in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_xenpakAlarm u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure xenpakAlarm in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_xenpakAlarm u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarms in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_reservedAlarms 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarms in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_reservedAlarms u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarms in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_reservedAlarms u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioCommandHandlingOverflow in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_mdioCommandHandlingOverflow 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioCommandHandlingOverflow in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_mdioCommandHandlingOverflow u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioCommandHandlingOverflow in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_mdioCommandHandlingOverflow u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure diagnosticAlarm in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_diagnosticAlarm 1 -/*! \brief Preprocessor variable to relate field to bit position in structure diagnosticAlarm in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_diagnosticAlarm u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure diagnosticAlarm in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_diagnosticAlarm u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrOperationComplete in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_nvrOperationComplete 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrOperationComplete in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_nvrOperationComplete u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrOperationComplete in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_nvrOperationComplete u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mailboxOperation_Complete in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_mailboxOperation_Complete 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mailboxOperation_Complete in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_mailboxOperation_Complete u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mailboxOperation_Complete in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_mailboxOperation_Complete u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upDramParityError in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_upDramParityError 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upDramParityError in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_upDramParityError u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upDramParityError in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_upDramParityError u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upIramParityError in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_upIramParityError 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upIramParityError in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_upIramParityError u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upIramParityError in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_upIramParityError u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure txEnableStateChange in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_txEnableStateChange 2 -/*! \brief Preprocessor variable to relate field to bit position in structure txEnableStateChange in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_txEnableStateChange u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure txEnableStateChange in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_txEnableStateChange u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioMMD_Error in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_mdioMMD_Error 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioMMD_Error in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_mdioMMD_Error u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioMMD_Error in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_mdioMMD_Error u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioTimeoutError in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_mdioTimeoutError 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioTimeoutError in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_mdioTimeoutError u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioTimeoutError in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_mdioTimeoutError u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure watchdogTimerAlarm in AQ_GlobalAlarms_APPIA */ -#define AQ_GlobalAlarms_APPIA_watchdogTimerAlarm 2 -/*! \brief Preprocessor variable to relate field to bit position in structure watchdogTimerAlarm in AQ_GlobalAlarms_APPIA */ -#define bits_AQ_GlobalAlarms_APPIA_watchdogTimerAlarm u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure watchdogTimerAlarm in AQ_GlobalAlarms_APPIA */ -#define word_AQ_GlobalAlarms_APPIA_watchdogTimerAlarm u2.word_2 - -/*! \brief Base register address of structure AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_baseRegisterAddress 0xD400 -/*! \brief MMD address of structure AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureFailureMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_highTemperatureFailureMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureFailureMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_highTemperatureFailureMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureFailureMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_highTemperatureFailureMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureFailureMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_lowTemperatureFailureMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureFailureMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_lowTemperatureFailureMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureFailureMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_lowTemperatureFailureMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureWarningMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_highTemperatureWarningMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureWarningMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_highTemperatureWarningMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureWarningMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_highTemperatureWarningMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureWarningMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_lowTemperatureWarningMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureWarningMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_lowTemperatureWarningMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureWarningMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_lowTemperatureWarningMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetCompletedMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_resetCompletedMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetCompletedMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_resetCompletedMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetCompletedMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_resetCompletedMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure deviceFaultMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_deviceFaultMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceFaultMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_deviceFaultMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure deviceFaultMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_deviceFaultMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmAMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_reservedAlarmAMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmAMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_reservedAlarmAMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmAMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_reservedAlarmAMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmBMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_reservedAlarmBMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmBMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_reservedAlarmBMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmBMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_reservedAlarmBMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmCMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_reservedAlarmCMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmCMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_reservedAlarmCMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmCMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_reservedAlarmCMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmDMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_reservedAlarmDMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmDMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_reservedAlarmDMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmDMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_reservedAlarmDMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downEnteredMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_smartPower_downEnteredMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downEnteredMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_smartPower_downEnteredMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downEnteredMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_smartPower_downEnteredMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure xenpakAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_xenpakAlarmMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure xenpakAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_xenpakAlarmMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure xenpakAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_xenpakAlarmMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmsMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_reservedAlarmsMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmsMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_reservedAlarmsMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmsMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_reservedAlarmsMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioCommandHandlingOverflowMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_mdioCommandHandlingOverflowMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioCommandHandlingOverflowMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_mdioCommandHandlingOverflowMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioCommandHandlingOverflowMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_mdioCommandHandlingOverflowMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure diagnosticAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_diagnosticAlarmMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure diagnosticAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_diagnosticAlarmMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure diagnosticAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_diagnosticAlarmMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrOperationCompleteMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_nvrOperationCompleteMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrOperationCompleteMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_nvrOperationCompleteMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrOperationCompleteMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_nvrOperationCompleteMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mailboxOperationCompleteMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_mailboxOperationCompleteMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mailboxOperationCompleteMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_mailboxOperationCompleteMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mailboxOperationCompleteMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_mailboxOperationCompleteMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upDramParityErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_upDramParityErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upDramParityErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_upDramParityErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upDramParityErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_upDramParityErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upIramParityErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_upIramParityErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upIramParityErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_upIramParityErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upIramParityErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_upIramParityErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure txEnableStateChangeMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_txEnableStateChangeMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure txEnableStateChangeMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_txEnableStateChangeMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure txEnableStateChangeMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_txEnableStateChangeMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioMMD_ErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_mdioMMD_ErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioMMD_ErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_mdioMMD_ErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioMMD_ErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_mdioMMD_ErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioTimeoutErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_mdioTimeoutErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioTimeoutErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_mdioTimeoutErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioTimeoutErrorMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_mdioTimeoutErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure watchdogTimerAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define AQ_GlobalInterruptMask_APPIA_watchdogTimerAlarmMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure watchdogTimerAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define bits_AQ_GlobalInterruptMask_APPIA_watchdogTimerAlarmMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure watchdogTimerAlarmMask in AQ_GlobalInterruptMask_APPIA */ -#define word_AQ_GlobalInterruptMask_APPIA_watchdogTimerAlarmMask u2.word_2 - -/*! \brief Base register address of structure AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_baseRegisterAddress 0xFC00 -/*! \brief MMD address of structure AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pmaStandardAlarm_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pmaStandardAlarm_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pmaStandardAlarm_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pmaStandardAlarm_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pmaStandardAlarm_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pmaStandardAlarm_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_3Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_3Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_3Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_3Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_3Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_pcsStandardAlarm_3Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_phyXS_StandardAlarms_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_phyXS_StandardAlarms_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_phyXS_StandardAlarms_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_phyXS_StandardAlarms_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_phyXS_StandardAlarms_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_phyXS_StandardAlarms_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_autonegotiationStandardAlarms_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_autonegotiationStandardAlarms_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_autonegotiationStandardAlarms_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_autonegotiationStandardAlarms_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_autonegotiationStandardAlarms_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_autonegotiationStandardAlarms_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeStandardAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_gbeStandardAlarmsInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeStandardAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_gbeStandardAlarmsInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeStandardAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_gbeStandardAlarmsInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure allVendorAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideStandardInterruptFlags_APPIA_allVendorAlarmsInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure allVendorAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_allVendorAlarmsInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure allVendorAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_APPIA_allVendorAlarmsInterrupt u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_baseRegisterAddress 0xFC01 -/*! \brief MMD address of structure AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_pmaVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_pmaVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_pmaVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_pcsVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_pcsVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_pcsVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_VendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_phyXS_VendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_VendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_phyXS_VendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_VendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_phyXS_VendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_autonegotiationVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_autonegotiationVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_autonegotiationVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_gbeVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_gbeVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_gbeVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_1Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_1Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_1Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_2Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_2Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_2Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_3Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_3Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_3Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_3Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_3Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_APPIA */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_APPIA_globalAlarms_3Interrupt u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_baseRegisterAddress 0xFF00 -/*! \brief MMD address of structure AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_pmaStandardAlarm_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pmaStandardAlarm_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pmaStandardAlarm_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_pmaStandardAlarm_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pmaStandardAlarm_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pmaStandardAlarm_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_3InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_3InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_3InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_3InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_3InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_pcsStandardAlarm_3InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_phyXS_StandardAlarms_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_phyXS_StandardAlarms_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_phyXS_StandardAlarms_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_phyXS_StandardAlarms_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_phyXS_StandardAlarms_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_phyXS_StandardAlarms_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_autonegotiationStandardAlarms_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_autonegotiationStandardAlarms_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_autonegotiationStandardAlarms_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_autonegotiationStandardAlarms_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_autonegotiationStandardAlarms_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_autonegotiationStandardAlarms_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeStandardAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_gbeStandardAlarmsInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeStandardAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_gbeStandardAlarmsInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeStandardAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_gbeStandardAlarmsInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure allVendorAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define AQ_GlobalInterruptChip_wideStandardMask_APPIA_allVendorAlarmsInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure allVendorAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_APPIA_allVendorAlarmsInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure allVendorAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_APPIA_allVendorAlarmsInterruptMask u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_baseRegisterAddress 0xFF01 -/*! \brief MMD address of structure AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_pmaVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_pmaVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_pmaVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_pcsVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_pcsVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_pcsVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_VendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_phyXS_VendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_VendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_phyXS_VendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_VendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_phyXS_VendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_autonegotiationVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_autonegotiationVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_autonegotiationVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_gbeVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_gbeVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_gbeVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_3InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_3InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_3InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_3InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_3InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_APPIA */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_APPIA_globalAlarms_3InterruptMask u0.word_0 -#endif -/*@}*/ -/*@}*/ diff --git a/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_reversed.h b/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_reversed.h deleted file mode 100644 index 89e02c325..000000000 --- a/qca/aq-fw-download/src/include/registerMap/APPIA/AQ_APPIA_Global_registers_reversed.h +++ /dev/null @@ -1,5581 +0,0 @@ -/*! \file -* This file contains the data structures and doxygen comments -* for the Global Registers block. - */ - -/*! \addtogroup registerMap - @{ -*/ - -/*! \defgroup Global_registers Global Registers -* This module contains the data structures and doxygen comments -* for the Global Registers block. - */ -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $Date: 2014/04/08 $ -* -* $Label: $ -* -* Description: -* -* This file contains the c header structures for the registers contained in the Global Registers block. -* -* The bit fields in this structure are from MSbit to LSbit -* -***********************************************************************/ - - -/*@{*/ -#ifndef AQ_APPIA_GLOBAL_REGS_HEADER -#define AQ_APPIA_GLOBAL_REGS_HEADER - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Control 1: 1E.0000 */ -/* Global Standard Control 1: 1E.0000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Control 1 */ - union - { - struct - { - /*! \brief 1E.0000.F R/WSC Soft Reset - AQ_GlobalStandardControl_1_APPIA.u0.bits_0.softReset - - Default = 0x1 - - 1 = Global soft reset - 0 = Normal operation - - - Notes: - Setting this bit initiates a global soft reset on all of the digital logic, including the microprocessor. Upon completion of the reset sequence, this bit is set back to 0. */ - unsigned int softReset : 1; /* 1E.0000.F R/WSC Default = 0x1 */ - /* 1 = Global soft reset - 0 = Normal operation - */ - /*! \brief 1E.0000.E R/WSC Hard Reset - AQ_GlobalStandardControl_1_APPIA.u0.bits_0.hardReset - - Default = 0x0 - - 1 = Global hard reset - 0 = Normal operation - - - Notes: - Setting this bit initiates a global hard reset, equivalent to pulling the reset pin low. This is a level sensitive pin that connects into the power-on reset generation circuitry to initiate a complete power-on reset. */ - unsigned int hardReset : 1; /* 1E.0000.E R/WSC Default = 0x0 */ - /* 1 = Global hard reset - 0 = Normal operation - */ - unsigned int reserved0 : 2; - /*! \brief 1E.0000.B R/WPD Low Power - AQ_GlobalStandardControl_1_APPIA.u0.bits_0.lowPower - - Provisionable Default = 0x0 - - 1 = Low-power mode - 0 = Normal operation - - - Notes: - A one written to this register causes the chip to enter low-power mode. This bit puts the entire chip in low-power mode, with only the MDIO and microprocessor functioning, and turns off the analog front-end: i.e. places it in high-impedance mode. Setting this bit also sets all of the Low Power bits in the other MMDs. */ - unsigned int lowPower : 1; /* 1E.0000.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Low-power mode - 0 = Normal operation - */ - unsigned int reserved1 : 11; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardControl_1_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Device Identifier: 1E.0002 */ -/* Global Standard Device Identifier: 1E.0002 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0002.F:0 RO Device ID MSW [1F:10] - AQ_GlobalStandardDeviceIdentifier_APPIA.u0.bits_0.deviceIdMSW - - - - Bits 31 - 16 of Device ID - */ - unsigned int deviceIdMSW : 16; /* 1E.0002.F:0 RO */ - /* Bits 31 - 16 of Device ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0003.F:0 RO Device ID LSW [F:0] - AQ_GlobalStandardDeviceIdentifier_APPIA.u1.bits_1.deviceIdLSW - - - - Bits 15 - 0 of Device ID - */ - unsigned int deviceIdLSW : 16; /* 1E.0003.F:0 RO */ - /* Bits 15 - 0 of Device ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardDeviceIdentifier_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Devices in Package: 1E.0005 */ -/* Global Standard Devices in Package: 1E.0005 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Devices in Package */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.0005.7 ROS Autonegotiation Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.autonegotiationPresent - - Default = 0x1 - - 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package - - Notes: - This is always set to 1, as there is Autonegotiation in the PHY. */ - unsigned int autonegotiationPresent : 1; /* 1E.0005.7 ROS Default = 0x1 */ - /* 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package */ - /*! \brief 1E.0005.6 ROS TC Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.tcPresent - - Default = 0x0 - - 1 = TC is present in package - 0 = TC is not present in package - - Notes: - This is always set to 0, as there is no TC functionality in the PHY. */ - unsigned int tcPresent : 1; /* 1E.0005.6 ROS Default = 0x0 */ - /* 1 = TC is present in package - 0 = TC is not present in package */ - /*! \brief 1E.0005.5 ROS DTE XS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.dteXsPresent - - Default = 0x0 - - 1 = DTE XS is present in package - 0 = DTE XS is not present in package - - - Notes: - This is always set to 0, as there is no DTE XAUI interface in the PHY. */ - unsigned int dteXsPresent : 1; /* 1E.0005.5 ROS Default = 0x0 */ - /* 1 = DTE XS is present in package - 0 = DTE XS is not present in package - */ - /*! \brief 1E.0005.4 ROS PHY XS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.phyXS_Present - - Default = 0x1 - - 1 = PHY XS is present in package - 0 = PHY XS is not present in package - - Notes: - This is always set to 1 as there is a PHY XS interface in the PHY. */ - unsigned int phyXS_Present : 1; /* 1E.0005.4 ROS Default = 0x1 */ - /* 1 = PHY XS is present in package - 0 = PHY XS is not present in package */ - /*! \brief 1E.0005.3 ROS PCS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.pcsPresent - - Default = 0x1 - - 1 = PCS is present in package - 0 = PCS is not present in package - - Notes: - This is always set to 1 as there is PCS functionality in the PHY. */ - unsigned int pcsPresent : 1; /* 1E.0005.3 ROS Default = 0x1 */ - /* 1 = PCS is present in package - 0 = PCS is not present in package */ - /*! \brief 1E.0005.2 ROS WIS Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.wisPresent - - Default = 0x0 - - 1 = WIS is present in package - 0 = WIS is not present in package - - Notes: - This is always set to 0, as there is no WIS functionality in the PHY. */ - unsigned int wisPresent : 1; /* 1E.0005.2 ROS Default = 0x0 */ - /* 1 = WIS is present in package - 0 = WIS is not present in package */ - /*! \brief 1E.0005.1 ROS PMA Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.pmaPresent - - Default = 0x1 - - 1 = PMA is present in package - 0 = PMA is not present - - Notes: - This is always set to 1 as there is PMA functionality in the PHY. */ - unsigned int pmaPresent : 1; /* 1E.0005.1 ROS Default = 0x1 */ - /* 1 = PMA is present in package - 0 = PMA is not present */ - /*! \brief 1E.0005.0 ROS Clause 22 Registers Present - AQ_GlobalStandardDevicesInPackage_APPIA.u0.bits_0.clause_22RegistersPresent - - Default = 0x0 - - 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package - - Notes: - This is always set to 0 in the PHY, as there are no Clause 22 registers in the device. */ - unsigned int clause_22RegistersPresent : 1; /* 1E.0005.0 ROS Default = 0x0 */ - /* 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardDevicesInPackage_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Vendor Devices in Package: 1E.0006 */ -/* Global Standard Vendor Devices in Package: 1E.0006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Vendor Devices in Package */ - union - { - struct - { - /*! \brief 1E.0006.F ROS Vendor Specific Device #2 Present - AQ_GlobalStandardVendorDevicesInPackage_APPIA.u0.bits_0.vendorSpecificDevice_2Present - - Default = 0x1 - - 1 = Device #2 is present in package - 0 = Device #2 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the DSP PMA registers. */ - unsigned int vendorSpecificDevice_2Present : 1; /* 1E.0006.F ROS Default = 0x1 */ - /* 1 = Device #2 is present in package - 0 = Device #2 is not present in package */ - /*! \brief 1E.0006.E ROS Vendor Specific Device #1 Present - AQ_GlobalStandardVendorDevicesInPackage_APPIA.u0.bits_0.vendorSpecificDevice_1Present - - Default = 0x1 - - 1 = Device #1 is present in package - 0 = Device #1 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the global control registers. */ - unsigned int vendorSpecificDevice_1Present : 1; /* 1E.0006.E ROS Default = 0x1 */ - /* 1 = Device #1 is present in package - 0 = Device #1 is not present in package */ - /*! \brief 1E.0006.D ROS Clause 22 Extension Present - AQ_GlobalStandardVendorDevicesInPackage_APPIA.u0.bits_0.clause_22ExtensionPresent - - Default = 0x1 - - 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the GbE registers. */ - unsigned int clause_22ExtensionPresent : 1; /* 1E.0006.D ROS Default = 0x1 */ - /* 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package */ - unsigned int reserved0 : 13; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardVendorDevicesInPackage_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Status 2: 1E.0008 */ -/* Global Standard Status 2: 1E.0008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Status 2 */ - union - { - struct - { - /*! \brief 1E.0008.F:E ROS Device Present [1:0] - AQ_GlobalStandardStatus_2_APPIA.u0.bits_0.devicePresent - - Default = 0x2 - - [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address - - Notes: - This field is always set to 0x2, as the Global MMD resides here in the PHY. */ - unsigned int devicePresent : 2; /* 1E.0008.F:E ROS Default = 0x2 */ - /* [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address */ - unsigned int reserved0 : 14; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardStatus_2_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Package Identifier: 1E.000E */ -/* Global Standard Package Identifier: 1E.000E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000E.F:0 RO Package ID MSW [1F:10] - AQ_GlobalStandardPackageIdentifier_APPIA.u0.bits_0.packageIdMSW - - - - Bits 31- 16 of Package ID - */ - unsigned int packageIdMSW : 16; /* 1E.000E.F:0 RO */ - /* Bits 31- 16 of Package ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000F.F:0 RO Package ID LSW [F:0] - AQ_GlobalStandardPackageIdentifier_APPIA.u1.bits_1.packageIdLSW - - - - Bits 15 - 0 of Package ID - */ - unsigned int packageIdLSW : 16; /* 1E.000F.F:0 RO */ - /* Bits 15 - 0 of Package ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardPackageIdentifier_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Firmware ID: 1E.0020 */ -/* Global Firmware ID: 1E.0020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Firmware ID */ - union - { - struct - { - /*! \brief 1E.0020.F:8 RO Firmware Major Revision Number [7:0] - AQ_GlobalFirmwareID_APPIA.u0.bits_0.firmwareMajorRevisionNumber - - - - [F:8] = Major revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMajorRevisionNumber : 8; /* 1E.0020.F:8 RO */ - /* [F:8] = Major revision number */ - /*! \brief 1E.0020.7:0 RO Firmware Minor Revision Number [7:0] - AQ_GlobalFirmwareID_APPIA.u0.bits_0.firmwareMinorRevisionNumber - - - - [7:0] = Minor revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMinorRevisionNumber : 8; /* 1E.0020.7:0 RO */ - /* [7:0] = Minor revision number */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFirmwareID_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip Identification: 1E.0021 */ -/* Global Chip Identification: 1E.0021 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip Identification */ - union - { - struct - { - /*! \brief 1E.0021.F:0 RO Chip Identification [F:0] - AQ_GlobalChipIdentification_APPIA.u0.bits_0.chipIdentification - - - - Hardware Chip ID - - Notes: - This value is a hard-coded chip ID */ - unsigned int chipIdentification : 16; /* 1E.0021.F:0 RO */ - /* Hardware Chip ID */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChipIdentification_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip Revision: 1E.0022 */ -/* Global Chip Revision: 1E.0022 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip Revision */ - union - { - struct - { - /*! \brief 1E.0022.F:0 RO Chip Revision [F:0] - AQ_GlobalChipRevision_APPIA.u0.bits_0.chipRevision - - - - Hardware Chip Revision - - Notes: - This value is a hard-coded chip revision */ - unsigned int chipRevision : 16; /* 1E.0022.F:0 RO */ - /* Hardware Chip Revision */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChipRevision_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Interface: 1E.0100 */ -/* Global NVR Interface: 1E.0100 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0100.F R/WSC NVR Execute Operation - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrExecuteOperation - - Default = 0x0 - - 1 = Start NVR Operation - - - Notes: - When set to 1, the NVR operation will begin. Ensure that the uP is stalled using the See MCP Run Stall bit to ensure no NVR contention. */ - unsigned int nvrExecuteOperation : 1; /* 1E.0100.F R/WSC Default = 0x0 */ - /* 1 = Start NVR Operation - */ - /*! \brief 1E.0100.E R/W NVR Write Mode - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrWriteMode - - Default = 0x0 - - 1 = Write to NVR - 0 = Read from NVR - - */ - unsigned int nvrWriteMode : 1; /* 1E.0100.E R/W Default = 0x0 */ - /* 1 = Write to NVR - 0 = Read from NVR - */ - /*! \brief 1E.0100.D R/W Freeze NVR CRC - AQ_GlobalNvrInterface_APPIA.u0.bits_0.freezeNvrCrc - - Default = 0x0 - - 1 = Freeze NVR Mailbox CRC calculation register - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int freezeNvrCrc : 1; /* 1E.0100.D R/W Default = 0x0 */ - /* 1 = Freeze NVR Mailbox CRC calculation register - */ - /*! \brief 1E.0100.C R/WSC Reset NVR CRC - AQ_GlobalNvrInterface_APPIA.u0.bits_0.resetNvrCrc - - Default = 0x0 - - 1 = Reset NVR Mailbox CRC calculation register - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int resetNvrCrc : 1; /* 1E.0100.C R/WSC Default = 0x0 */ - /* 1 = Reset NVR Mailbox CRC calculation register - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0100.A R/W NVR Burst - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrBurst - - Default = 0x0 - - 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - - - Notes: - When this bit is set, the operation is a burst operation where more than 32-bits is read from the NVR or written to the NVR. This bit should be set to one until the last burst in the read or write operation, when it should be set to zero. It operates by gating the SPI clock, and not restarting it until new data is ready to be written, or the previous contents have been read. Each burst of data requires the NVR Execute Operation bit to be set to initiate the next phase. */ - unsigned int nvrBurst : 1; /* 1E.0100.A R/W Default = 0x0 */ - /* 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - */ - unsigned int reserved1 : 1; - /*! \brief 1E.0100.8 RO NVR Busy - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrBusy - - - - 1 = NVR is busy - 0 = NVR is ready - - - Notes: - When set to 1, the NVR is busy. A new NVR operation should not occur until this bit is 0. If the NVR clock is greater than 64/63 of the MDIO clock, this bit never needs to be polled when operating over the MDIO. */ - unsigned int nvrBusy : 1; /* 1E.0100.8 RO */ - /* 1 = NVR is busy - 0 = NVR is ready - */ - /*! \brief 1E.0100.7:0 R/W NVR Opcode [7:0] - AQ_GlobalNvrInterface_APPIA.u0.bits_0.nvrOpcode - - Default = 0x03 - - NVR instruction opcode - - */ - unsigned int nvrOpcode : 8; /* 1E.0100.7:0 R/W Default = 0x03 */ - /* NVR instruction opcode - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0101.F:0 RO NVR Mailbox CRC [F:0] - AQ_GlobalNvrInterface_APPIA.u1.bits_1.nvrMailboxCrc - - - - The running CRC-16 of everything passing through the NVR interface - - - Notes: - The CRC-16 over all data written or read through the NVR interface. The CRC-16 is calculated by dividing the data by: - x^16 + x^12 + x^5 + 1 */ - unsigned int nvrMailboxCrc : 16; /* 1E.0101.F:0 RO */ - /* The running CRC-16 of everything passing through the NVR interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Interface */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.0102.7:0 R/W NVR Address MSW [17:10] - AQ_GlobalNvrInterface_APPIA.u2.bits_2.nvrAddressMSW - - Default = 0x00 - - NVR address MSW bits [17:10] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. The increment amount is based on the data length (i.e. increments by 4 if the data length is 4 bytes) */ - unsigned int nvrAddressMSW : 8; /* 1E.0102.7:0 R/W Default = 0x00 */ - /* NVR address MSW bits [17:10] - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0103.F:0 R/W NVR Address LSW [F:0] - AQ_GlobalNvrInterface_APPIA.u3.bits_3.nvrAddressLSW - - Default = 0x0000 - - NVR address LSW bits [F:0] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. */ - unsigned int nvrAddressLSW : 16; /* 1E.0103.F:0 R/W Default = 0x0000 */ - /* NVR address LSW bits [F:0] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0104.F:0 R/W NVR Data MSW [1F:10] - AQ_GlobalNvrInterface_APPIA.u4.bits_4.nvrDataMSW - - Default = 0x0000 - - NVR data MSW bits [1F:10] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataMSW : 16; /* 1E.0104.F:0 R/W Default = 0x0000 */ - /* NVR data MSW bits [1F:10] - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0105.F:0 R/W NVR Data LSW [F:0] - AQ_GlobalNvrInterface_APPIA.u5.bits_5.nvrDataLSW - - Default = 0x0000 - - NVR data LSW bits [F:0] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataLSW : 16; /* 1E.0105.F:0 R/W Default = 0x0000 */ - /* NVR data LSW bits [F:0] - */ - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalNvrInterface_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Mailbox Interface: 1E.0200 */ -/* Global Mailbox Interface: 1E.0200 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0200.F R/WSC uP Mailbox Execute Operation - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.upMailboxExecuteOperation - - Default = 0x0 - - 1 = Start of mailbox Operation - - - Notes: - Indicates mailbox is loaded and ready */ - unsigned int upMailboxExecuteOperation : 1; /* 1E.0200.F R/WSC Default = 0x0 */ - /* 1 = Start of mailbox Operation - */ - /*! \brief 1E.0200.E R/W uP Mailbox Write Mode - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.upMailboxWriteMode - - Default = 0x0 - - 1 = Write - 0 = Read - - - Notes: - Mailbox direction */ - unsigned int upMailboxWriteMode : 1; /* 1E.0200.E R/W Default = 0x0 */ - /* 1 = Write - 0 = Read - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0200.C R/WSC Reset uP Mailbox CRC - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.resetUpMailboxCrc - - Default = 0x0 - - 1 = Reset uP mailbox CRC calculation register - - */ - unsigned int resetUpMailboxCrc : 1; /* 1E.0200.C R/WSC Default = 0x0 */ - /* 1 = Reset uP mailbox CRC calculation register - */ - unsigned int reserved1 : 3; - /*! \brief 1E.0200.8 RO uP Mailbox Busy - AQ_GlobalMailboxInterface_APPIA.u0.bits_0.upMailboxBusy - - - - 1 = uP mailbox busy - 0 = uP mailbox ready - - - Notes: - In general the uP will respond within a few processor cycles to any PIF slave request, much faster than the MDIO. If the busy is asserted over multiple MDIO polling cycles, then a H/W error may have occured and a Global S/W reset or uP reset is required. */ - unsigned int upMailboxBusy : 1; /* 1E.0200.8 RO */ - /* 1 = uP mailbox busy - 0 = uP mailbox ready - */ - unsigned int reserved2 : 8; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0201.F:0 RO uP Mailbox CRC [F:0] - AQ_GlobalMailboxInterface_APPIA.u1.bits_1.upMailboxCrc - - - - The running CRC-16 of everything passing through the mailbox interface - - */ - unsigned int upMailboxCrc : 16; /* 1E.0201.F:0 RO */ - /* The running CRC-16 of everything passing through the mailbox interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0202.F:0 R/W uP Mailbox Address MSW [1F:10] - AQ_GlobalMailboxInterface_APPIA.u2.bits_2.upMailboxAddressMSW - - Default = 0x0000 - - uP Mailbox MSW address - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressMSW : 16; /* 1E.0202.F:0 R/W Default = 0x0000 */ - /* uP Mailbox MSW address - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0203.F:2 R/W uP Mailbox Address LSW [F:2] - AQ_GlobalMailboxInterface_APPIA.u3.bits_3.upMailboxAddressLSW - - Default = 0x0000 - - uP LSW Mailbox address [F:2] - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressLSW : 14; /* 1E.0203.F:2 R/W Default = 0x0000 */ - /* uP LSW Mailbox address [F:2] - */ - /*! \brief 1E.0203.1:0 RO uP Mailbox Address LSW Don't Care [1:0] - AQ_GlobalMailboxInterface_APPIA.u3.bits_3.upMailboxAddressLSW_Don_tCare - - - - Least significant uP LSW Mailbox address bits [1:0] - - - Notes: - These bits are always set to 0 since each memory access is on a 4-byte boundary. */ - unsigned int upMailboxAddressLSW_Don_tCare : 2; /* 1E.0203.1:0 RO */ - /* Least significant uP LSW Mailbox address bits [1:0] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0204.F:0 R/W uP Mailbox Data MSW [1F:10] - AQ_GlobalMailboxInterface_APPIA.u4.bits_4.upMailboxDataMSW - - Default = 0x0000 - - uP Mailbox data MSW - - */ - unsigned int upMailboxDataMSW : 16; /* 1E.0204.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data MSW - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0205.F:0 R/W uP Mailbox Data LSW [F:0] - AQ_GlobalMailboxInterface_APPIA.u5.bits_5.upMailboxDataLSW - - Default = 0x0000 - - uP Mailbox data LSW - - */ - unsigned int upMailboxDataLSW : 16; /* 1E.0205.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data LSW - */ - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalMailboxInterface_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Microprocessor Scratch Pad: 1E.0300 */ -/* Global Microprocessor Scratch Pad: 1E.0300 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0300.F:0 R/W Scratch Pad 1[F:0] - AQ_GlobalMicroprocessorScratchPad_APPIA.u0.bits_0.scratchPad_1 - - Default = 0x0000 - - General Purpose Scratch Pad1 - */ - unsigned int scratchPad_1 : 16; /* 1E.0300.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch Pad1 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0301.F:0 R/W Scratch Pad 2 [F:0] - AQ_GlobalMicroprocessorScratchPad_APPIA.u1.bits_1.scratchPad_2 - - Default = 0x0000 - - General Purpose Scratch P - */ - unsigned int scratchPad_2 : 16; /* 1E.0301.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch P */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalMicroprocessorScratchPad_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Control: 1E.C000 */ -/* Global Control: 1E.C000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Control */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Control */ - union - { - struct - { - /*! \brief 1E.C001.F R/W uP Reset - AQ_GlobalControl_APPIA.u1.bits_1.upReset - - Default = 0x0 - - 1 = Reset - - - Notes: - Resets the uP and the PIF master and slave bus. Will be active for a minimum of 100 microseconds. */ - unsigned int upReset : 1; /* 1E.C001.F R/W Default = 0x0 */ - /* 1 = Reset - */ - unsigned int reserved0 : 8; - /*! \brief 1E.C001.6 R/W uP Run Stall Override - AQ_GlobalControl_APPIA.u1.bits_1.upRunStallOverride - - Default = 0x0 - - 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - - - Notes: - This bit selects the uP Run Stall from either the "MDIO Boot Load" pin or the See MCP Run Stall bit. */ - unsigned int upRunStallOverride : 1; /* 1E.C001.6 R/W Default = 0x0 */ - /* 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - */ - unsigned int reserved1 : 5; - /*! \brief 1E.C001.0 R/W uP Run Stall - AQ_GlobalControl_APPIA.u1.bits_1.upRunStall - - Default = 0x0 - - 1 = uP Run Stall - 0 = uP normal mode - - - Notes: - Deactivates the uP. The PIF slave bus for inbound requests will still be active. This bit is muliplexed with the "MDIO Boot Load" pin with the See uP Run Stall Override bit as the select. When the "MDIO Boot Load" pin is asserted, the uP will be in Run Stall mode after reset. */ - unsigned int upRunStall : 1; /* 1E.C001.0 R/W Default = 0x0 */ - /* 1 = uP Run Stall - 0 = uP normal mode - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalControl_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reset Control: 1E.C006 */ -/* Global Reset Control: 1E.C006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reset Control */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C006.E R/WPD Global MMD Reset Disable - AQ_GlobalResetControl_APPIA.u0.bits_0.globalMMD_ResetDisable - - Provisionable Default = 0x0 - - 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - - - Notes: - Setting this bit prevents a Global S/W reset or Global S/W reset from resetting the Global MMD registers */ - unsigned int globalMMD_ResetDisable : 1; /* 1E.C006.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - */ - unsigned int reserved1 : 14; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalResetControl_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Diagnostic Provisioning: 1E.C400 */ -/* Global Diagnostic Provisioning: 1E.C400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Diagnostic Provisioning */ - union - { - struct - { - /*! \brief 1E.C400.F R/WPD Enable Diagnostics - AQ_GlobalDiagnosticProvisioning_APPIA.u0.bits_0.enableDiagnostics - - Provisionable Default = 0x1 - - 1 = Chip performs diagnostics on power-up - */ - unsigned int enableDiagnostics : 1; /* 1E.C400.F R/WPD Provisionable Default = 0x1 */ - /* 1 = Chip performs diagnostics on power-up */ - unsigned int reserved0 : 15; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDiagnosticProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Provisioning: 1E.C420 */ -/* Global Thermal Provisioning: 1E.C420 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C420.F:0 R/WPD Reserved 0 [F:0] - AQ_GlobalThermalProvisioning_APPIA.u0.bits_0.reserved_0 - - Provisionable Default = 0x0000 - - Internal reserved - do not modify - - */ - unsigned int reserved_0 : 16; /* 1E.C420.F:0 R/WPD Provisionable Default = 0x0000 */ - /* Internal reserved - do not modify - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C421.F:0 R/WPD High Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u1.bits_1.highTempFailureThreshold - - Provisionable Default = 0x4600 - - [F:0] of high temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A000 - 1.A001: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempFailureThreshold : 16; /* 1E.C421.F:0 R/WPD Provisionable Default = 0x4600 */ - /* [F:0] of high temperature failure threshold */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C422.F:0 R/WPD Low Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u2.bits_2.lowTempFailureThreshold - - Provisionable Default = 0x0000 - - [F:0] of low temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 0 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A002 - 1.A003: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempFailureThreshold : 16; /* 1E.C422.F:0 R/WPD Provisionable Default = 0x0000 */ - /* [F:0] of low temperature failure threshold */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C423.F:0 R/WPD High Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u3.bits_3.highTempWarningThreshold - - Provisionable Default = 0x3C00 - - [F:0] of high temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD008. Default is 60 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A004 - 1.A005: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempWarningThreshold : 16; /* 1E.C423.F:0 R/WPD Provisionable Default = 0x3C00 */ - /* [F:0] of high temperature warning threshold */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C424.F:0 R/WPD Low Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_APPIA.u4.bits_4.lowTempWarningThreshold - - Provisionable Default = 0x0A00 - - [F:0] of low temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 10 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A006 - 1.A007: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. - High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempWarningThreshold : 16; /* 1E.C424.F:0 R/WPD Provisionable Default = 0x0A00 */ - /* [F:0] of low temperature warning threshold */ - } bits_4; - uint16_t word_4; - } u4; -} AQ_GlobalThermalProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global LED Provisioning: 1E.C430 */ -/* Global LED Provisioning: 1E.C430 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C430.8 R/WPD LED #0 Manual Set - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_0ManualSet : 1; /* 1E.C430.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C430.7 R/WPD LED #0 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_0_10Gb_sLinkEstablished : 1; /* 1E.C430.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C430.6 R/WPD LED #0 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_0_1Gb_sLinkEstablished : 1; /* 1E.C430.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C430.5 R/WPD LED #0 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_0_100Mb_sLinkEstablished : 1; /* 1E.C430.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C430.4 R/WPD LED #0 Connecting - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_0Connecting : 1; /* 1E.C430.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C430.3 R/WPD LED #0 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_0ReceiveActivity : 1; /* 1E.C430.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C430.2 R/WPD LED #0 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_0TransmitActivity : 1; /* 1E.C430.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C430.1:0 R/WPD LED #0 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u0.bits_0.led_0ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_0ActivityStretch : 2; /* 1E.C430.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C431.8 R/WPD LED #1 Manual Set - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_1ManualSet : 1; /* 1E.C431.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C431.7 R/WPD LED #1 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_1_10Gb_sLinkEstablished : 1; /* 1E.C431.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C431.6 R/WPD LED #1 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_1_1Gb_sLinkEstablished : 1; /* 1E.C431.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C431.5 R/WPD LED #1 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_1_100Mb_sLinkEstablished : 1; /* 1E.C431.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C431.4 R/WPD LED #1 Connecting - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_1Connecting : 1; /* 1E.C431.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C431.3 R/WPD LED #1 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_1ReceiveActivity : 1; /* 1E.C431.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C431.2 R/WPD LED #1 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_1TransmitActivity : 1; /* 1E.C431.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C431.1:0 R/WPD LED #1 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u1.bits_1.led_1ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_1ActivityStretch : 2; /* 1E.C431.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C432.8 R/WPD LED #2 Manual Set - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_2ManualSet : 1; /* 1E.C432.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C432.7 R/WPD LED #2 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_2_10Gb_sLinkEstablished : 1; /* 1E.C432.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C432.6 R/WPD LED #2 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_2_1Gb_sLinkEstablished : 1; /* 1E.C432.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C432.5 R/WPD LED #2 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_2_100Mb_sLinkEstablished : 1; /* 1E.C432.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C432.4 R/WPD LED #2 Connecting - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_2Connecting : 1; /* 1E.C432.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C432.3 R/WPD LED #2 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_2ReceiveActivity : 1; /* 1E.C432.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C432.2 R/WPD LED #2 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_2TransmitActivity : 1; /* 1E.C432.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C432.1:0 R/WPD LED #2 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u2.bits_2.led_2ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_2ActivityStretch : 2; /* 1E.C432.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C433.8 R/WPD LED #3 Manual Set - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_3ManualSet : 1; /* 1E.C433.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C433.7 R/WPD LED #3 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_3_10Gb_sLinkEstablished : 1; /* 1E.C433.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C433.6 R/WPD LED #3 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_3_1Gb_sLinkEstablished : 1; /* 1E.C433.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C433.5 R/WPD LED #3 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_3_100Mb_sLinkEstablished : 1; /* 1E.C433.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C433.4 R/WPD LED #3 Connecting - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_3Connecting : 1; /* 1E.C433.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C433.3 R/WPD LED #3 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_3ReceiveActivity : 1; /* 1E.C433.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C433.2 R/WPD LED #3 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_3TransmitActivity : 1; /* 1E.C433.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C433.1:0 R/WPD LED #3 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u3.bits_3.led_3ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_3ActivityStretch : 2; /* 1E.C433.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C434.8 R/WPD LED #4 Manual Set - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_4ManualSet : 1; /* 1E.C434.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C434.7 R/WPD LED #4 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_4_10Gb_sLinkEstablished : 1; /* 1E.C434.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C434.6 R/WPD LED #4 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_4_1Gb_sLinkEstablished : 1; /* 1E.C434.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C434.5 R/WPD LED #4 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_4_100Mb_sLinkEstablished : 1; /* 1E.C434.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C434.4 R/WPD LED #4 Connecting - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_4Connecting : 1; /* 1E.C434.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C434.3 R/WPD LED #4 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_4ReceiveActivity : 1; /* 1E.C434.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C434.2 R/WPD LED #4 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_4TransmitActivity : 1; /* 1E.C434.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C434.1:0 R/WPD LED #4 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u4.bits_4.led_4ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_4ActivityStretch : 2; /* 1E.C434.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C435.8 R/WPD LED #5 Manual Set - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_5ManualSet : 1; /* 1E.C435.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C435.7 R/WPD LED #5 10 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_5_10Gb_sLinkEstablished : 1; /* 1E.C435.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C435.6 R/WPD LED #5 1 Gb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_5_1Gb_sLinkEstablished : 1; /* 1E.C435.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C435.5 R/WPD LED #5 100 Mb/s Link Established - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s - - */ - unsigned int led_5_100Mb_sLinkEstablished : 1; /* 1E.C435.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s - */ - /*! \brief 1E.C435.4 R/WPD LED #5 Connecting - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_5Connecting : 1; /* 1E.C435.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C435.3 R/WPD LED #5 Receive Activity - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_5ReceiveActivity : 1; /* 1E.C435.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C435.2 R/WPD LED #5 Transmit Activity - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_5TransmitActivity : 1; /* 1E.C435.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C435.1:0 R/WPD LED #5 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_APPIA.u5.bits_5.led_5ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_5ActivityStretch : 2; /* 1E.C435.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C437.0 R/WPD LED Operation Mode - AQ_GlobalLedProvisioning_APPIA.u7.bits_7.ledOperationMode - - Provisionable Default = 0x0 - - 1 = LED link activity in Mode #2 - 0 = LED link activity in classic mode - - - Notes: - When set to 1, the LED blinking rate is based on Mode #2 algorithm. When set to 0, the LED blinking rate is based on the classic algorithm. */ - unsigned int ledOperationMode : 1; /* 1E.C437.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED link activity in Mode #2 - 0 = LED link activity in classic mode - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.C438.2 R/WPD LED #0 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u8.bits_8.led_0DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_0DriveThreeStateSelect : 1; /* 1E.C438.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - /*! \brief 1E.C438.1 R/WPD LED #0 Active High Select - AQ_GlobalLedProvisioning_APPIA.u8.bits_8.led_0ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #0 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_0ActiveHighSelect : 1; /* 1E.C438.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C438.0 R/WPD LED #0 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u8.bits_8.led_0ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_0ManualActiveSelect : 1; /* 1E.C438.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.C439.2 R/WPD LED #1 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u9.bits_9.led_1DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_1DriveThreeStateSelect : 1; /* 1E.C439.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - /*! \brief 1E.C439.1 R/WPD LED #1 Active High Select - AQ_GlobalLedProvisioning_APPIA.u9.bits_9.led_1ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #1 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_1ActiveHighSelect : 1; /* 1E.C439.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C439.0 R/WPD LED #1 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u9.bits_9.led_1ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_1ManualActiveSelect : 1; /* 1E.C439.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.C43A.2 R/WPD LED #2 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u10.bits_10.led_2DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_2DriveThreeStateSelect : 1; /* 1E.C43A.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - /*! \brief 1E.C43A.1 R/WPD LED #2 Active High Select - AQ_GlobalLedProvisioning_APPIA.u10.bits_10.led_2ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #2 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_2ActiveHighSelect : 1; /* 1E.C43A.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43A.0 R/WPD LED #2 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u10.bits_10.led_2ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_2ManualActiveSelect : 1; /* 1E.C43A.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.C43B.2 R/WPD LED #3 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u11.bits_11.led_3DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_3DriveThreeStateSelect : 1; /* 1E.C43B.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - /*! \brief 1E.C43B.1 R/WPD LED #3 Active High Select - AQ_GlobalLedProvisioning_APPIA.u11.bits_11.led_3ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #3 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_3ActiveHighSelect : 1; /* 1E.C43B.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43B.0 R/WPD LED #3 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u11.bits_11.led_3ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_3ManualActiveSelect : 1; /* 1E.C43B.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Union for bit and word level access of word 12 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.C43C.2 R/WPD LED #4 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u12.bits_12.led_4DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_4DriveThreeStateSelect : 1; /* 1E.C43C.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - /*! \brief 1E.C43C.1 R/WPD LED #4 Active High Select - AQ_GlobalLedProvisioning_APPIA.u12.bits_12.led_4ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #4 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_4ActiveHighSelect : 1; /* 1E.C43C.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43C.0 R/WPD LED #4 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u12.bits_12.led_4ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_4ManualActiveSelect : 1; /* 1E.C43C.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Union for bit and word level access of word 13 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.C43D.2 R/WPD LED #5 Drive Three State Select - AQ_GlobalLedProvisioning_APPIA.u13.bits_13.led_5DriveThreeStateSelect - - Provisionable Default = 0x0 - - 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - - */ - unsigned int led_5DriveThreeStateSelect : 1; /* 1E.C43D.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Drive LED tri-state when not active - 0 = Drive LED opposite of active level when not active - */ - /*! \brief 1E.C43D.1 R/WPD LED #5 Active High Select - AQ_GlobalLedProvisioning_APPIA.u13.bits_13.led_5ActiveHighSelect - - Provisionable Default = 0x0 - - 1 = LED active high - 0 = LED active low - - - Notes: - The See LED #5 Manual Active Select bit must be 1 for this bit to take affect. */ - unsigned int led_5ActiveHighSelect : 1; /* 1E.C43D.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED active high - 0 = LED active low - */ - /*! \brief 1E.C43D.0 R/WPD LED #5 Manual Active Select - AQ_GlobalLedProvisioning_APPIA.u13.bits_13.led_5ManualActiveSelect - - Provisionable Default = 0x0 - - 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - - */ - unsigned int led_5ManualActiveSelect : 1; /* 1E.C43D.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Manual selection of LED active high or low - 0 = Determine the active high or low based on the external pull-up or pull-down - */ - } bits_13; - uint16_t word_13; - } u13; -} AQ_GlobalLedProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Provisioning: 1E.C440 */ -/* Global General Provisioning: 1E.C440 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C440.8:4 R/WPD Gang Load MDIO Address [4:0] - AQ_GlobalGeneralProvisioning_APPIA.u0.bits_0.gangLoadMdioAddress - - Provisionable Default = 0x00 - - MDIO Address to be used during gang load operation - - - Notes: - Gang load operation is used to load data into multiple PHYs all connected to the same MDIO bus. The address for gang load operation is provided by these bits (8:4), and enabling is done by writing Bit 0. Disabling of gang load mode is done by writing the See MDIO Address Reset (1E.C441.2) bit. These will revert the PHY's MDIO address back to the address provided by the MDIO Address pins. During gang load operation, MDIO reads are disabled to prevent bus contention. */ - unsigned int gangLoadMdioAddress : 5; /* 1E.C440.8:4 R/WPD Provisionable Default = 0x00 */ - /* MDIO Address to be used during gang load operation - */ - unsigned int reserved1 : 3; - /*! \brief 1E.C440.0 RO Gang Load MDIO Write Only - AQ_GlobalGeneralProvisioning_APPIA.u0.bits_0.gangLoadMdioWriteOnly - - - - 1 = MDIO gang load enable - - - Notes: - This bit enables gang load operation with the address specified in Bits 8:4. */ - unsigned int gangLoadMdioWriteOnly : 1; /* 1E.C440.0 RO */ - /* 1 = MDIO gang load enable - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C441.E R/WPD MDIO Broadcast Mode Enable - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioBroadcastModeEnable - - Provisionable Default = 0x0 - - 1 = Enable broadcast on Address 0 - 0 = Disable broadcast on Address 0 - - - Notes: - When set, this bit enables gang-load operation on address zero, simultaneous with normal MDIO operation. Obviously, this requires that no PHY use address 0 as its normal operating address. As well, reads on MDIO Address 0 are disabled to prevent bus contention. */ - unsigned int mdioBroadcastModeEnable : 1; /* 1E.C441.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable broadcast on Address 0 - 0 = Disable broadcast on Address 0 - */ - /*! \brief 1E.C441.D R/WPD MDIO Read MSW First Enable - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioReadMSW_FirstEnable - - Provisionable Default = 0x0 - - 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - - - Notes: - This bit configures whether the MSW or LSW must be read first for counters greater than 16 bits. */ - unsigned int mdioReadMSW_FirstEnable : 1; /* 1E.C441.D R/WPD Provisionable Default = 0x0 */ - /* 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - */ - unsigned int reserved1 : 8; - /*! \brief 1E.C441.4 R/WPD MDIO Drive Configuration - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioDriveConfiguration - - Provisionable Default = 0x0 - - 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - - - Notes: - When the MDIO driver is in open drain mode during a read cycle, "0" data will be actively driven out of the MDIO, "1" data will set the MDIO driver in high impedance state and an external pullup will set the MDIO line to "1". The Turn-Around "0" will also be actively driven out of the MDIO, therefore in open drain mode, the Turn-Around is still "Z0". */ - unsigned int mdioDriveConfiguration : 1; /* 1E.C441.4 R/WPD Provisionable Default = 0x0 */ - /* 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - */ - /*! \brief 1E.C441.3 R/WPD MDIO Preamble Detection Disable - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioPreambleDetectionDisable - - Provisionable Default = 0x0 - - 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - - */ - unsigned int mdioPreambleDetectionDisable : 1; /* 1E.C441.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - */ - /*! \brief 1E.C441.2 R/WSC MDIO Address Reset - AQ_GlobalGeneralProvisioning_APPIA.u1.bits_1.mdioAddressReset - - Default = 0x0 - - 1 = Load MDIO Address with the address on the MDIO address pins - - - Notes: - Used to reset the address after gang load and enable MDIO reads again. */ - unsigned int mdioAddressReset : 1; /* 1E.C441.2 R/WSC Default = 0x0 */ - /* 1 = Load MDIO Address with the address on the MDIO address pins - */ - unsigned int reserved2 : 2; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C442.0 R/W Daisy Chain Reset - AQ_GlobalGeneralProvisioning_APPIA.u2.bits_2.daisyChainReset - - Default = 0x0 - - 1 = Reset the daisy chain - - - Notes: - Toggling this bit from 0 to 1 will reload the IRAM and DRAM and reset the uP. The uP will be in uP run stall during the reload process. After the reload process, uP run stall will be de-asserted adn the uP reset will be asserted. Note that before setting this bit, the See Soft Reset bit needs to be de-asserted. */ - unsigned int daisyChainReset : 1; /* 1E.C442.0 R/W Default = 0x0 */ - /* 1 = Reset the daisy chain - */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalGeneralProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Provisioning: 1E.C450 */ -/* Global NVR Provisioning: 1E.C450 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 5; - /*! \brief 1E.C450.A:8 R/WPD NVR Data Length [2:0] - AQ_GlobalNvrProvisioning_APPIA.u0.bits_0.nvrDataLength - - Provisionable Default = 0x4 - - NVR data length ranges from 0 bytes to 4 bytes - - - Notes: - This sets the length of the data burst used in read and write operations. - */ - unsigned int nvrDataLength : 3; /* 1E.C450.A:8 R/WPD Provisionable Default = 0x4 */ - /* NVR data length ranges from 0 bytes to 4 bytes - */ - unsigned int reserved1 : 1; - /*! \brief 1E.C450.6:4 R/WPD NVR Dummy Length [2:0] - AQ_GlobalNvrProvisioning_APPIA.u0.bits_0.nvrDummyLength - - Provisionable Default = 0x0 - - NVR dummy length ranges from 0 bytes to 4 bytes. - - - Notes: - This sets the length of the dummy field used in some maunfacturer's read status and write status operations. - */ - unsigned int nvrDummyLength : 3; /* 1E.C450.6:4 R/WPD Provisionable Default = 0x0 */ - /* NVR dummy length ranges from 0 bytes to 4 bytes. - */ - unsigned int reserved2 : 2; - /*! \brief 1E.C450.1:0 R/WPD NVR Address Length [1:0] - AQ_GlobalNvrProvisioning_APPIA.u0.bits_0.nvrAddressLength - - Provisionable Default = 0x2 - - NVR address length ranges from 0 bytes up to 3 bytes. - - - Notes: - This sets the length of the address field used in read and write operations. Use of this field is enabled via Bit 8 of See Global NVR Provisioning 2: Address 1E.C451 . - */ - unsigned int nvrAddressLength : 2; /* 1E.C450.1:0 R/WPD Provisionable Default = 0x2 */ - /* NVR address length ranges from 0 bytes up to 3 bytes. - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C451.8 R/WPD NVR Address Length Override - AQ_GlobalNvrProvisioning_APPIA.u1.bits_1.nvrAddressLengthOverride - - Provisionable Default = 0x0 - - 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register. - - - Notes: - When the this bit = 0 and NVR_SIZE pin = 0, the NVR address length is 2 bytes. When this bit = 0 and the NVR_SIZE pin = 1, the NVR address length is 3 bytes. When this bit = 1 the NVR address length is from the See NVR Address Length [1:0] */ - unsigned int nvrAddressLengthOverride : 1; /* 1E.C451.8 R/WPD Provisionable Default = 0x0 */ - /* 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register. - */ - /*! \brief 1E.C451.7:0 R/WPD NVR Clock Divide [7:0] - AQ_GlobalNvrProvisioning_APPIA.u1.bits_1.nvrClockDivide - - Provisionable Default = 0xA0 - - NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - - */ - unsigned int nvrClockDivide : 8; /* 1E.C451.7:0 R/WPD Provisionable Default = 0xA0 */ - /* NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.C452.1 R/W NVR Daisy Chain Clock Divide Override - AQ_GlobalNvrProvisioning_APPIA.u2.bits_2.nvrDaisyChainClockDivideOverride - - Default = 0x0 - - 1 = Override NVR clock divide when in daisy chain master mode - - - - Notes: - When in daisy chain master mode, the clock divide configuration is received from the flash. This bit will override the clock divide configuration from the flash with the See NVR Clock Divide [7:0] . */ - unsigned int nvrDaisyChainClockDivideOverride : 1; /* 1E.C452.1 R/W Default = 0x0 */ - /* 1 = Override NVR clock divide when in daisy chain master mode - - */ - /*! \brief 1E.C452.0 R/W NVR Daisy Chain Disable - AQ_GlobalNvrProvisioning_APPIA.u2.bits_2.nvrDaisyChainDisable - - Default = 0x0 - - 1 = Disable the Daisy Chain - - - Notes: - When in daisy chain master mode, the daisy chain and MDIO can both access the SPI. Setting this bit to 1 will disable the dasiy chain from accessing the SPI and force it into a reset state. */ - unsigned int nvrDaisyChainDisable : 1; /* 1E.C452.0 R/W Default = 0x0 */ - /* 1 = Disable the Daisy Chain - */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalNvrProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Provisioning: 1E.C470 */ -/* Global Reserved Provisioning: 1E.C470 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C470.F R/WPD Diagnostics Select - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.diagnosticsSelect - - Provisionable Default = 0x0 - - 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversly the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int diagnosticsSelect : 1; /* 1E.C470.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - */ - /*! \brief 1E.C470.E:D R/WPD Extended MDI Diagnostics Select [1:0] - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.extendedMdiDiagnosticsSelect - - Provisionable Default = 0x0 - - 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversly the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int extendedMdiDiagnosticsSelect : 2; /* 1E.C470.E:D R/WPD Provisionable Default = 0x0 */ - /* 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - */ - unsigned int reserved0 : 5; - unsigned int reserved1 : 2; - /*! \brief 1E.C470.5 R/WSC Initiate Component Diagnostics - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.initiateComponentDiagnostics - - Default = 0x0 - - 1 = Perform component diagnostics - - - Notes: - Perform component diagnostics regardless of link state. If link is up, setting this bit will cause the link to drop while diagnostics are performed. This bit is self-clearing upon completion of the component diagnostics. Further MDIO writes should be avoided until this bit has self-cleared, indicating completion of the diagnostic routine. */ - unsigned int initiateComponentDiagnostics : 1; /* 1E.C470.5 R/WSC Default = 0x0 */ - /* 1 = Perform component diagnostics - */ - /*! \brief 1E.C470.4 R/WSC Initiate Cable Diagnostics - AQ_GlobalReservedProvisioning_APPIA.u0.bits_0.initiateCableDiagnostics - - Default = 0x0 - - 1 = Perform cable diagnostics - - - Notes: - Perform cable diagnostics regardless of link state. If link is up, setting this bit will cause the link to drop while diagnostics are performed. This bit is self-clearing upon completion of the cable diagnostics. Further MDIO writes should be avoided until this bit has self-cleared, indicating completion of the diagnostic routine. */ - unsigned int initiateCableDiagnostics : 1; /* 1E.C470.4 R/WSC Default = 0x0 */ - /* 1 = Perform cable diagnostics - */ - unsigned int reserved2 : 4; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C471.F:7 R/WPD Reserved Provisioning 2 [8:0] - AQ_GlobalReservedProvisioning_APPIA.u1.bits_1.reservedProvisioning_2 - - Provisionable Default = 0x000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_2 : 9; /* 1E.C471.F:7 R/WPD Provisionable Default = 0x000 */ - /* Reserved for future use - */ - /*! \brief 1E.C471.6 R/WuP Enable Daisy-Chain Hop-Count Override - AQ_GlobalReservedProvisioning_APPIA.u1.bits_1.enableDaisy_chainHop_countOverride - - Default = 0x0 - - 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the diasy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int enableDaisy_chainHop_countOverride : 1; /* 1E.C471.6 R/WuP Default = 0x0 */ - /* 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - */ - /*! \brief 1E.C471.5:0 R/WuP Daisy-Chain Hop-Count Override Value [5:0] - AQ_GlobalReservedProvisioning_APPIA.u1.bits_1.daisy_chainHop_countOverrideValue - - Default = 0x00 - - The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the diasy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int daisy_chainHop_countOverrideValue : 6; /* 1E.C471.5:0 R/WuP Default = 0x00 */ - /* The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C472.F R/WPD Enable LVDD Power Supply Tuning - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enableLvddPowerSupplyTuning - - Provisionable Default = 0x0 - - 1 = Enable external LVDD power supply tuning - 0 = Disable external LVDD power supply tuning is disabled - - - Notes: - - - - These bits control whether the PHY attempts to tune the external VDD and LVDD power supplies via the PMBus. These bits are only operational if the external supplies are present (see Bits 7:6) */ - unsigned int enableLvddPowerSupplyTuning : 1; /* 1E.C472.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable external LVDD power supply tuning - 0 = Disable external LVDD power supply tuning is disabled - */ - /*! \brief 1E.C472.E R/WPD Enable VDD Power Supply Tuning - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enableVddPowerSupplyTuning - - Provisionable Default = 0x0 - - 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - - - Notes: - - - - These bits control whether the PHY attempts to tune the external VDD and LVDD power supplies via the PMBus. These bits are only operational if the external supplies are present (see Bits 7:6) */ - unsigned int enableVddPowerSupplyTuning : 1; /* 1E.C472.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - */ - unsigned int reserved0 : 6; - /*! \brief 1E.C472.7 R/WPD Tunable External LVDD Power Supply Present - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.tunableExternalLvddPowerSupplyPresent - - Provisionable Default = 0x0 - - 1 = Tunable external LVDD power supply present - 0 = No tunable external LVDD power supply present - - - Notes: - - - - These bits must be set if tuning of external power supplies is desired (see Bits 7:6) */ - unsigned int tunableExternalLvddPowerSupplyPresent : 1; /* 1E.C472.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Tunable external LVDD power supply present - 0 = No tunable external LVDD power supply present - */ - /*! \brief 1E.C472.6 R/WPD Tunable External VDD Power Supply Present - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.tunableExternalVddPowerSupplyPresent - - Provisionable Default = 0x0 - - 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - - - Notes: - - - - These bits must be set if tuning of external power supplies is desired (see Bits 7:6) */ - unsigned int tunableExternalVddPowerSupplyPresent : 1; /* 1E.C472.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - */ - unsigned int reserved1 : 4; - /*! \brief 1E.C472.1 R/WPDuP Enable XENPAK Register Space - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enableXenpakRegisterSpace - - Provisionable Default = 0x0 - - 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - - */ - unsigned int enableXenpakRegisterSpace : 1; /* 1E.C472.1 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - */ - /*! \brief 1E.C472.0 R/WPDuP Enable 5th Channel RFI Cancellation - AQ_GlobalReservedProvisioning_APPIA.u2.bits_2.enable_5thChannelRfiCancellation - - Provisionable Default = 0x0 - - 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - - - Notes: - Note: The value of this bit at the time of Autonegotiation sets the local PHY behavior until the next time Autonegotiation occurs. */ - unsigned int enable_5thChannelRfiCancellation : 1; /* 1E.C472.0 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.C474.7:0 R/WPD Training SNR [7:0] - AQ_GlobalReservedProvisioning_APPIA.u4.bits_4.trainingSNR - - Provisionable Default = 0x00 - - SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - - - Notes: - The SNR margin that is enjoyed by the worst channel, over and above the minimum SNR required to operate at a BER of 10-12. It is reported with 0.1 dB of resolution to an accuracy of 0.5 dB within the range of -12.7 dB to 12.7 dB. The number is in offset binary, with 0.0 dB represented by 0x8000. - */ - unsigned int trainingSNR : 8; /* 1E.C474.7:0 R/WPD Provisionable Default = 0x00 */ - /* SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 2; - /*! \brief 1E.C475.D R/WPD Smart Power-Down Status - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.smartPower_downStatus - - Provisionable Default = 0x0 - - 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - - */ - unsigned int smartPower_downStatus : 1; /* 1E.C475.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - */ - /*! \brief 1E.C475.C R/WPD Reserved Provisioning 6 - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.reservedProvisioning_6 - - Provisionable Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedProvisioning_6 : 1; /* 1E.C475.C R/WPD Provisionable Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C475.B R/WPD CFR LP Disable Timer - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpDisableTimer - - Provisionable Default = 0x0 - - 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - - */ - unsigned int cfrLpDisableTimer : 1; /* 1E.C475.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - */ - /*! \brief 1E.C475.A R/WPD CFR LP Extended Maxwait - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - - */ - unsigned int cfrLpExtendedMaxwait : 1; /* 1E.C475.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - */ - /*! \brief 1E.C475.9 R/WPD CFR LP THP - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpTHP - - Provisionable Default = 0x0 - - 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - - */ - unsigned int cfrLpTHP : 1; /* 1E.C475.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - */ - /*! \brief 1E.C475.8 R/WPD CFR LP Support - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrLpSupport - - Provisionable Default = 0x0 - - 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - - */ - unsigned int cfrLpSupport : 1; /* 1E.C475.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.7 R/WPD CFR Disable Timer - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrDisableTimer - - Provisionable Default = 0x0 - - 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - - */ - unsigned int cfrDisableTimer : 1; /* 1E.C475.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - */ - /*! \brief 1E.C475.6 R/WPD CFR Extended Maxwait - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - - */ - unsigned int cfrExtendedMaxwait : 1; /* 1E.C475.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - */ - /*! \brief 1E.C475.5 R/WPD CFR THP - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrTHP - - Provisionable Default = 0x0 - - 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - - */ - unsigned int cfrTHP : 1; /* 1E.C475.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - */ - /*! \brief 1E.C475.4 R/WPD CFR Support - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.cfrSupport - - Provisionable Default = 0x0 - - 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - - */ - unsigned int cfrSupport : 1; /* 1E.C475.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.3 R/WPD Deadlock Avoidance Enable - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.deadlockAvoidanceEnable - - Provisionable Default = 0x0 - - 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - - */ - unsigned int deadlockAvoidanceEnable : 1; /* 1E.C475.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - */ - /*! \brief 1E.C475.2 R/WPD Smart Power-Down Enable - AQ_GlobalReservedProvisioning_APPIA.u5.bits_5.smartPower_downEnable - - Provisionable Default = 0x0 - - 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - - - Notes: - Smart power down (SPD) is the lowest power mode at which PHY is able to autonegotiate. SPD can be enabled with bit 1E.C475.2 */ - unsigned int smartPower_downEnable : 1; /* 1E.C475.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - */ - unsigned int reserved1 : 2; - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalReservedProvisioning_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Status: 1E.C800 */ -/* Global Cable Diagnostic Status: 1E.C800 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Status */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C800.E:C RO Pair A Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairAStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair A, of running either cable diagnostics or component diagnostics. */ - unsigned int pairAStatus : 3; /* 1E.C800.E:C RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved1 : 1; - /*! \brief 1E.C800.A:8 RO Pair B Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairBStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair B, of running either cable diagnostics or component diagnostics. */ - unsigned int pairBStatus : 3; /* 1E.C800.A:8 RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved2 : 1; - /*! \brief 1E.C800.6:4 RO Pair C Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairCStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair C, of running either cable diagnostics or component diagnostics. */ - unsigned int pairCStatus : 3; /* 1E.C800.6:4 RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - unsigned int reserved3 : 1; - /*! \brief 1E.C800.2:0 RO Pair D Status [2:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u0.bits_0.pairDStatus - - - - (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK - - Notes: - This bitfield reports the result, for pair D, of running either cable diagnostics or component diagnostics. */ - unsigned int pairDStatus : 3; /* 1E.C800.2:0 RO */ - /* (after running cable diags) - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK - - OR: - - (after running component diags) - 100 = TX pin open - 011= TX bias open - 010= Capacitor short - 001= Inductor open - 000= OK */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C801.F:8 RO Pair A Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u1.bits_1.pairAReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_1 : 8; /* 1E.C801.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A */ - /*! \brief 1E.C801.7:0 RO Pair A Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u1.bits_1.pairAReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_2 : 8; /* 1E.C801.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C802.F:0 RO Impulse Response MSW [F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u2.bits_2.impulseResponseMSW - - - - The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D - - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseMSW : 16; /* 1E.C802.F:0 RO */ - /* The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C803.F:8 RO Pair B Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u3.bits_3.pairBReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_1 : 8; /* 1E.C803.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B */ - /*! \brief 1E.C803.7:0 RO Pair B Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u3.bits_3.pairBReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_2 : 8; /* 1E.C803.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C804.F:0 RO Impulse Response LSW [F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u4.bits_4.impulseResponseLSW - - - - The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D - - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseLSW : 16; /* 1E.C804.F:0 RO */ - /* The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C805.F:8 RO Pair C Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u5.bits_5.pairCReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_1 : 8; /* 1E.C805.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C */ - /*! \brief 1E.C805.7:0 RO Pair C Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u5.bits_5.pairCReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_2 : 8; /* 1E.C805.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C806.F:0 RO Reserved 1 [F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u6.bits_6.reserved_1 - - - - Reserved for future use - - */ - unsigned int reserved_1 : 16; /* 1E.C806.F:0 RO */ - /* Reserved for future use - */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C807.F:8 RO Pair D Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u7.bits_7.pairDReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_1 : 8; /* 1E.C807.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D */ - /*! \brief 1E.C807.7:0 RO Pair D Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u7.bits_7.pairDReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_2 : 8; /* 1E.C807.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C808.F:0 RO Reserved 2[F:0] - AQ_GlobalCableDiagnosticStatus_APPIA.u8.bits_8.reserved_2 - - - - Reserved for future use - - */ - unsigned int reserved_2 : 16; /* 1E.C808.F:0 RO */ - /* Reserved for future use - */ - } bits_8; - uint16_t word_8; - } u8; -} AQ_GlobalCableDiagnosticStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Status: 1E.C820 */ -/* Global Thermal Status: 1E.C820 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Status */ - union - { - struct - { - /*! \brief 1E.C820.F:0 RO Temperature [F:0] - AQ_GlobalThermalStatus_APPIA.u0.bits_0.temperature - - - - [F:0] of temperature - - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. This is a mirror of the XENPAK register 1.A060 - 1.A061. The mirror is performed in H/W. */ - unsigned int temperature : 16; /* 1E.C820.F:0 RO */ - /* [F:0] of temperature - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Status */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C821.0 RO Temperature Ready - AQ_GlobalThermalStatus_APPIA.u1.bits_1.temperatureReady - - - - 1 = Temperature measurement is valid - - - Notes: - This is a mirror of the XENPAK register 1.A06E. */ - unsigned int temperatureReady : 1; /* 1E.C821.0 RO */ - /* 1 = Temperature measurement is valid - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalThermalStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Status: 1E.C830 */ -/* Global General Status: 1E.C830 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Status */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C830.E RO High Temperature Failure State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.highTemperatureFailureState - - - - 1 = High temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.7 register. - - */ - unsigned int highTemperatureFailureState : 1; /* 1E.C830.E RO */ - /* 1 = High temperature failure threshold has been exceeded */ - /*! \brief 1E.C830.D RO Low Temperature Failure State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.lowTemperatureFailureState - - - - 1 = Low temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.6 register. - - */ - unsigned int lowTemperatureFailureState : 1; /* 1E.C830.D RO */ - /* 1 = Low temperature failure threshold has been exceeded */ - /*! \brief 1E.C830.C RO High Temperature Warning State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.highTemperatureWarningState - - - - 1 = High temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.7 register. - - */ - unsigned int highTemperatureWarningState : 1; /* 1E.C830.C RO */ - /* 1 = High temperature warning threshold has been exceeded */ - /*! \brief 1E.C830.B RO Low Temperature Warning State - AQ_GlobalGeneralStatus_APPIA.u0.bits_0.lowTemperatureWarningState - - - - 1 = Low temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.6 register. - - */ - unsigned int lowTemperatureWarningState : 1; /* 1E.C830.B RO */ - /* 1 = Low temperature warning threshold has been exceeded */ - unsigned int reserved1 : 11; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Status */ - union - { - struct - { - /*! \brief 1E.C831.F RO Processor Intensive MDIO Operation In- Progress - AQ_GlobalGeneralStatus_APPIA.u1.bits_1.processorIntensiveMdioOperationIn_Progress - - - - 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - - - Notes: - This bit should may be used with certain processor-intensive MDIO commands (such as Loopbacks, Test Modes, Low power modes, Tx-Disable, Restart autoneg, Cable Diagnostics, etc.) that take longer than an MDIO cycle to complete. Upon receiving an MDIO command that involves the PHY's microprocessor, this bit is set, and when the command is completed, this bit is cleared. - - NOTE!!! This bit should be checked only after 1 ms of issuing a processor-intensive MDIO operation. - - The list of operations that set this bit are as follows: - - 1.0.0, PMA Loopback - 1.0.B, Low power mode - 1.9.4:0, Tx Disable - 1.84, 10G Test modes - 1.8000.5, XENPAK Control - 1.9000, XENPAK Rx Fault Enable - 1.9002, XENPAK Alarm Enable - 1.E400.F, External loopback - 3.0.B, Low power mode - 3.0.E, System PCS loopback - 3.C471.5, PRBS Test - 3.C471.6, PRBS Test - 3.E471.5, PRBS Test - 3.E471.6, PRBS Test - 4.0.B, Low power mode - 4.0.E, PHY-XS network loopback - 4.C440, Output clock control, Load SERDES parameters - 4.F802.E, System loopback - 4.C444.F:B, Loopback Control - 4.C444.4:2, Packet generation - 4.C445.C, SERDES calibration - 7.0.9, Restart autonegotiation - 1D.C280, 1G/100M Network loopback - 1D.C500, 1G System loopback - 1D.C501, 1G / 100M Test modes */ - unsigned int processorIntensiveMdioOperationIn_Progress : 1; /* 1E.C831.F RO */ - /* 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - */ - unsigned int reserved0 : 15; - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalGeneralStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Pin Status: 1E.C840 */ -/* Global Pin Status: 1E.C840 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Pin Status */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C840.E:D RO MDIO Boot Load [1:0] - AQ_GlobalPinStatus_APPIA.u0.bits_0.mdioBootLoad - - - - Value of MDIO Boot Load pins - - 0x3 = PHY #0 Slave Daisy Chain Boot - 0x2 = PHY #0 Master Daisy Chain Boot from Flash - 0x1 = MDIO Boot Load - 0x0 = Boot from Flash (PHY #0 only) - - - Notes: - NOTES: - - PHY #0 is the primary PHY, and PHY #1 is the secondary PHY - - PHY #1 is always in Slave Daisy Chain Boot from Flash when set to 0x2 or 0x3. */ - unsigned int mdioBootLoad : 2; /* 1E.C840.E:D RO */ - /* Value of MDIO Boot Load pins - - 0x3 = PHY #0 Slave Daisy Chain Boot - 0x2 = PHY #0 Master Daisy Chain Boot from Flash - 0x1 = MDIO Boot Load - 0x0 = Boot from Flash (PHY #0 only) - */ - unsigned int reserved1 : 3; - /*! \brief 1E.C840.9 RO Package Connectivity - AQ_GlobalPinStatus_APPIA.u0.bits_0.packageConnectivity - - - - Value of the package connection pin - - */ - unsigned int packageConnectivity : 1; /* 1E.C840.9 RO */ - /* Value of the package connection pin - */ - unsigned int reserved2 : 1; - /*! \brief 1E.C840.7 RO Tx Enable - AQ_GlobalPinStatus_APPIA.u0.bits_0.txEnable - - - - Current Value of Tx Enable pin - - - Notes: - 0 = Disable Transmitter */ - unsigned int txEnable : 1; /* 1E.C840.7 RO */ - /* Current Value of Tx Enable pin - */ - unsigned int reserved3 : 1; - /*! \brief 1E.C840.5:0 RO LED Pullup State [5:0] - AQ_GlobalPinStatus_APPIA.u0.bits_0.ledPullupState - - - - 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - - */ - unsigned int ledPullupState : 6; /* 1E.C840.5:0 RO */ - /* 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalPinStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Daisy Chain Status: 1E.C842 */ -/* Global Daisy Chain Status: 1E.C842 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Daisy Chain Status */ - union - { - struct - { - /*! \brief 1E.C842.F:0 RO Rx Daisy Chain Calculated CRC [F:0] - AQ_GlobalDaisyChainStatus_APPIA.u0.bits_0.rxDaisyChainCalculatedCrc - - - - Rx Daisy Chain Calculated CRC - - - Notes: - This is the calculated daisy chain CRC. */ - unsigned int rxDaisyChainCalculatedCrc : 16; /* 1E.C842.F:0 RO */ - /* Rx Daisy Chain Calculated CRC - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDaisyChainStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Fault Message: 1E.C850 */ -/* Global Fault Message: 1E.C850 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Fault Message */ - union - { - struct - { - /*! \brief 1E.C850.F:0 RO Message [F:0] - AQ_GlobalFaultMessage_APPIA.u0.bits_0.message - - - - Error code describing fault - - Notes: - Code 0x8001: Firmware not compatible with chip architecture. This fault occurs when firmware compiled for a different Tensilica core is loaded. - Code 0x8002: VCO calibration failed. This occurs when the main PLLs on chip fail to lock: this is not possible to trigger. - Code 0x8003: XAUI calibration failed. This occurs when the XAUI PLLs fail to lock: this is not possible to trigger. - Code 0x8004: Failed to set operating voltages via PMBus. This only occurs when the processor has control over power supply voltage via an attached PMBus device and there is a protocol error on the I2C bus: this is not possible to trigger. - Code 0x8005: Unexpected device ID. This occurs if the device ID programmed into the internal E-Fuse registers in not valid: this is not possible to trigger. - Code 0x8006: Computed checksum does not match expected checksum. This occurs when the FLASH checksum check performed at boot time fails. This only occurs when the system boots from FLASH. - Code 0x8007: Detected a bit error in static memory. To trigger, corrupt one of the static regions. - Code 0xC001: Illegal Instruction exception. This occurs when the processor attempts to execute an illegal instruction. To trigger this, write an illegal instruction to program memory. It's possible that the bit error check will trigger before the illegal instruction is executed. - Code 0xC002 Instruction Fetch Error. Internal physical address or a data error during instruction fetch: this is not possible to trigger. - Code 0xC003 Load Store Error. Internal physical address or data error during load store operation: this is not possible to trigger.. - Code 0xC004 Privileged Instruction. Attempt to execute a privileged operation without sufficient privilege: this is not possible to trigger. - Code 0xC005 Unaligned Load or Store. Attempt to load or store data at an address which cannot be handled due to alignment: this is not possible to trigger. - Code 0xC006 Instruction fetch from prohibited space: this is not possible to trigger. - Code 0xC007 Data load from prohibited space: this is not possible to trigger. - Code 0xC008 Data store into prohibited space: this is not possible to trigger. */ - unsigned int message : 16; /* 1E.C850.F:0 RO */ - /* Error code describing fault */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFaultMessage_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Primary Status: 1E.C851 */ -/* Global Primary Status: 1E.C851 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Primary Status */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C851.0 RO Primary Status - AQ_GlobalPrimaryStatus_APPIA.u0.bits_0.primaryStatus - - - - 1 = PHY is the primary PHY - 0 = PHY is is secondary PHY - - */ - unsigned int primaryStatus : 1; /* 1E.C851.0 RO */ - /* 1 = PHY is the primary PHY - 0 = PHY is is secondary PHY - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalPrimaryStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Impedance: 1E.C880 */ -/* Global Cable Diagnostic Impedance: 1E.C880 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C880.F RO Reserved 1 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_1 - - - - Reserved for future use - - */ - unsigned int reserved_1 : 1; /* 1E.C880.F RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.E:C RO Pair A Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_1 : 3; /* 1E.C880.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.B RO Reserved 2 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_2 - - - - Reserved for future use - - */ - unsigned int reserved_2 : 1; /* 1E.C880.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.A:8 RO Pair A Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_2 : 3; /* 1E.C880.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.7 RO Reserved 3 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_3 - - - - Reserved for future use - - */ - unsigned int reserved_3 : 1; /* 1E.C880.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.6:4 RO Pair A Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_3 : 3; /* 1E.C880.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.3 RO Reserved 4 - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.reserved_4 - - - - Reserved for future use - - */ - unsigned int reserved_4 : 1; /* 1E.C880.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C880.2:0 RO Pair A Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u0.bits_0.pairAReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_4 : 3; /* 1E.C880.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C881.F RO Reserved 5 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_5 - - - - Reserved for future use - - */ - unsigned int reserved_5 : 1; /* 1E.C881.F RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.E:C RO Pair B Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_1 : 3; /* 1E.C881.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.B RO Reserved 6 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_6 - - - - Reserved for future use - - */ - unsigned int reserved_6 : 1; /* 1E.C881.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.A:8 RO Pair B Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_2 : 3; /* 1E.C881.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.7 RO Reserved 7 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_7 - - - - Reserved for future use - - */ - unsigned int reserved_7 : 1; /* 1E.C881.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.6:4 RO Pair B Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_3 : 3; /* 1E.C881.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.3 RO Reserved 8 - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.reserved_8 - - - - Reserved for future use - - */ - unsigned int reserved_8 : 1; /* 1E.C881.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C881.2:0 RO Pair B Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u1.bits_1.pairBReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_4 : 3; /* 1E.C881.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C882.F RO Reserved 9 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_9 - - - - Reserved for future use - - */ - unsigned int reserved_9 : 1; /* 1E.C882.F RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.E:C RO Pair C Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_1 : 3; /* 1E.C882.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.B RO Reserved 10 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_10 - - - - Reserved for future use - - */ - unsigned int reserved_10 : 1; /* 1E.C882.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.A:8 RO Pair C Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_2 : 3; /* 1E.C882.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.7 RO Reserved 11 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_11 - - - - Reserved for future use - - */ - unsigned int reserved_11 : 1; /* 1E.C882.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.6:4 RO Pair C Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_3 : 3; /* 1E.C882.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.3 RO Reserved 12 - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.reserved_12 - - - - Reserved for future use - - */ - unsigned int reserved_12 : 1; /* 1E.C882.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C882.2:0 RO Pair C Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u2.bits_2.pairCReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_4 : 3; /* 1E.C882.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C883.F RO Reserved 13 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_13 - - - - Reserved for future use - - */ - unsigned int reserved_13 : 1; /* 1E.C883.F RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.E:C RO Pair D Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_1 : 3; /* 1E.C883.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.B RO Reserved 14 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_14 - - - - Reserved for future use - - */ - unsigned int reserved_14 : 1; /* 1E.C883.B RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.A:8 RO Pair D Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_2 : 3; /* 1E.C883.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.7 RO Reserved 15 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_15 - - - - Reserved for future use - - */ - unsigned int reserved_15 : 1; /* 1E.C883.7 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.6:4 RO Pair D Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_3 : 3; /* 1E.C883.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.3 RO Reserved 16 - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.reserved_16 - - - - Reserved for future use - - */ - unsigned int reserved_16 : 1; /* 1E.C883.3 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C883.2:0 RO Pair D Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_APPIA.u3.bits_3.pairDReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_4 : 3; /* 1E.C883.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalCableDiagnosticImpedance_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Status: 1E.C884 */ -/* Global Status: 1E.C884 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Status */ - union - { - struct - { - /*! \brief 1E.C884.F:8 RO Reserved Status 0 [7:0] - AQ_GlobalStatus_APPIA.u0.bits_0.reservedStatus_0 - - - - Reserved for future use - - */ - unsigned int reservedStatus_0 : 8; /* 1E.C884.F:8 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C884.7:0 RO Cable Length [7:0] - AQ_GlobalStatus_APPIA.u0.bits_0.cableLength - - - - The estimated length of the cable in meters - - - Notes: - The length of the cable shown here is estimated from the cable diagnostic engine and should be accurate to +/-1m. */ - unsigned int cableLength : 8; /* 1E.C884.7:0 RO */ - /* The estimated length of the cable in meters - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Status: 1E.C885 */ -/* Global Reserved Status: 1E.C885 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C885.F:A RO Nearly Seconds MSW[5:0] - AQ_GlobalReservedStatus_APPIA.u0.bits_0.nearlySecondsMSW - - - - Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsMSW : 6; /* 1E.C885.F:A RO */ - /* Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - */ - /*! \brief 1E.C885.9:8 ROSPD XENPAK NVR Status [1:0] - AQ_GlobalReservedStatus_APPIA.u0.bits_0.xenpakNvrStatus - - Provisionable Default = 0x0 - - Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - - - Notes: - XENPAK register space is mirrored in NVR (SPI ROM). This register indicates the status of the last NVR operation. */ - unsigned int xenpakNvrStatus : 2; /* 1E.C885.9:8 ROSPD Provisionable Default = 0x0 */ - /* Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - */ - /*! \brief 1E.C885.7:0 ROSPD ROM Revision [7:0] - AQ_GlobalReservedStatus_APPIA.u0.bits_0.romRevision - - Provisionable Default = 0x00 - - ROM Revision Number - - - Notes: - Customers may receive multiple ROM images that differ only in their provisioning. This field is used to differentiate those images. This field is used in conjunction with the firmware major and minor revision numbers to uniquely identify ROM images. */ - unsigned int romRevision : 8; /* 1E.C885.7:0 ROSPD Provisionable Default = 0x00 */ - /* ROM Revision Number - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C886.F:0 RO Nearly Seconds LSW[F:0] - AQ_GlobalReservedStatus_APPIA.u1.bits_1.nearlySecondsLSW - - - - Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter. - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsLSW : 16; /* 1E.C886.F:0 RO */ - /* Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter. - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalReservedStatus_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Alarms: 1E.CC00 */ -/* Global Alarms: 1E.CC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Alarms */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.CC00.E LH High Temperature Failure - AQ_GlobalAlarms_APPIA.u0.bits_0.highTemperatureFailure - - - - 1 = High temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureFailure : 1; /* 1E.CC00.E LH */ - /* 1 = High temperature failure threshold has been exceeded - */ - /*! \brief 1E.CC00.D LH Low Temperature Failure - AQ_GlobalAlarms_APPIA.u0.bits_0.lowTemperatureFailure - - - - 1 = Low temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureFailure : 1; /* 1E.CC00.D LH */ - /* 1 = Low temperature failure threshold has been exceeded - */ - /*! \brief 1E.CC00.C LH High Temperature Warning - AQ_GlobalAlarms_APPIA.u0.bits_0.highTemperatureWarning - - - - 1 = High temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureWarning : 1; /* 1E.CC00.C LH */ - /* 1 = High temperature warning threshold has been exceeded - */ - /*! \brief 1E.CC00.B LH Low Temperature Warning - AQ_GlobalAlarms_APPIA.u0.bits_0.lowTemperatureWarning - - - - 1 = Low temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureWarning : 1; /* 1E.CC00.B LH */ - /* 1 = Low temperature warning threshold has been exceeded - */ - unsigned int reserved1 : 4; - /*! \brief 1E.CC00.6 LH Reset completed - AQ_GlobalAlarms_APPIA.u0.bits_0.resetCompleted - - - - 1 = Chip wide reset completed - - Notes: - This bit is set by the microprocessor when it has completed it's initialization sequence. This bit is mirrored in 1.CC02.0 */ - unsigned int resetCompleted : 1; /* 1E.CC00.6 LH */ - /* 1 = Chip wide reset completed */ - unsigned int reserved2 : 1; - /*! \brief 1E.CC00.4 LH Device Fault - AQ_GlobalAlarms_APPIA.u0.bits_0.deviceFault - - - - 1 = Fault - - Notes: - When set, a fault has been detected by the uP and the associated 16 bit error code is visible in See Global Configuration Fault Message: Address 1E.C850 */ - unsigned int deviceFault : 1; /* 1E.CC00.4 LH */ - /* 1 = Fault */ - /*! \brief 1E.CC00.3 LH Reserved Alarm A - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmA - - - - Reserved for future use - - */ - unsigned int reservedAlarmA : 1; /* 1E.CC00.3 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.2 LH Reserved Alarm B - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmB - - - - Reserved for future use - - */ - unsigned int reservedAlarmB : 1; /* 1E.CC00.2 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.1 LH Reserved Alarm C - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmC - - - - Reserved for future use - - */ - unsigned int reservedAlarmC : 1; /* 1E.CC00.1 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.0 LH Reserved Alarm D - AQ_GlobalAlarms_APPIA.u0.bits_0.reservedAlarmD - - - - Reserved for future use - - */ - unsigned int reservedAlarmD : 1; /* 1E.CC00.0 LH */ - /* Reserved for future use - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Alarms */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.CC01.E LH Smart Power-Down Entered - AQ_GlobalAlarms_APPIA.u1.bits_1.smartPower_downEntered - - - - 1 = Smart Power-Down State Entered - - - Notes: - When this bit is set, it indicates that the Smart Power-Down state was entered */ - unsigned int smartPower_downEntered : 1; /* 1E.CC01.E LH */ - /* 1 = Smart Power-Down State Entered - */ - /*! \brief 1E.CC01.D RO XENPAK Alarm - AQ_GlobalAlarms_APPIA.u1.bits_1.xenpakAlarm - - - - 1 = XENPAK Alarm - - - Notes: - This alarm is performed by H/W. */ - unsigned int xenpakAlarm : 1; /* 1E.CC01.D RO */ - /* 1 = XENPAK Alarm - */ - /*! \brief 1E.CC01.C:8 LH Reserved Alarms [4:0] - AQ_GlobalAlarms_APPIA.u1.bits_1.reservedAlarms - - - - Reserved for future use - - */ - unsigned int reservedAlarms : 5; /* 1E.CC01.C:8 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC01.7 LH MDIO Command Handling Overflow - AQ_GlobalAlarms_APPIA.u1.bits_1.mdioCommandHandlingOverflow - - - - 1 = PHY was issued more MDIO requests than it could service in it's request buffer - - - Notes: - Assertion of this bit means that more MDIO commands were issued than FW could handle. */ - unsigned int mdioCommandHandlingOverflow : 1; /* 1E.CC01.7 LH */ - /* 1 = PHY was issued more MDIO requests than it could service in it's request buffer - */ - unsigned int reserved1 : 6; - /*! \brief 1E.CC01.0 LH Diagnostic Alarm - AQ_GlobalAlarms_APPIA.u1.bits_1.diagnosticAlarm - - - - 1 = Alarm triggered by a write to 1E.C470.7 - - - Notes: - A diagnostic alarm use to test system alarm circuitry */ - unsigned int diagnosticAlarm : 1; /* 1E.CC01.0 LH */ - /* 1 = Alarm triggered by a write to 1E.C470.7 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC02.F LH NVR Operation Complete - AQ_GlobalAlarms_APPIA.u2.bits_2.nvrOperationComplete - - - - 1 = NVR operation is complete - - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 . */ - unsigned int nvrOperationComplete : 1; /* 1E.CC02.F LH */ - /* 1 = NVR operation is complete - */ - /*! \brief 1E.CC02.E LH Mailbox Operation: Complete - AQ_GlobalAlarms_APPIA.u2.bits_2.mailboxOperation_Complete - - - - 1 = Mailbox operation is complete - - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperation_Complete : 1; /* 1E.CC02.E LH */ - /* 1 = Mailbox operation is complete - */ - unsigned int reserved0 : 3; - /*! \brief 1E.CC02.A LH uP DRAM Parity Error - AQ_GlobalAlarms_APPIA.u2.bits_2.upDramParityError - - - - 1 = Parity error detected in the uP DRAM - - */ - unsigned int upDramParityError : 1; /* 1E.CC02.A LH */ - /* 1 = Parity error detected in the uP DRAM - */ - /*! \brief 1E.CC02.9:8 LH uP IRAM Parity Error [1:0] - AQ_GlobalAlarms_APPIA.u2.bits_2.upIramParityError - - - - 1 = Parity error detected in the uP IRAM - - - Notes: - Bit 0 indicates a parity error was detected in the uP IRAM but was corrected. - Bit 1 indicates a multiple parity errors were detected in the uP IRAM and could not be corrected. - The uP IRAM is protected with ECC. */ - unsigned int upIramParityError : 2; /* 1E.CC02.9:8 LH */ - /* 1 = Parity error detected in the uP IRAM - */ - unsigned int reserved1 : 2; - /*! \brief 1E.CC02.5 LRF Tx Enable State Change - AQ_GlobalAlarms_APPIA.u2.bits_2.txEnableStateChange - - - - 1 = TX_EN pin has changed state - - */ - unsigned int txEnableStateChange : 1; /* 1E.CC02.5 LRF */ - /* 1 = TX_EN pin has changed state - */ - unsigned int reserved2 : 2; - /*! \brief 1E.CC02.2 LH MDIO MMD Error - AQ_GlobalAlarms_APPIA.u2.bits_2.mdioMMD_Error - - - - 1 = Invalid MMD address detected - - */ - unsigned int mdioMMD_Error : 1; /* 1E.CC02.2 LH */ - /* 1 = Invalid MMD address detected - */ - /*! \brief 1E.CC02.1 LH MDIO Timeout Error - AQ_GlobalAlarms_APPIA.u2.bits_2.mdioTimeoutError - - - - 1 = MDIO timeout detected - - */ - unsigned int mdioTimeoutError : 1; /* 1E.CC02.1 LH */ - /* 1 = MDIO timeout detected - */ - /*! \brief 1E.CC02.0 LH Watchdog Timer Alarm - AQ_GlobalAlarms_APPIA.u2.bits_2.watchdogTimerAlarm - - - - 1 = Watchdog timer alarm - - */ - unsigned int watchdogTimerAlarm : 1; /* 1E.CC02.0 LH */ - /* 1 = Watchdog timer alarm - */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalAlarms_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Mask: 1E.D400 */ -/* Global Interrupt Mask: 1E.D400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Mask */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.D400.E R/WPD High Temperature Failure Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.highTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureFailureMask : 1; /* 1E.D400.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.D R/WPD Low Temperature Failure Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.lowTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureFailureMask : 1; /* 1E.D400.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.C R/WPD High Temperature Warning Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.highTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureWarningMask : 1; /* 1E.D400.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.B R/WPD Low Temperature Warning Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.lowTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureWarningMask : 1; /* 1E.D400.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved1 : 4; - /*! \brief 1E.D400.6 R/WPD Reset completed Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.resetCompletedMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int resetCompletedMask : 1; /* 1E.D400.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 1; - /*! \brief 1E.D400.4 R/WPD Device Fault Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.deviceFaultMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int deviceFaultMask : 1; /* 1E.D400.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.3 R/WPD Reserved Alarm A Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmAMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmAMask : 1; /* 1E.D400.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.2 R/WPD Reserved Alarm B Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmBMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmBMask : 1; /* 1E.D400.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.1 R/WPD Reserved Alarm C Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmCMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmCMask : 1; /* 1E.D400.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.0 R/WPD Reserved Alarm D Mask - AQ_GlobalInterruptMask_APPIA.u0.bits_0.reservedAlarmDMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmDMask : 1; /* 1E.D400.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Interrupt Mask */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.D401.E R/WPD Smart Power-Down Entered Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.smartPower_downEnteredMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int smartPower_downEnteredMask : 1; /* 1E.D401.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.D R/WPD XENPAK Alarm Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.xenpakAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int xenpakAlarmMask : 1; /* 1E.D401.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D401.C:8 R/WPD Reserved Alarms Mask [4:0] - AQ_GlobalInterruptMask_APPIA.u1.bits_1.reservedAlarmsMask - - Provisionable Default = 0x00 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmsMask : 5; /* 1E.D401.C:8 R/WPD Provisionable Default = 0x00 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.7 R/WPD MDIO Command Handling Overflow Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.mdioCommandHandlingOverflowMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int mdioCommandHandlingOverflowMask : 1; /* 1E.D401.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved1 : 6; - /*! \brief 1E.D401.0 R/WPD Diagnostic Alarm Mask - AQ_GlobalInterruptMask_APPIA.u1.bits_1.diagnosticAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int diagnosticAlarmMask : 1; /* 1E.D401.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D402.F R/WPD NVR Operation Complete Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.nvrOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 */ - unsigned int nvrOperationCompleteMask : 1; /* 1E.D402.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.E R/WPD Mailbox Operation Complete Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.mailboxOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperationCompleteMask : 1; /* 1E.D402.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 3; - /*! \brief 1E.D402.A R/WPD uP DRAM Parity Error Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.upDramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upDramParityErrorMask : 1; /* 1E.D402.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D402.9:8 R/WPD uP IRAM Parity Error Mask [1:0] - AQ_GlobalInterruptMask_APPIA.u2.bits_2.upIramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upIramParityErrorMask : 2; /* 1E.D402.9:8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved1 : 2; - /*! \brief 1E.D402.5 R/WPD Tx Enable State Change Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.txEnableStateChangeMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int txEnableStateChangeMask : 1; /* 1E.D402.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 2; - /*! \brief 1E.D402.2 R/WPD MDIO MMD Error Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.mdioMMD_ErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioMMD_ErrorMask : 1; /* 1E.D402.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.1 R/WPD MDIO Timeout Error Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.mdioTimeoutErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioTimeoutErrorMask : 1; /* 1E.D402.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.0 R/WPD Watchdog Timer Alarm Mask - AQ_GlobalInterruptMask_APPIA.u2.bits_2.watchdogTimerAlarmMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int watchdogTimerAlarmMask : 1; /* 1E.D402.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalInterruptMask_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/* Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Standard Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC00.F RO PMA Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pmaStandardAlarm_1Interrupt - - - - 1 = Interrupt in PMA standard alarms 1 - - - Notes: - An interrupt was generated from bit 1.1.2. - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pmaStandardAlarm_1Interrupt : 1; /* 1E.FC00.F RO */ - /* 1 = Interrupt in PMA standard alarms 1 - */ - /*! \brief 1E.FC00.E RO PMA Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pmaStandardAlarm_2Interrupt - - - - 1 = Interrupt in PMA standard alarms 2 - - - Notes: - An interrupt was generated from either bit 1.8.B or 1.8.A. - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pmaStandardAlarm_2Interrupt : 1; /* 1E.FC00.E RO */ - /* 1 = Interrupt in PMA standard alarms 2 - */ - /*! \brief 1E.FC00.D RO PCS Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pcsStandardAlarm_1Interrupt - - - - 1 = Interrupt in PCS standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pcsStandardAlarm_1Interrupt : 1; /* 1E.FC00.D RO */ - /* 1 = Interrupt in PCS standard alarms 1 - */ - /*! \brief 1E.FC00.C RO PCS Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pcsStandardAlarm_2Interrupt - - - - 1 = Interrupt in PCS standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pcsStandardAlarm_2Interrupt : 1; /* 1E.FC00.C RO */ - /* 1 = Interrupt in PCS standard alarms 2 - */ - /*! \brief 1E.FC00.B RO PCS Standard Alarm 3 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.pcsStandardAlarm_3Interrupt - - - - 1 = Interrupt in PCS standard alarms 3 - - - Notes: - An interrupt was generated from status register ( See PCS 10GBASE-T Status 2 - Address 3.21 ) and the corresponding mask register. ( See PCS Standard Interrupt Mask 1 - Address 3.E021 ) */ - unsigned int pcsStandardAlarm_3Interrupt : 1; /* 1E.FC00.B RO */ - /* 1 = Interrupt in PCS standard alarms 3 - */ - /*! \brief 1E.FC00.A RO PHY XS Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.phyXS_StandardAlarms_1Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 1 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int phyXS_StandardAlarms_1Interrupt : 1; /* 1E.FC00.A RO */ - /* 1 = Interrupt in PHY XS standard alarms 1 - */ - /*! \brief 1E.FC00.9 RO PHY XS Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.phyXS_StandardAlarms_2Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 2 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int phyXS_StandardAlarms_2Interrupt : 1; /* 1E.FC00.9 RO */ - /* 1 = Interrupt in PHY XS standard alarms 2 - */ - /*! \brief 1E.FC00.8 RO Autonegotiation Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.autonegotiationStandardAlarms_1Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See Autonegotiation Standard LASI Interrupt Mask 1: Address 7.D000 ) */ - unsigned int autonegotiationStandardAlarms_1Interrupt : 1; /* 1E.FC00.8 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 1 - */ - /*! \brief 1E.FC00.7 RO Autonegotiation Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.autonegotiationStandardAlarms_2Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See Autonegotiation 10GBASE-T Status Register - Address 7.21 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int autonegotiationStandardAlarms_2Interrupt : 1; /* 1E.FC00.7 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 2 - */ - /*! \brief 1E.FC00.6 RO GbE Standard Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.gbeStandardAlarmsInterrupt - - - - 1 = Interrupt in GbE standard alarms - - - Notes: - An interrupt was generated from the TGE core. */ - unsigned int gbeStandardAlarmsInterrupt : 1; /* 1E.FC00.6 RO */ - /* 1 = Interrupt in GbE standard alarms - */ - unsigned int reserved0 : 5; - /*! \brief 1E.FC00.0 RO All Vendor Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_APPIA.u0.bits_0.allVendorAlarmsInterrupt - - - - 1 = Interrupt in all vendor alarms - - - Notes: - An interrupt was generated from status register ( See Global Chip-Wide LASI Vendor Interrupt Flags: Address 1E.FC01 ) and the corresponding mask register. ( See Global Interrupt LASI Mask: Address 1E.FF01 ) */ - unsigned int allVendorAlarmsInterrupt : 1; /* 1E.FC00.0 RO */ - /* 1 = Interrupt in all vendor alarms - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideStandardInterruptFlags_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/* Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Vendor Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC01.F RO PMA Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.pmaVendorAlarmInterrupt - - - - 1 = Interrupt in PMA vendor specific alarm - - - Notes: - A PMA alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pmaVendorAlarmInterrupt : 1; /* 1E.FC01.F RO */ - /* 1 = Interrupt in PMA vendor specific alarm - */ - /*! \brief 1E.FC01.E RO PCS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.pcsVendorAlarmInterrupt - - - - 1 = Interrupt in PCS vendor specific alarm - - - Notes: - A PCS alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pcsVendorAlarmInterrupt : 1; /* 1E.FC01.E RO */ - /* 1 = Interrupt in PCS vendor specific alarm - */ - /*! \brief 1E.FC01.D RO PHY XS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.phyXS_VendorAlarmInterrupt - - - - 1 = Interrupt in PHY XS vendor specific alarm - - - Notes: - A PHY XS alarm was generated. ( See PHY XS Vendor Global LASI Interrupt Flags 1: Address 4.FC00 ) */ - unsigned int phyXS_VendorAlarmInterrupt : 1; /* 1E.FC01.D RO */ - /* 1 = Interrupt in PHY XS vendor specific alarm - */ - /*! \brief 1E.FC01.C RO Autonegotiation Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.autonegotiationVendorAlarmInterrupt - - - - 1 = Interrupt in Autonegotiation vendor specific alarm - - - Notes: - An Autonegotiation alarm was generated. ( See Autonegotiation Vendor Global LASI Interrupt Flags 1: Address 7.FC00 ) */ - unsigned int autonegotiationVendorAlarmInterrupt : 1; /* 1E.FC01.C RO */ - /* 1 = Interrupt in Autonegotiation vendor specific alarm - */ - /*! \brief 1E.FC01.B RO GbE Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.gbeVendorAlarmInterrupt - - - - 1 = Interrupt in GbE vendor specific alarm - - - Notes: - A GbE alarm was generated. ( See GbE PHY Vendor Global LASI Interrupt Flags 1: Address 1D.FC00 ) */ - unsigned int gbeVendorAlarmInterrupt : 1; /* 1E.FC01.B RO */ - /* 1 = Interrupt in GbE vendor specific alarm - */ - unsigned int reserved0 : 8; - /*! \brief 1E.FC01.2 RO Global Alarms 1 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.globalAlarms_1Interrupt - - - - 1 = Interrupt in Global alarms 1 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 1 - Address 1E.CC00 ) and the corresponding mask register. ( See Global Vendor Interrupt Mask - Address 1E.D400 ) */ - unsigned int globalAlarms_1Interrupt : 1; /* 1E.FC01.2 RO */ - /* 1 = Interrupt in Global alarms 1 - */ - /*! \brief 1E.FC01.1 RO Global Alarms 2 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.globalAlarms_2Interrupt - - - - 1 = Interrupt in Global alarms 2 - - - Notes: - An interrupt was generated from status register ( See Global Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_2Interrupt : 1; /* 1E.FC01.1 RO */ - /* 1 = Interrupt in Global alarms 2 - */ - /*! \brief 1E.FC01.0 RO Global Alarms 3 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_APPIA.u0.bits_0.globalAlarms_3Interrupt - - - - 1 = Interrupt in Global alarms 3 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_3Interrupt : 1; /* 1E.FC01.0 RO */ - /* 1 = Interrupt in Global alarms 3 - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideVendorInterruptFlags_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/* Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Standard Mask */ - union - { - struct - { - /*! \brief 1E.FF00.F R/WPD PMA Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pmaStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_1InterruptMask : 1; /* 1E.FF00.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.E R/WPD PMA Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pmaStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_2InterruptMask : 1; /* 1E.FF00.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.D R/WPD PCS Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pcsStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_1InterruptMask : 1; /* 1E.FF00.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.C R/WPD PCS Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pcsStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_2InterruptMask : 1; /* 1E.FF00.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.B R/WPD PCS Standard Alarm 3 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.pcsStandardAlarm_3InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_3InterruptMask : 1; /* 1E.FF00.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.A R/WPD PHY XS Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.phyXS_StandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_1InterruptMask : 1; /* 1E.FF00.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.9 R/WPD PHY XS Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.phyXS_StandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_2InterruptMask : 1; /* 1E.FF00.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.8 R/WPD Autonegotiation Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.autonegotiationStandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_1InterruptMask : 1; /* 1E.FF00.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.7 R/WPD Autonegotiation Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.autonegotiationStandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_2InterruptMask : 1; /* 1E.FF00.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.6 R/WPD Gbe Standard Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.gbeStandardAlarmsInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeStandardAlarmsInterruptMask : 1; /* 1E.FF00.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 5; - /*! \brief 1E.FF00.0 R/WPD All Vendor Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_APPIA.u0.bits_0.allVendorAlarmsInterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int allVendorAlarmsInterruptMask : 1; /* 1E.FF00.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideStandardMask_APPIA; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/* Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Vendor Mask */ - union - { - struct - { - /*! \brief 1E.FF01.F R/WPD PMA Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.pmaVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaVendorAlarmInterruptMask : 1; /* 1E.FF01.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.E R/WPD PCS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.pcsVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsVendorAlarmInterruptMask : 1; /* 1E.FF01.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.D R/WPD PHY XS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.phyXS_VendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_VendorAlarmInterruptMask : 1; /* 1E.FF01.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.C R/WPD Autonegotiation Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.autonegotiationVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationVendorAlarmInterruptMask : 1; /* 1E.FF01.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.B R/WPD GbE Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.gbeVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeVendorAlarmInterruptMask : 1; /* 1E.FF01.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 8; - /*! \brief 1E.FF01.2 R/WPD Global Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.globalAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_1InterruptMask : 1; /* 1E.FF01.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.1 R/WPD Global Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.globalAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_2InterruptMask : 1; /* 1E.FF01.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.0 R/WPD Global Alarms 3 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_APPIA.u0.bits_0.globalAlarms_3InterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_3InterruptMask : 1; /* 1E.FF01.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideVendorMask_APPIA; - -#endif -/*@}*/ -/*@}*/ diff --git a/qca/aq-fw-download/src/include/registerMap/AQ_RegGroupMaxSizes.h b/qca/aq-fw-download/src/include/registerMap/AQ_RegGroupMaxSizes.h deleted file mode 100644 index 08e255860..000000000 --- a/qca/aq-fw-download/src/include/registerMap/AQ_RegGroupMaxSizes.h +++ /dev/null @@ -1,387 +0,0 @@ -/* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ -#ifndef AQ_REG_GROUP_MAX_SIZES -#define AQ_REG_GROUP_MAX_SIZES - -#define AQ_Autonegotiation10GBaseT_ControlRegister_BiggestVersion AQ_Autonegotiation10GBaseT_ControlRegister_HHD -#define AQ_Autonegotiation10GBaseT_StatusRegister_BiggestVersion AQ_Autonegotiation10GBaseT_StatusRegister_HHD -#define AQ_AutonegotiationAdvertisementRegister_BiggestVersion AQ_AutonegotiationAdvertisementRegister_HHD -#define AQ_AutonegotiationEeeAdvertisementRegister_BiggestVersion AQ_AutonegotiationEeeAdvertisementRegister_HHD -#define AQ_AutonegotiationEeeLinkPartnerAbilityRegister_BiggestVersion AQ_AutonegotiationEeeLinkPartnerAbilityRegister_HHD -#define AQ_AutonegotiationExtendedNextPageTransmitRegister_BiggestVersion AQ_AutonegotiationExtendedNextPageTransmitRegister_HHD -#define AQ_AutonegotiationExtendedNextPageUnformattedCodeRegister_BiggestVersion AQ_AutonegotiationExtendedNextPageUnformattedCodeRegister_HHD -#define AQ_AutonegotiationLinkPartnerBasePageAbilityRegister_BiggestVersion AQ_AutonegotiationLinkPartnerBasePageAbilityRegister_HHD -#define AQ_AutonegotiationLinkPartnerExtendedNextPageAbilityRegister_BiggestVersion AQ_AutonegotiationLinkPartnerExtendedNextPageAbilityRegister_HHD -#define AQ_AutonegotiationLinkPartnerExtendedNextPageUnformattedCodeRegister_BiggestVersion AQ_AutonegotiationLinkPartnerExtendedNextPageUnformattedCodeRegister_HHD -#define AQ_AutonegotiationReceiveLinkPartnerStatus_BiggestVersion AQ_AutonegotiationReceiveLinkPartnerStatus_HHD -#define AQ_AutonegotiationReceiveReservedVendorProvisioning_BiggestVersion AQ_AutonegotiationReceiveReservedVendorProvisioning_APPIA -#define AQ_AutonegotiationReceiveReservedVendorStatus_BiggestVersion AQ_AutonegotiationReceiveReservedVendorStatus_HHD -#define AQ_AutonegotiationReceiveVendorAlarms_BiggestVersion AQ_AutonegotiationReceiveVendorAlarms_HHD -#define AQ_AutonegotiationReceiveVendorInterruptMask_BiggestVersion AQ_AutonegotiationReceiveVendorInterruptMask_HHD -#define AQ_AutonegotiationReservedVendorProvisioning_BiggestVersion AQ_AutonegotiationReservedVendorProvisioning_HHD -#define AQ_AutonegotiationReservedVendorStatus_BiggestVersion AQ_AutonegotiationReservedVendorStatus_HHD -#define AQ_AutonegotiationStandardControl_1_BiggestVersion AQ_AutonegotiationStandardControl_1_HHD -#define AQ_AutonegotiationStandardDeviceIdentifier_BiggestVersion AQ_AutonegotiationStandardDeviceIdentifier_HHD -#define AQ_AutonegotiationStandardDevicesInPackage_BiggestVersion AQ_AutonegotiationStandardDevicesInPackage_HHD -#define AQ_AutonegotiationStandardInterruptMask_BiggestVersion AQ_AutonegotiationStandardInterruptMask_HHD -#define AQ_AutonegotiationStandardPackageIdentifier_BiggestVersion AQ_AutonegotiationStandardPackageIdentifier_HHD -#define AQ_AutonegotiationStandardStatus_1_BiggestVersion AQ_AutonegotiationStandardStatus_1_HHD -#define AQ_AutonegotiationStandardStatus_2_BiggestVersion AQ_AutonegotiationStandardStatus_2_HHD -#define AQ_AutonegotiationTransmitVendorAlarms_BiggestVersion AQ_AutonegotiationTransmitVendorAlarms_APPIA -#define AQ_AutonegotiationTransmitVendorInterruptMask_BiggestVersion AQ_AutonegotiationTransmitVendorInterruptMask_HHD -#define AQ_AutonegotiationVendorGlobalInterruptFlags_BiggestVersion AQ_AutonegotiationVendorGlobalInterruptFlags_HHD -#define AQ_AutonegotiationVendorProvisioning_BiggestVersion AQ_AutonegotiationVendorProvisioning_HHD -#define AQ_AutonegotiationVendorStatus_BiggestVersion AQ_AutonegotiationVendorStatus_HHD -#define AQ_GbePhyExtendedWolControl_BiggestVersion AQ_GbePhyExtendedWolControl_HHD -#define AQ_GbePhySgmii0RxStatus_BiggestVersion AQ_GbePhySgmii0RxStatus_HHD -#define AQ_GbePhySgmii0TxStatus_BiggestVersion AQ_GbePhySgmii0TxStatus_HHD -#define AQ_GbePhySgmii1RxStatus_BiggestVersion AQ_GbePhySgmii1RxStatus_HHD -#define AQ_GbePhySgmii1TxStatus_BiggestVersion AQ_GbePhySgmii1TxStatus_HHD -#define AQ_GbePhySgmii1WolStatus_BiggestVersion AQ_GbePhySgmii1WolStatus_HHD -#define AQ_GbePhySgmiiRxAlarms_BiggestVersion AQ_GbePhySgmiiRxAlarms_HHD -#define AQ_GbePhySgmiiRxInterruptMask_BiggestVersion AQ_GbePhySgmiiRxInterruptMask_HHD -#define AQ_GbePhySgmiiTestControl_BiggestVersion AQ_GbePhySgmiiTestControl_HHD -#define AQ_GbePhySgmiiTxAlarms_BiggestVersion AQ_GbePhySgmiiTxAlarms_HHD -#define AQ_GbePhySgmiiTxInterruptMask_BiggestVersion AQ_GbePhySgmiiTxInterruptMask_HHD -#define AQ_GbePhySgmiiWolStatus_BiggestVersion AQ_GbePhySgmiiWolStatus_HHD -#define AQ_GbePhyVendorGlobalInterruptFlags_BiggestVersion AQ_GbePhyVendorGlobalInterruptFlags_HHD -#define AQ_GbePhyWolControl_BiggestVersion AQ_GbePhyWolControl_HHD -#define AQ_GbePhysgmii1WolStatus_BiggestVersion AQ_GbePhysgmii1WolStatus_APPIA -#define AQ_GbeReservedProvisioning_BiggestVersion AQ_GbeReservedProvisioning_HHD -#define AQ_GbeStandardDeviceIdentifier_BiggestVersion AQ_GbeStandardDeviceIdentifier_HHD -#define AQ_GbeStandardDevicesInPackage_BiggestVersion AQ_GbeStandardDevicesInPackage_HHD -#define AQ_GbeStandardPackageIdentifier_BiggestVersion AQ_GbeStandardPackageIdentifier_HHD -#define AQ_GbeStandardStatus_2_BiggestVersion AQ_GbeStandardStatus_2_HHD -#define AQ_GbeStandardVendorDevicesInPackage_BiggestVersion AQ_GbeStandardVendorDevicesInPackage_HHD -#define AQ_GlobalAlarms_BiggestVersion AQ_GlobalAlarms_HHD -#define AQ_GlobalCableDiagnosticImpedance_BiggestVersion AQ_GlobalCableDiagnosticImpedance_HHD -#define AQ_GlobalCableDiagnosticStatus_BiggestVersion AQ_GlobalCableDiagnosticStatus_APPIA -#define AQ_GlobalChipIdentification_BiggestVersion AQ_GlobalChipIdentification_APPIA -#define AQ_GlobalChipRevision_BiggestVersion AQ_GlobalChipRevision_APPIA -#define AQ_GlobalChip_wideStandardInterruptFlags_BiggestVersion AQ_GlobalChip_wideStandardInterruptFlags_HHD -#define AQ_GlobalChip_wideVendorInterruptFlags_BiggestVersion AQ_GlobalChip_wideVendorInterruptFlags_HHD -#define AQ_GlobalControl_BiggestVersion AQ_GlobalControl_HHD -#define AQ_GlobalDaisyChainStatus_BiggestVersion AQ_GlobalDaisyChainStatus_HHD -#define AQ_GlobalDiagnosticProvisioning_BiggestVersion AQ_GlobalDiagnosticProvisioning_HHD -#define AQ_GlobalEeeProvisioning_BiggestVersion AQ_GlobalEeeProvisioning_HHD -#define AQ_GlobalFaultMessage_BiggestVersion AQ_GlobalFaultMessage_HHD -#define AQ_GlobalFirmwareID_BiggestVersion AQ_GlobalFirmwareID_HHD -#define AQ_GlobalGeneralProvisioning_BiggestVersion AQ_GlobalGeneralProvisioning_HHD -#define AQ_GlobalGeneralStatus_BiggestVersion AQ_GlobalGeneralStatus_HHD -#define AQ_GlobalInterruptChip_wideStandardMask_BiggestVersion AQ_GlobalInterruptChip_wideStandardMask_HHD -#define AQ_GlobalInterruptChip_wideVendorMask_BiggestVersion AQ_GlobalInterruptChip_wideVendorMask_HHD -#define AQ_GlobalInterruptMask_BiggestVersion AQ_GlobalInterruptMask_HHD -#define AQ_GlobalLedProvisioning_BiggestVersion AQ_GlobalLedProvisioning_HHD -#define AQ_GlobalMailboxInterface_BiggestVersion AQ_GlobalMailboxInterface_HHD -#define AQ_GlobalMicroprocessorScratchPad_BiggestVersion AQ_GlobalMicroprocessorScratchPad_HHD -#define AQ_GlobalNvrInterface_BiggestVersion AQ_GlobalNvrInterface_HHD -#define AQ_GlobalNvrProvisioning_BiggestVersion AQ_GlobalNvrProvisioning_HHD -#define AQ_GlobalPinStatus_BiggestVersion AQ_GlobalPinStatus_HHD -#define AQ_GlobalPrimaryStatus_BiggestVersion AQ_GlobalPrimaryStatus_APPIA -#define AQ_GlobalReservedProvisioning_BiggestVersion AQ_GlobalReservedProvisioning_HHD -#define AQ_GlobalReservedStatus_BiggestVersion AQ_GlobalReservedStatus_HHD -#define AQ_GlobalResetControl_BiggestVersion AQ_GlobalResetControl_HHD -#define AQ_GlobalSmbus_0Provisioning_BiggestVersion AQ_GlobalSmbus_0Provisioning_HHD -#define AQ_GlobalSmbus_1Provisioning_BiggestVersion AQ_GlobalSmbus_1Provisioning_HHD -#define AQ_GlobalStandardControl_1_BiggestVersion AQ_GlobalStandardControl_1_HHD -#define AQ_GlobalStandardDeviceIdentifier_BiggestVersion AQ_GlobalStandardDeviceIdentifier_HHD -#define AQ_GlobalStandardDevicesInPackage_BiggestVersion AQ_GlobalStandardDevicesInPackage_HHD -#define AQ_GlobalStandardPackageIdentifier_BiggestVersion AQ_GlobalStandardPackageIdentifier_HHD -#define AQ_GlobalStandardStatus_2_BiggestVersion AQ_GlobalStandardStatus_2_HHD -#define AQ_GlobalStandardVendorDevicesInPackage_BiggestVersion AQ_GlobalStandardVendorDevicesInPackage_HHD -#define AQ_GlobalStatus_BiggestVersion AQ_GlobalStatus_HHD -#define AQ_GlobalThermalProvisioning_BiggestVersion AQ_GlobalThermalProvisioning_HHD -#define AQ_GlobalThermalStatus_BiggestVersion AQ_GlobalThermalStatus_HHD -#define AQ_Kr0AutonegotiationAdvertisementWord_BiggestVersion AQ_Kr0AutonegotiationAdvertisementWord_HHD -#define AQ_Kr0AutonegotiationControl_BiggestVersion AQ_Kr0AutonegotiationControl_HHD -#define AQ_Kr0AutonegotiationExtendedNextPageAdvertisementWord_BiggestVersion AQ_Kr0AutonegotiationExtendedNextPageAdvertisementWord_HHD -#define AQ_Kr0AutonegotiationStatus_BiggestVersion AQ_Kr0AutonegotiationStatus_HHD -#define AQ_Kr0LinkPartnerAutonegotiationAdvertisementWord_BiggestVersion AQ_Kr0LinkPartnerAutonegotiationAdvertisementWord_HHD -#define AQ_Kr0LinkPartnerAutonegotiationExtendedNextPageAdvertisementWord_BiggestVersion AQ_Kr0LinkPartnerAutonegotiationExtendedNextPageAdvertisementWord_HHD -#define AQ_Kr1AutonegotiationAdvertisementWord_BiggestVersion AQ_Kr1AutonegotiationAdvertisementWord_HHD -#define AQ_Kr1AutonegotiationControl_BiggestVersion AQ_Kr1AutonegotiationControl_HHD -#define AQ_Kr1AutonegotiationExtendedNextPageAdvertisementWord_BiggestVersion AQ_Kr1AutonegotiationExtendedNextPageAdvertisementWord_HHD -#define AQ_Kr1AutonegotiationStatus_BiggestVersion AQ_Kr1AutonegotiationStatus_HHD -#define AQ_Kr1LinkPartnerAutonegotiationAdvertisementWord_BiggestVersion AQ_Kr1LinkPartnerAutonegotiationAdvertisementWord_HHD -#define AQ_Kr1LinkPartnerAutonegotiationExtendedNextPageAdvertisementWord_BiggestVersion AQ_Kr1LinkPartnerAutonegotiationExtendedNextPageAdvertisementWord_HHD -#define AQ_MsmLineFifoControlRegister_BiggestVersion AQ_MsmLineFifoControlRegister_HHD -#define AQ_MsmLineGeneralControlRegister_BiggestVersion AQ_MsmLineGeneralControlRegister_HHD -#define AQ_MsmLineGeneralStatusRegister_BiggestVersion AQ_MsmLineGeneralStatusRegister_HHD -#define AQ_MsmLineRxAlignmentErrorsCounterRegister_BiggestVersion AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD -#define AQ_MsmLineRxBroadcastFramesCounterRegister_BiggestVersion AQ_MsmLineRxBroadcastFramesCounterRegister_HHD -#define AQ_MsmLineRxErrorsCounterRegister_BiggestVersion AQ_MsmLineRxErrorsCounterRegister_HHD -#define AQ_MsmLineRxFcsErrorsCounterRegister_BiggestVersion AQ_MsmLineRxFcsErrorsCounterRegister_HHD -#define AQ_MsmLineRxGoodFramesCounterRegister_BiggestVersion AQ_MsmLineRxGoodFramesCounterRegister_HHD -#define AQ_MsmLineRxInRangeLengthErrorsCounterRegister_BiggestVersion AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD -#define AQ_MsmLineRxMulticastFramesCounterRegister_BiggestVersion AQ_MsmLineRxMulticastFramesCounterRegister_HHD -#define AQ_MsmLineRxOctetsCounterRegister_BiggestVersion AQ_MsmLineRxOctetsCounterRegister_HHD -#define AQ_MsmLineRxPauseFramesCounterRegister_BiggestVersion AQ_MsmLineRxPauseFramesCounterRegister_HHD -#define AQ_MsmLineRxTooLongErrorsCounterRegister_BiggestVersion AQ_MsmLineRxTooLongErrorsCounterRegister_HHD -#define AQ_MsmLineRxUnicastFramesCounterRegister_BiggestVersion AQ_MsmLineRxUnicastFramesCounterRegister_HHD -#define AQ_MsmLineRxVlanFramesCounterRegister_BiggestVersion AQ_MsmLineRxVlanFramesCounterRegister_HHD -#define AQ_MsmLineTxBroadcastFramesCounterRegister_BiggestVersion AQ_MsmLineTxBroadcastFramesCounterRegister_HHD -#define AQ_MsmLineTxErrorsCounterRegister_BiggestVersion AQ_MsmLineTxErrorsCounterRegister_HHD -#define AQ_MsmLineTxGoodFramesCounterRegister_BiggestVersion AQ_MsmLineTxGoodFramesCounterRegister_HHD -#define AQ_MsmLineTxIpgControlRegister_BiggestVersion AQ_MsmLineTxIpgControlRegister_HHD -#define AQ_MsmLineTxMulticastFramesCounterRegister_BiggestVersion AQ_MsmLineTxMulticastFramesCounterRegister_HHD -#define AQ_MsmLineTxOctetsCounterRegister_BiggestVersion AQ_MsmLineTxOctetsCounterRegister_HHD -#define AQ_MsmLineTxPauseFramesCounterRegister_BiggestVersion AQ_MsmLineTxPauseFramesCounterRegister_HHD -#define AQ_MsmLineTxUnicastFramesCounterRegister_BiggestVersion AQ_MsmLineTxUnicastFramesCounterRegister_HHD -#define AQ_MsmLineTxVlanFramesCounterRegister_BiggestVersion AQ_MsmLineTxVlanFramesCounterRegister_HHD -#define AQ_MsmSystemFifoControlRegister_BiggestVersion AQ_MsmSystemFifoControlRegister_HHD -#define AQ_MsmSystemGeneralControlRegister_BiggestVersion AQ_MsmSystemGeneralControlRegister_HHD -#define AQ_MsmSystemGeneralStatusRegister_BiggestVersion AQ_MsmSystemGeneralStatusRegister_HHD -#define AQ_MsmSystemRxAlignmentErrorsCounterRegister_BiggestVersion AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD -#define AQ_MsmSystemRxBroadcastFramesCounterRegister_BiggestVersion AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD -#define AQ_MsmSystemRxErrorsCounterRegister_BiggestVersion AQ_MsmSystemRxErrorsCounterRegister_HHD -#define AQ_MsmSystemRxFcsErrorsCounterRegister_BiggestVersion AQ_MsmSystemRxFcsErrorsCounterRegister_HHD -#define AQ_MsmSystemRxGoodFramesCounterRegister_BiggestVersion AQ_MsmSystemRxGoodFramesCounterRegister_HHD -#define AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_BiggestVersion AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD -#define AQ_MsmSystemRxMulticastFramesCounterRegister_BiggestVersion AQ_MsmSystemRxMulticastFramesCounterRegister_HHD -#define AQ_MsmSystemRxOctetsCounterRegister_BiggestVersion AQ_MsmSystemRxOctetsCounterRegister_HHD -#define AQ_MsmSystemRxPauseFramesCounterRegister_BiggestVersion AQ_MsmSystemRxPauseFramesCounterRegister_HHD -#define AQ_MsmSystemRxTooLongErrorsCounterRegister_BiggestVersion AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD -#define AQ_MsmSystemRxUnicastFramesCounterRegister_BiggestVersion AQ_MsmSystemRxUnicastFramesCounterRegister_HHD -#define AQ_MsmSystemRxVlanFramesCounterRegister_BiggestVersion AQ_MsmSystemRxVlanFramesCounterRegister_HHD -#define AQ_MsmSystemTxBroadcastFramesCounterRegister_BiggestVersion AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD -#define AQ_MsmSystemTxErrorsCounterRegister_BiggestVersion AQ_MsmSystemTxErrorsCounterRegister_HHD -#define AQ_MsmSystemTxGoodFramesCounterRegister_BiggestVersion AQ_MsmSystemTxGoodFramesCounterRegister_HHD -#define AQ_MsmSystemTxIpgControlRegister_BiggestVersion AQ_MsmSystemTxIpgControlRegister_HHD -#define AQ_MsmSystemTxMulticastFramesCounterRegister_BiggestVersion AQ_MsmSystemTxMulticastFramesCounterRegister_HHD -#define AQ_MsmSystemTxOctetsCounterRegister_BiggestVersion AQ_MsmSystemTxOctetsCounterRegister_HHD -#define AQ_MsmSystemTxPauseFramesCounterRegister_BiggestVersion AQ_MsmSystemTxPauseFramesCounterRegister_HHD -#define AQ_MsmSystemTxUnicastFramesCounterRegister_BiggestVersion AQ_MsmSystemTxUnicastFramesCounterRegister_HHD -#define AQ_MsmSystemTxVlanFramesCounterRegister_BiggestVersion AQ_MsmSystemTxVlanFramesCounterRegister_HHD -#define AQ_MssEgressControlRegister_BiggestVersion AQ_MssEgressControlRegister_HHD -#define AQ_MssEgressEccInterruptStatusRegister_BiggestVersion AQ_MssEgressEccInterruptStatusRegister_HHD -#define AQ_MssEgressInterruptMaskRegister_BiggestVersion AQ_MssEgressInterruptMaskRegister_HHD -#define AQ_MssEgressInterruptStatusRegister_BiggestVersion AQ_MssEgressInterruptStatusRegister_HHD -#define AQ_MssEgressLutAddressControlRegister_BiggestVersion AQ_MssEgressLutAddressControlRegister_HHD -#define AQ_MssEgressLutControlRegister_BiggestVersion AQ_MssEgressLutControlRegister_HHD -#define AQ_MssEgressLutDataControlRegister_BiggestVersion AQ_MssEgressLutDataControlRegister_HHD -#define AQ_MssEgressMtuSizeControlRegister_BiggestVersion AQ_MssEgressMtuSizeControlRegister_HHD -#define AQ_MssEgressPnControlRegister_BiggestVersion AQ_MssEgressPnControlRegister_HHD -#define AQ_MssEgressSaExpiredStatusRegister_BiggestVersion AQ_MssEgressSaExpiredStatusRegister_HHD -#define AQ_MssEgressSaThresholdExpiredStatusRegister_BiggestVersion AQ_MssEgressSaThresholdExpiredStatusRegister_HHD -#define AQ_MssEgressVlanControlRegister_BiggestVersion AQ_MssEgressVlanControlRegister_HHD -#define AQ_MssEgressVlanTpid_0Register_BiggestVersion AQ_MssEgressVlanTpid_0Register_HHD -#define AQ_MssEgressVlanTpid_1Register_BiggestVersion AQ_MssEgressVlanTpid_1Register_HHD -#define AQ_MssIngressControlRegister_BiggestVersion AQ_MssIngressControlRegister_HHD -#define AQ_MssIngressEccInterruptStatusRegister_BiggestVersion AQ_MssIngressEccInterruptStatusRegister_HHD -#define AQ_MssIngressInterruptMaskRegister_BiggestVersion AQ_MssIngressInterruptMaskRegister_HHD -#define AQ_MssIngressInterruptStatusRegister_BiggestVersion AQ_MssIngressInterruptStatusRegister_HHD -#define AQ_MssIngressLutAddressControlRegister_BiggestVersion AQ_MssIngressLutAddressControlRegister_HHD -#define AQ_MssIngressLutControlRegister_BiggestVersion AQ_MssIngressLutControlRegister_HHD -#define AQ_MssIngressLutDataControlRegister_BiggestVersion AQ_MssIngressLutDataControlRegister_HHD -#define AQ_MssIngressMtuSizeControlRegister_BiggestVersion AQ_MssIngressMtuSizeControlRegister_HHD -#define AQ_MssIngressSaControlRegister_BiggestVersion AQ_MssIngressSaControlRegister_HHD -#define AQ_MssIngressSaExpiredStatusRegister_BiggestVersion AQ_MssIngressSaExpiredStatusRegister_HHD -#define AQ_MssIngressSaIcvErrorStatusRegister_BiggestVersion AQ_MssIngressSaIcvErrorStatusRegister_HHD -#define AQ_MssIngressSaReplayErrorStatusRegister_BiggestVersion AQ_MssIngressSaReplayErrorStatusRegister_HHD -#define AQ_MssIngressSaThresholdExpiredStatusRegister_BiggestVersion AQ_MssIngressSaThresholdExpiredStatusRegister_HHD -#define AQ_MssIngressVlanControlRegister_BiggestVersion AQ_MssIngressVlanControlRegister_HHD -#define AQ_MssIngressVlanTpid_0Register_BiggestVersion AQ_MssIngressVlanTpid_0Register_HHD -#define AQ_MssIngressVlanTpid_1Register_BiggestVersion AQ_MssIngressVlanTpid_1Register_HHD -#define AQ_Pcs10GBaseT_Status_BiggestVersion AQ_Pcs10GBaseT_Status_APPIA -#define AQ_Pcs10G_Status_BiggestVersion AQ_Pcs10G_Status_HHD -#define AQ_Pcs10G_base_rPcsTest_patternControl_BiggestVersion AQ_Pcs10G_base_rPcsTest_patternControl_HHD -#define AQ_Pcs10G_base_rPcsTest_patternErrorCounter_BiggestVersion AQ_Pcs10G_base_rPcsTest_patternErrorCounter_HHD -#define AQ_Pcs10G_base_rTestPatternSeedA_BiggestVersion AQ_Pcs10G_base_rTestPatternSeedA_HHD -#define AQ_Pcs10G_base_rTestPatternSeedB_BiggestVersion AQ_Pcs10G_base_rTestPatternSeedB_HHD -#define AQ_PcsEeeCapabilityRegister_BiggestVersion AQ_PcsEeeCapabilityRegister_HHD -#define AQ_PcsEeeWakeErrorCounter_BiggestVersion AQ_PcsEeeWakeErrorCounter_HHD -#define AQ_PcsReceiveStandardInterruptMask_BiggestVersion AQ_PcsReceiveStandardInterruptMask_APPIA -#define AQ_PcsReceiveVendorAlarms_BiggestVersion AQ_PcsReceiveVendorAlarms_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_1IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_1IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_2IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_2IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_3IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_3IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_4IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_4IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_5IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_5IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_6IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_6IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_7IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_7IterationCounter_HHD -#define AQ_PcsReceiveVendorCorrectedFrame_8IterationCounter_BiggestVersion AQ_PcsReceiveVendorCorrectedFrame_8IterationCounter_HHD -#define AQ_PcsReceiveVendorCrc_8ErrorCounter_BiggestVersion AQ_PcsReceiveVendorCrc_8ErrorCounter_HHD -#define AQ_PcsReceiveVendorDebug_BiggestVersion AQ_PcsReceiveVendorDebug_HHD -#define AQ_PcsReceiveVendorFcsErrorFrameCounter_BiggestVersion AQ_PcsReceiveVendorFcsErrorFrameCounter_HHD -#define AQ_PcsReceiveVendorFcsNoErrorFrameCounter_BiggestVersion AQ_PcsReceiveVendorFcsNoErrorFrameCounter_HHD -#define AQ_PcsReceiveVendorInterruptMask_BiggestVersion AQ_PcsReceiveVendorInterruptMask_HHD -#define AQ_PcsReceiveVendorProvisioning_BiggestVersion AQ_PcsReceiveVendorProvisioning_HHD -#define AQ_PcsReceiveVendorState_BiggestVersion AQ_PcsReceiveVendorState_HHD -#define AQ_PcsReceiveVendorUncorrectedFrameCounter_BiggestVersion AQ_PcsReceiveVendorUncorrectedFrameCounter_HHD -#define AQ_PcsReceiveXfi0Provisioning_BiggestVersion AQ_PcsReceiveXfi0Provisioning_HHD -#define AQ_PcsReceiveXfi0VendorState_BiggestVersion AQ_PcsReceiveXfi0VendorState_HHD -#define AQ_PcsReceiveXfi1Provisioning_BiggestVersion AQ_PcsReceiveXfi1Provisioning_HHD -#define AQ_PcsReceiveXfi1VendorState_BiggestVersion AQ_PcsReceiveXfi1VendorState_HHD -#define AQ_PcsSerdesMuxSwapTxrxRegister_BiggestVersion AQ_PcsSerdesMuxSwapTxrxRegister_HHD -#define AQ_PcsStandardControl_1_BiggestVersion AQ_PcsStandardControl_1_HHD -#define AQ_PcsStandardControl_2_BiggestVersion AQ_PcsStandardControl_2_HHD -#define AQ_PcsStandardDeviceIdentifier_BiggestVersion AQ_PcsStandardDeviceIdentifier_HHD -#define AQ_PcsStandardDevicesInPackage_BiggestVersion AQ_PcsStandardDevicesInPackage_HHD -#define AQ_PcsStandardInterruptMask_BiggestVersion AQ_PcsStandardInterruptMask_HHD -#define AQ_PcsStandardPackageIdentifier_BiggestVersion AQ_PcsStandardPackageIdentifier_HHD -#define AQ_PcsStandardSpeedAbility_BiggestVersion AQ_PcsStandardSpeedAbility_HHD -#define AQ_PcsStandardStatus_1_BiggestVersion AQ_PcsStandardStatus_1_HHD -#define AQ_PcsStandardStatus_2_BiggestVersion AQ_PcsStandardStatus_2_HHD -#define AQ_PcsTransmitReservedVendorProvisioning_BiggestVersion AQ_PcsTransmitReservedVendorProvisioning_HHD -#define AQ_PcsTransmitVendorAlarms_BiggestVersion AQ_PcsTransmitVendorAlarms_APPIA -#define AQ_PcsTransmitVendorDebug_BiggestVersion AQ_PcsTransmitVendorDebug_HHD -#define AQ_PcsTransmitVendorFcsErrorFrameCounter_BiggestVersion AQ_PcsTransmitVendorFcsErrorFrameCounter_HHD -#define AQ_PcsTransmitVendorFcsNoErrorFrameCounter_BiggestVersion AQ_PcsTransmitVendorFcsNoErrorFrameCounter_HHD -#define AQ_PcsTransmitVendorInterruptMask_BiggestVersion AQ_PcsTransmitVendorInterruptMask_APPIA -#define AQ_PcsTransmitVendorProvisioning_BiggestVersion AQ_PcsTransmitVendorProvisioning_HHD -#define AQ_PcsTransmitXfi0VendorProvisioning_BiggestVersion AQ_PcsTransmitXfi0VendorProvisioning_HHD -#define AQ_PcsTransmitXfi0VendorState_BiggestVersion AQ_PcsTransmitXfi0VendorState_HHD -#define AQ_PcsTransmitXfi1VendorProvisioning_BiggestVersion AQ_PcsTransmitXfi1VendorProvisioning_HHD -#define AQ_PcsTransmitXfi1VendorState_BiggestVersion AQ_PcsTransmitXfi1VendorState_HHD -#define AQ_PcsTransmitXfiVendorProvisioning_BiggestVersion AQ_PcsTransmitXfiVendorProvisioning_HHD -#define AQ_PcsTransmitXgsVendorState_BiggestVersion AQ_PcsTransmitXgsVendorState_HHD -#define AQ_PcsVendorGlobalInterruptFlags_BiggestVersion AQ_PcsVendorGlobalInterruptFlags_HHD -#define AQ_PhyXS_EeeCapabilityRegister_BiggestVersion AQ_PhyXS_EeeCapabilityRegister_HHD -#define AQ_PhyXS_EeeWakeErrorCounter_BiggestVersion AQ_PhyXS_EeeWakeErrorCounter_HHD -#define AQ_PhyXS_Receive_xauiTx_PcsStatus_BiggestVersion AQ_PhyXS_Receive_xauiTx_PcsStatus_HHD -#define AQ_PhyXS_Receive_xauiTx_ReservedVendorProvisioning_BiggestVersion AQ_PhyXS_Receive_xauiTx_ReservedVendorProvisioning_HHD -#define AQ_PhyXS_Receive_xauiTx_VendorAlarms_BiggestVersion AQ_PhyXS_Receive_xauiTx_VendorAlarms_HHD -#define AQ_PhyXS_Receive_xauiTx_VendorDebug_BiggestVersion AQ_PhyXS_Receive_xauiTx_VendorDebug_HHD -#define AQ_PhyXS_Receive_xauiTx_VendorInterruptMask_BiggestVersion AQ_PhyXS_Receive_xauiTx_VendorInterruptMask_HHD -#define AQ_PhyXS_SerdesConfiguration_BiggestVersion AQ_PhyXS_SerdesConfiguration_HHD -#define AQ_PhyXS_SerdesLane_0Configuration_BiggestVersion AQ_PhyXS_SerdesLane_0Configuration_HHD -#define AQ_PhyXS_SerdesLane_1Configuration_BiggestVersion AQ_PhyXS_SerdesLane_1Configuration_HHD -#define AQ_PhyXS_SerdesLane_2Configuration_BiggestVersion AQ_PhyXS_SerdesLane_2Configuration_HHD -#define AQ_PhyXS_SerdesLane_3Configuration_BiggestVersion AQ_PhyXS_SerdesLane_3Configuration_HHD -#define AQ_PhyXS_SerdesLut_BiggestVersion AQ_PhyXS_SerdesLut_HHD -#define AQ_PhyXS_StandardControl_1_BiggestVersion AQ_PhyXS_StandardControl_1_HHD -#define AQ_PhyXS_StandardDeviceIdentifier_BiggestVersion AQ_PhyXS_StandardDeviceIdentifier_HHD -#define AQ_PhyXS_StandardDevicesInPackage_BiggestVersion AQ_PhyXS_StandardDevicesInPackage_HHD -#define AQ_PhyXS_StandardPackageIdentifier_BiggestVersion AQ_PhyXS_StandardPackageIdentifier_HHD -#define AQ_PhyXS_StandardSpeedAbility_BiggestVersion AQ_PhyXS_StandardSpeedAbility_HHD -#define AQ_PhyXS_StandardStatus_1_BiggestVersion AQ_PhyXS_StandardStatus_1_HHD -#define AQ_PhyXS_StandardStatus_2_BiggestVersion AQ_PhyXS_StandardStatus_2_HHD -#define AQ_PhyXS_StandardXGXS_LaneStatus_BiggestVersion AQ_PhyXS_StandardXGXS_LaneStatus_HHD -#define AQ_PhyXS_StandardXGXS_TestControl_BiggestVersion AQ_PhyXS_StandardXGXS_TestControl_HHD -#define AQ_PhyXS_SystemInterfaceConnectionStatus_BiggestVersion AQ_PhyXS_SystemInterfaceConnectionStatus_HHD -#define AQ_PhyXS_Transmit_xauiRx_PcsStatus_BiggestVersion AQ_PhyXS_Transmit_xauiRx_PcsStatus_HHD -#define AQ_PhyXS_Transmit_xauiRx_ReservedVendorProvisioning_BiggestVersion AQ_PhyXS_Transmit_xauiRx_ReservedVendorProvisioning_HHD -#define AQ_PhyXS_Transmit_xauiRx_ReservedVendorState_BiggestVersion AQ_PhyXS_Transmit_xauiRx_ReservedVendorState_HHD -#define AQ_PhyXS_Transmit_xauiRx_StandardInterruptMask_BiggestVersion AQ_PhyXS_Transmit_xauiRx_StandardInterruptMask_HHD -#define AQ_PhyXS_Transmit_xauiRx_TestPatternErrorCounter_BiggestVersion AQ_PhyXS_Transmit_xauiRx_TestPatternErrorCounter_HHD -#define AQ_PhyXS_Transmit_xauiRx_VendorAlarms_BiggestVersion AQ_PhyXS_Transmit_xauiRx_VendorAlarms_HHD -#define AQ_PhyXS_Transmit_xauiRx_VendorDebug_BiggestVersion AQ_PhyXS_Transmit_xauiRx_VendorDebug_HHD -#define AQ_PhyXS_Transmit_xauiRx_VendorInterruptMask_BiggestVersion AQ_PhyXS_Transmit_xauiRx_VendorInterruptMask_HHD -#define AQ_PhyXS_VendorGlobalInterruptFlags_BiggestVersion AQ_PhyXS_VendorGlobalInterruptFlags_HHD -#define AQ_PifMailboxControl_BiggestVersion AQ_PifMailboxControl_HHD -#define AQ_Pma10GBaseT_FastRetrainStatusAndControl_BiggestVersion AQ_Pma10GBaseT_FastRetrainStatusAndControl_HHD -#define AQ_Pma10GBaseT_PairSwapAndPolarityStatus_BiggestVersion AQ_Pma10GBaseT_PairSwapAndPolarityStatus_HHD -#define AQ_Pma10GBaseT_ReceiveSignalPowerChannelA_BiggestVersion AQ_Pma10GBaseT_ReceiveSignalPowerChannelA_HHD -#define AQ_Pma10GBaseT_ReceiveSignalPowerChannelB_BiggestVersion AQ_Pma10GBaseT_ReceiveSignalPowerChannelB_HHD -#define AQ_Pma10GBaseT_ReceiveSignalPowerChannelC_BiggestVersion AQ_Pma10GBaseT_ReceiveSignalPowerChannelC_HHD -#define AQ_Pma10GBaseT_ReceiveSignalPowerChannelD_BiggestVersion AQ_Pma10GBaseT_ReceiveSignalPowerChannelD_HHD -#define AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelA_BiggestVersion AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelA_HHD -#define AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelB_BiggestVersion AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelB_HHD -#define AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelC_BiggestVersion AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelC_HHD -#define AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelD_BiggestVersion AQ_Pma10GBaseT_SNR_MinimumOperatingMarginChannelD_HHD -#define AQ_Pma10GBaseT_SNR_OperatingMarginChannelA_BiggestVersion AQ_Pma10GBaseT_SNR_OperatingMarginChannelA_HHD -#define AQ_Pma10GBaseT_SNR_OperatingMarginChannelB_BiggestVersion AQ_Pma10GBaseT_SNR_OperatingMarginChannelB_HHD -#define AQ_Pma10GBaseT_SNR_OperatingMarginChannelC_BiggestVersion AQ_Pma10GBaseT_SNR_OperatingMarginChannelC_HHD -#define AQ_Pma10GBaseT_SNR_OperatingMarginChannelD_BiggestVersion AQ_Pma10GBaseT_SNR_OperatingMarginChannelD_HHD -#define AQ_Pma10GBaseT_SkewDelay_BiggestVersion AQ_Pma10GBaseT_SkewDelay_HHD -#define AQ_Pma10GBaseT_Status_BiggestVersion AQ_Pma10GBaseT_Status_HHD -#define AQ_Pma10GBaseT_TestModes_BiggestVersion AQ_Pma10GBaseT_TestModes_HHD -#define AQ_Pma10GBaseT_TxPowerBackoffAndShortReachSetting_BiggestVersion AQ_Pma10GBaseT_TxPowerBackoffAndShortReachSetting_HHD -#define AQ_PmaReceiveReservedVendorProvisioning_BiggestVersion AQ_PmaReceiveReservedVendorProvisioning_HHD -#define AQ_PmaReceiveReservedVendorState_BiggestVersion AQ_PmaReceiveReservedVendorState_HHD -#define AQ_PmaReceiveVendorState_BiggestVersion AQ_PmaReceiveVendorState_HHD -#define AQ_PmaStandardControl_1_BiggestVersion AQ_PmaStandardControl_1_HHD -#define AQ_PmaStandardControl_2_BiggestVersion AQ_PmaStandardControl_2_HHD -#define AQ_PmaStandardDeviceIdentifier_BiggestVersion AQ_PmaStandardDeviceIdentifier_HHD -#define AQ_PmaStandardDevicesInPackage_BiggestVersion AQ_PmaStandardDevicesInPackage_HHD -#define AQ_PmaStandardPackageIdentifier_BiggestVersion AQ_PmaStandardPackageIdentifier_HHD -#define AQ_PmaStandardSpeedAbility_BiggestVersion AQ_PmaStandardSpeedAbility_HHD -#define AQ_PmaStandardStatus_1_BiggestVersion AQ_PmaStandardStatus_1_HHD -#define AQ_PmaStandardStatus_2_BiggestVersion AQ_PmaStandardStatus_2_HHD -#define AQ_PmaTransmitReservedVendorProvisioning_BiggestVersion AQ_PmaTransmitReservedVendorProvisioning_HHD -#define AQ_PmaTransmitStandardInterruptMask_BiggestVersion AQ_PmaTransmitStandardInterruptMask_HHD -#define AQ_PmaTransmitVendorAlarms_BiggestVersion AQ_PmaTransmitVendorAlarms_HHD -#define AQ_PmaTransmitVendorDebug_BiggestVersion AQ_PmaTransmitVendorDebug_HHD -#define AQ_PmaTransmitVendorLASI_InterruptMask_BiggestVersion AQ_PmaTransmitVendorLASI_InterruptMask_HHD -#define AQ_PmaVendorGlobalInterruptFlags_BiggestVersion AQ_PmaVendorGlobalInterruptFlags_HHD -#define AQ_PmdStandard10G_ExtendedAbilityRegister_BiggestVersion AQ_PmdStandard10G_ExtendedAbilityRegister_HHD -#define AQ_PmdStandardSignalDetect_BiggestVersion AQ_PmdStandardSignalDetect_HHD -#define AQ_PmdStandardTransmitDisableControl_BiggestVersion AQ_PmdStandardTransmitDisableControl_HHD -#define AQ_Sgmii0WolStatus_BiggestVersion AQ_Sgmii0WolStatus_HHD -#define AQ_TimesyncPcsCapability_BiggestVersion AQ_TimesyncPcsCapability_HHD -#define AQ_TimesyncPcsReceivePathDataDelay_BiggestVersion AQ_TimesyncPcsReceivePathDataDelay_HHD -#define AQ_TimesyncPcsTransmitPathDataDelay_BiggestVersion AQ_TimesyncPcsTransmitPathDataDelay_HHD -#define AQ_TimesyncPhyXsCapability_BiggestVersion AQ_TimesyncPhyXsCapability_HHD -#define AQ_TimesyncPhyXsReceivePathDataDelay_BiggestVersion AQ_TimesyncPhyXsReceivePathDataDelay_HHD -#define AQ_TimesyncPhyXsTransmitPathDataDelay_BiggestVersion AQ_TimesyncPhyXsTransmitPathDataDelay_HHD -#define AQ_TimesyncPmaCapability_BiggestVersion AQ_TimesyncPmaCapability_HHD -#define AQ_TimesyncPmaReceivePathDataDelay_BiggestVersion AQ_TimesyncPmaReceivePathDataDelay_HHD -#define AQ_TimesyncPmaTransmitPathDataDelay_BiggestVersion AQ_TimesyncPmaTransmitPathDataDelay_HHD -#define AQ_XenpakBasic_ApsLoading_BiggestVersion AQ_XenpakBasic_ApsLoading_HHD -#define AQ_XenpakBasic_ApsVoltage_BiggestVersion AQ_XenpakBasic_ApsVoltage_HHD -#define AQ_XenpakBasic_BitRate_BiggestVersion AQ_XenpakBasic_BitRate_HHD -#define AQ_XenpakBasic_Checksum_BiggestVersion AQ_XenpakBasic_Checksum_HHD -#define AQ_XenpakBasic_ConnectorType_BiggestVersion AQ_XenpakBasic_ConnectorType_HHD -#define AQ_XenpakBasic_DomCapability_BiggestVersion AQ_XenpakBasic_DomCapability_HHD -#define AQ_XenpakBasic_Encoding_BiggestVersion AQ_XenpakBasic_Encoding_HHD -#define AQ_XenpakBasic_Low_powerStartupCapability_BiggestVersion AQ_XenpakBasic_Low_powerStartupCapability_HHD -#define AQ_XenpakBasic_PackageIdentifier_BiggestVersion AQ_XenpakBasic_PackageIdentifier_HHD -#define AQ_XenpakBasic_Protocol_BiggestVersion AQ_XenpakBasic_Protocol_HHD -#define AQ_XenpakBasic_Reserved_0x11_BiggestVersion AQ_XenpakBasic_Reserved_0x11_HHD -#define AQ_XenpakBasic_Reserved_0x19_BiggestVersion AQ_XenpakBasic_Reserved_0x19_HHD -#define AQ_XenpakBasic_Reserved_0x7c_BiggestVersion AQ_XenpakBasic_Reserved_0x7c_HHD -#define AQ_XenpakBasic_StandardsComplianceCodes_BiggestVersion AQ_XenpakBasic_StandardsComplianceCodes_HHD -#define AQ_XenpakBasic_TransceiverType_BiggestVersion AQ_XenpakBasic_TransceiverType_HHD -#define AQ_XenpakBasic_VendorDateCode_BiggestVersion AQ_XenpakBasic_VendorDateCode_HHD -#define AQ_XenpakBasic_VendorIdentifier_BiggestVersion AQ_XenpakBasic_VendorIdentifier_HHD -#define AQ_XenpakBasic_VendorName_BiggestVersion AQ_XenpakBasic_VendorName_HHD -#define AQ_XenpakBasic_VendorPartNumber_BiggestVersion AQ_XenpakBasic_VendorPartNumber_HHD -#define AQ_XenpakBasic_VendorPartRevisionNumber_BiggestVersion AQ_XenpakBasic_VendorPartRevisionNumber_HHD -#define AQ_XenpakBasic_VendorSerialNumber_BiggestVersion AQ_XenpakBasic_VendorSerialNumber_HHD -#define AQ_XenpakBasic__3_3vLoading_BiggestVersion AQ_XenpakBasic__3_3vLoading_HHD -#define AQ_XenpakBasic__5vLoading_BiggestVersion AQ_XenpakBasic__5vLoading_HHD -#define AQ_XenpakControl_BiggestVersion AQ_XenpakControl_HHD -#define AQ_XenpakCustomer_Reserved_0x7e_BiggestVersion AQ_XenpakCustomer_Reserved_0x7e_HHD -#define AQ_XenpakDom_Alarms_BiggestVersion AQ_XenpakDom_Alarms_HHD -#define AQ_XenpakDom_Capability_BiggestVersion AQ_XenpakDom_Capability_HHD -#define AQ_XenpakDom_ControlAndStatus_BiggestVersion AQ_XenpakDom_ControlAndStatus_HHD -#define AQ_XenpakDom_HighTemperatureAlarmThresholdLSW_BiggestVersion AQ_XenpakDom_HighTemperatureAlarmThresholdLSW_HHD -#define AQ_XenpakDom_HighTemperatureAlarmThresholdMSW_BiggestVersion AQ_XenpakDom_HighTemperatureAlarmThresholdMSW_HHD -#define AQ_XenpakDom_HighTemperatureWarningThresholdLSW_BiggestVersion AQ_XenpakDom_HighTemperatureWarningThresholdLSW_HHD -#define AQ_XenpakDom_HighTemperatureWarningThresholdMSW_BiggestVersion AQ_XenpakDom_HighTemperatureWarningThresholdMSW_HHD -#define AQ_XenpakDom_LowTemperatureAlarmThresholdLSW_BiggestVersion AQ_XenpakDom_LowTemperatureAlarmThresholdLSW_HHD -#define AQ_XenpakDom_LowTemperatureAlarmThresholdMSW_BiggestVersion AQ_XenpakDom_LowTemperatureAlarmThresholdMSW_HHD -#define AQ_XenpakDom_LowTemperatureWarningThresholdLSW_BiggestVersion AQ_XenpakDom_LowTemperatureWarningThresholdLSW_HHD -#define AQ_XenpakDom_LowTemperatureWarningThresholdMSW_BiggestVersion AQ_XenpakDom_LowTemperatureWarningThresholdMSW_HHD -#define AQ_XenpakDom_Status_BiggestVersion AQ_XenpakDom_Status_HHD -#define AQ_XenpakDom_TemperatureLSW_BiggestVersion AQ_XenpakDom_TemperatureLSW_HHD -#define AQ_XenpakDom_TemperatureMSW_BiggestVersion AQ_XenpakDom_TemperatureMSW_HHD -#define AQ_XenpakDom_TxControl_BiggestVersion AQ_XenpakDom_TxControl_HHD -#define AQ_XenpakHeader_BasicMemoryStartAddress_BiggestVersion AQ_XenpakHeader_BasicMemoryStartAddress_HHD -#define AQ_XenpakHeader_CustomerMemoryOffset_BiggestVersion AQ_XenpakHeader_CustomerMemoryOffset_HHD -#define AQ_XenpakHeader_ExtendedVendorMemoryOffset_BiggestVersion AQ_XenpakHeader_ExtendedVendorMemoryOffset_HHD -#define AQ_XenpakHeader_MemoryUsed_BiggestVersion AQ_XenpakHeader_MemoryUsed_HHD -#define AQ_XenpakHeader_NvrSize_BiggestVersion AQ_XenpakHeader_NvrSize_HHD -#define AQ_XenpakHeader_VendorMemoryStartAddress_BiggestVersion AQ_XenpakHeader_VendorMemoryStartAddress_HHD -#define AQ_XenpakHeader_XenpakMsaVersionSupported_BiggestVersion AQ_XenpakHeader_XenpakMsaVersionSupported_HHD -#define AQ_XenpakLASI__Control_BiggestVersion AQ_XenpakLASI__Control_HHD -#define AQ_XenpakLASI__Status_BiggestVersion AQ_XenpakLASI__Status_HHD -#define AQ_XenpakRxAlarm_Control_BiggestVersion AQ_XenpakRxAlarm_Control_HHD -#define AQ_XenpakRxAlarm_Status_BiggestVersion AQ_XenpakRxAlarm_Status_HHD -#define AQ_XenpakTxAlarm_Control_BiggestVersion AQ_XenpakTxAlarm_Control_HHD -#define AQ_XenpakTxAlarm_Status_BiggestVersion AQ_XenpakTxAlarm_Status_HHD -#define AQ_XenpakVendor_Reserved_0xae_BiggestVersion AQ_XenpakVendor_Reserved_0xae_HHD - -#endif diff --git a/qca/aq-fw-download/src/include/registerMap/AQ_RegMaps.h b/qca/aq-fw-download/src/include/registerMap/AQ_RegMaps.h deleted file mode 100644 index 52a24e385..000000000 --- a/qca/aq-fw-download/src/include/registerMap/AQ_RegMaps.h +++ /dev/null @@ -1,69 +0,0 @@ -/*AQ_RegMaps.h*/ - -/************************************************************************************ -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* Description: -* -* This file contains includes all appropriate Aquantia PHY device-specific -* register map headers. -* -************************************************************************************/ - -/*! \file -* This file contains includes all appropriate Aquantia PHY device-specific -* register map headers. - */ - -#ifndef AQ_REGISTERMAPS_HEADER -#define AQ_REGISTERMAPS_HEADER - -#include "AQ_User.h" -#include "AQ_RegGroupMaxSizes.h" - - -#ifndef AQ_REVERSED_BITFIELD_ORDERING -/* - * Include non-reversed header files (bitfields ordered from LSbit to MSbit) - */ - -/* APPIA */ -#include "AQ_APPIA_Global_registers.h" - -#include "AQ_APPIA_Global_registers_Defines.h" - -/* HHD */ -#include "AQ_HHD_Global_registers.h" - -#include "AQ_HHD_Global_registers_Defines.h" - -#else -/* - * Include reversed header files (bitfields ordered from MSbit to LSbit) - */ - -/* APPIA */ -#include "AQ_APPIA_Global_registers_reversed.h" - -#include "AQ_APPIA_Global_registers_Defines.h" - -/* HHD */ -#include "AQ_HHD_Global_registers_reversed.h" - -#include "AQ_HHD_Global_registers_Defines.h" - -#endif - -#endif diff --git a/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers.h b/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers.h deleted file mode 100644 index e0a2fa27b..000000000 --- a/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers.h +++ /dev/null @@ -1,12123 +0,0 @@ -/*! \file -* This file contains the data structures and doxygen comments -* for the Global Registers block. - */ - -/*! \addtogroup registerMap - @{ -*/ - -/*! \defgroup Global_registers Global Registers -* This module contains the data structures and doxygen comments -* for the Global Registers block. - */ -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $Date: 2014/04/08 $ -* -* $Label: $ -* -* Description: -* -* This file contains the c header structures for the registers contained in the Global Registers block. -* -* The bit fields in this structure are from LSbit to MSbit -* -***********************************************************************/ - - -/*@{*/ -#ifndef AQ_HHD_GLOBAL_REGS_HEADER -#define AQ_HHD_GLOBAL_REGS_HEADER - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Control 1: 1E.0000 */ -/* Global Standard Control 1: 1E.0000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Control 1 */ - union - { - struct - { - unsigned int reserved1 : 11; - /*! \brief 1E.0000.B R/WPD Low Power - AQ_GlobalStandardControl_1_HHD.u0.bits_0.lowPower - - Provisionable Default = 0x0 - - 1 = Low-power mode - 0 = Normal operation - - - Notes: - A one written to this register causes the chip to enter low-power mode. This bit puts the entire chip in low-power mode, with only the MDIO and microprocessor functioning, and turns off the analog front-end: i.e. places it in high-impedance mode. Setting this bit also sets all of the Low Power bits in the other MMDs. */ - unsigned int lowPower : 1; /* 1E.0000.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Low-power mode - 0 = Normal operation - */ - unsigned int reserved0 : 3; - /*! \brief 1E.0000.F R/WSC Soft Reset - AQ_GlobalStandardControl_1_HHD.u0.bits_0.softReset - - Default = 0x1 - - 1 = Global soft reset - 0 = Normal operation - - - Notes: - Resets the entire PHY. - Setting this bit initiates a global soft reset on all of the digital logic not including the microprocessor (i.e. microprocessor is not reset). Upon completion of the reset sequence, this bit is set back to 0by the microprocessor. Note this bit is OR'ed with the individual MMD resets. This bit should be set to 0 before setting the individual MMD resets. */ - unsigned int softReset : 1; /* 1E.0000.F R/WSC Default = 0x1 */ - /* 1 = Global soft reset - 0 = Normal operation - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardControl_1_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Device Identifier: 1E.0002 */ -/* Global Standard Device Identifier: 1E.0002 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0002.F:0 RO Device ID MSW [1F:10] - AQ_GlobalStandardDeviceIdentifier_HHD.u0.bits_0.deviceIdMSW - - - - Bits 31 - 16 of Device ID - */ - unsigned int deviceIdMSW : 16; /* 1E.0002.F:0 RO */ - /* Bits 31 - 16 of Device ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0003.F:0 RO Device ID LSW [F:0] - AQ_GlobalStandardDeviceIdentifier_HHD.u1.bits_1.deviceIdLSW - - - - Bits 15 - 0 of Device ID - */ - unsigned int deviceIdLSW : 16; /* 1E.0003.F:0 RO */ - /* Bits 15 - 0 of Device ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardDeviceIdentifier_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Devices in Package: 1E.0005 */ -/* Global Standard Devices in Package: 1E.0005 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Devices in Package */ - union - { - struct - { - /*! \brief 1E.0005.0 ROS Clause 22 Registers Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.clause_22RegistersPresent - - Default = 0x0 - - 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package - - Notes: - This is always set to 0 in the PHY, as there are no Clause 22 registers in the device. */ - unsigned int clause_22RegistersPresent : 1; /* 1E.0005.0 ROS Default = 0x0 */ - /* 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package */ - /*! \brief 1E.0005.1 ROS PMA Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.pmaPresent - - Default = 0x1 - - 1 = PMA is present in package - 0 = PMA is not present - - Notes: - This is always set to 1 as there is PMA functionality in the PHY. */ - unsigned int pmaPresent : 1; /* 1E.0005.1 ROS Default = 0x1 */ - /* 1 = PMA is present in package - 0 = PMA is not present */ - /*! \brief 1E.0005.2 ROS WIS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.wisPresent - - Default = 0x0 - - 1 = WIS is present in package - 0 = WIS is not present in package - - Notes: - This is always set to 0, as there is no WIS functionality in the PHY. */ - unsigned int wisPresent : 1; /* 1E.0005.2 ROS Default = 0x0 */ - /* 1 = WIS is present in package - 0 = WIS is not present in package */ - /*! \brief 1E.0005.3 ROS PCS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.pcsPresent - - Default = 0x1 - - 1 = PCS is present in package - 0 = PCS is not present in package - - Notes: - This is always set to 1 as there is PCS functionality in the PHY. */ - unsigned int pcsPresent : 1; /* 1E.0005.3 ROS Default = 0x1 */ - /* 1 = PCS is present in package - 0 = PCS is not present in package */ - /*! \brief 1E.0005.4 ROS PHY XS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.phyXS_Present - - Default = 0x1 - - 1 = PHY XS is present in package - 0 = PHY XS is not present in package - - Notes: - This is always set to 1 as there is a PHY XS interface in the PHY. */ - unsigned int phyXS_Present : 1; /* 1E.0005.4 ROS Default = 0x1 */ - /* 1 = PHY XS is present in package - 0 = PHY XS is not present in package */ - /*! \brief 1E.0005.5 ROS DTE XS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.dteXsPresent - - Default = 0x0 - - 1 = DTE XS is present in package - 0 = DTE XS is not present in package - - - Notes: - This is always set to 0, as there is no DTE XAUI interface in the PHY. */ - unsigned int dteXsPresent : 1; /* 1E.0005.5 ROS Default = 0x0 */ - /* 1 = DTE XS is present in package - 0 = DTE XS is not present in package - */ - /*! \brief 1E.0005.6 ROS TC Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.tcPresent - - Default = 0x0 - - 1 = TC is present in package - 0 = TC is not present in package - - Notes: - This is always set to 0, as there is no TC functionality in the PHY. */ - unsigned int tcPresent : 1; /* 1E.0005.6 ROS Default = 0x0 */ - /* 1 = TC is present in package - 0 = TC is not present in package */ - /*! \brief 1E.0005.7 ROS Autonegotiation Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.autonegotiationPresent - - Default = 0x1 - - 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package - - Notes: - This is always set to 1, as there is Autonegotiation in the PHY. */ - unsigned int autonegotiationPresent : 1; /* 1E.0005.7 ROS Default = 0x1 */ - /* 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package */ - unsigned int reserved0 : 8; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardDevicesInPackage_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Vendor Devices in Package: 1E.0006 */ -/* Global Standard Vendor Devices in Package: 1E.0006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Vendor Devices in Package */ - union - { - struct - { - unsigned int reserved0 : 13; - /*! \brief 1E.0006.D ROS Clause 22 Extension Present - AQ_GlobalStandardVendorDevicesInPackage_HHD.u0.bits_0.clause_22ExtensionPresent - - Default = 0x1 - - 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the GbE registers. */ - unsigned int clause_22ExtensionPresent : 1; /* 1E.0006.D ROS Default = 0x1 */ - /* 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package */ - /*! \brief 1E.0006.E ROS Vendor Specific Device #1 Present - AQ_GlobalStandardVendorDevicesInPackage_HHD.u0.bits_0.vendorSpecificDevice_1Present - - Default = 0x1 - - 1 = Device #1 is present in package - 0 = Device #1 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the global control registers. */ - unsigned int vendorSpecificDevice_1Present : 1; /* 1E.0006.E ROS Default = 0x1 */ - /* 1 = Device #1 is present in package - 0 = Device #1 is not present in package */ - /*! \brief 1E.0006.F ROS Vendor Specific Device #2 Present - AQ_GlobalStandardVendorDevicesInPackage_HHD.u0.bits_0.vendorSpecificDevice_2Present - - Default = 0x1 - - 1 = Device #2 is present in package - 0 = Device #2 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the DSP PMA registers. */ - unsigned int vendorSpecificDevice_2Present : 1; /* 1E.0006.F ROS Default = 0x1 */ - /* 1 = Device #2 is present in package - 0 = Device #2 is not present in package */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardVendorDevicesInPackage_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Status 2: 1E.0008 */ -/* Global Standard Status 2: 1E.0008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Status 2 */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.0008.F:E ROS Device Present [1:0] - AQ_GlobalStandardStatus_2_HHD.u0.bits_0.devicePresent - - Default = 0x2 - - [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address - - Notes: - This field is always set to 0x2, as the Global MMD resides here in the PHY. */ - unsigned int devicePresent : 2; /* 1E.0008.F:E ROS Default = 0x2 */ - /* [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardStatus_2_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Package Identifier: 1E.000E */ -/* Global Standard Package Identifier: 1E.000E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000E.F:0 RO Package ID MSW [1F:10] - AQ_GlobalStandardPackageIdentifier_HHD.u0.bits_0.packageIdMSW - - - - Bits 31- 16 of Package ID - */ - unsigned int packageIdMSW : 16; /* 1E.000E.F:0 RO */ - /* Bits 31- 16 of Package ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000F.F:0 RO Package ID LSW [F:0] - AQ_GlobalStandardPackageIdentifier_HHD.u1.bits_1.packageIdLSW - - - - Bits 15 - 0 of Package ID - */ - unsigned int packageIdLSW : 16; /* 1E.000F.F:0 RO */ - /* Bits 15 - 0 of Package ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardPackageIdentifier_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Firmware ID: 1E.0020 */ -/* Global Firmware ID: 1E.0020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Firmware ID */ - union - { - struct - { - /*! \brief 1E.0020.7:0 RO Firmware Minor Revision Number [7:0] - AQ_GlobalFirmwareID_HHD.u0.bits_0.firmwareMinorRevisionNumber - - - - [7:0] = Minor revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMinorRevisionNumber : 8; /* 1E.0020.7:0 RO */ - /* [7:0] = Minor revision number */ - /*! \brief 1E.0020.F:8 RO Firmware Major Revision Number [7:0] - AQ_GlobalFirmwareID_HHD.u0.bits_0.firmwareMajorRevisionNumber - - - - [F:8] = Major revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMajorRevisionNumber : 8; /* 1E.0020.F:8 RO */ - /* [F:8] = Major revision number */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFirmwareID_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Interface: 1E.0100 */ -/* Global NVR Interface: 1E.0100 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0100.7:0 R/W NVR Opcode [7:0] - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrOpcode - - Default = 0x03 - - NVR instruction opcode - - */ - unsigned int nvrOpcode : 8; /* 1E.0100.7:0 R/W Default = 0x03 */ - /* NVR instruction opcode - */ - /*! \brief 1E.0100.8 RO NVR Busy - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrBusy - - - - 1 = NVR is busy - 0 = NVR is ready - - - Notes: - When set to 1, the NVR is busy. A new NVR operation should not occur until this bit is 0. If the NVR clock is greater than 64/63 of the MDIO clock, this bit never needs to be polled when operating over the MDIO. */ - unsigned int nvrBusy : 1; /* 1E.0100.8 RO */ - /* 1 = NVR is busy - 0 = NVR is ready - */ - unsigned int reserved1 : 1; - /*! \brief 1E.0100.A R/W NVR Burst - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrBurst - - Default = 0x0 - - 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - - - Notes: - When this bit is set, the operation is a burst operation where more than 32-bits is read from the NVR or written to the NVR. This bit should be set to one until the last burst in the read or write operation, when it should be set to zero. It operates by gating the SPI clock, and not restarting it until new data is ready to be written, or the previous contents have been read. Each burst of data requires the NVR Execute Operation bit to be set to initiate the next phase. */ - unsigned int nvrBurst : 1; /* 1E.0100.A R/W Default = 0x0 */ - /* 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0100.C R/WSC Reset NVR CRC - AQ_GlobalNvrInterface_HHD.u0.bits_0.resetNvrCrc - - Default = 0x0 - - 1 = Reset NVR Mailbox CRC calculation register - - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int resetNvrCrc : 1; /* 1E.0100.C R/WSC Default = 0x0 */ - /* 1 = Reset NVR Mailbox CRC calculation register - - */ - /*! \brief 1E.0100.D R/W Freeze NVR CRC - AQ_GlobalNvrInterface_HHD.u0.bits_0.freezeNvrCrc - - Default = 0x0 - - 1 = Freeze NVR Mailbox CRC calculation register - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int freezeNvrCrc : 1; /* 1E.0100.D R/W Default = 0x0 */ - /* 1 = Freeze NVR Mailbox CRC calculation register - */ - /*! \brief 1E.0100.E R/W NVR Write Mode - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrWriteMode - - Default = 0x0 - - 1 = Write to NVR - 0 = Read from NVR - - */ - unsigned int nvrWriteMode : 1; /* 1E.0100.E R/W Default = 0x0 */ - /* 1 = Write to NVR - 0 = Read from NVR - */ - /*! \brief 1E.0100.F R/WSC NVR Execute Operation - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrExecuteOperation - - Default = 0x0 - - 1 = Start NVR Operation - - - - Notes: - When set to 1, the NVR operation will begin. Ensure that the uP is stalled using the See MCP Run Stall bit to ensure no NVR contention. */ - unsigned int nvrExecuteOperation : 1; /* 1E.0100.F R/WSC Default = 0x0 */ - /* 1 = Start NVR Operation - - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0101.F:0 RO NVR Mailbox CRC [F:0] - AQ_GlobalNvrInterface_HHD.u1.bits_1.nvrMailboxCrc - - - - The running CRC-16 of everything passing through the NVR interface - - - Notes: - The CRC-16 over all data written or read through the NVR interface. The CRC-16 is calculated by dividing the data by: - x^16 + x^12 + x^5 + 1 */ - unsigned int nvrMailboxCrc : 16; /* 1E.0101.F:0 RO */ - /* The running CRC-16 of everything passing through the NVR interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0102.7:0 R/W NVR Address MSW [17:10] - AQ_GlobalNvrInterface_HHD.u2.bits_2.nvrAddressMSW - - Default = 0x00 - - NVR address MSW bits [17:10] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. The increment amount is based on the data length (i.e. increments by 4 if the data length is 4 bytes) */ - unsigned int nvrAddressMSW : 8; /* 1E.0102.7:0 R/W Default = 0x00 */ - /* NVR address MSW bits [17:10] - */ - unsigned int reserved0 : 8; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0103.F:0 R/W NVR Address LSW [F:0] - AQ_GlobalNvrInterface_HHD.u3.bits_3.nvrAddressLSW - - Default = 0x0000 - - NVR address LSW bits [F:0] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. */ - unsigned int nvrAddressLSW : 16; /* 1E.0103.F:0 R/W Default = 0x0000 */ - /* NVR address LSW bits [F:0] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0104.F:0 R/W NVR Data MSW [1F:10] - AQ_GlobalNvrInterface_HHD.u4.bits_4.nvrDataMSW - - Default = 0x0000 - - NVR data MSW bits [1F:10] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataMSW : 16; /* 1E.0104.F:0 R/W Default = 0x0000 */ - /* NVR data MSW bits [1F:10] - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0105.F:0 R/W NVR Data LSW [F:0] - AQ_GlobalNvrInterface_HHD.u5.bits_5.nvrDataLSW - - Default = 0x0000 - - NVR data LSW bits [F:0] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataLSW : 16; /* 1E.0105.F:0 R/W Default = 0x0000 */ - /* NVR data LSW bits [F:0] - */ - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalNvrInterface_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Mailbox Interface: 1E.0200 */ -/* Global Mailbox Interface: 1E.0200 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Mailbox Interface */ - union - { - struct - { - unsigned int reserved2 : 8; - /*! \brief 1E.0200.8 RO uP Mailbox Busy - AQ_GlobalMailboxInterface_HHD.u0.bits_0.upMailboxBusy - - - - 1 = uP mailbox busy - 0 = uP mailbox ready - - - Notes: - In general the uP will respond within a few processor cycles to any PIF slave request, much faster than the MDIO. If the busy is asserted over multiple MDIO polling cycles, then a H/W error may have occurred and a Global S/W reset or uP reset is required. */ - unsigned int upMailboxBusy : 1; /* 1E.0200.8 RO */ - /* 1 = uP mailbox busy - 0 = uP mailbox ready - */ - unsigned int reserved1 : 3; - /*! \brief 1E.0200.C R/WSC Reset uP Mailbox CRC - AQ_GlobalMailboxInterface_HHD.u0.bits_0.resetUpMailboxCrc - - Default = 0x0 - - 1 = Reset uP mailbox CRC calculation register - - - */ - unsigned int resetUpMailboxCrc : 1; /* 1E.0200.C R/WSC Default = 0x0 */ - /* 1 = Reset uP mailbox CRC calculation register - - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0200.E R/W uP Mailbox Write Mode - AQ_GlobalMailboxInterface_HHD.u0.bits_0.upMailboxWriteMode - - Default = 0x0 - - 1 = Write - 0 = Read - - - Notes: - Mailbox direction */ - unsigned int upMailboxWriteMode : 1; /* 1E.0200.E R/W Default = 0x0 */ - /* 1 = Write - 0 = Read - */ - /*! \brief 1E.0200.F R/WSC uP Mailbox Execute Operation - AQ_GlobalMailboxInterface_HHD.u0.bits_0.upMailboxExecuteOperation - - Default = 0x0 - - 1 = Start of mailbox Operation - - - - Notes: - Indicates mailbox is loaded and ready */ - unsigned int upMailboxExecuteOperation : 1; /* 1E.0200.F R/WSC Default = 0x0 */ - /* 1 = Start of mailbox Operation - - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0201.F:0 RO uP Mailbox CRC [F:0] - AQ_GlobalMailboxInterface_HHD.u1.bits_1.upMailboxCrc - - - - The running CRC-16 of everything passing through the mailbox interface - - */ - unsigned int upMailboxCrc : 16; /* 1E.0201.F:0 RO */ - /* The running CRC-16 of everything passing through the mailbox interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0202.F:0 R/W uP Mailbox Address MSW [1F:10] - AQ_GlobalMailboxInterface_HHD.u2.bits_2.upMailboxAddressMSW - - Default = 0x0000 - - uP Mailbox MSW address - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressMSW : 16; /* 1E.0202.F:0 R/W Default = 0x0000 */ - /* uP Mailbox MSW address - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0203.1:0 RO uP Mailbox Address LSW Don't Care [1:0] - AQ_GlobalMailboxInterface_HHD.u3.bits_3.upMailboxAddressLSW_Don_tCare - - - - Least significant uP LSW Mailbox address bits [1:0] - - - Notes: - These bits are always set to 0 since each memory access is on a 4-byte boundary. */ - unsigned int upMailboxAddressLSW_Don_tCare : 2; /* 1E.0203.1:0 RO */ - /* Least significant uP LSW Mailbox address bits [1:0] - */ - /*! \brief 1E.0203.F:2 R/W uP Mailbox Address LSW [F:2] - AQ_GlobalMailboxInterface_HHD.u3.bits_3.upMailboxAddressLSW - - Default = 0x0000 - - uP LSW Mailbox address [F:2] - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressLSW : 14; /* 1E.0203.F:2 R/W Default = 0x0000 */ - /* uP LSW Mailbox address [F:2] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0204.F:0 R/W uP Mailbox Data MSW [1F:10] - AQ_GlobalMailboxInterface_HHD.u4.bits_4.upMailboxDataMSW - - Default = 0x0000 - - uP Mailbox data MSW - - */ - unsigned int upMailboxDataMSW : 16; /* 1E.0204.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data MSW - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0205.F:0 R/W uP Mailbox Data LSW [F:0] - AQ_GlobalMailboxInterface_HHD.u5.bits_5.upMailboxDataLSW - - Default = 0x0000 - - uP Mailbox data LSW - - */ - unsigned int upMailboxDataLSW : 16; /* 1E.0205.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data LSW - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global Mailbox Interface */ - union - { - struct - { - unsigned int reserved1 : 1; - /*! \brief 1E.0206.1 R/W uP Mailbox CRC Read Enable - AQ_GlobalMailboxInterface_HHD.u6.bits_6.upMailboxCrcReadEnable - - Default = 0x0 - - 1 = Update uP mailbox CRC on read - - */ - unsigned int upMailboxCrcReadEnable : 1; /* 1E.0206.1 R/W Default = 0x0 */ - /* 1 = Update uP mailbox CRC on read - */ - unsigned int reserved0 : 14; - } bits_6; - uint16_t word_6; - } u6; -} AQ_GlobalMailboxInterface_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Microprocessor Scratch Pad: 1E.0300 */ -/* Global Microprocessor Scratch Pad: 1E.0300 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0300.F:0 R/W Scratch Pad 1[F:0] - AQ_GlobalMicroprocessorScratchPad_HHD.u0.bits_0.scratchPad_1 - - Default = 0x0000 - - General Purpose Scratch Pad - */ - unsigned int scratchPad_1 : 16; /* 1E.0300.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch Pad */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0301.F:0 R/W Scratch Pad 2 [F:0] - AQ_GlobalMicroprocessorScratchPad_HHD.u1.bits_1.scratchPad_2 - - Default = 0x0000 - - General Purpose Scratch Pad - */ - unsigned int scratchPad_2 : 16; /* 1E.0301.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch Pad */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalMicroprocessorScratchPad_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress Control Register: 1E.5002 */ -/* MSS Egress Control Register: 1E.5002 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress Control Register */ - union - { - struct - { - /*! \brief 1E.5002.0 R/W MSS Egress Soft Reset - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - S/W reset */ - unsigned int mssEgressSoftReset : 1; /* 1E.5002.0 R/W Default = 0x0 */ - /* 1 = Soft reset - */ - /*! \brief 1E.5002.1 R/W MSS Egress Drop KAY Packet - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressDropKayPacket - - Default = 0x0 - - 1 = Drop KAY packet - - - Notes: - Decides whether KAY packets have to be dropped */ - unsigned int mssEgressDropKayPacket : 1; /* 1E.5002.1 R/W Default = 0x0 */ - /* 1 = Drop KAY packet - */ - /*! \brief 1E.5002.2 R/W MSS Egress Drop EGPRC LUT Miss - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressDropEgprcLutMiss - - Default = 0x0 - - 1 = Drop Egress Classification LUT miss packets - - - - Notes: - Decides whether Egress Pre-Security Classification (EGPRC) LUT miss packets are to be dropped */ - unsigned int mssEgressDropEgprcLutMiss : 1; /* 1E.5002.2 R/W Default = 0x0 */ - /* 1 = Drop Egress Classification LUT miss packets - - */ - /*! \brief 1E.5002.3 R/W MSS Egress GCM Start - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressGcmStart - - Default = 0x0 - - 1 = Start GCM - - - - Notes: - Indicates GCM to start */ - unsigned int mssEgressGcmStart : 1; /* 1E.5002.3 R/W Default = 0x0 */ - /* 1 = Start GCM - - */ - /*! \brief 1E.5002.4 R/W MSS Egresss GCM Test Mode - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgresssGcmTestMode - - Default = 0x0 - - 1 = Enable GCM test mode - - - - Notes: - Enables GCM test mode */ - unsigned int mssEgresssGcmTestMode : 1; /* 1E.5002.4 R/W Default = 0x0 */ - /* 1 = Enable GCM test mode - - */ - /*! \brief 1E.5002.5 R/W MSS Egress Unmatched Use SC 0 - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressUnmatchedUseSc_0 - - Default = 0x0 - - 1 = Use SC 0 for unmatched packets - 0 = Unmatched packets are uncontrolled packets - - - - Notes: - Use SC-Index 0 as default SC for unmatched packets. Otherwise the packets are treated as uncontrolled packets. */ - unsigned int mssEgressUnmatchedUseSc_0 : 1; /* 1E.5002.5 R/W Default = 0x0 */ - /* 1 = Use SC 0 for unmatched packets - 0 = Unmatched packets are uncontrolled packets - - */ - /*! \brief 1E.5002.6 R/W MSS Egress Drop Invalid SA/SC Packets - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressDropInvalidSa_scPackets - - Default = 0x0 - - 1 = Drop invalid SA/SC packets - - - - Notes: - Enables dropping of invalid SA/SC packets. */ - unsigned int mssEgressDropInvalidSa_scPackets : 1; /* 1E.5002.6 R/W Default = 0x0 */ - /* 1 = Drop invalid SA/SC packets - - */ - /*! \brief 1E.5002.7 R/W MSS Egress Explicit SECTag Report Short Length - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressExplicitSectagReportShortLength - - Default = 0x0 - - Reserved - - - - Notes: - Unused. */ - unsigned int mssEgressExplicitSectagReportShortLength : 1; /* 1E.5002.7 R/W Default = 0x0 */ - /* Reserved - - */ - /*! \brief 1E.5002.8 R/W MSS Egress External Classification Enable - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressExternalClassificationEnable - - Default = 0x0 - - 1 = Drop EGPRC miss packets - - - - Notes: - If set, internal classification is bypassed. Should always be set to 0. */ - unsigned int mssEgressExternalClassificationEnable : 1; /* 1E.5002.8 R/W Default = 0x0 */ - /* 1 = Drop EGPRC miss packets - - */ - /*! \brief 1E.5002.9 R/W MSS Egress ICV LSB 8 Bytes Enable - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressIcvLsb_8BytesEnable - - Default = 0x0 - - 1 = Use LSB - 0 = Use MSB - - - - Notes: - This bit selects MSB or LSB 8 bytes selection in the case where the ICV is 8 bytes. - 0 = MSB is used. */ - unsigned int mssEgressIcvLsb_8BytesEnable : 1; /* 1E.5002.9 R/W Default = 0x0 */ - /* 1 = Use LSB - 0 = Use MSB - - */ - /*! \brief 1E.5002.A R/W MSS Egress High Priority - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressHighPriority - - Default = 0x0 - - 1 = MIB counter clear on read enable - - - - Notes: - If this bit is set to 1, read is given high priority and the MIB count value becomes 0 after read. */ - unsigned int mssEgressHighPriority : 1; /* 1E.5002.A R/W Default = 0x0 */ - /* 1 = MIB counter clear on read enable - - */ - /*! \brief 1E.5002.B R/W MSS Egress Clear Counter - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressClearCounter - - Default = 0x0 - - 1 = Clear all MIB counters - - - - Notes: - If this bit is set to 1, all MIB counters will be cleared. */ - unsigned int mssEgressClearCounter : 1; /* 1E.5002.B R/W Default = 0x0 */ - /* 1 = Clear all MIB counters - - */ - /*! \brief 1E.5002.C R/W MSS Egress Clear Global Time - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressClearGlobalTime - - Default = 0x0 - - 1 = Clear global time - - - - Notes: - Clear global time. */ - unsigned int mssEgressClearGlobalTime : 1; /* 1E.5002.C R/W Default = 0x0 */ - /* 1 = Clear global time - - */ - /*! \brief 1E.5002.F:D R/W MSS Egress Ethertype Explicit SECTag LSB [2:0] - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressEthertypeExplicitSectagLsb - - Default = 0x0 - - Ethertype for explicit SECTag bits 2:0. - - - Notes: - Ethertype for explicity SECTag. */ - unsigned int mssEgressEthertypeExplicitSectagLsb : 3; /* 1E.5002.F:D R/W Default = 0x0 */ - /* Ethertype for explicit SECTag bits 2:0. - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress Control Register */ - union - { - struct - { - /*! \brief 1E.5003.C:0 R/W MSS Egress Ethertype Explicit SECTag MSB [F:3] - AQ_MssEgressControlRegister_HHD.u1.bits_1.mssEgressEthertypeExplicitSectagMsb - - Default = 0x0000 - - Ethertype for explicit SECTag bits 15:3. - - - Notes: - Ethertype for explicity SECTag. */ - unsigned int mssEgressEthertypeExplicitSectagMsb : 13; /* 1E.5003.C:0 R/W Default = 0x0000 */ - /* Ethertype for explicit SECTag bits 15:3. - */ - unsigned int reserved0 : 3; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress VLAN TPID 0 Register: 1E.5008 */ -/* MSS Egress VLAN TPID 0 Register: 1E.5008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress VLAN TPID 0 Register */ - union - { - struct - { - /*! \brief 1E.5008.F:0 R/W MSS Egress VLAN STag TPID [F:0] - AQ_MssEgressVlanTpid_0Register_HHD.u0.bits_0.mssEgressVlanStagTpid - - Default = 0x0000 - - STag TPID - - - Notes: - Service Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse STag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssEgressVlanStagTpid : 16; /* 1E.5008.F:0 R/W Default = 0x0000 */ - /* STag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress VLAN TPID 0 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressVlanTpid_0Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress VLAN TPID 1 Register: 1E.500A */ -/* MSS Egress VLAN TPID 1 Register: 1E.500A */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress VLAN TPID 1 Register */ - union - { - struct - { - /*! \brief 1E.500A.F:0 R/W MSS Egress VLAN QTag TPID [F:0] - AQ_MssEgressVlanTpid_1Register_HHD.u0.bits_0.mssEgressVlanQtagTpid - - Default = 0x0000 - - QTag TPID - - - Notes: - Customer Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse QTag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssEgressVlanQtagTpid : 16; /* 1E.500A.F:0 R/W Default = 0x0000 */ - /* QTag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress VLAN TPID 1 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressVlanTpid_1Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress VLAN Control Register: 1E.500C */ -/* MSS Egress VLAN Control Register: 1E.500C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.500C.F:0 R/W MSS Egress VLAN UP Map Table [F:0] - AQ_MssEgressVlanControlRegister_HHD.u0.bits_0.mssEgressVlanUpMapTable - - Default = 0x0000 - - UP Map table bits 15:0 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 - 20:18 : UP value for customer Tag PCP 0x0 - 23:21 : UP value for customer Tag PCP 0x0 */ - unsigned int mssEgressVlanUpMapTable : 16; /* 1E.500C.F:0 R/W Default = 0x0000 */ - /* UP Map table bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.500D.7:0 R/W MSS Egress VLAN UP Map Table MSW [17:10] - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanUpMapTableMSW - - Default = 0x00 - - UP Map table bits 23:16 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 - 20:18 : UP value for customer Tag PCP 0x0 - 23:21 : UP value for customer Tag PCP 0x0 */ - unsigned int mssEgressVlanUpMapTableMSW : 8; /* 1E.500D.7:0 R/W Default = 0x00 */ - /* UP Map table bits 23:16 - */ - /*! \brief 1E.500D.A:8 R/W MSS Egress VLAN UP Default [2:0] - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanUpDefault - - Default = 0x0 - - UP default - - - Notes: - User priority default */ - unsigned int mssEgressVlanUpDefault : 3; /* 1E.500D.A:8 R/W Default = 0x0 */ - /* UP default - */ - /*! \brief 1E.500D.B R/W MSS Egress VLAN STag UP Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanStagUpParseEnable - - Default = 0x0 - - VLAN CP Tag STag UP enable - - - Notes: - Enable controlled port service VLAN service Tag user priority field parsing. */ - unsigned int mssEgressVlanStagUpParseEnable : 1; /* 1E.500D.B R/W Default = 0x0 */ - /* VLAN CP Tag STag UP enable - */ - /*! \brief 1E.500D.C R/W MSS Egress VLAN QTag UP Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanQtagUpParseEnable - - Default = 0x0 - - VLAN CP Tag QTag UP enable - - - Notes: - Enable controlled port customer VLAN customer Tag user priority field parsing. */ - unsigned int mssEgressVlanQtagUpParseEnable : 1; /* 1E.500D.C R/W Default = 0x0 */ - /* VLAN CP Tag QTag UP enable - */ - /*! \brief 1E.500D.D R/W MSS Egress VLAN QinQ Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanQinqParseEnable - - Default = 0x0 - - VLAN CP Tag Parse QinQ - - - Notes: - Enable controlled port VLAN QinQ Tag parsing. When this bit is set to 1 both the outer and inner VLAN Tags will be parsed. */ - unsigned int mssEgressVlanQinqParseEnable : 1; /* 1E.500D.D R/W Default = 0x0 */ - /* VLAN CP Tag Parse QinQ - */ - /*! \brief 1E.500D.E R/W MSS Egress VLAN STag Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanStagParseEnable - - Default = 0x0 - - 1 = Enable VLAN STag parsing - - - Notes: - Enable controlled port VLAN service Tag parsing. When this bit is set to 1, the incoming packets outer TPID will be compared with the configured " See SEC Egress TPID 0 [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssEgressVlanStagParseEnable : 1; /* 1E.500D.E R/W Default = 0x0 */ - /* 1 = Enable VLAN STag parsing - */ - /*! \brief 1E.500D.F R/W MSS Egress VLAN QTag Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanQtagParseEnable - - Default = 0x0 - - 1 = Enable VLAN QTag parsing - - - Notes: - Enable controlled port VLAN customer Tag parsing. When this bit is set to 1, the incoming packet's outer TPID will be compared with the configured " See SEC Egress TPID 1 [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssEgressVlanQtagParseEnable : 1; /* 1E.500D.F R/W Default = 0x0 */ - /* 1 = Enable VLAN QTag parsing - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressVlanControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress PN Control Register: 1E.500E */ -/* MSS Egress PN Control Register: 1E.500E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress PN Control Register */ - union - { - struct - { - /*! \brief 1E.500E.F:0 R/W MSS Egress SA PN Threshold LSW [F:0] - AQ_MssEgressPnControlRegister_HHD.u0.bits_0.mssEgressSaPnThresholdLSW - - Default = 0x0000 - - PN threshold bits 15:0 - - - Notes: - Egress PN threshold to generate SA threshold interrupt. */ - unsigned int mssEgressSaPnThresholdLSW : 16; /* 1E.500E.F:0 R/W Default = 0x0000 */ - /* PN threshold bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress PN Control Register */ - union - { - struct - { - /*! \brief 1E.500F.F:0 R/W MSS Egress SA PN Threshold MSW [1F:10] - AQ_MssEgressPnControlRegister_HHD.u1.bits_1.mssEgressSaPnThresholdMSW - - Default = 0x0000 - - PN threshold bits 31:16 - - - Notes: - Egress PN threshold to generate SA threshold interrupt. */ - unsigned int mssEgressSaPnThresholdMSW : 16; /* 1E.500F.F:0 R/W Default = 0x0000 */ - /* PN threshold bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressPnControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress MTU Size Control Register: 1E.5010 */ -/* MSS Egress MTU Size Control Register: 1E.5010 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.5010.F:0 R/W MSS Egress Controlled Packet MTU Size [F:0] - AQ_MssEgressMtuSizeControlRegister_HHD.u0.bits_0.mssEgressControlledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for controlled packet - - - Notes: - Maximum transmission unit of controlled packet */ - unsigned int mssEgressControlledPacketMtuSize : 16; /* 1E.5010.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for controlled packet - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.5011.F:0 R/W MSS Egress Uncontrolled Packet MTU Size [F:0] - AQ_MssEgressMtuSizeControlRegister_HHD.u1.bits_1.mssEgressUncontrolledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for uncontrolled packet - - - Notes: - Maximum transmission unit of uncontrolled packet */ - unsigned int mssEgressUncontrolledPacketMtuSize : 16; /* 1E.5011.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for uncontrolled packet - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressMtuSizeControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress Interrupt Status Register: 1E.505C */ -/* MSS Egress Interrupt Status Register: 1E.505C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.505C.0 COW MSS Egress Master Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressMasterInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when any one of the above interrupt and the corresponding interrupt enable are both set. The interrupt enable for this bit must also be set for this bit to be set. */ - unsigned int mssEgressMasterInterrupt : 1; /* 1E.505C.0 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.1 COW MSS Egress SA Expired Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressSaExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches all ones saturation. */ - unsigned int mssEgressSaExpiredInterrupt : 1; /* 1E.505C.1 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.2 COW MSS Egress SA Threshold Expired Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressSaThresholdExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches the See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaThresholdExpiredInterrupt : 1; /* 1E.505C.2 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.3 COW MSS Egress MIB Saturation Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressMibSaturationInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the MIB counters reaches all ones saturation. */ - unsigned int mssEgressMibSaturationInterrupt : 1; /* 1E.505C.3 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.4 COW MSS Egress ECC Error Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressEccErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when anyone of the memories detects an ECC error. */ - unsigned int mssEgressEccErrorInterrupt : 1; /* 1E.505C.4 COW Default = 0x0 */ - /* 1 = Interrupt - */ - unsigned int reserved0 : 11; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress Interrupt Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress Interrupt Mask Register: 1E.505E */ -/* MSS Egress Interrupt Mask Register: 1E.505E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress Interrupt Mask Register */ - union - { - struct - { - /*! \brief 1E.505E.0 COW MSS Egress Master Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressMasterInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. */ - unsigned int mssEgressMasterInterruptEnable : 1; /* 1E.505E.0 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.1 COW MSS Egress SA Expired Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressSaExpiredInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches all ones saturation. */ - unsigned int mssEgressSaExpiredInterruptEnable : 1; /* 1E.505E.1 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.2 COW MSS Egress SA Expired Threshold Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressSaExpiredThresholdInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaExpiredThresholdInterruptEnable : 1; /* 1E.505E.2 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.3 COW MSS Egress MIB Saturation Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressMibSaturationInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when the MIB counters reaches all ones saturation. */ - unsigned int mssEgressMibSaturationInterruptEnable : 1; /* 1E.505E.3 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.4 COW MSS Egress ECC Error Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressEccErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when anyone of the memories detects an ECC error. */ - unsigned int mssEgressEccErrorInterruptEnable : 1; /* 1E.505E.4 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - unsigned int reserved0 : 11; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress Interrupt Mask Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressInterruptMaskRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress SA Expired Status Register: 1E.5060 */ -/* MSS Egress SA Expired Status Register: 1E.5060 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5060.F:0 COW MSS Egress SA Expired LSW [F:0] - AQ_MssEgressSaExpiredStatusRegister_HHD.u0.bits_0.mssEgressSaExpiredLSW - - Default = 0x0000 - - SA expired bits 15:0 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. */ - unsigned int mssEgressSaExpiredLSW : 16; /* 1E.5060.F:0 COW Default = 0x0000 */ - /* SA expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5061.F:0 COW MSS Egress SA Expired MSW [1F:10] - AQ_MssEgressSaExpiredStatusRegister_HHD.u1.bits_1.mssEgressSaExpiredMSW - - Default = 0x0000 - - SA expired bits 31:16 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. */ - unsigned int mssEgressSaExpiredMSW : 16; /* 1E.5061.F:0 COW Default = 0x0000 */ - /* SA expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressSaExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress SA Threshold Expired Status Register: 1E.5062 */ -/* MSS Egress SA Threshold Expired Status Register: 1E.5062 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5062.F:0 COW MSS Egress SA Threshold Expired LSW [F:0] - AQ_MssEgressSaThresholdExpiredStatusRegister_HHD.u0.bits_0.mssEgressSaThresholdExpiredLSW - - Default = 0x0000 - - SA threshold expired bits 15:0 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaThresholdExpiredLSW : 16; /* 1E.5062.F:0 COW Default = 0x0000 */ - /* SA threshold expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5063.F:0 COW MSS Egress SA Threshold Expired MSW [1F:10] - AQ_MssEgressSaThresholdExpiredStatusRegister_HHD.u1.bits_1.mssEgressSaThresholdExpiredMSW - - Default = 0x0000 - - SA threshold expired bits 31:16 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaThresholdExpiredMSW : 16; /* 1E.5063.F:0 COW Default = 0x0000 */ - /* SA threshold expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressSaThresholdExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress ECC Interrupt Status Register: 1E.5064 */ -/* MSS Egress ECC Interrupt Status Register: 1E.5064 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.5064.F:0 COW MSS Egress SA ECC Error Interrupt LSW [F:0] - AQ_MssEgressEccInterruptStatusRegister_HHD.u0.bits_0.mssEgressSaEccErrorInterruptLSW - - Default = 0x0000 - - SA ECC error interrupt bits 15:0 - - - Notes: - Write these bits to 1 to clear. - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssEgressSaEccErrorInterruptLSW : 16; /* 1E.5064.F:0 COW Default = 0x0000 */ - /* SA ECC error interrupt bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.5065.F:0 COW MSS Egress SA ECC Error Interrupt MSW [1F:10] - AQ_MssEgressEccInterruptStatusRegister_HHD.u1.bits_1.mssEgressSaEccErrorInterruptMSW - - Default = 0x0000 - - SA ECC error interrupt bits 31:16 - - - Notes: - Write these bits to 1 to clear. - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssEgressSaEccErrorInterruptMSW : 16; /* 1E.5065.F:0 COW Default = 0x0000 */ - /* SA ECC error interrupt bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressEccInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress LUT Address Control Register: 1E.5080 */ -/* MSS Egress LUT Address Control Register: 1E.5080 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress LUT Address Control Register */ - union - { - struct - { - /*! \brief 1E.5080.8:0 R/W MSS Egress LUT Address [8:0] - AQ_MssEgressLutAddressControlRegister_HHD.u0.bits_0.mssEgressLutAddress - - Default = 0x000 - - LUT address - - */ - unsigned int mssEgressLutAddress : 9; /* 1E.5080.8:0 R/W Default = 0x000 */ - /* LUT address - */ - unsigned int reserved0 : 3; - /*! \brief 1E.5080.F:C R/W MSS Egress LUT Select [3:0] - AQ_MssEgressLutAddressControlRegister_HHD.u0.bits_0.mssEgressLutSelect - - Default = 0x0 - - LUT select - - - Notes: - 0x0 : Egress MAC Control FIlter (CTLF) LUT - 0x1 : Egress Classification LUT - 0x2 : Egress SC/SA LUT - 0x3 : Egress SMIB */ - unsigned int mssEgressLutSelect : 4; /* 1E.5080.F:C R/W Default = 0x0 */ - /* LUT select - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssEgressLutAddressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress LUT Control Register: 1E.5081 */ -/* MSS Egress LUT Control Register: 1E.5081 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress LUT Control Register */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.5081.E R/W MSS Egress LUT Read - AQ_MssEgressLutControlRegister_HHD.u0.bits_0.mssEgressLutRead - - Default = 0x0 - - 1 = LUT read - - - Notes: - Setting this bit to 1, will read the LUT. This bit will automatically clear to 0. */ - unsigned int mssEgressLutRead : 1; /* 1E.5081.E R/W Default = 0x0 */ - /* 1 = LUT read - */ - /*! \brief 1E.5081.F R/W MSS Egress LUT Write - AQ_MssEgressLutControlRegister_HHD.u0.bits_0.mssEgressLutWrite - - Default = 0x0 - - 1 = LUT write - - - Notes: - Setting this bit to 1, will write the LUT. This bit will automatically clear to 0. */ - unsigned int mssEgressLutWrite : 1; /* 1E.5081.F R/W Default = 0x0 */ - /* 1 = LUT write - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssEgressLutControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress LUT Data Control Register: 1E.50A0 */ -/* MSS Egress LUT Data Control Register: 1E.50A0 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A0.F:0 R/W MSS Egress LUT Data 0 [F:0] - AQ_MssEgressLutDataControlRegister_HHD.u0.bits_0.mssEgressLutData_0 - - Default = 0x0000 - - LUT data bits 15:0 - - */ - unsigned int mssEgressLutData_0 : 16; /* 1E.50A0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A1.F:0 R/W MSS Egress LUT Data 1 [1F:10] - AQ_MssEgressLutDataControlRegister_HHD.u1.bits_1.mssEgressLutData_1 - - Default = 0x0000 - - LUT data bits 31:16 - - */ - unsigned int mssEgressLutData_1 : 16; /* 1E.50A1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A2.F:0 R/W MSS Egress LUT Data 2 [2F:20] - AQ_MssEgressLutDataControlRegister_HHD.u2.bits_2.mssEgressLutData_2 - - Default = 0x0000 - - LUT data bits 47:32 - - */ - unsigned int mssEgressLutData_2 : 16; /* 1E.50A2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 47:32 - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A3.F:0 R/W MSS Egress LUT Data 3 [3F:30] - AQ_MssEgressLutDataControlRegister_HHD.u3.bits_3.mssEgressLutData_3 - - Default = 0x0000 - - LUT data bits 63:48 - - */ - unsigned int mssEgressLutData_3 : 16; /* 1E.50A3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 63:48 - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A4.F:0 R/W MSS Egress LUT Data 4 [4F:40] - AQ_MssEgressLutDataControlRegister_HHD.u4.bits_4.mssEgressLutData_4 - - Default = 0x0000 - - LUT data bits 79:64 - - */ - unsigned int mssEgressLutData_4 : 16; /* 1E.50A4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 79:64 - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A5.F:0 R/W MSS Egress LUT Data 5 [5F:50] - AQ_MssEgressLutDataControlRegister_HHD.u5.bits_5.mssEgressLutData_5 - - Default = 0x0000 - - LUT data bits 95:80 - - */ - unsigned int mssEgressLutData_5 : 16; /* 1E.50A5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 95:80 - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A6.F:0 R/W MSS Egress LUT Data 6 [6F:60] - AQ_MssEgressLutDataControlRegister_HHD.u6.bits_6.mssEgressLutData_6 - - Default = 0x0000 - - LUT data bits 111:96 - - */ - unsigned int mssEgressLutData_6 : 16; /* 1E.50A6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 111:96 - */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A7.F:0 R/W MSS Egress LUT Data 7 [7F:70] - AQ_MssEgressLutDataControlRegister_HHD.u7.bits_7.mssEgressLutData_7 - - Default = 0x0000 - - LUT data bits 127:112 - - */ - unsigned int mssEgressLutData_7 : 16; /* 1E.50A7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 127:112 - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A8.F:0 R/W MSS Egress LUT Data 8 [8F:80] - AQ_MssEgressLutDataControlRegister_HHD.u8.bits_8.mssEgressLutData_8 - - Default = 0x0000 - - LUT data bits 143:128 - - */ - unsigned int mssEgressLutData_8 : 16; /* 1E.50A8.F:0 R/W Default = 0x0000 */ - /* LUT data bits 143:128 - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A9.F:0 R/W MSS Egress LUT Data 9 [9F:90] - AQ_MssEgressLutDataControlRegister_HHD.u9.bits_9.mssEgressLutData_9 - - Default = 0x0000 - - LUT data bits 159:144 - - */ - unsigned int mssEgressLutData_9 : 16; /* 1E.50A9.F:0 R/W Default = 0x0000 */ - /* LUT data bits 159:144 - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AA.F:0 R/W MSS Egress LUT Data 10 [AF:A0] - AQ_MssEgressLutDataControlRegister_HHD.u10.bits_10.mssEgressLutData_10 - - Default = 0x0000 - - LUT data bits 175:160 - - */ - unsigned int mssEgressLutData_10 : 16; /* 1E.50AA.F:0 R/W Default = 0x0000 */ - /* LUT data bits 175:160 - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AB.F:0 R/W MSS Egress LUT Data 11 [BF:B0] - AQ_MssEgressLutDataControlRegister_HHD.u11.bits_11.mssEgressLutData_11 - - Default = 0x0000 - - LUT data bits 191:176 - - */ - unsigned int mssEgressLutData_11 : 16; /* 1E.50AB.F:0 R/W Default = 0x0000 */ - /* LUT data bits 191:176 - */ - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Union for bit and word level access of word 12 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AC.F:0 R/W MSS Egress LUT Data 12 [CF:C0] - AQ_MssEgressLutDataControlRegister_HHD.u12.bits_12.mssEgressLutData_12 - - Default = 0x0000 - - LUT data bits 207:192 - - */ - unsigned int mssEgressLutData_12 : 16; /* 1E.50AC.F:0 R/W Default = 0x0000 */ - /* LUT data bits 207:192 - */ - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Union for bit and word level access of word 13 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AD.F:0 R/W MSS Egress LUT Data 13 [DF:D0] - AQ_MssEgressLutDataControlRegister_HHD.u13.bits_13.mssEgressLutData_13 - - Default = 0x0000 - - LUT data bits 223:208 - - */ - unsigned int mssEgressLutData_13 : 16; /* 1E.50AD.F:0 R/W Default = 0x0000 */ - /* LUT data bits 223:208 - */ - } bits_13; - uint16_t word_13; - } u13; - /*! \brief Union for bit and word level access of word 14 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AE.F:0 R/W MSS Egress LUT Data 14 [EF:E0] - AQ_MssEgressLutDataControlRegister_HHD.u14.bits_14.mssEgressLutData_14 - - Default = 0x0000 - - LUT data bits 239:224 - - */ - unsigned int mssEgressLutData_14 : 16; /* 1E.50AE.F:0 R/W Default = 0x0000 */ - /* LUT data bits 239:224 - */ - } bits_14; - uint16_t word_14; - } u14; - /*! \brief Union for bit and word level access of word 15 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AF.F:0 R/W MSS Egress LUT Data 15 [FF:F0] - AQ_MssEgressLutDataControlRegister_HHD.u15.bits_15.mssEgressLutData_15 - - Default = 0x0000 - - LUT data bits 255:240 - - */ - unsigned int mssEgressLutData_15 : 16; /* 1E.50AF.F:0 R/W Default = 0x0000 */ - /* LUT data bits 255:240 - */ - } bits_15; - uint16_t word_15; - } u15; - /*! \brief Union for bit and word level access of word 16 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B0.F:0 R/W MSS Egress LUT Data 16 [10F:100] - AQ_MssEgressLutDataControlRegister_HHD.u16.bits_16.mssEgressLutData_16 - - Default = 0x0000 - - LUT data bits 271:256 - - */ - unsigned int mssEgressLutData_16 : 16; /* 1E.50B0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 271:256 - */ - } bits_16; - uint16_t word_16; - } u16; - /*! \brief Union for bit and word level access of word 17 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B1.F:0 R/W MSS Egress LUT Data 17 [11F:110] - AQ_MssEgressLutDataControlRegister_HHD.u17.bits_17.mssEgressLutData_17 - - Default = 0x0000 - - LUT data bits 287:272 - - */ - unsigned int mssEgressLutData_17 : 16; /* 1E.50B1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 287:272 - */ - } bits_17; - uint16_t word_17; - } u17; - /*! \brief Union for bit and word level access of word 18 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B2.F:0 R/W MSS Egress LUT Data 18 [12F:120] - AQ_MssEgressLutDataControlRegister_HHD.u18.bits_18.mssEgressLutData_18 - - Default = 0x0000 - - LUT data bits 303:288 - - */ - unsigned int mssEgressLutData_18 : 16; /* 1E.50B2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 303:288 - */ - } bits_18; - uint16_t word_18; - } u18; - /*! \brief Union for bit and word level access of word 19 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B3.F:0 R/W MSS Egress LUT Data 19 [13F:130] - AQ_MssEgressLutDataControlRegister_HHD.u19.bits_19.mssEgressLutData_19 - - Default = 0x0000 - - LUT data bits 319:304 - - */ - unsigned int mssEgressLutData_19 : 16; /* 1E.50B3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 319:304 - */ - } bits_19; - uint16_t word_19; - } u19; - /*! \brief Union for bit and word level access of word 20 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B4.F:0 R/W MSS Egress LUT Data 20 [14F:140] - AQ_MssEgressLutDataControlRegister_HHD.u20.bits_20.mssEgressLutData_20 - - Default = 0x0000 - - LUT data bits 335:320 - - */ - unsigned int mssEgressLutData_20 : 16; /* 1E.50B4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 335:320 - */ - } bits_20; - uint16_t word_20; - } u20; - /*! \brief Union for bit and word level access of word 21 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B5.F:0 R/W MSS Egress LUT Data 21 [15F:150] - AQ_MssEgressLutDataControlRegister_HHD.u21.bits_21.mssEgressLutData_21 - - Default = 0x0000 - - LUT data bits 351:336 - - */ - unsigned int mssEgressLutData_21 : 16; /* 1E.50B5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 351:336 - */ - } bits_21; - uint16_t word_21; - } u21; - /*! \brief Union for bit and word level access of word 22 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B6.F:0 R/W MSS Egress LUT Data 22 [16F:160] - AQ_MssEgressLutDataControlRegister_HHD.u22.bits_22.mssEgressLutData_22 - - Default = 0x0000 - - LUT data bits 367:352 - - */ - unsigned int mssEgressLutData_22 : 16; /* 1E.50B6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 367:352 - */ - } bits_22; - uint16_t word_22; - } u22; - /*! \brief Union for bit and word level access of word 23 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B7.F:0 R/W MSS Egress LUT Data 23 [17F:170] - AQ_MssEgressLutDataControlRegister_HHD.u23.bits_23.mssEgressLutData_23 - - Default = 0x0000 - - LUT data bits 383:368 - - */ - unsigned int mssEgressLutData_23 : 16; /* 1E.50B7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 383:368 - */ - } bits_23; - uint16_t word_23; - } u23; - /*! \brief Union for bit and word level access of word 24 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B8.F:0 R/W MSS Egress LUT Data 24 [18F:180] - AQ_MssEgressLutDataControlRegister_HHD.u24.bits_24.mssEgressLutData_24 - - Default = 0x0000 - - LUT data bits 399:384 - - */ - unsigned int mssEgressLutData_24 : 16; /* 1E.50B8.F:0 R/W Default = 0x0000 */ - /* LUT data bits 399:384 - */ - } bits_24; - uint16_t word_24; - } u24; - /*! \brief Union for bit and word level access of word 25 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B9.F:0 R/W MSS Egress LUT Data 25 [19F:190] - AQ_MssEgressLutDataControlRegister_HHD.u25.bits_25.mssEgressLutData_25 - - Default = 0x0000 - - LUT data bits 415:400 - - */ - unsigned int mssEgressLutData_25 : 16; /* 1E.50B9.F:0 R/W Default = 0x0000 */ - /* LUT data bits 415:400 - */ - } bits_25; - uint16_t word_25; - } u25; - /*! \brief Union for bit and word level access of word 26 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50BA.F:0 R/W MSS Egress LUT Data 26 [1AF:1A0] - AQ_MssEgressLutDataControlRegister_HHD.u26.bits_26.mssEgressLutData_26 - - Default = 0x0000 - - LUT data bits 431:416 - - */ - unsigned int mssEgressLutData_26 : 16; /* 1E.50BA.F:0 R/W Default = 0x0000 */ - /* LUT data bits 431:416 - */ - } bits_26; - uint16_t word_26; - } u26; - /*! \brief Union for bit and word level access of word 27 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50BB.F:0 R/W MSS Egress LUT Data 27 [1BF:1B0] - AQ_MssEgressLutDataControlRegister_HHD.u27.bits_27.mssEgressLutData_27 - - Default = 0x0000 - - LUT data bits 447:432 - - */ - unsigned int mssEgressLutData_27 : 16; /* 1E.50BB.F:0 R/W Default = 0x0000 */ - /* LUT data bits 447:432 - */ - } bits_27; - uint16_t word_27; - } u27; -} AQ_MssEgressLutDataControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System General Control Register: 1E.6004 */ -/* MSM System General Control Register: 1E.6004 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System General Control Register */ - union - { - struct - { - /*! \brief 1E.6004.0 R/W MSM System Tx Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxEnable - - Default = 0x0 - - 1 = Tx enable - - Notes: - MAC Rx path enable. Should be set to 1 to enable the MAC Rx path. Should be set to 0 to disable the MAC Rx path. */ - unsigned int msmSystemTxEnable : 1; /* 1E.6004.0 R/W Default = 0x0 */ - /* 1 = Tx enable */ - /*! \brief 1E.6004.1 R/W MSM System Rx Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemRxEnable - - Default = 0x0 - - 1 = Rx enable - - Notes: - MAC Tx path enable. Should be set to 1 to enable the MAC Tx path. Should be set to 0 to disable the MAC Tx path. */ - unsigned int msmSystemRxEnable : 1; /* 1E.6004.1 R/W Default = 0x0 */ - /* 1 = Rx enable */ - unsigned int reserved0 : 1; - /*! \brief 1E.6004.3 R/W MSM System WAN Mode - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemWanMode - - Default = 0x0 - - 1 = WAN mode - 0 = LAN mode - - - Notes: - WAN mode enable. Sets WAN mode when set to 1 and LAN mode when set to 0. Note: When changing the mode, verifiy correct setting of the Tx IPG. */ - unsigned int msmSystemWanMode : 1; /* 1E.6004.3 R/W Default = 0x0 */ - /* 1 = WAN mode - 0 = LAN mode - */ - /*! \brief 1E.6004.4 R/W MSM System Promiscuous Mode - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPromiscuousMode - - Default = 0x0 - - 1 = Promiscuous mode - - - Notes: - When set to 1, all frames are received without any MAC address filtering. */ - unsigned int msmSystemPromiscuousMode : 1; /* 1E.6004.4 R/W Default = 0x0 */ - /* 1 = Promiscuous mode - */ - /*! \brief 1E.6004.5 R/W MSM System PAD Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPadEnable - - Default = 0x0 - - 1 = Enable frame padding removal on Rx - - - Notes: - When set to 1, enable frame padding removal on the Rx path. If enabled, padding is removed before the frame is transferred to the MAC client application. If disabled, no padding is removed on the Rx by the MAC. - Note : On Tx, the MAC always adds padding as required. */ - unsigned int msmSystemPadEnable : 1; /* 1E.6004.5 R/W Default = 0x0 */ - /* 1 = Enable frame padding removal on Rx - */ - /*! \brief 1E.6004.6 R/W MSM System CRC Forward - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemCrcForward - - Default = 0x0 - - 1 = Enable CRC forwarding - - - Notes: - When set to 1, the CRC field of the received frames is forwarded with the frame to the user application. If disabled, the CRC field is stripped from the frame. - Note : If padding is enabled ( See MAC PAD Enable set to 1), this bit is ignored. */ - unsigned int msmSystemCrcForward : 1; /* 1E.6004.6 R/W Default = 0x0 */ - /* 1 = Enable CRC forwarding - */ - /*! \brief 1E.6004.7 R/W MSM System Pause Forward - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPauseForward - - Default = 0x0 - - 1 = Enable Pause forwarding - - - Notes: - Terminate or forward pause frames. If set to 1, pause frames are forwarded to the user application. In normal mode, when set to 0, pause frames are terminated and discarded within the MAC. */ - unsigned int msmSystemPauseForward : 1; /* 1E.6004.7 R/W Default = 0x0 */ - /* 1 = Enable Pause forwarding - */ - /*! \brief 1E.6004.8 R/W MSM System Pause Ignore - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPauseIgnore - - Default = 0x0 - - 1 = Ignore pause frames - - - Notes: - Ignore pause frame quanta. If set to 1, received pause frames are ignored by the MAC. When set to 0, the Tx is stopped for the amount of time specified in the pause quanta received within the pause frame. */ - unsigned int msmSystemPauseIgnore : 1; /* 1E.6004.8 R/W Default = 0x0 */ - /* 1 = Ignore pause frames - */ - /*! \brief 1E.6004.9 R/W MSM System Tx Address Insert Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxAddressInsertEnable - - Default = 0x0 - - 1 = Insert Tx MAC source address - - - Notes: - Set the source MAC address on transmit. If set to 1, the MAC overwrites the source MAC address with the MAC programmed address in all transmitted frames. When set to 0, the source MAC address is transmitted unmodified from the MAC Tx client application. */ - unsigned int msmSystemTxAddressInsertEnable : 1; /* 1E.6004.9 R/W Default = 0x0 */ - /* 1 = Insert Tx MAC source address - */ - /*! \brief 1E.6004.A R/W MSM System Tx CRC Append - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxCrcAppend - - Default = 0x0 - - 1 = Append Tx CRC - - - Notes: - Permanently enable CRC append on transmit. If set to 1, the Tx will append a CRC to all transmitted frames. If set to 0, CRC append can be controlled on a per frame basis using the pin ff_tx_crc. - This configuration bit is OR'ed with the external ff_tx_crc pin to instruct the Tx to append a CRC to transmitted frames. The ff_tx_crc pin is tied to 0. */ - unsigned int msmSystemTxCrcAppend : 1; /* 1E.6004.A R/W Default = 0x0 */ - /* 1 = Append Tx CRC - */ - /*! \brief 1E.6004.B R/W MSM System Tx Pad Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxPadEnable - - Default = 0x1 - - 1 = Enable Tx padding - - - Notes: - When set to 1, enable padding of frames in the Tx direction. When set to 0, the MAC will not extend frames from the application to a minimum of 64 bytes, allowing to transmit short frames (violating the Ethernet mimimum size requirements). Must be set to 1 for normal operation. */ - unsigned int msmSystemTxPadEnable : 1; /* 1E.6004.B R/W Default = 0x1 */ - /* 1 = Enable Tx padding - */ - /*! \brief 1E.6004.C R/WSC MSM System Soft Reset - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - Software reset. Self clearing bit. When set to 1, resets all statistic counters as well as the Tx and Rx FIFOs. It should be issued after all traffic has been stopped as a result of clearing the Rx/Tx enable bits ( See MAC Rx Enable set to 0 and See MAC Tx Enable set to 0). - Note : Can lead to an Rx interface (ff_rx_xxx) violations to the application if the reset is issued in the middle of a receive frame transfer. Then the end of packet (assertion of ff_rx_eop) is lost and the application should be prepeared to handle this exception. */ - unsigned int msmSystemSoftReset : 1; /* 1E.6004.C R/WSC Default = 0x0 */ - /* 1 = Soft reset - */ - /*! \brief 1E.6004.D R/W MSM System Control Frame Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemControlFrameEnable - - Default = 0x0 - - 1 = Control frame enabled - - - Notes: - MAC control frame enable. When set to 1, the MAC control frames with any Opcode other than 0x0001 are accepted and forwarded to the client interface. When set to 0, MAC control frames with any opcode other than 0x0001 are silently discarded. */ - unsigned int msmSystemControlFrameEnable : 1; /* 1E.6004.D R/W Default = 0x0 */ - /* 1 = Control frame enabled - */ - /*! \brief 1E.6004.E R/W MSM System Rx Error Discard - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemRxErrorDiscard - - Default = 0x0 - - 1 = Enable discard of received errored frames - - - Notes: - Rx errored frame discard enable. When set to 1, any frame received with an error is discarded and not forwarded to the client interface. When set to 0, errored frames are forwarded to the client interface with ff_rx_err asserted. - Note : It is recommended to set this bit to 1 only when store and forward operation is enabled (RX_SECTION_FULL TBD). */ - unsigned int msmSystemRxErrorDiscard : 1; /* 1E.6004.E R/W Default = 0x0 */ - /* 1 = Enable discard of received errored frames - */ - /*! \brief 1E.6004.F R/W MSM System PHY Tx Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPhyTxEnable - - Default = 0x0 - - 1 = Enable PHY Tx - - - Notes: - Directly controls the phy_tx_ena pin. */ - unsigned int msmSystemPhyTxEnable : 1; /* 1E.6004.F R/W Default = 0x0 */ - /* 1 = Enable PHY Tx - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System General Control Register */ - union - { - struct - { - /*! \brief 1E.6005.0 R/W MSM System Force Send IDLE - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemForceSendIdle - - Default = 0x0 - - 1 = Force send idle - - Notes: - When set to 1, suppress any frame transmissions and forces IDLE n the Tx interface instead of frames. This control affects the MAC reconciliation layer (RS) which acts after all MAC datapath has processed the frame. - Note : Does not have an effect on fault handling (i.e. reception of local fault will still cause transmit of remote fault). - Must be 0 for normal operation. */ - unsigned int msmSystemForceSendIdle : 1; /* 1E.6005.0 R/W Default = 0x0 */ - /* 1 = Force send idle */ - /*! \brief 1E.6005.1 R/W MSM System Length Check Disable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemLengthCheckDisable - - Default = 0x0 - - 1 = Disable length check - - Notes: - Payload length check disable. When set to 0, the MAC checks the frames payload length with the frame length/type field. When set to 1, the payload length check is disabled. */ - unsigned int msmSystemLengthCheckDisable : 1; /* 1E.6005.1 R/W Default = 0x0 */ - /* 1 = Disable length check */ - /*! \brief 1E.6005.2 R/W MSM System IDLE Column Count Extend - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemIdleColumnCountExtend - - Default = 0x0 - - 1 = Extend IDLE column count - - Notes: - When set to 1, extends the RS layer IDLE column counter by 2x. The IEEE 802.3ae defines the fault condition to be cleared after 128 columns of IDLE have been received. If the MAC operates together with a WAN mode PCS (WIS) it may may happen (depending on PCS) that this period is too short to bridge the IDLE stuffing occurring in this mode, leading to a toggling fault indication. In this case, extending the counter helps to aoivd toggling fault indications. */ - unsigned int msmSystemIdleColumnCountExtend : 1; /* 1E.6005.2 R/W Default = 0x0 */ - /* 1 = Extend IDLE column count */ - /*! \brief 1E.6005.3 R/W MSM System Priority Flow Control Enable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemPriorityFlowControlEnable - - Default = 0x0 - - 1 = Enable priority flow control - 0 = Enable link flow control - - - Notes: - Enable priority flow control (PFC) mode of operation. When set to 0, the MAC uses standard link pause frames. When set to 1, the MAC will transmit and accept PFC frames. */ - unsigned int msmSystemPriorityFlowControlEnable : 1; /* 1E.6005.3 R/W Default = 0x0 */ - /* 1 = Enable priority flow control - 0 = Enable link flow control - */ - unsigned int reserved2 : 1; - /*! \brief 1E.6005.5 R/W MSM System SFD Check Disable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemSfdCheckDisable - - Default = 0x0 - - 1 = Disable SFD check - - - Notes: - Disable check of SFD (0xD5) character at frame start. When set to 1, the frame is accepted even if the SFD byte following the preamble is not 0xD5. When set to 0, a frame is accepted only if the SFD byte is found with the value 0xD5. */ - unsigned int msmSystemSfdCheckDisable : 1; /* 1E.6005.5 R/W Default = 0x0 */ - /* 1 = Disable SFD check - */ - unsigned int reserved1 : 1; - /*! \brief 1E.6005.7 R/W MSM System Tx Low Power IDLE Enable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemTxLowPowerIdleEnable - - Default = 0x0 - - 1 = Transmit LPI enable - - - Notes: - Transmit low power IDLE enable. When set to 1, the MAC completes the transmission of the current frame and generates low power IDLE sequences (LPI) to the XGMII/SGMII. When set to 0, the MAC operates in normal mode. This bit is OR'ed with the reg_lowp_ena pin. */ - unsigned int msmSystemTxLowPowerIdleEnable : 1; /* 1E.6005.7 R/W Default = 0x0 */ - /* 1 = Transmit LPI enable - */ - unsigned int reserved0 : 8; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemGeneralControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System FIFO Control Register: 1E.600E */ -/* MSM System FIFO Control Register: 1E.600E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.600E.7:0 R/W MSM System Rx FIFO Full Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u0.bits_0.msmSystemRxFifoFullThreshold - - Default = 0x08 - - Rx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemRxFifoFullThreshold : 8; /* 1E.600E.7:0 R/W Default = 0x08 */ - /* Rx FIFO full threshold */ - unsigned int reserved0 : 8; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.600F.7:0 R/W MSM System Rx FIFO Empty Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u1.bits_1.msmSystemRxFifoEmptyThreshold - - Default = 0x00 - - Rx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemRxFifoEmptyThreshold : 8; /* 1E.600F.7:0 R/W Default = 0x00 */ - /* Rx FIFO empty threshold */ - unsigned int reserved0 : 8; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.6010.5:0 R/W MSM System Tx FIFO Full Threshold [5:0] - AQ_MsmSystemFifoControlRegister_HHD.u2.bits_2.msmSystemTxFifoFullThreshold - - Default = 0x08 - - Tx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemTxFifoFullThreshold : 6; /* 1E.6010.5:0 R/W Default = 0x08 */ - /* Tx FIFO full threshold */ - unsigned int reserved0 : 10; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.6011.5:0 R/W MSM System Tx FIFO Empty Threshold [5:0] - AQ_MsmSystemFifoControlRegister_HHD.u3.bits_3.msmSystemTxFifoEmptyThreshold - - Default = 0x00 - - Tx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemTxFifoEmptyThreshold : 6; /* 1E.6011.5:0 R/W Default = 0x00 */ - /* Tx FIFO empty threshold */ - unsigned int reserved0 : 10; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.6012.7:0 ROS MSM System Rx FIFO Almost Full Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u4.bits_4.msmSystemRxFifoAlmostFullThreshold - - Default = 0x00 - - Rx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmSystemRxFifoAlmostFullThreshold : 8; /* 1E.6012.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost full threshold */ - unsigned int reserved0 : 8; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.6013.7:0 ROS MSM System Rx FIFO Almost Empty Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u5.bits_5.msmSystemRxFifoAlmostEmptyThreshold - - Default = 0x00 - - Rx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmSystemRxFifoAlmostEmptyThreshold : 8; /* 1E.6013.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost empty threshold */ - unsigned int reserved0 : 8; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.6014.7:0 ROS MSM System Tx FIFO Almost Full Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u6.bits_6.msmSystemTxFifoAlmostFullThreshold - - Default = 0x00 - - Tx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmSystemTxFifoAlmostFullThreshold : 8; /* 1E.6014.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost full threshold */ - unsigned int reserved0 : 8; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSM System FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.6015.7:0 ROS MSM System Tx FIFO Almost Empty Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u7.bits_7.msmSystemTxFifoAlmostEmptyThreshold - - Default = 0x00 - - Tx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmSystemTxFifoAlmostEmptyThreshold : 8; /* 1E.6015.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost empty threshold */ - unsigned int reserved0 : 8; - } bits_7; - uint16_t word_7; - } u7; -} AQ_MsmSystemFifoControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System General Status Register: 1E.6020 */ -/* MSM System General Status Register: 1E.6020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System General Status Register */ - union - { - struct - { - /*! \brief 1E.6020.0 BLH MSM System Rx Local Fault - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemRxLocalFault - - - - Rx local fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmSystemRxLocalFault : 1; /* 1E.6020.0 BLH */ - /* Rx local fault detected */ - /*! \brief 1E.6020.1 BLH MSM System Rx Remote Fault - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemRxRemoteFault - - - - Rx remote fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmSystemRxRemoteFault : 1; /* 1E.6020.1 BLH */ - /* Rx remote fault detected */ - /*! \brief 1E.6020.2 RO MSM System PHY Loss of Signal - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemPhyLossOfSignal - - - - PHY loss of signal - - Notes: - PHY indicates loss of signal. This is the value of pin phy_los which is tied to 0. */ - unsigned int msmSystemPhyLossOfSignal : 1; /* 1E.6020.2 RO */ - /* PHY loss of signal */ - /*! \brief 1E.6020.3 R/W MSM System Timestamp Available - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemTimestampAvailable - - Default = 0x0 - - Timestamp available - - Notes: - Transmit timestamp available. Indicates that the timestamp of the last transmitted event frame (which had ff_tx_ts_frm=1) is available in the register See MAC Time Stamp Status 0 [F:0] and See MAC Time Stamp Status 1 [F:0] . To clear this bit, the bit must be written with a 1. - */ - unsigned int msmSystemTimestampAvailable : 1; /* 1E.6020.3 R/W Default = 0x0 */ - /* Timestamp available */ - /*! \brief 1E.6020.4 RO MSM System Rx Low Power IDLE - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemRxLowPowerIdle - - - - Rx LPI detected - - Notes: - Receive low power IDLE (LPI). Set to 1 when LPI is currently detected on the MAC Rx interface. Set to 0, when the MAC currently operates in normal mode. */ - unsigned int msmSystemRxLowPowerIdle : 1; /* 1E.6020.4 RO */ - /* Rx LPI detected */ - /*! \brief 1E.6020.5 RO MSM System Tx FIFO Empty - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemTxFifoEmpty - - - - Tx FIFO empty - - Notes: - When set to 1, indicates the Tx FIFO is empty. When set to 0, Tx FIFO is non-empty. */ - unsigned int msmSystemTxFifoEmpty : 1; /* 1E.6020.5 RO */ - /* Tx FIFO empty */ - unsigned int reserved0 : 10; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System General Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemGeneralStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx IPG Control Register: 1E.6022 */ -/* MSM System Tx IPG Control Register: 1E.6022 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx IPG Control Register */ - union - { - struct - { - /*! \brief 1E.6022.5:0 R/W MSM System Tx IPG Length [5:0] - AQ_MsmSystemTxIpgControlRegister_HHD.u0.bits_0.msmSystemTxIpgLength - - Default = 0x0C - - Tx IPG length - - Notes: - Tx inter-packet gap (IPG) value. Depending on LAN or WAN mode of operation. - LAN Mode : Number of octets in steps of 4. Valid values are 8, 12, 16,..., 100. DIC is supported for any setting > 8. A default of 12 must be set to conform to IEEE802.3ae. - WAN Mode : Stretch factor. Valid values are 4 ... 15. The stretch factor is calculated as (value+1)*8. A default of 12 must be set to conform to IEEE802.3ae (i.e. 13*8=104). A larger value shrinks the IPG (increasing bandwidth). - The reset value of 12 leads to IEEE802.3ae conformant behavior in both modes. - Note : WAN mode is only available in 10G mode of operation. */ - unsigned int msmSystemTxIpgLength : 6; /* 1E.6022.5:0 R/W Default = 0x0C */ - /* Tx IPG length */ - unsigned int reserved0 : 10; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx IPG Control Register */ - union - { - struct - { - /*! \brief 1E.6023.F:0 MSM System Tx IPG Reserved - AQ_MsmSystemTxIpgControlRegister_HHD.u1.bits_1.msmSystemTxIpgReserved - - - - Value always 0, writes ignored - */ - unsigned int msmSystemTxIpgReserved : 16; /* 1E.6023.F:0 */ - /* Value always 0, writes ignored */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxIpgControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Good Frames Counter Register: 1E.6040 */ -/* MSM System Tx Good Frames Counter Register: 1E.6040 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6040.F:0 ROS MSM System Tx Good Frames Counter 0 [F:0] - AQ_MsmSystemTxGoodFramesCounterRegister_HHD.u0.bits_0.msmSystemTxGoodFramesCounter_0 - - Default = 0x0000 - - Tx good frame counter bits 15:0 - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmSystemTxGoodFramesCounter_0 : 16; /* 1E.6040.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6041.F:0 ROS MSM System Tx Good Frames Counter 1 [F:0] - AQ_MsmSystemTxGoodFramesCounterRegister_HHD.u1.bits_1.msmSystemTxGoodFramesCounter_1 - - Default = 0x0000 - - Tx good frame counter bits 31:16 - - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmSystemTxGoodFramesCounter_1 : 16; /* 1E.6041.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Good Frames Counter Register: 1E.6044 */ -/* MSM System Rx Good Frames Counter Register: 1E.6044 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6044.F:0 ROS MSM System Rx Good Frames Counter 0 [F:0] - AQ_MsmSystemRxGoodFramesCounterRegister_HHD.u0.bits_0.msmSystemRxGoodFramesCounter_0 - - Default = 0x0000 - - Rx good frame counter bits 15:0 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmSystemRxGoodFramesCounter_0 : 16; /* 1E.6044.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6045.F:0 ROS MSM System Rx Good Frames Counter 1 [F:0] - AQ_MsmSystemRxGoodFramesCounterRegister_HHD.u1.bits_1.msmSystemRxGoodFramesCounter_1 - - Default = 0x0000 - - Rx good frame counter bits 31:16 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmSystemRxGoodFramesCounter_1 : 16; /* 1E.6045.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx FCS Errors Counter Register: 1E.6048 */ -/* MSM System Rx FCS Errors Counter Register: 1E.6048 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6048.F:0 ROS MSM System FCS Error Counter 0 [F:0] - AQ_MsmSystemRxFcsErrorsCounterRegister_HHD.u0.bits_0.msmSystemFcsErrorCounter_0 - - Default = 0x0000 - - Frame check sequence error counter bits 15:0 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmSystemFcsErrorCounter_0 : 16; /* 1E.6048.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6049.F:0 ROS MSM System FCS Error Counter 1 [F:0] - AQ_MsmSystemRxFcsErrorsCounterRegister_HHD.u1.bits_1.msmSystemFcsErrorCounter_1 - - Default = 0x0000 - - Frame check sequence error counter bits 31:16 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmSystemFcsErrorCounter_1 : 16; /* 1E.6049.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxFcsErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Alignment Errors Counter Register: 1E.604C */ -/* MSM System Rx Alignment Errors Counter Register: 1E.604C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.604C.F:0 ROS MSM System Alignment Error Counter 0 [F:0] - AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD.u0.bits_0.msmSystemAlignmentErrorCounter_0 - - Default = 0x0000 - - Alignment error counter bits 15:0 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmSystemAlignmentErrorCounter_0 : 16; /* 1E.604C.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.604D.F:0 ROS MSM System Alignment Error Counter 1 [F:0] - AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD.u1.bits_1.msmSystemAlignmentErrorCounter_1 - - Default = 0x0000 - - Alignment error counter bits 31:16 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmSystemAlignmentErrorCounter_1 : 16; /* 1E.604D.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Pause Frames Counter Register: 1E.6050 */ -/* MSM System Tx Pause Frames Counter Register: 1E.6050 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6050.F:0 ROS MSM System Tx Pause Frames Counter 0 [F:0] - AQ_MsmSystemTxPauseFramesCounterRegister_HHD.u0.bits_0.msmSystemTxPauseFramesCounter_0 - - Default = 0x0000 - - Tx pause frame counter bits 15:0 - - Notes: - Valid pause frames transmitted. */ - unsigned int msmSystemTxPauseFramesCounter_0 : 16; /* 1E.6050.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6051.F:0 ROS MSM System Tx Pause Frames Counter 1 [F:0] - AQ_MsmSystemTxPauseFramesCounterRegister_HHD.u1.bits_1.msmSystemTxPauseFramesCounter_1 - - Default = 0x0000 - - Tx pause frame counter bits 31:16 - - - Notes: - Valid pause frames transmitted. */ - unsigned int msmSystemTxPauseFramesCounter_1 : 16; /* 1E.6051.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Pause Frames Counter Register: 1E.6054 */ -/* MSM System Rx Pause Frames Counter Register: 1E.6054 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6054.F:0 ROS MSM System Rx Pause Frames Counter 0 [F:0] - AQ_MsmSystemRxPauseFramesCounterRegister_HHD.u0.bits_0.msmSystemRxPauseFramesCounter_0 - - Default = 0x0000 - - Rx pause frame counter bits 15:0 - - Notes: - Valid pause frames received. */ - unsigned int msmSystemRxPauseFramesCounter_0 : 16; /* 1E.6054.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6055.F:0 ROS MSM System Rx Pause Frames Counter 1 [F:0] - AQ_MsmSystemRxPauseFramesCounterRegister_HHD.u1.bits_1.msmSystemRxPauseFramesCounter_1 - - Default = 0x0000 - - Rx pause frame counter bits 31:16 - - Notes: - Valid pause frames received. */ - unsigned int msmSystemRxPauseFramesCounter_1 : 16; /* 1E.6055.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Too Long Errors Counter Register: 1E.6058 */ -/* MSM System Rx Too Long Errors Counter Register: 1E.6058 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6058.F:0 ROS MSM System Rx Too Long Errors Counter 0 [F:0] - AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD.u0.bits_0.msmSystemRxTooLongErrorsCounter_0 - - Default = 0x0000 - - Too-long errors counter bits 15:0 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmSystemRxTooLongErrorsCounter_0 : 16; /* 1E.6058.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6059.F:0 ROS MSM System Rx Too Long Errors Counter 1 [F:0] - AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD.u1.bits_1.msmSystemRxTooLongErrorsCounter_1 - - Default = 0x0000 - - Too-long errors counter bits 31:16 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmSystemRxTooLongErrorsCounter_1 : 16; /* 1E.6059.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx In Range Length Errors Counter Register: 1E.605C */ -/* MSM System Rx In Range Length Errors Counter Register: 1E.605C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.605C.F:0 ROS MSM System Rx In Range Length Errors Counter 0 [F:0] - AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD.u0.bits_0.msmSystemRxInRangeLengthErrorsCounter_0 - - Default = 0x0000 - - In-range-length errors counter bits 15:0 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmSystemRxInRangeLengthErrorsCounter_0 : 16; /* 1E.605C.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.605D.F:0 ROS MSM System Rx In Range Length Errors Counter 1 [F:0] - AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD.u1.bits_1.msmSystemRxInRangeLengthErrorsCounter_1 - - Default = 0x0000 - - In-range-length errors counter bits 31:16 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmSystemRxInRangeLengthErrorsCounter_1 : 16; /* 1E.605D.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx VLAN Frames Counter Register: 1E.6060 */ -/* MSM System Tx VLAN Frames Counter Register: 1E.6060 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6060.F:0 ROS MSM System Tx VLAN Frames Counter 0 [F:0] - AQ_MsmSystemTxVlanFramesCounterRegister_HHD.u0.bits_0.msmSystemTxVlanFramesCounter_0 - - Default = 0x0000 - - Tx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmSystemTxVlanFramesCounter_0 : 16; /* 1E.6060.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6061.F:0 ROS MSM System Tx VLAN Frames Counter 1 [F:0] - AQ_MsmSystemTxVlanFramesCounterRegister_HHD.u1.bits_1.msmSystemTxVlanFramesCounter_1 - - Default = 0x0000 - - Tx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmSystemTxVlanFramesCounter_1 : 16; /* 1E.6061.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx VLAN Frames Counter Register: 1E.6064 */ -/* MSM System Rx VLAN Frames Counter Register: 1E.6064 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6064.F:0 ROS MSM System Rx VLAN Frames Counter 0 [F:0] - AQ_MsmSystemRxVlanFramesCounterRegister_HHD.u0.bits_0.msmSystemRxVlanFramesCounter_0 - - Default = 0x0000 - - Rx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmSystemRxVlanFramesCounter_0 : 16; /* 1E.6064.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6065.F:0 ROS MSM System Rx VLAN Frames Counter 1 [F:0] - AQ_MsmSystemRxVlanFramesCounterRegister_HHD.u1.bits_1.msmSystemRxVlanFramesCounter_1 - - Default = 0x0000 - - Rx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmSystemRxVlanFramesCounter_1 : 16; /* 1E.6065.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Octets Counter Register: 1E.6068 */ -/* MSM System Tx Octets Counter Register: 1E.6068 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.6068.F:0 ROS MSM System Tx Octets Counter 0 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u0.bits_0.msmSystemTxOctetsCounter_0 - - Default = 0x0000 - - Tx octets counter bits 15:0 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_0 : 16; /* 1E.6068.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.6069.F:0 ROS MSM System Tx Octets Counter 1 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u1.bits_1.msmSystemTxOctetsCounter_1 - - Default = 0x0000 - - Tx octets counter bits 31:16 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_1 : 16; /* 1E.6069.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606A.F:0 ROS MSM System Tx Octets Counter 2 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u2.bits_2.msmSystemTxOctetsCounter_2 - - Default = 0x0000 - - Tx octets counter bits 47:32 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_2 : 16; /* 1E.606A.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 47:32 */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606B.F:0 ROS MSM System Tx Octets Counter 3 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u3.bits_3.msmSystemTxOctetsCounter_3 - - Default = 0x0000 - - Tx octets counter bits 63:48 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_3 : 16; /* 1E.606B.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 63:48 */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_MsmSystemTxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Octets Counter Register: 1E.606C */ -/* MSM System Rx Octets Counter Register: 1E.606C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606C.F:0 ROS MSM System Rx Octets Counter 0 [F:0] - AQ_MsmSystemRxOctetsCounterRegister_HHD.u0.bits_0.msmSystemRxOctetsCounter_0 - - Default = 0x0000 - - Rx octets counter bits 15:0 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmSystemRxOctetsCounter_0 : 16; /* 1E.606C.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606D.F:0 ROS MSM System Rx Octets Counter 1 [F:0] - AQ_MsmSystemRxOctetsCounterRegister_HHD.u1.bits_1.msmSystemRxOctetsCounter_1 - - Default = 0x0000 - - Rx octets counter bits 31:16 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmSystemRxOctetsCounter_1 : 16; /* 1E.606D.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Unicast Frames Counter Register: 1E.6070 */ -/* MSM System Rx Unicast Frames Counter Register: 1E.6070 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6070.F:0 ROS MSM System Rx Unicast Frames Counter 0 [F:0] - AQ_MsmSystemRxUnicastFramesCounterRegister_HHD.u0.bits_0.msmSystemRxUnicastFramesCounter_0 - - Default = 0x0000 - - Rx unicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmSystemRxUnicastFramesCounter_0 : 16; /* 1E.6070.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6071.F:0 ROS MSM System Rx Unicast Frames Counter 1 [F:0] - AQ_MsmSystemRxUnicastFramesCounterRegister_HHD.u1.bits_1.msmSystemRxUnicastFramesCounter_1 - - Default = 0x0000 - - Rx unicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmSystemRxUnicastFramesCounter_1 : 16; /* 1E.6071.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Multicast Frames Counter Register: 1E.6074 */ -/* MSM System Rx Multicast Frames Counter Register: 1E.6074 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6074.F:0 ROS MSM System Rx Multicast Frames Counter 0 [F:0] - AQ_MsmSystemRxMulticastFramesCounterRegister_HHD.u0.bits_0.msmSystemRxMulticastFramesCounter_0 - - Default = 0x0000 - - Rx multicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmSystemRxMulticastFramesCounter_0 : 16; /* 1E.6074.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6075.F:0 ROS MSM System Rx Multicast Frames Counter 1 [F:0] - AQ_MsmSystemRxMulticastFramesCounterRegister_HHD.u1.bits_1.msmSystemRxMulticastFramesCounter_1 - - Default = 0x0000 - - Rx multicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmSystemRxMulticastFramesCounter_1 : 16; /* 1E.6075.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Broadcast Frames Counter Register: 1E.6078 */ -/* MSM System Rx Broadcast Frames Counter Register: 1E.6078 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6078.F:0 ROS MSM System Rx Broadcast Frames Counter 0 [F:0] - AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmSystemRxBroadcastFramesCounter_0 - - Default = 0x0000 - - Rx broadcast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmSystemRxBroadcastFramesCounter_0 : 16; /* 1E.6078.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6079.F:0 ROS MSM System Rx Broadcast Frames Counter 1 [F:0] - AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmSystemRxBroadcastFramesCounter_1 - - Default = 0x0000 - - Rx broadcast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmSystemRxBroadcastFramesCounter_1 : 16; /* 1E.6079.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Errors Counter Register: 1E.607C */ -/* MSM System Tx Errors Counter Register: 1E.607C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.607C.F:0 ROS MSM System Tx Errors Counter 0 [F:0] - AQ_MsmSystemTxErrorsCounterRegister_HHD.u0.bits_0.msmSystemTxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmSystemTxErrorsCounter_0 : 16; /* 1E.607C.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.607D.F:0 ROS MSM System Tx Errors Counter 1 [F:0] - AQ_MsmSystemTxErrorsCounterRegister_HHD.u1.bits_1.msmSystemTxErrorsCounter_1 - - Default = 0x0000 - - Tx errors counter bits 31:16 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmSystemTxErrorsCounter_1 : 16; /* 1E.607D.F:0 ROS Default = 0x0000 */ - /* Tx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Unicast Frames Counter Register: 1E.6084 */ -/* MSM System Tx Unicast Frames Counter Register: 1E.6084 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6084.F:0 ROS MSM System Tx Unicast Frames Counter 0 [F:0] - AQ_MsmSystemTxUnicastFramesCounterRegister_HHD.u0.bits_0.msmSystemTxUnicastFramesCounter_0 - - Default = 0x0000 - - Tx unicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmSystemTxUnicastFramesCounter_0 : 16; /* 1E.6084.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6085.F:0 ROS MSM System Tx Unicast Frames Counter 1 [F:0] - AQ_MsmSystemTxUnicastFramesCounterRegister_HHD.u1.bits_1.msmSystemTxUnicastFramesCounter_1 - - Default = 0x0000 - - Tx unicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmSystemTxUnicastFramesCounter_1 : 16; /* 1E.6085.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Multicast Frames Counter Register: 1E.6088 */ -/* MSM System Tx Multicast Frames Counter Register: 1E.6088 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6088.F:0 ROS MSM System Tx Multicast Frames Counter 0 [F:0] - AQ_MsmSystemTxMulticastFramesCounterRegister_HHD.u0.bits_0.msmSystemTxMulticastFramesCounter_0 - - Default = 0x0000 - - Tx multicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmSystemTxMulticastFramesCounter_0 : 16; /* 1E.6088.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6089.F:0 ROS MSM System Tx Multicast Frames Counter 1 [F:0] - AQ_MsmSystemTxMulticastFramesCounterRegister_HHD.u1.bits_1.msmSystemTxMulticastFramesCounter_1 - - Default = 0x0000 - - Tx multicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmSystemTxMulticastFramesCounter_1 : 16; /* 1E.6089.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Broadcast Frames Counter Register: 1E.608C */ -/* MSM System Tx Broadcast Frames Counter Register: 1E.608C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.608C.F:0 ROS MSM System Tx Broadcast Frames Counter 0 [F:0] - AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmSystemTxBroadcastFramesCounter_0 - - Default = 0x0000 - - Tx broadcast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmSystemTxBroadcastFramesCounter_0 : 16; /* 1E.608C.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.608D.F:0 ROS MSM System Tx Broadcast Frames Counter 1 [F:0] - AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmSystemTxBroadcastFramesCounter_1 - - Default = 0x0000 - - Tx broadcast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmSystemTxBroadcastFramesCounter_1 : 16; /* 1E.608D.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Errors Counter Register: 1E.60C8 */ -/* MSM System Rx Errors Counter Register: 1E.60C8 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.60C8.F:0 ROS MSM System Rx Errors Counter 0 [F:0] - AQ_MsmSystemRxErrorsCounterRegister_HHD.u0.bits_0.msmSystemRxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmSystemRxErrorsCounter_0 : 16; /* 1E.60C8.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.60C9.F:0 ROS MSM System Rx Errors Counter 1 [F:0] - AQ_MsmSystemRxErrorsCounterRegister_HHD.u1.bits_1.msmSystemRxErrorsCounter_1 - - Default = 0x0000 - - Rx errors counter bits 31:16 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmSystemRxErrorsCounter_1 : 16; /* 1E.60C9.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress VLAN TPID 0 Register: 1E.8006 */ -/* MSS Ingress VLAN TPID 0 Register: 1E.8006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress VLAN TPID 0 Register */ - union - { - struct - { - /*! \brief 1E.8006.F:0 R/W MSS Ingress VLAN STag [F:0] - AQ_MssIngressVlanTpid_0Register_HHD.u0.bits_0.mssIngressVlanStag - - Default = 0x0000 - - STag TPID - - - Notes: - Service Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse STag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssIngressVlanStag : 16; /* 1E.8006.F:0 R/W Default = 0x0000 */ - /* STag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress VLAN TPID 0 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressVlanTpid_0Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress VLAN TPID 1 Register: 1E.8008 */ -/* MSS Ingress VLAN TPID 1 Register: 1E.8008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress VLAN TPID 1 Register */ - union - { - struct - { - /*! \brief 1E.8008.F:0 R/W MSS Ingress VLAN QTag [F:0] - AQ_MssIngressVlanTpid_1Register_HHD.u0.bits_0.mssIngressVlanQtag - - Default = 0x0000 - - QTag TPID - - - Notes: - Customer Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse QTag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssIngressVlanQtag : 16; /* 1E.8008.F:0 R/W Default = 0x0000 */ - /* QTag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress VLAN TPID 1 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressVlanTpid_1Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress VLAN Control Register: 1E.800A */ -/* MSS Ingress VLAN Control Register: 1E.800A */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.800A.F:0 R/W MSS Ingress VLAN UP Map Table LSW [F:0] - AQ_MssIngressVlanControlRegister_HHD.u0.bits_0.mssIngressVlanUpMapTableLSW - - Default = 0x0000 - - Map table bits 15:0 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 */ - unsigned int mssIngressVlanUpMapTableLSW : 16; /* 1E.800A.F:0 R/W Default = 0x0000 */ - /* Map table bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.800B.7:0 R/W MSS Ingress VLAN UP Map Table MSW [17:10] - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanUpMapTableMSW - - Default = 0x00 - - UP Map table bits 23:16 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 - 20:18 : UP value for customer Tag PCP 0x0 - 23:21 : UP value for customer Tag PCP 0x0 */ - unsigned int mssIngressVlanUpMapTableMSW : 8; /* 1E.800B.7:0 R/W Default = 0x00 */ - /* UP Map table bits 23:16 - */ - /*! \brief 1E.800B.A:8 R/W MSS Ingress VLAN UP Default [2:0] - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanUpDefault - - Default = 0x0 - - UP default - - - Notes: - User priority default */ - unsigned int mssIngressVlanUpDefault : 3; /* 1E.800B.A:8 R/W Default = 0x0 */ - /* UP default - */ - /*! \brief 1E.800B.B R/W MSS Ingress VLAN STag UP Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanStagUpParseEnable - - Default = 0x0 - - VLAN CP Tag STag UP enable - - - Notes: - Enable controlled port service VLAN service Tag user priority field parsing. */ - unsigned int mssIngressVlanStagUpParseEnable : 1; /* 1E.800B.B R/W Default = 0x0 */ - /* VLAN CP Tag STag UP enable - */ - /*! \brief 1E.800B.C R/W MSS Ingress VLAN QTag UP Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanQtagUpParseEnable - - Default = 0x0 - - VLAN CP Tag QTag UP enable - - - Notes: - Enable controlled port customer VLAN customer Tag user priority field parsing. */ - unsigned int mssIngressVlanQtagUpParseEnable : 1; /* 1E.800B.C R/W Default = 0x0 */ - /* VLAN CP Tag QTag UP enable - */ - /*! \brief 1E.800B.D R/W MSS Ingress VLAN QinQ Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanQinqParseEnable - - Default = 0x0 - - VLAN CP Tag Parse QinQ - - - Notes: - Enable controlled port VLAN QinQ Tag parsing. When this bit is set to 1 both the outer and inner VLAN Tags will be parsed. */ - unsigned int mssIngressVlanQinqParseEnable : 1; /* 1E.800B.D R/W Default = 0x0 */ - /* VLAN CP Tag Parse QinQ - */ - /*! \brief 1E.800B.E R/W MSS Ingress VLAN STag Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanStagParseEnable - - Default = 0x0 - - 1 = Enable VLAN STag parsing - - - Notes: - Enable controlled port VLAN service Tag parsing. When this bit is set to 1, the incoming packets outer TPID will be compared with the configured " See MSS Ingress VLAN Stag [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssIngressVlanStagParseEnable : 1; /* 1E.800B.E R/W Default = 0x0 */ - /* 1 = Enable VLAN STag parsing - */ - /*! \brief 1E.800B.F R/W MSS Ingress VLAN QTag Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanQtagParseEnable - - Default = 0x0 - - 1 = Enable VLAN QTag parsing - - - Notes: - Enable controlled port VLAN customer Tag parsing. When this bit is set to 1, the incoming packet's outer TPID will be compared with the configured " See MSS Ingress VLAN QTag [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssIngressVlanQtagParseEnable : 1; /* 1E.800B.F R/W Default = 0x0 */ - /* 1 = Enable VLAN QTag parsing - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressVlanControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress MTU Size Control Register: 1E.800C */ -/* MSS Ingress MTU Size Control Register: 1E.800C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.800C.F:0 R/W MSS Ingress Controlled Packet MTU Size [F:0] - AQ_MssIngressMtuSizeControlRegister_HHD.u0.bits_0.mssIngressControlledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for controlled packet - - - Notes: - Maximum transmission unit of controlled packet */ - unsigned int mssIngressControlledPacketMtuSize : 16; /* 1E.800C.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for controlled packet - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.800D.F:0 R/W MSS Ingress Uncontrolled Packet MTU Size [F:0] - AQ_MssIngressMtuSizeControlRegister_HHD.u1.bits_1.mssIngressUncontrolledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for uncontrolled packet - - - Notes: - Maximum transmission unit of uncontrolled packet */ - unsigned int mssIngressUncontrolledPacketMtuSize : 16; /* 1E.800D.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for uncontrolled packet - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressMtuSizeControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress Control Register: 1E.800E */ -/* MSS Ingress Control Register: 1E.800E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress Control Register */ - union - { - struct - { - /*! \brief 1E.800E.0 R/W MSS Ingress Soft Reset - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - S/W reset */ - unsigned int mssIngressSoftReset : 1; /* 1E.800E.0 R/W Default = 0x0 */ - /* 1 = Soft reset - */ - /*! \brief 1E.800E.1 R/W MSS Ingress Operation Point To Point - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressOperationPointToPoint - - Default = 0x0 - - 1 = Enable the SCI for authorization default - - - Notes: - The default SCI for authorization is configured in See MSS Ingress SCI Default [F:0] See MSS Ingress SCI Default [1F:10] , See MSS Ingress SCI Default [2F:20] , and See MSS Ingress SCI Default [3F:30] . */ - unsigned int mssIngressOperationPointToPoint : 1; /* 1E.800E.1 R/W Default = 0x0 */ - /* 1 = Enable the SCI for authorization default - */ - /*! \brief 1E.800E.2 R/W MSS Ingress Create SCI - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressCreateSci - - Default = 0x0 - - 0 = SCI from IGPRC LUT - - - Notes: - If the SCI is not in the packet and this bit is set to 0, the SCI will be taken from the IGPRC LUT. */ - unsigned int mssIngressCreateSci : 1; /* 1E.800E.2 R/W Default = 0x0 */ - /* 0 = SCI from IGPRC LUT - */ - /*! \brief 1E.800E.3 R/W MSS Ingress Mask Short Length Error - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressMaskShortLengthError - - Default = 0x0 - - Unused - - - Notes: - Unused */ - unsigned int mssIngressMaskShortLengthError : 1; /* 1E.800E.3 R/W Default = 0x0 */ - /* Unused - */ - /*! \brief 1E.800E.4 R/W MSS Ingress Drop Kay Packet - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressDropKayPacket - - Default = 0x0 - - 1 = Drop KaY packets - - - Notes: - Decides whether KaY packets have to be dropped */ - unsigned int mssIngressDropKayPacket : 1; /* 1E.800E.4 R/W Default = 0x0 */ - /* 1 = Drop KaY packets - */ - /*! \brief 1E.800E.5 R/W MSS Ingress Drop IGPRC Miss - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressDropIgprcMiss - - Default = 0x0 - - 1 = Drop IGPRC miss packets - - - Notes: - Decides whether Ingress Pre-Security Classification (IGPRC) LUT miss packets are to be dropped */ - unsigned int mssIngressDropIgprcMiss : 1; /* 1E.800E.5 R/W Default = 0x0 */ - /* 1 = Drop IGPRC miss packets - */ - /*! \brief 1E.800E.6 R/W MSS Ingress Check ICV - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressCheckIcv - - Default = 0x0 - - Unused - - - Notes: - Unused */ - unsigned int mssIngressCheckIcv : 1; /* 1E.800E.6 R/W Default = 0x0 */ - /* Unused - */ - /*! \brief 1E.800E.7 R/W MSS Ingress Clear Global Time - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressClearGlobalTime - - Default = 0x0 - - 1 = Clear global time - - - Notes: - Clear global time */ - unsigned int mssIngressClearGlobalTime : 1; /* 1E.800E.7 R/W Default = 0x0 */ - /* 1 = Clear global time - */ - /*! \brief 1E.800E.8 R/W MSS Ingress Clear Count - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressClearCount - - Default = 0x0 - - 1 = Clear all MIB counters - - - Notes: - If this bit is set to 1, all MIB counters will be cleared. */ - unsigned int mssIngressClearCount : 1; /* 1E.800E.8 R/W Default = 0x0 */ - /* 1 = Clear all MIB counters - */ - /*! \brief 1E.800E.9 R/W MSS Ingress High Priority - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressHighPriority - - Default = 0x0 - - 1 = MIB counter clear on read enable - - - Notes: - If this bit is set to 1, read is given high priority and the MIB count value becomes 0 after read. */ - unsigned int mssIngressHighPriority : 1; /* 1E.800E.9 R/W Default = 0x0 */ - /* 1 = MIB counter clear on read enable - */ - /*! \brief 1E.800E.A R/W MSS Ingress Remove SECTag - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressRemoveSectag - - Default = 0x0 - - 1 = Enable removal of SECTag - - - Notes: - If this bit is set and either of the following two conditions occurs, the SECTag will be removed. - Controlled packet and either the SA or SC is invalid. - IGPRC miss. */ - unsigned int mssIngressRemoveSectag : 1; /* 1E.800E.A R/W Default = 0x0 */ - /* 1 = Enable removal of SECTag - */ - /*! \brief 1E.800E.C:B R/W MSS Ingress Global Validate Frames [1:0] - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressGlobalValidateFrames - - Default = 0x0 - - Default validate frames configuration - - - Notes: - If the SC is invalid or if an IGPRC miss packet condition occurs, this default will be used for the validate frames configuration instead of the validate frame entry in the Ingress SC Table (IGSCT). */ - unsigned int mssIngressGlobalValidateFrames : 2; /* 1E.800E.C:B R/W Default = 0x0 */ - /* Default validate frames configuration - */ - /*! \brief 1E.800E.D R/W MSS Ingress ICV LSB 8 Bytes Enable - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressIcvLsb_8BytesEnable - - Default = 0x0 - - 1 = Use LSB - 0 = Use MSB - - - - Notes: - This bit selects MSB or LSB 8 bytes selection in the case where the ICV is 8 bytes. - 0 = MSB is used. */ - unsigned int mssIngressIcvLsb_8BytesEnable : 1; /* 1E.800E.D R/W Default = 0x0 */ - /* 1 = Use LSB - 0 = Use MSB - - */ - unsigned int reserved0 : 2; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress Control Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Control Register: 1E.8010 */ -/* MSS Ingress SA Control Register: 1E.8010 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Control Register */ - union - { - struct - { - /*! \brief 1E.8010.F:0 R/W MSS Ingress SA Threshold LSW [F:0] - AQ_MssIngressSaControlRegister_HHD.u0.bits_0.mssIngressSaThresholdLSW - - Default = 0x0000 - - SA threshold bits 15:0 - - - Notes: - Ingress PN threshold to generate SA threshold interrupt. */ - unsigned int mssIngressSaThresholdLSW : 16; /* 1E.8010.F:0 R/W Default = 0x0000 */ - /* SA threshold bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Control Register */ - union - { - struct - { - /*! \brief 1E.8011.F:0 R/W MSS Ingress SA Threshold MSW [1F:10] - AQ_MssIngressSaControlRegister_HHD.u1.bits_1.mssIngressSaThresholdMSW - - Default = 0x0000 - - SA threshold bits 31:16 - - - Notes: - Ingress PN threshold to generate SA threshold interrupt. */ - unsigned int mssIngressSaThresholdMSW : 16; /* 1E.8011.F:0 R/W Default = 0x0000 */ - /* SA threshold bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress Interrupt Status Register: 1E.802E */ -/* MSS Ingress Interrupt Status Register: 1E.802E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.802E.0 COW MSS Master Ingress Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssMasterIngressInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when any one of the above interrupt and the corresponding interrupt enable are both set. The interrupt enable for this bit must also be set for this bit to be set. */ - unsigned int mssMasterIngressInterrupt : 1; /* 1E.802E.0 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.1 COW MSS Ingress SA Expired Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressSaExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches all ones saturation. */ - unsigned int mssIngressSaExpiredInterrupt : 1; /* 1E.802E.1 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.2 COW MSS Ingress SA Threshold Expired Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressSaThresholdExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches the See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssIngressSaThresholdExpiredInterrupt : 1; /* 1E.802E.2 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.3 COW MSS Ingress ICV Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressIcvErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. */ - unsigned int mssIngressIcvErrorInterrupt : 1; /* 1E.802E.3 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.4 COW MSS Ingress Replay Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressReplayErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. */ - unsigned int mssIngressReplayErrorInterrupt : 1; /* 1E.802E.4 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.5 COW MSS Ingress MIB Saturation Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressMibSaturationInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the MIB counters reaches all ones saturation. */ - unsigned int mssIngressMibSaturationInterrupt : 1; /* 1E.802E.5 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.6 COW MSS Ingress ECC Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressEccErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. */ - unsigned int mssIngressEccErrorInterrupt : 1; /* 1E.802E.6 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.7 COW MSS Ingress TCI E/C Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressTciE_cErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This error occurs when the TCI E bit is 1 and the TCI C bit is 0. The packet is not dropped, uncontrolled, or untagged. */ - unsigned int mssIngressTciE_cErrorInterrupt : 1; /* 1E.802E.7 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.8 COW MSS Ingress IGPOC Miss Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressIgpocMissInterrupt - - Default = 0x0 - - 1 = Interrupt - - */ - unsigned int mssIngressIgpocMissInterrupt : 1; /* 1E.802E.8 COW Default = 0x0 */ - /* 1 = Interrupt - */ - unsigned int reserved0 : 7; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress Interrupt Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress Interrupt Mask Register: 1E.8030 */ -/* MSS Ingress Interrupt Mask Register: 1E.8030 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress Interrupt Mask Register */ - union - { - struct - { - /*! \brief 1E.8030.0 R/W MSS Ingress Master Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressMasterInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressMasterInterruptEnable : 1; /* 1E.8030.0 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.1 R/W MSS Ingress SA Expired Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressSaExpiredInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressSaExpiredInterruptEnable : 1; /* 1E.8030.1 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.2 R/W MSS Ingress SA Threshold Expired Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressSaThresholdExpiredInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressSaThresholdExpiredInterruptEnable : 1; /* 1E.8030.2 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.3 R/W MSS Ingress ICV Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressIcvErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressIcvErrorInterruptEnable : 1; /* 1E.8030.3 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.4 R/W MSS Ingress Replay Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressReplayErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressReplayErrorInterruptEnable : 1; /* 1E.8030.4 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.5 R/W MSS Ingress MIB Saturation Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressMibSaturationInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressMibSaturationInterruptEnable : 1; /* 1E.8030.5 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.6 R/W MSS Ingress ECC Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressEccErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressEccErrorInterruptEnable : 1; /* 1E.8030.6 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.7 R/W MSS Ingress TCI E/C Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressTciE_cErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressTciE_cErrorInterruptEnable : 1; /* 1E.8030.7 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.8 R/W MSS Ingress IGPOC Miss Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressIgpocMissInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressIgpocMissInterruptEnable : 1; /* 1E.8030.8 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - unsigned int reserved0 : 7; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress Interrupt Mask Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressInterruptMaskRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA ICV Error Status Register: 1E.8032 */ -/* MSS Ingress SA ICV Error Status Register: 1E.8032 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA ICV Error Status Register */ - union - { - struct - { - /*! \brief 1E.8032.F:0 COW MSS Ingress SA ICV Error LSW [F:0] - AQ_MssIngressSaIcvErrorStatusRegister_HHD.u0.bits_0.mssIngressSaIcvErrorLSW - - Default = 0x0000 - - SA ICV error bits 15:0 - - - Notes: - When set, these bits identify the SA that has an ICV error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaIcvErrorLSW : 16; /* 1E.8032.F:0 COW Default = 0x0000 */ - /* SA ICV error bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA ICV Error Status Register */ - union - { - struct - { - /*! \brief 1E.8033.F:0 COW MSS Ingress SA ICV Error MSW [1F:10] - AQ_MssIngressSaIcvErrorStatusRegister_HHD.u1.bits_1.mssIngressSaIcvErrorMSW - - Default = 0x0000 - - SA ICV error bits 31:16 - - - Notes: - When set, these bits identify the SA that has an ICV error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaIcvErrorMSW : 16; /* 1E.8033.F:0 COW Default = 0x0000 */ - /* SA ICV error bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaIcvErrorStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Replay Error Status Register: 1E.8034 */ -/* MSS Ingress SA Replay Error Status Register: 1E.8034 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Replay Error Status Register */ - union - { - struct - { - /*! \brief 1E.8034.F:0 COW MSS Ingress SA Replay Error LSW [F:0] - AQ_MssIngressSaReplayErrorStatusRegister_HHD.u0.bits_0.mssIngressSaReplayErrorLSW - - Default = 0x0000 - - SA replay error bits 15:0 - - - Notes: - When set, these bits identify the SA that has a replay error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaReplayErrorLSW : 16; /* 1E.8034.F:0 COW Default = 0x0000 */ - /* SA replay error bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Replay Error Status Register */ - union - { - struct - { - /*! \brief 1E.8035.F:0 COW MSS Ingress SA Replay Error MSW [1F:10] - AQ_MssIngressSaReplayErrorStatusRegister_HHD.u1.bits_1.mssIngressSaReplayErrorMSW - - Default = 0x0000 - - SA replay error bits 31:16 - - - Notes: - When set, these bits identify the SA that has a replay error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaReplayErrorMSW : 16; /* 1E.8035.F:0 COW Default = 0x0000 */ - /* SA replay error bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaReplayErrorStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Expired Status Register: 1E.8036 */ -/* MSS Ingress SA Expired Status Register: 1E.8036 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8036.F:0 ROS MSS Ingress SA Expired LSW [F:0] - AQ_MssIngressSaExpiredStatusRegister_HHD.u0.bits_0.mssIngressSaExpiredLSW - - Default = 0x0000 - - SA expired bits 15:0 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. Write these bits to 1 to clear. */ - unsigned int mssIngressSaExpiredLSW : 16; /* 1E.8036.F:0 ROS Default = 0x0000 */ - /* SA expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8037.F:0 ROS MSS Ingress SA Expired MSW [1F:10] - AQ_MssIngressSaExpiredStatusRegister_HHD.u1.bits_1.mssIngressSaExpiredMSW - - Default = 0x0000 - - SA expired bits 31:16 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. Write these bits to 1 to clear. */ - unsigned int mssIngressSaExpiredMSW : 16; /* 1E.8037.F:0 ROS Default = 0x0000 */ - /* SA expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Threshold Expired Status Register: 1E.8038 */ -/* MSS Ingress SA Threshold Expired Status Register: 1E.8038 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8038.F:0 ROS MSS Ingress SA Threshold Expired LSW [F:0] - AQ_MssIngressSaThresholdExpiredStatusRegister_HHD.u0.bits_0.mssIngressSaThresholdExpiredLSW - - Default = 0x0000 - - SA threshold expired bits 15:0 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . Write these bits to 1 to clear. */ - unsigned int mssIngressSaThresholdExpiredLSW : 16; /* 1E.8038.F:0 ROS Default = 0x0000 */ - /* SA threshold expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8039.F:0 ROS MSS Ingress SA Threshold Expired MSW [1F:10] - AQ_MssIngressSaThresholdExpiredStatusRegister_HHD.u1.bits_1.mssIngressSaThresholdExpiredMSW - - Default = 0x0000 - - SA threshold expired bits 31:16 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . Write these bits to 1 to clear. */ - unsigned int mssIngressSaThresholdExpiredMSW : 16; /* 1E.8039.F:0 ROS Default = 0x0000 */ - /* SA threshold expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaThresholdExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress ECC Interrupt Status Register: 1E.803A */ -/* MSS Ingress ECC Interrupt Status Register: 1E.803A */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.803A.F:0 R/W MSS Ingress SA ECC Error Interrupt LSW [F:0] - AQ_MssIngressEccInterruptStatusRegister_HHD.u0.bits_0.mssIngressSaEccErrorInterruptLSW - - Default = 0x0000 - - SA ECC error interrupt bits 15:0 - - - Notes: - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssIngressSaEccErrorInterruptLSW : 16; /* 1E.803A.F:0 R/W Default = 0x0000 */ - /* SA ECC error interrupt bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.803B.F:0 R/W MSS Ingress SA ECC Error Interrupt MSW [1F:10] - AQ_MssIngressEccInterruptStatusRegister_HHD.u1.bits_1.mssIngressSaEccErrorInterruptMSW - - Default = 0x0000 - - SA ECC error interrupt bits 31:16 - - - Notes: - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssIngressSaEccErrorInterruptMSW : 16; /* 1E.803B.F:0 R/W Default = 0x0000 */ - /* SA ECC error interrupt bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressEccInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress LUT Address Control Register: 1E.8080 */ -/* MSS Ingress LUT Address Control Register: 1E.8080 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress LUT Address Control Register */ - union - { - struct - { - /*! \brief 1E.8080.8:0 R/W MSS Ingress LUT Address [8:0] - AQ_MssIngressLutAddressControlRegister_HHD.u0.bits_0.mssIngressLutAddress - - Default = 0x000 - - LUT address - - */ - unsigned int mssIngressLutAddress : 9; /* 1E.8080.8:0 R/W Default = 0x000 */ - /* LUT address - */ - unsigned int reserved0 : 3; - /*! \brief 1E.8080.F:C R/W MSS Ingress LUT Select [3:0] - AQ_MssIngressLutAddressControlRegister_HHD.u0.bits_0.mssIngressLutSelect - - Default = 0x0 - - LUT select - - - Notes: - 0x0 : Ingress Pre-Security MAC Control FIlter (IGPRCTLF) LUT - 0x1 : Ingress Pre-Security Classification LUT (IGPRC) - 0x2 : Ingress Packet Format (IGPFMT) SAKey LUT - 0x3 : Ingress Packet Format (IGPFMT) SC/SA LUT - 0x4 : Ingress Post-Security Classification LUT (IGPOC) - 0x5 : Ingress Post-Security MAC Control Filter (IGPOCTLF) LUT - 0x6 : Ingress MIB (IGMIB) */ - unsigned int mssIngressLutSelect : 4; /* 1E.8080.F:C R/W Default = 0x0 */ - /* LUT select - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssIngressLutAddressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress LUT Control Register: 1E.8081 */ -/* MSS Ingress LUT Control Register: 1E.8081 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress LUT Control Register */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.8081.E R/W MSS Ingress LUT Read - AQ_MssIngressLutControlRegister_HHD.u0.bits_0.mssIngressLutRead - - Default = 0x0 - - 1 = LUT read - - - Notes: - Setting this bit to 1, will read the LUT. This bit will automatically clear to 0. */ - unsigned int mssIngressLutRead : 1; /* 1E.8081.E R/W Default = 0x0 */ - /* 1 = LUT read - */ - /*! \brief 1E.8081.F R/W MSS Ingress LUT Write - AQ_MssIngressLutControlRegister_HHD.u0.bits_0.mssIngressLutWrite - - Default = 0x0 - - 1 = LUT write - - - Notes: - Setting this bit to 1, will write the LUT. This bit will automatically clear to 0. */ - unsigned int mssIngressLutWrite : 1; /* 1E.8081.F R/W Default = 0x0 */ - /* 1 = LUT write - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssIngressLutControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress LUT Data Control Register: 1E.80A0 */ -/* MSS Ingress LUT Data Control Register: 1E.80A0 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A0.F:0 R/W MSS Ingress LUT Data 0 [F:0] - AQ_MssIngressLutDataControlRegister_HHD.u0.bits_0.mssIngressLutData_0 - - Default = 0x0000 - - LUT data bits 15:0 - - */ - unsigned int mssIngressLutData_0 : 16; /* 1E.80A0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A1.F:0 R/W MSS Ingress LUT Data 1 [1F:10] - AQ_MssIngressLutDataControlRegister_HHD.u1.bits_1.mssIngressLutData_1 - - Default = 0x0000 - - LUT data bits 31:16 - - */ - unsigned int mssIngressLutData_1 : 16; /* 1E.80A1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A2.F:0 R/W MSS Ingress LUT Data 2 [2F:20] - AQ_MssIngressLutDataControlRegister_HHD.u2.bits_2.mssIngressLutData_2 - - Default = 0x0000 - - LUT data bits 47:32 - - */ - unsigned int mssIngressLutData_2 : 16; /* 1E.80A2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 47:32 - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A3.F:0 R/W MSS Ingress LUT Data 3 [3F:30] - AQ_MssIngressLutDataControlRegister_HHD.u3.bits_3.mssIngressLutData_3 - - Default = 0x0000 - - LUT data bits 63:48 - - */ - unsigned int mssIngressLutData_3 : 16; /* 1E.80A3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 63:48 - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A4.F:0 R/W MSS Ingress LUT Data 4 [4F:40] - AQ_MssIngressLutDataControlRegister_HHD.u4.bits_4.mssIngressLutData_4 - - Default = 0x0000 - - LUT data bits 79:64 - - */ - unsigned int mssIngressLutData_4 : 16; /* 1E.80A4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 79:64 - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A5.F:0 R/W MSS Ingress LUT Data 5 [5F:50] - AQ_MssIngressLutDataControlRegister_HHD.u5.bits_5.mssIngressLutData_5 - - Default = 0x0000 - - LUT data bits 95:80 - - */ - unsigned int mssIngressLutData_5 : 16; /* 1E.80A5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 95:80 - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A6.F:0 R/W MSS Ingress LUT Data 6 [6F:60] - AQ_MssIngressLutDataControlRegister_HHD.u6.bits_6.mssIngressLutData_6 - - Default = 0x0000 - - LUT data bits 111:96 - - */ - unsigned int mssIngressLutData_6 : 16; /* 1E.80A6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 111:96 - */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A7.F:0 R/W MSS Ingress LUT Data 7 [7F:70] - AQ_MssIngressLutDataControlRegister_HHD.u7.bits_7.mssIngressLutData_7 - - Default = 0x0000 - - LUT data bits 127:112 - - */ - unsigned int mssIngressLutData_7 : 16; /* 1E.80A7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 127:112 - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A8.F:0 R/W MSS Ingress LUT Data 8 [8F:80] - AQ_MssIngressLutDataControlRegister_HHD.u8.bits_8.mssIngressLutData_8 - - Default = 0x0000 - - LUT data bits 143:128 - - */ - unsigned int mssIngressLutData_8 : 16; /* 1E.80A8.F:0 R/W Default = 0x0000 */ - /* LUT data bits 143:128 - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A9.F:0 R/W MSS Ingress LUT Data 9 [9F:90] - AQ_MssIngressLutDataControlRegister_HHD.u9.bits_9.mssIngressLutData_9 - - Default = 0x0000 - - LUT data bits 159:144 - - */ - unsigned int mssIngressLutData_9 : 16; /* 1E.80A9.F:0 R/W Default = 0x0000 */ - /* LUT data bits 159:144 - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AA.F:0 R/W MSS Ingress LUT Data 10 [AF:A0] - AQ_MssIngressLutDataControlRegister_HHD.u10.bits_10.mssIngressLutData_10 - - Default = 0x0000 - - LUT data bits 175:160 - - */ - unsigned int mssIngressLutData_10 : 16; /* 1E.80AA.F:0 R/W Default = 0x0000 */ - /* LUT data bits 175:160 - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AB.F:0 R/W MSS Ingress LUT Data 11 [BF:B0] - AQ_MssIngressLutDataControlRegister_HHD.u11.bits_11.mssIngressLutData_11 - - Default = 0x0000 - - LUT data bits 191:176 - - */ - unsigned int mssIngressLutData_11 : 16; /* 1E.80AB.F:0 R/W Default = 0x0000 */ - /* LUT data bits 191:176 - */ - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Union for bit and word level access of word 12 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AC.F:0 R/W MSS Ingress LUT Data 12 [CF:C0] - AQ_MssIngressLutDataControlRegister_HHD.u12.bits_12.mssIngressLutData_12 - - Default = 0x0000 - - LUT data bits 207:192 - - */ - unsigned int mssIngressLutData_12 : 16; /* 1E.80AC.F:0 R/W Default = 0x0000 */ - /* LUT data bits 207:192 - */ - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Union for bit and word level access of word 13 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AD.F:0 R/W MSS Ingress LUT Data 13 [DF:D0] - AQ_MssIngressLutDataControlRegister_HHD.u13.bits_13.mssIngressLutData_13 - - Default = 0x0000 - - LUT data bits 223:208 - - */ - unsigned int mssIngressLutData_13 : 16; /* 1E.80AD.F:0 R/W Default = 0x0000 */ - /* LUT data bits 223:208 - */ - } bits_13; - uint16_t word_13; - } u13; - /*! \brief Union for bit and word level access of word 14 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AE.F:0 R/W MSS Ingress LUT Data 14 [EF:E0] - AQ_MssIngressLutDataControlRegister_HHD.u14.bits_14.mssIngressLutData_14 - - Default = 0x0000 - - LUT data bits 239:224 - - */ - unsigned int mssIngressLutData_14 : 16; /* 1E.80AE.F:0 R/W Default = 0x0000 */ - /* LUT data bits 239:224 - */ - } bits_14; - uint16_t word_14; - } u14; - /*! \brief Union for bit and word level access of word 15 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AF.F:0 R/W MSS Ingress LUT Data 15 [FF:F0] - AQ_MssIngressLutDataControlRegister_HHD.u15.bits_15.mssIngressLutData_15 - - Default = 0x0000 - - LUT data bits 255:240 - - */ - unsigned int mssIngressLutData_15 : 16; /* 1E.80AF.F:0 R/W Default = 0x0000 */ - /* LUT data bits 255:240 - */ - } bits_15; - uint16_t word_15; - } u15; - /*! \brief Union for bit and word level access of word 16 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B0.F:0 R/W MSS Ingress LUT Data 16 [10F:100] - AQ_MssIngressLutDataControlRegister_HHD.u16.bits_16.mssIngressLutData_16 - - Default = 0x0000 - - LUT data bits 271:256 - - */ - unsigned int mssIngressLutData_16 : 16; /* 1E.80B0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 271:256 - */ - } bits_16; - uint16_t word_16; - } u16; - /*! \brief Union for bit and word level access of word 17 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B1.F:0 R/W MSS Ingress LUT Data 17 [11F:110] - AQ_MssIngressLutDataControlRegister_HHD.u17.bits_17.mssIngressLutData_17 - - Default = 0x0000 - - LUT data bits 287:272 - - */ - unsigned int mssIngressLutData_17 : 16; /* 1E.80B1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 287:272 - */ - } bits_17; - uint16_t word_17; - } u17; - /*! \brief Union for bit and word level access of word 18 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B2.F:0 R/W MSS Ingress LUT Data 18 [12F:120] - AQ_MssIngressLutDataControlRegister_HHD.u18.bits_18.mssIngressLutData_18 - - Default = 0x0000 - - LUT data bits 303:288 - - */ - unsigned int mssIngressLutData_18 : 16; /* 1E.80B2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 303:288 - */ - } bits_18; - uint16_t word_18; - } u18; - /*! \brief Union for bit and word level access of word 19 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B3.F:0 R/W MSS Ingress LUT Data 19 [13F:130] - AQ_MssIngressLutDataControlRegister_HHD.u19.bits_19.mssIngressLutData_19 - - Default = 0x0000 - - LUT data bits 319:304 - - */ - unsigned int mssIngressLutData_19 : 16; /* 1E.80B3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 319:304 - */ - } bits_19; - uint16_t word_19; - } u19; - /*! \brief Union for bit and word level access of word 20 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B4.F:0 R/W MSS Ingress LUT Data 20 [14F:140] - AQ_MssIngressLutDataControlRegister_HHD.u20.bits_20.mssIngressLutData_20 - - Default = 0x0000 - - LUT data bits 335:320 - - */ - unsigned int mssIngressLutData_20 : 16; /* 1E.80B4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 335:320 - */ - } bits_20; - uint16_t word_20; - } u20; - /*! \brief Union for bit and word level access of word 21 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B5.F:0 R/W MSS Ingress LUT Data 21 [15F:150] - AQ_MssIngressLutDataControlRegister_HHD.u21.bits_21.mssIngressLutData_21 - - Default = 0x0000 - - LUT data bits 351:336 - - */ - unsigned int mssIngressLutData_21 : 16; /* 1E.80B5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 351:336 - */ - } bits_21; - uint16_t word_21; - } u21; - /*! \brief Union for bit and word level access of word 22 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B6.F:0 R/W MSS Ingress LUT Data 22 [16F:160] - AQ_MssIngressLutDataControlRegister_HHD.u22.bits_22.mssIngressLutData_22 - - Default = 0x0000 - - LUT data bits 367:352 - - */ - unsigned int mssIngressLutData_22 : 16; /* 1E.80B6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 367:352 - */ - } bits_22; - uint16_t word_22; - } u22; - /*! \brief Union for bit and word level access of word 23 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B7.F:0 R/W MSS Ingress LUT Data 23 [17F:170] - AQ_MssIngressLutDataControlRegister_HHD.u23.bits_23.mssIngressLutData_23 - - Default = 0x0000 - - LUT data bits 383:368 - - */ - unsigned int mssIngressLutData_23 : 16; /* 1E.80B7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 383:368 - */ - } bits_23; - uint16_t word_23; - } u23; -} AQ_MssIngressLutDataControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line General Control Register: 1E.9004 */ -/* MSM Line General Control Register: 1E.9004 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line General Control Register */ - union - { - struct - { - /*! \brief 1E.9004.0 R/W MSM Line Tx Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxEnable - - Default = 0x0 - - 1 = Tx enable - - Notes: - MAC Rx path enable. Should be set to 1 to enable the MAC Rx path. Should be set to 0 to disable the MAC Rx path. */ - unsigned int msmLineTxEnable : 1; /* 1E.9004.0 R/W Default = 0x0 */ - /* 1 = Tx enable */ - /*! \brief 1E.9004.1 R/W MSM Line Rx Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineRxEnable - - Default = 0x0 - - 1 = Rx enable - - Notes: - MAC Tx path enable. Should be set to 1 to enable the MAC Tx path. Should be set to 0 to disable the MAC Tx path. */ - unsigned int msmLineRxEnable : 1; /* 1E.9004.1 R/W Default = 0x0 */ - /* 1 = Rx enable */ - unsigned int reserved0 : 1; - /*! \brief 1E.9004.3 R/W MSM Line WAN Mode - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineWanMode - - Default = 0x0 - - 1 = WAN mode - 0 = LAN mode - - - Notes: - WAN mode enable. Sets WAN mode when set to 1 and LAN mode when set to 0. Note: When changing the mode, verifiy correct setting of the Tx IPG. */ - unsigned int msmLineWanMode : 1; /* 1E.9004.3 R/W Default = 0x0 */ - /* 1 = WAN mode - 0 = LAN mode - */ - /*! \brief 1E.9004.4 R/W MSM Line Promiscuous Mode - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePromiscuousMode - - Default = 0x0 - - 1 = Promiscuous mode - - - Notes: - When set to 1, all frames are received without any MAC address filtering. */ - unsigned int msmLinePromiscuousMode : 1; /* 1E.9004.4 R/W Default = 0x0 */ - /* 1 = Promiscuous mode - */ - /*! \brief 1E.9004.5 R/W MSM Line PAD Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePadEnable - - Default = 0x0 - - 1 = Enable frame padding removal on Rx - - - Notes: - When set to 1, enable frame padding removal on the Rx path. If enabled, padding is removed before the frame is transferred to the MAC client application. If disabled, no padding is removed on the Rx by the MAC. - Note : On Tx, the MAC always adds padding as required. */ - unsigned int msmLinePadEnable : 1; /* 1E.9004.5 R/W Default = 0x0 */ - /* 1 = Enable frame padding removal on Rx - */ - /*! \brief 1E.9004.6 R/W MSM Line CRC Forward - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineCrcForward - - Default = 0x0 - - 1 = Enable CRC forwarding - - - Notes: - When set to 1, the CRC field of the received frames is forwarded with the frame to the user application. If disabled, the CRC field is stripped from the frame. - Note : If padding is enabled ( See MAC PAD Enable set to 1), this bit is ignored. */ - unsigned int msmLineCrcForward : 1; /* 1E.9004.6 R/W Default = 0x0 */ - /* 1 = Enable CRC forwarding - */ - /*! \brief 1E.9004.7 R/W MSM Line Pause Forward - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePauseForward - - Default = 0x0 - - 1 = Enable Pause forwarding - - - Notes: - Terminate or forward pause frames. If set to 1, pause frames are forwarded to the user application. In normal mode, when set to 0, pause frames are terminated and discarded within the MAC. */ - unsigned int msmLinePauseForward : 1; /* 1E.9004.7 R/W Default = 0x0 */ - /* 1 = Enable Pause forwarding - */ - /*! \brief 1E.9004.8 R/W MSM Line Pause Ignore - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePauseIgnore - - Default = 0x0 - - 1 = Ignore pause frames - - - Notes: - Ignore pause frame quanta. If set to 1, received pause frames are ignored by the MAC. When set to 0, the Tx is stopped for the amount of time specified in the pause quanta received within the pause frame. */ - unsigned int msmLinePauseIgnore : 1; /* 1E.9004.8 R/W Default = 0x0 */ - /* 1 = Ignore pause frames - */ - /*! \brief 1E.9004.9 R/W MSM Line Tx Address Insert Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxAddressInsertEnable - - Default = 0x0 - - 1 = Insert Tx MAC source address - - - Notes: - Set the source MAC address on transmit. If set to 1, the MAC overwrites the source MAC address with the MAC programmed address in all transmitted frames. When set to 0, the source MAC address is transmitted unmodified from the MAC Tx client application. */ - unsigned int msmLineTxAddressInsertEnable : 1; /* 1E.9004.9 R/W Default = 0x0 */ - /* 1 = Insert Tx MAC source address - */ - /*! \brief 1E.9004.A R/W MSM Line Tx CRC Append - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxCrcAppend - - Default = 0x0 - - 1 = Append Tx CRC - - - Notes: - Permanently enable CRC append on transmit. If set to 1, the Tx will append a CRC to all transmitted frames. If set to 0, CRC append can be controlled on a per frame basis using the pin ff_tx_crc. - This configuration bit is OR'ed with the external ff_tx_crc pin to instruct the Tx to append a CRC to transmitted frames. The ff_tx_crc pin is tied to 0. */ - unsigned int msmLineTxCrcAppend : 1; /* 1E.9004.A R/W Default = 0x0 */ - /* 1 = Append Tx CRC - */ - /*! \brief 1E.9004.B R/W MSM Line Tx Pad Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxPadEnable - - Default = 0x1 - - 1 = Enable Tx padding - - - Notes: - When set to 1, enable padding of frames in the Tx direction. When set to 0, the MAC will not extend frames from the application to a minimum of 64 bytes, allowing to transmit short frames (violating the Ethernet mimimum size requirements). Must be set to 1 for normal operation. */ - unsigned int msmLineTxPadEnable : 1; /* 1E.9004.B R/W Default = 0x1 */ - /* 1 = Enable Tx padding - */ - /*! \brief 1E.9004.C R/WSC MSM Line Soft Reset - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - Software reset. Self clearing bit. When set to 1, resets all statistic counters as well as the Tx and Rx FIFOs. It should be issued after all traffic has been stopped as a result of clearing the Rx/Tx enable bits ( See MAC Rx Enable set to 0 and See MAC Tx Enable set to 0). - Note : Can lead to an Rx interface (ff_rx_xxx) violations to the application if the reset is issued in the middle of a receive frame transfer. Then the end of packet (assertion of ff_rx_eop) is lost and the application should be prepeared to handle this exception. */ - unsigned int msmLineSoftReset : 1; /* 1E.9004.C R/WSC Default = 0x0 */ - /* 1 = Soft reset - */ - /*! \brief 1E.9004.D R/W MSM Line Control Frame Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineControlFrameEnable - - Default = 0x0 - - 1 = Control frame enabled - - - Notes: - MAC control frame enable. When set to 1, the MAC control frames with any Opcode other than 0x0001 are accepted and forwarded to the client interface. When set to 0, MAC control frames with any opcode other than 0x0001 are silently discarded. */ - unsigned int msmLineControlFrameEnable : 1; /* 1E.9004.D R/W Default = 0x0 */ - /* 1 = Control frame enabled - */ - /*! \brief 1E.9004.E R/W MSM Line Rx Error Discard - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineRxErrorDiscard - - Default = 0x0 - - 1 = Enable discard of received errored frames - - - Notes: - Rx errored frame discard enable. When set to 1, any frame received with an error is discarded and not forwarded to the client interface. When set to 0, errored frames are forwarded to the client interface with ff_rx_err asserted. - Note : It is recommended to set this bit to 1 only when store and forward operation is enabled (RX_SECTION_FULL TBD). */ - unsigned int msmLineRxErrorDiscard : 1; /* 1E.9004.E R/W Default = 0x0 */ - /* 1 = Enable discard of received errored frames - */ - /*! \brief 1E.9004.F R/W MSM Line PHY Tx Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePhyTxEnable - - Default = 0x0 - - 1 = Enable PHY Tx - - - Notes: - Directly controls the phy_tx_ena pin. */ - unsigned int msmLinePhyTxEnable : 1; /* 1E.9004.F R/W Default = 0x0 */ - /* 1 = Enable PHY Tx - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line General Control Register */ - union - { - struct - { - /*! \brief 1E.9005.0 R/W MSM Line Force Send IDLE - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineForceSendIdle - - Default = 0x0 - - 1 = Force send idle - - Notes: - When set to 1, suppress any frame transmissions and forces IDLE n the Tx interface instead of frames. This control affects the MAC reconciliation layer (RS) which acts after all MAC datapath has processed the frame. - Note : Does not have an effect on fault handling (i.e. reception of local fault will still cause transmit of remote fault). - Must be 0 for normal operation. */ - unsigned int msmLineForceSendIdle : 1; /* 1E.9005.0 R/W Default = 0x0 */ - /* 1 = Force send idle */ - /*! \brief 1E.9005.1 R/W MSM Line Length Check Disable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineLengthCheckDisable - - Default = 0x0 - - 1 = Disable length check - - Notes: - Payload length check disable. When set to 0, the MAC checks the frames payload length with the frame length/type field. When set to 1, the payload length check is disabled. */ - unsigned int msmLineLengthCheckDisable : 1; /* 1E.9005.1 R/W Default = 0x0 */ - /* 1 = Disable length check */ - /*! \brief 1E.9005.2 R/W MSM Line IDLE Column Count Extend - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineIdleColumnCountExtend - - Default = 0x0 - - 1 = Extend IDLE column count - - Notes: - When set to 1, extends the RS layer IDLE column counter by 2x. The IEEE 802.3ae defines the fault condition to be cleared after 128 columns of IDLE have been received. If the MAC operates together with a WAN mode PCS (WIS) it may may happen (depending on PCS) that this period is too short to bridge the IDLE stuffing occurring in this mode, leading to a toggling fault indication. In this case, extending the counter helps to aoivd toggling fault indications. */ - unsigned int msmLineIdleColumnCountExtend : 1; /* 1E.9005.2 R/W Default = 0x0 */ - /* 1 = Extend IDLE column count */ - /*! \brief 1E.9005.3 R/W MSM Line Priority Flow Control Enable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLinePriorityFlowControlEnable - - Default = 0x0 - - 1 = Enable priority flow control - 0 = Enable link flow control - - - Notes: - Enable priority flow control (PFC) mode of operation. When set to 0, the MAC uses standard link pause frames. When set to 1, the MAC will transmit and accept PFC frames. */ - unsigned int msmLinePriorityFlowControlEnable : 1; /* 1E.9005.3 R/W Default = 0x0 */ - /* 1 = Enable priority flow control - 0 = Enable link flow control - */ - unsigned int reserved2 : 1; - /*! \brief 1E.9005.5 R/W MSM Line SFD Check Disable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineSfdCheckDisable - - Default = 0x0 - - 1 = Disable SFD check - - - Notes: - Disable check of SFD (0xD5) character at frame start. When set to 1, the frame is accepted even if the SFD byte following the preamble is not 0xD5. When set to 0, a frame is accepted only if the SFD byte is found with the value 0xD5. */ - unsigned int msmLineSfdCheckDisable : 1; /* 1E.9005.5 R/W Default = 0x0 */ - /* 1 = Disable SFD check - */ - unsigned int reserved1 : 1; - /*! \brief 1E.9005.7 R/W MSM Line Tx Low Power IDLE Enable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineTxLowPowerIdleEnable - - Default = 0x0 - - 1 = Transmit LPI enable - - - Notes: - Transmit low power IDLE enable. When set to 1, the MAC completes the transmission of the current frame and generates low power IDLE sequences (LPI) to the XGMII/SGMII. When set to 0, the MAC operates in normal mode. This bit is OR'ed with the reg_lowp_ena pin. */ - unsigned int msmLineTxLowPowerIdleEnable : 1; /* 1E.9005.7 R/W Default = 0x0 */ - /* 1 = Transmit LPI enable - */ - unsigned int reserved0 : 8; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineGeneralControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line FIFO Control Register: 1E.900E */ -/* MSM Line FIFO Control Register: 1E.900E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.900E.7:0 R/W MSM Line Rx FIFO Full Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u0.bits_0.msmLineRxFifoFullThreshold - - Default = 0x08 - - Rx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineRxFifoFullThreshold : 8; /* 1E.900E.7:0 R/W Default = 0x08 */ - /* Rx FIFO full threshold */ - unsigned int reserved0 : 8; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.900F.7:0 R/W MSM Line Rx FIFO Empty Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u1.bits_1.msmLineRxFifoEmptyThreshold - - Default = 0x00 - - Rx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineRxFifoEmptyThreshold : 8; /* 1E.900F.7:0 R/W Default = 0x00 */ - /* Rx FIFO empty threshold */ - unsigned int reserved0 : 8; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.9010.5:0 R/W MSM Line Tx FIFO Full Threshold [5:0] - AQ_MsmLineFifoControlRegister_HHD.u2.bits_2.msmLineTxFifoFullThreshold - - Default = 0x08 - - Tx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineTxFifoFullThreshold : 6; /* 1E.9010.5:0 R/W Default = 0x08 */ - /* Tx FIFO full threshold */ - unsigned int reserved0 : 10; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.9011.5:0 R/W MSM Line Tx FIFO Empty Threshold [5:0] - AQ_MsmLineFifoControlRegister_HHD.u3.bits_3.msmLineTxFifoEmptyThreshold - - Default = 0x00 - - Tx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineTxFifoEmptyThreshold : 6; /* 1E.9011.5:0 R/W Default = 0x00 */ - /* Tx FIFO empty threshold */ - unsigned int reserved0 : 10; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.9012.7:0 ROS MSM Line Rx FIFO Almost Full Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u4.bits_4.msmLineRxFifoAlmostFullThreshold - - Default = 0x00 - - Rx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmLineRxFifoAlmostFullThreshold : 8; /* 1E.9012.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost full threshold */ - unsigned int reserved0 : 8; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.9013.7:0 ROS MSM Line Rx FIFO Almost Empty Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u5.bits_5.msmLineRxFifoAlmostEmptyThreshold - - Default = 0x00 - - Rx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmLineRxFifoAlmostEmptyThreshold : 8; /* 1E.9013.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost empty threshold */ - unsigned int reserved0 : 8; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.9014.7:0 ROS MSM Line Tx FIFO Almost Full Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u6.bits_6.msmLineTxFifoAlmostFullThreshold - - Default = 0x00 - - Tx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmLineTxFifoAlmostFullThreshold : 8; /* 1E.9014.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost full threshold */ - unsigned int reserved0 : 8; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSM Line FIFO Control Register */ - union - { - struct - { - /*! \brief 1E.9015.7:0 ROS MSM Line Tx FIFO Almost Empty Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u7.bits_7.msmLineTxFifoAlmostEmptyThreshold - - Default = 0x00 - - Tx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmLineTxFifoAlmostEmptyThreshold : 8; /* 1E.9015.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost empty threshold */ - unsigned int reserved0 : 8; - } bits_7; - uint16_t word_7; - } u7; -} AQ_MsmLineFifoControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line General Status Register: 1E.9020 */ -/* MSM Line General Status Register: 1E.9020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line General Status Register */ - union - { - struct - { - /*! \brief 1E.9020.0 BLH MSM Line Rx Local Fault - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineRxLocalFault - - - - Rx local fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmLineRxLocalFault : 1; /* 1E.9020.0 BLH */ - /* Rx local fault detected */ - /*! \brief 1E.9020.1 BLH MSM Line Rx Remote Fault - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineRxRemoteFault - - - - Rx remote fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmLineRxRemoteFault : 1; /* 1E.9020.1 BLH */ - /* Rx remote fault detected */ - /*! \brief 1E.9020.2 RO MSM Line PHY Loss of Signal - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLinePhyLossOfSignal - - - - PHY loss of signal - - Notes: - PHY indicates loss of signal. This is the value of pin phy_los which is tied to 0. */ - unsigned int msmLinePhyLossOfSignal : 1; /* 1E.9020.2 RO */ - /* PHY loss of signal */ - /*! \brief 1E.9020.3 R/W MSM Line Timestamp Available - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineTimestampAvailable - - Default = 0x0 - - Timestamp available - - Notes: - Transmit timestamp available. Indicates that the timestamp of the last transmitted event frame (which had ff_tx_ts_frm=1) is available in the register See MAC Time Stamp Status 0 [F:0] and See MAC Time Stamp Status 1 [F:0] . To clear this bit, the bit must be written with a 1. - */ - unsigned int msmLineTimestampAvailable : 1; /* 1E.9020.3 R/W Default = 0x0 */ - /* Timestamp available */ - /*! \brief 1E.9020.4 RO MSM Line Rx Low Power IDLE - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineRxLowPowerIdle - - - - Rx LPI detected - - Notes: - Receive low power IDLE (LPI). Set to 1 when LPI is currently detected on the MAC Rx interface. Set to 0, when the MAC currently operates in normal mode. */ - unsigned int msmLineRxLowPowerIdle : 1; /* 1E.9020.4 RO */ - /* Rx LPI detected */ - /*! \brief 1E.9020.5 RO MSM Line Tx FIFO Empty - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineTxFifoEmpty - - - - Tx FIFO empty - - Notes: - When set to 1, indicates the Tx FIFO is empty. When set to 0, Tx FIFO is non-empty. */ - unsigned int msmLineTxFifoEmpty : 1; /* 1E.9020.5 RO */ - /* Tx FIFO empty */ - unsigned int reserved0 : 10; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line General Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineGeneralStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx IPG Control Register: 1E.9022 */ -/* MSM Line Tx IPG Control Register: 1E.9022 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx IPG Control Register */ - union - { - struct - { - /*! \brief 1E.9022.5:0 R/W MSM Line Tx IPG Length [5:0] - AQ_MsmLineTxIpgControlRegister_HHD.u0.bits_0.msmLineTxIpgLength - - Default = 0x0C - - Tx IPG length - - Notes: - Tx inter-packet gap (IPG) value. Depending on LAN or WAN mode of operation. - LAN Mode : Number of octets in steps of 4. Valid values are 8, 12, 16,..., 100. DIC is supported for any setting > 8. A default of 12 must be set to conform to IEEE802.3ae. - WAN Mode : Stretch factor. Valid values are 4 ... 15. The stretch factor is calculated as (value+1)*8. A default of 12 must be set to conform to IEEE802.3ae (i.e. 13*8=104). A larger value shrinks the IPG (increasing bandwidth). - The reset value of 12 leads to IEEE802.3ae conformant behavior in both modes. - Note : WAN mode is only available in 10G mode of operation. */ - unsigned int msmLineTxIpgLength : 6; /* 1E.9022.5:0 R/W Default = 0x0C */ - /* Tx IPG length */ - unsigned int reserved0 : 10; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx IPG Control Register */ - union - { - struct - { - /*! \brief 1E.9023.F:0 MSM Line Tx IPG Reserved - AQ_MsmLineTxIpgControlRegister_HHD.u1.bits_1.msmLineTxIpgReserved - - - - Value always 0, writes ignored - */ - unsigned int msmLineTxIpgReserved : 16; /* 1E.9023.F:0 */ - /* Value always 0, writes ignored */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxIpgControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Good Frames Counter Register: 1E.9040 */ -/* MSM Line Tx Good Frames Counter Register: 1E.9040 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9040.F:0 ROS MSM Line Tx Good Frames Counter 0 [F:0] - AQ_MsmLineTxGoodFramesCounterRegister_HHD.u0.bits_0.msmLineTxGoodFramesCounter_0 - - Default = 0x0000 - - Tx good frame counter bits 15:0 - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmLineTxGoodFramesCounter_0 : 16; /* 1E.9040.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9041.F:0 ROS MSM Line Tx Good Frames Counter 1 [F:0] - AQ_MsmLineTxGoodFramesCounterRegister_HHD.u1.bits_1.msmLineTxGoodFramesCounter_1 - - Default = 0x0000 - - Tx good frame counter bits 31:16 - - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmLineTxGoodFramesCounter_1 : 16; /* 1E.9041.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Good Frames Counter Register: 1E.9044 */ -/* MSM Line Rx Good Frames Counter Register: 1E.9044 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9044.F:0 ROS MSM Line Rx Good Frames Counter 0 [F:0] - AQ_MsmLineRxGoodFramesCounterRegister_HHD.u0.bits_0.msmLineRxGoodFramesCounter_0 - - Default = 0x0000 - - Rx good frame counter bits 15:0 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmLineRxGoodFramesCounter_0 : 16; /* 1E.9044.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9045.F:0 ROS MSM Line Rx Good Frames Counter 1 [F:0] - AQ_MsmLineRxGoodFramesCounterRegister_HHD.u1.bits_1.msmLineRxGoodFramesCounter_1 - - Default = 0x0000 - - Rx good frame counter bits 31:16 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmLineRxGoodFramesCounter_1 : 16; /* 1E.9045.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx FCS Errors Counter Register: 1E.9048 */ -/* MSM Line Rx FCS Errors Counter Register: 1E.9048 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9048.F:0 ROS MSM Line FCS Error Counter 0 [F:0] - AQ_MsmLineRxFcsErrorsCounterRegister_HHD.u0.bits_0.msmLineFcsErrorCounter_0 - - Default = 0x0000 - - Frame check sequence error counter bits 15:0 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmLineFcsErrorCounter_0 : 16; /* 1E.9048.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9049.F:0 ROS MSM Line FCS Error Counter 1 [F:0] - AQ_MsmLineRxFcsErrorsCounterRegister_HHD.u1.bits_1.msmLineFcsErrorCounter_1 - - Default = 0x0000 - - Frame check sequence error counter bits 31:16 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmLineFcsErrorCounter_1 : 16; /* 1E.9049.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxFcsErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Alignment Errors Counter Register: 1E.904C */ -/* MSM Line Rx Alignment Errors Counter Register: 1E.904C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.904C.F:0 ROS MSM Line Alignment Error Counter 0 [F:0] - AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD.u0.bits_0.msmLineAlignmentErrorCounter_0 - - Default = 0x0000 - - Alignment error counter bits 15:0 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmLineAlignmentErrorCounter_0 : 16; /* 1E.904C.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.904D.F:0 ROS MSM Line Alignment Error Counter 1 [F:0] - AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD.u1.bits_1.msmLineAlignmentErrorCounter_1 - - Default = 0x0000 - - Alignment error counter bits 31:16 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmLineAlignmentErrorCounter_1 : 16; /* 1E.904D.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Pause Frames Counter Register: 1E.9050 */ -/* MSM Line Tx Pause Frames Counter Register: 1E.9050 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9050.F:0 ROS MSM Line Tx Pause Frames Counter 0 [F:0] - AQ_MsmLineTxPauseFramesCounterRegister_HHD.u0.bits_0.msmLineTxPauseFramesCounter_0 - - Default = 0x0000 - - Tx pause frame counter bits 15:0 - - Notes: - Valid pause frames transmitted. */ - unsigned int msmLineTxPauseFramesCounter_0 : 16; /* 1E.9050.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9051.F:0 ROS MSM Line Tx Pause Frames Counter 1 [F:0] - AQ_MsmLineTxPauseFramesCounterRegister_HHD.u1.bits_1.msmLineTxPauseFramesCounter_1 - - Default = 0x0000 - - Tx pause frame counter bits 31:16 - - - Notes: - Valid pause frames transmitted. */ - unsigned int msmLineTxPauseFramesCounter_1 : 16; /* 1E.9051.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Pause Frames Counter Register: 1E.9054 */ -/* MSM Line Rx Pause Frames Counter Register: 1E.9054 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9054.F:0 ROS MSM Line Rx Pause Frames Counter 0 [F:0] - AQ_MsmLineRxPauseFramesCounterRegister_HHD.u0.bits_0.msmLineRxPauseFramesCounter_0 - - Default = 0x0000 - - Rx pause frame counter bits 15:0 - - Notes: - Valid pause frames received. */ - unsigned int msmLineRxPauseFramesCounter_0 : 16; /* 1E.9054.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9055.F:0 ROS MSM Line Rx Pause Frames Counter 1 [F:0] - AQ_MsmLineRxPauseFramesCounterRegister_HHD.u1.bits_1.msmLineRxPauseFramesCounter_1 - - Default = 0x0000 - - Rx pause frame counter bits 31:16 - - Notes: - Valid pause frames received. */ - unsigned int msmLineRxPauseFramesCounter_1 : 16; /* 1E.9055.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Too Long Errors Counter Register: 1E.9058 */ -/* MSM Line Rx Too Long Errors Counter Register: 1E.9058 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9058.F:0 ROS MSM Line Rx Too Long Errors Counter 0 [F:0] - AQ_MsmLineRxTooLongErrorsCounterRegister_HHD.u0.bits_0.msmLineRxTooLongErrorsCounter_0 - - Default = 0x0000 - - Too-long errors counter bits 15:0 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmLineRxTooLongErrorsCounter_0 : 16; /* 1E.9058.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9059.F:0 ROS MSM Line Rx Too Long Errors Counter 1 [F:0] - AQ_MsmLineRxTooLongErrorsCounterRegister_HHD.u1.bits_1.msmLineRxTooLongErrorsCounter_1 - - Default = 0x0000 - - Too-long errors counter bits 31:16 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmLineRxTooLongErrorsCounter_1 : 16; /* 1E.9059.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxTooLongErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx In Range Length Errors Counter Register: 1E.905C */ -/* MSM Line Rx In Range Length Errors Counter Register: 1E.905C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.905C.F:0 ROS MSM Line Rx In Range Length Errors Counter 0 [F:0] - AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD.u0.bits_0.msmLineRxInRangeLengthErrorsCounter_0 - - Default = 0x0000 - - In-range-length errors counter bits 15:0 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmLineRxInRangeLengthErrorsCounter_0 : 16; /* 1E.905C.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.905D.F:0 ROS MSM Line Rx In Range Length Errors Counter 1 [F:0] - AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD.u1.bits_1.msmLineRxInRangeLengthErrorsCounter_1 - - Default = 0x0000 - - In-range-length errors counter bits 31:16 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmLineRxInRangeLengthErrorsCounter_1 : 16; /* 1E.905D.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx VLAN Frames Counter Register: 1E.9060 */ -/* MSM Line Tx VLAN Frames Counter Register: 1E.9060 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9060.F:0 ROS MSM Line Tx VLAN Frames Counter 0 [F:0] - AQ_MsmLineTxVlanFramesCounterRegister_HHD.u0.bits_0.msmLineTxVlanFramesCounter_0 - - Default = 0x0000 - - Tx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmLineTxVlanFramesCounter_0 : 16; /* 1E.9060.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9061.F:0 ROS MSM Line Tx VLAN Frames Counter 1 [F:0] - AQ_MsmLineTxVlanFramesCounterRegister_HHD.u1.bits_1.msmLineTxVlanFramesCounter_1 - - Default = 0x0000 - - Tx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmLineTxVlanFramesCounter_1 : 16; /* 1E.9061.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx VLAN Frames Counter Register: 1E.9064 */ -/* MSM Line Rx VLAN Frames Counter Register: 1E.9064 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9064.F:0 ROS MSM Line Rx VLAN Frames Counter 0 [F:0] - AQ_MsmLineRxVlanFramesCounterRegister_HHD.u0.bits_0.msmLineRxVlanFramesCounter_0 - - Default = 0x0000 - - Rx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmLineRxVlanFramesCounter_0 : 16; /* 1E.9064.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9065.F:0 ROS MSM Line Rx VLAN Frames Counter 1 [F:0] - AQ_MsmLineRxVlanFramesCounterRegister_HHD.u1.bits_1.msmLineRxVlanFramesCounter_1 - - Default = 0x0000 - - Rx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmLineRxVlanFramesCounter_1 : 16; /* 1E.9065.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Octets Counter Register: 1E.9068 */ -/* MSM Line Tx Octets Counter Register: 1E.9068 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.9068.F:0 ROS MSM Line Tx Octets Counter 0 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u0.bits_0.msmLineTxOctetsCounter_0 - - Default = 0x0000 - - Tx octets counter bits 15:0 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_0 : 16; /* 1E.9068.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.9069.F:0 ROS MSM Line Tx Octets Counter 1 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u1.bits_1.msmLineTxOctetsCounter_1 - - Default = 0x0000 - - Tx octets counter bits 31:16 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_1 : 16; /* 1E.9069.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906A.F:0 ROS MSM Line Tx Octets Counter 2 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u2.bits_2.msmLineTxOctetsCounter_2 - - Default = 0x0000 - - Tx octets counter bits 47:32 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_2 : 16; /* 1E.906A.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 47:32 */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906B.F:0 ROS MSM Line Tx Octets Counter 3 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u3.bits_3.msmLineTxOctetsCounter_3 - - Default = 0x0000 - - Tx octets counter bits 63:48 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_3 : 16; /* 1E.906B.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 63:48 */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_MsmLineTxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Octets Counter Register: 1E.906C */ -/* MSM Line Rx Octets Counter Register: 1E.906C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906C.F:0 ROS MSM Line Rx Octets Counter 0 [F:0] - AQ_MsmLineRxOctetsCounterRegister_HHD.u0.bits_0.msmLineRxOctetsCounter_0 - - Default = 0x0000 - - Rx octets counter bits 15:0 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmLineRxOctetsCounter_0 : 16; /* 1E.906C.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906D.F:0 ROS MSM Line Rx Octets Counter 1 [F:0] - AQ_MsmLineRxOctetsCounterRegister_HHD.u1.bits_1.msmLineRxOctetsCounter_1 - - Default = 0x0000 - - Rx octets counter bits 31:16 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmLineRxOctetsCounter_1 : 16; /* 1E.906D.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Unicast Frames Counter Register: 1E.9070 */ -/* MSM Line Rx Unicast Frames Counter Register: 1E.9070 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9070.F:0 ROS MSM Line Rx Unicast Frames Counter 0 [F:0] - AQ_MsmLineRxUnicastFramesCounterRegister_HHD.u0.bits_0.msmLineRxUnicastFramesCounter_0 - - Default = 0x0000 - - Rx unicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmLineRxUnicastFramesCounter_0 : 16; /* 1E.9070.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9071.F:0 ROS MSM Line Rx Unicast Frames Counter 1 [F:0] - AQ_MsmLineRxUnicastFramesCounterRegister_HHD.u1.bits_1.msmLineRxUnicastFramesCounter_1 - - Default = 0x0000 - - Rx unicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmLineRxUnicastFramesCounter_1 : 16; /* 1E.9071.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Multicast Frames Counter Register: 1E.9074 */ -/* MSM Line Rx Multicast Frames Counter Register: 1E.9074 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9074.F:0 ROS MSM Line Rx Multicast Frames Counter 0 [F:0] - AQ_MsmLineRxMulticastFramesCounterRegister_HHD.u0.bits_0.msmLineRxMulticastFramesCounter_0 - - Default = 0x0000 - - Rx multicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmLineRxMulticastFramesCounter_0 : 16; /* 1E.9074.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9075.F:0 ROS MSM Line Rx Multicast Frames Counter 1 [F:0] - AQ_MsmLineRxMulticastFramesCounterRegister_HHD.u1.bits_1.msmLineRxMulticastFramesCounter_1 - - Default = 0x0000 - - Rx multicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmLineRxMulticastFramesCounter_1 : 16; /* 1E.9075.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Broadcast Frames Counter Register: 1E.9078 */ -/* MSM Line Rx Broadcast Frames Counter Register: 1E.9078 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9078.F:0 ROS MSM Line Rx Broadcast Frames Counter 0 [F:0] - AQ_MsmLineRxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmLineRxBroadcastFramesCounter_0 - - Default = 0x0000 - - Rx broadcast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmLineRxBroadcastFramesCounter_0 : 16; /* 1E.9078.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9079.F:0 ROS MSM Line Rx Broadcast Frames Counter 1 [F:0] - AQ_MsmLineRxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmLineRxBroadcastFramesCounter_1 - - Default = 0x0000 - - Rx broadcast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmLineRxBroadcastFramesCounter_1 : 16; /* 1E.9079.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Errors Counter Register: 1E.907C */ -/* MSM Line Tx Errors Counter Register: 1E.907C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.907C.F:0 ROS MSM Line Tx Errors Counter 0 [F:0] - AQ_MsmLineTxErrorsCounterRegister_HHD.u0.bits_0.msmLineTxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmLineTxErrorsCounter_0 : 16; /* 1E.907C.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.907D.F:0 ROS MSM Line Tx Errors Counter 1 [F:0] - AQ_MsmLineTxErrorsCounterRegister_HHD.u1.bits_1.msmLineTxErrorsCounter_1 - - Default = 0x0000 - - Tx errors counter bits 31:16 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmLineTxErrorsCounter_1 : 16; /* 1E.907D.F:0 ROS Default = 0x0000 */ - /* Tx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Unicast Frames Counter Register: 1E.9084 */ -/* MSM Line Tx Unicast Frames Counter Register: 1E.9084 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9084.F:0 ROS MSM Line Tx Unicast Frames Counter 0 [F:0] - AQ_MsmLineTxUnicastFramesCounterRegister_HHD.u0.bits_0.msmLineTxUnicastFramesCounter_0 - - Default = 0x0000 - - Tx unicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmLineTxUnicastFramesCounter_0 : 16; /* 1E.9084.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9085.F:0 ROS MSM Line Tx Unicast Frames Counter 1 [F:0] - AQ_MsmLineTxUnicastFramesCounterRegister_HHD.u1.bits_1.msmLineTxUnicastFramesCounter_1 - - Default = 0x0000 - - Tx unicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmLineTxUnicastFramesCounter_1 : 16; /* 1E.9085.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Multicast Frames Counter Register: 1E.9088 */ -/* MSM Line Tx Multicast Frames Counter Register: 1E.9088 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9088.F:0 ROS MSM Line Tx Multicast Frames Counter 0 [F:0] - AQ_MsmLineTxMulticastFramesCounterRegister_HHD.u0.bits_0.msmLineTxMulticastFramesCounter_0 - - Default = 0x0000 - - Tx multicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmLineTxMulticastFramesCounter_0 : 16; /* 1E.9088.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9089.F:0 ROS MSM Line Tx Multicast Frames Counter 1 [F:0] - AQ_MsmLineTxMulticastFramesCounterRegister_HHD.u1.bits_1.msmLineTxMulticastFramesCounter_1 - - Default = 0x0000 - - Tx multicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmLineTxMulticastFramesCounter_1 : 16; /* 1E.9089.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Broadcast Frames Counter Register: 1E.908C */ -/* MSM Line Tx Broadcast Frames Counter Register: 1E.908C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.908C.F:0 ROS MSM Line Tx Broadcast Frames Counter 0 [F:0] - AQ_MsmLineTxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmLineTxBroadcastFramesCounter_0 - - Default = 0x0000 - - Tx broadcast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmLineTxBroadcastFramesCounter_0 : 16; /* 1E.908C.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.908D.F:0 ROS MSM Line Tx Broadcast Frames Counter 1 [F:0] - AQ_MsmLineTxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmLineTxBroadcastFramesCounter_1 - - Default = 0x0000 - - Tx broadcast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmLineTxBroadcastFramesCounter_1 : 16; /* 1E.908D.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Errors Counter Register: 1E.90C8 */ -/* MSM Line Rx Errors Counter Register: 1E.90C8 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.90C8.F:0 ROS MSM Line Rx Errors Counter 0 [F:0] - AQ_MsmLineRxErrorsCounterRegister_HHD.u0.bits_0.msmLineRxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmLineRxErrorsCounter_0 : 16; /* 1E.90C8.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.90C9.F:0 ROS MSM Line Rx Errors Counter 1 [F:0] - AQ_MsmLineRxErrorsCounterRegister_HHD.u1.bits_1.msmLineRxErrorsCounter_1 - - Default = 0x0000 - - Rx errors counter bits 31:16 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmLineRxErrorsCounter_1 : 16; /* 1E.90C9.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Control: 1E.C000 */ -/* Global Control: 1E.C000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Control */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Control */ - union - { - struct - { - /*! \brief 1E.C001.0 R/W uP Run Stall - AQ_GlobalControl_HHD.u1.bits_1.upRunStall - - Default = 0x0 - - 1 = uP Run Stall - 0 = uP normal mode - - - Notes: - Deactivates the uP. */ - unsigned int upRunStall : 1; /* 1E.C001.0 R/W Default = 0x0 */ - /* 1 = uP Run Stall - 0 = uP normal mode - */ - unsigned int reserved1 : 5; - /*! \brief 1E.C001.6 R/W uP Run Stall Override - AQ_GlobalControl_HHD.u1.bits_1.upRunStallOverride - - Default = 0x0 - - 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - - - - Notes: - This bit selects the uP Run Stall from either the "MDIO Boot Load" pin or the See MCP Run Stall bit. Pin no longer brought out as deprecated. */ - unsigned int upRunStallOverride : 1; /* 1E.C001.6 R/W Default = 0x0 */ - /* 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - - */ - unsigned int reserved0 : 8; - /*! \brief 1E.C001.F R/W uP Reset - AQ_GlobalControl_HHD.u1.bits_1.upReset - - Default = 0x0 - - 1 = Reset - - - Notes: - Resets the uP and the PIF master and slave bus. Will be active for a minimum of 100 microseconds. */ - unsigned int upReset : 1; /* 1E.C001.F R/W Default = 0x0 */ - /* 1 = Reset - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalControl_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reset Control: 1E.C006 */ -/* Global Reset Control: 1E.C006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reset Control */ - union - { - struct - { - unsigned int reserved1 : 14; - /*! \brief 1E.C006.E R/WPD Global MMD Reset Disable - AQ_GlobalResetControl_HHD.u0.bits_0.globalMMD_ResetDisable - - Provisionable Default = 0x0 - - 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - - - Notes: - Setting this bit prevents a Global S/W reset or Global S/W reset from resetting the Global MMD registers */ - unsigned int globalMMD_ResetDisable : 1; /* 1E.C006.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalResetControl_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Diagnostic Provisioning: 1E.C400 */ -/* Global Diagnostic Provisioning: 1E.C400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Diagnostic Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C400.F R/WPD Enable Diagnostics - AQ_GlobalDiagnosticProvisioning_HHD.u0.bits_0.enableDiagnostics - - Provisionable Default = 0x1 - - 1 = Chip performs diagnostics on power-up - */ - unsigned int enableDiagnostics : 1; /* 1E.C400.F R/WPD Provisionable Default = 0x1 */ - /* 1 = Chip performs diagnostics on power-up */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDiagnosticProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Provisioning: 1E.C420 */ -/* Global Thermal Provisioning: 1E.C420 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C420.F:0 R/WPD Reserved 0 [F:0] - AQ_GlobalThermalProvisioning_HHD.u0.bits_0.reserved_0 - - Provisionable Default = 0x0000 - - Internal reserved - do not modify - - */ - unsigned int reserved_0 : 16; /* 1E.C420.F:0 R/WPD Provisionable Default = 0x0000 */ - /* Internal reserved - do not modify - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C421.F:0 R/WPD High Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u1.bits_1.highTempFailureThreshold - - Provisionable Default = 0x4600 - - [F:0] of high temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A000 - 1.A001: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempFailureThreshold : 16; /* 1E.C421.F:0 R/WPD Provisionable Default = 0x4600 */ - /* [F:0] of high temperature failure threshold */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C422.F:0 R/WPD Low Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u2.bits_2.lowTempFailureThreshold - - Provisionable Default = 0x0000 - - [F:0] of low temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 0 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A002 - 1.A003: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempFailureThreshold : 16; /* 1E.C422.F:0 R/WPD Provisionable Default = 0x0000 */ - /* [F:0] of low temperature failure threshold */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C423.F:0 R/WPD High Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u3.bits_3.highTempWarningThreshold - - Provisionable Default = 0x3C00 - - [F:0] of high temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD008. Default is 60 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A004 - 1.A005: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempWarningThreshold : 16; /* 1E.C423.F:0 R/WPD Provisionable Default = 0x3C00 */ - /* [F:0] of high temperature warning threshold */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C424.F:0 R/WPD Low Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u4.bits_4.lowTempWarningThreshold - - Provisionable Default = 0x0A00 - - [F:0] of low temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 10 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A006 - 1.A007: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempWarningThreshold : 16; /* 1E.C424.F:0 R/WPD Provisionable Default = 0x0A00 */ - /* [F:0] of low temperature warning threshold */ - } bits_4; - uint16_t word_4; - } u4; -} AQ_GlobalThermalProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global LED Provisioning: 1E.C430 */ -/* Global LED Provisioning: 1E.C430 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C430.1:0 R/WPD LED #0 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_0ActivityStretch : 2; /* 1E.C430.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C430.2 R/WPD LED #0 Transmit Activity - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_0TransmitActivity : 1; /* 1E.C430.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C430.3 R/WPD LED #0 Receive Activity - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_0ReceiveActivity : 1; /* 1E.C430.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C430.4 R/WPD LED #0 Connecting - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_0Connecting : 1; /* 1E.C430.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C430.5 R/WPD LED #0 100 Mb/s Link Established - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s. - - */ - unsigned int led_0_100Mb_sLinkEstablished : 1; /* 1E.C430.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s. - */ - /*! \brief 1E.C430.6 R/WPD LED #0 1 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_0_1Gb_sLinkEstablished : 1; /* 1E.C430.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C430.7 R/WPD LED #0 10 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_0_10Gb_sLinkEstablished : 1; /* 1E.C430.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C430.8 R/WPD LED #0 Manual Set - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_0ManualSet : 1; /* 1E.C430.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C430.D:9 R/WPD Reserved Provisioning C430 [4:0] - AQ_GlobalLedProvisioning_HHD.u0.bits_0.reservedProvisioningC430 - - Provisionable Default = 0x00 - - Reserved for future use - */ - unsigned int reservedProvisioningC430 : 5; /* 1E.C430.D:9 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use */ - unsigned int reserved0 : 2; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C431.1:0 R/WPD LED #1 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_1ActivityStretch : 2; /* 1E.C431.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C431.2 R/WPD LED #1 Transmit Activity - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_1TransmitActivity : 1; /* 1E.C431.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C431.3 R/WPD LED #1 Receive Activity - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_1ReceiveActivity : 1; /* 1E.C431.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C431.4 R/WPD LED #1 Connecting - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_1Connecting : 1; /* 1E.C431.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C431.5 R/WPD LED #1 100 Mb/s Link Established - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s. - - */ - unsigned int led_1_100Mb_sLinkEstablished : 1; /* 1E.C431.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s. - */ - /*! \brief 1E.C431.6 R/WPD LED #1 1 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_1_1Gb_sLinkEstablished : 1; /* 1E.C431.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C431.7 R/WPD LED #1 10 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_1_10Gb_sLinkEstablished : 1; /* 1E.C431.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C431.8 R/WPD LED #1 Manual Set - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_1ManualSet : 1; /* 1E.C431.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C431.D:9 R/WPD Reserved Provisioning C431 [4:0] - AQ_GlobalLedProvisioning_HHD.u1.bits_1.reservedProvisioningC431 - - Provisionable Default = 0x00 - - Reserved for future use - */ - unsigned int reservedProvisioningC431 : 5; /* 1E.C431.D:9 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use */ - unsigned int reserved0 : 2; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C432.1:0 R/WPD LED #2 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_2ActivityStretch : 2; /* 1E.C432.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - /*! \brief 1E.C432.2 R/WPD LED #2 Transmit Activity - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_2TransmitActivity : 1; /* 1E.C432.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C432.3 R/WPD LED #2 Receive Activity - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_2ReceiveActivity : 1; /* 1E.C432.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C432.4 R/WPD LED #2 Connecting - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_2Connecting : 1; /* 1E.C432.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C432.5 R/WPD LED #2 100 Mb/s Link Established - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s. - */ - unsigned int led_2_100Mb_sLinkEstablished : 1; /* 1E.C432.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s. */ - /*! \brief 1E.C432.6 R/WPD LED #2 1 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_2_1Gb_sLinkEstablished : 1; /* 1E.C432.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C432.7 R/WPD LED #2 10 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_2_10Gb_sLinkEstablished : 1; /* 1E.C432.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C432.8 R/WPD LED #2 Manual Set - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_2ManualSet : 1; /* 1E.C432.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C432.D:9 R/WPD Reserved Provisioning C432 [4:0] - AQ_GlobalLedProvisioning_HHD.u2.bits_2.reservedProvisioningC432 - - Provisionable Default = 0x00 - - Reserved for future use - */ - unsigned int reservedProvisioningC432 : 5; /* 1E.C432.D:9 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use */ - unsigned int reserved0 : 2; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global LED Provisioning */ - union - { - struct - { - /*! \brief 1E.C437.0 R/WPD LED Operation Mode - AQ_GlobalLedProvisioning_HHD.u7.bits_7.ledOperationMode - - Provisionable Default = 0x0 - - 1 = LED link activity in Mode #2 - 0 = LED link activity in Aquantia classic mode - - - Notes: - When set to 1, the LED blinking rate is based on Mode #2 algorithm. When set to 0, the LED blinking rate is based on the classic Aquantia algorithm. */ - unsigned int ledOperationMode : 1; /* 1E.C437.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED link activity in Mode #2 - 0 = LED link activity in Aquantia classic mode - */ - unsigned int reserved0 : 15; - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_13; - uint16_t word_13; - } u13; - /*! \brief Union for bit and word level access of word 14 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_14; - uint16_t word_14; - } u14; -} AQ_GlobalLedProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Provisioning: 1E.C440 */ -/* Global General Provisioning: 1E.C440 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved3 : 2; - unsigned int reserved2 : 1; - /*! \brief 1E.C441.3 R/WPD MDIO Preamble Detection Disable - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioPreambleDetectionDisable - - Provisionable Default = 0x0 - - 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - - */ - unsigned int mdioPreambleDetectionDisable : 1; /* 1E.C441.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - */ - /*! \brief 1E.C441.4 R/WPD MDIO Drive Configuration - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioDriveConfiguration - - Provisionable Default = 0x0 - - 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - - - Notes: - When the MDIO driver is in open drain mode during a read cycle, "0" data will be actively driven out of the MDIO, "1" data will set the MDIO driver in high impedance state and an external pullup will set the MDIO line to "1". The Turn-Around "0" will also be actively driven out of the MDIO, therefore in open drain mode, the Turn-Around is still "Z0". */ - unsigned int mdioDriveConfiguration : 1; /* 1E.C441.4 R/WPD Provisionable Default = 0x0 */ - /* 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - */ - unsigned int reserved1 : 8; - /*! \brief 1E.C441.D R/WPD MDIO Read MSW First Enable - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioReadMSW_FirstEnable - - Provisionable Default = 0x0 - - 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - - - Notes: - This bit configures whether the MSW or LSW must be read first for counters greater than 16 bits. */ - unsigned int mdioReadMSW_FirstEnable : 1; /* 1E.C441.D R/WPD Provisionable Default = 0x0 */ - /* 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - */ - /*! \brief 1E.C441.E R/WPD MDIO Broadcast Mode Enable - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioBroadcastModeEnable - - Provisionable Default = 0x0 - - 1 = Enable broadcast on address set in 1E.C446 - 0 = Disable broadcast on n address set in 1E.C446 - - - Notes: - When enabled, writes and load MMD address opcodes are supported. Read opcodes are ignored. */ - unsigned int mdioBroadcastModeEnable : 1; /* 1E.C441.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable broadcast on address set in 1E.C446 - 0 = Disable broadcast on n address set in 1E.C446 - */ - unsigned int reserved0 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global General Provisioning */ - union - { - struct - { - /*! \brief 1E.C442.0 R/W Daisy Chain Reset - AQ_GlobalGeneralProvisioning_HHD.u2.bits_2.daisyChainReset - - Default = 0x0 - - 1 = Reset the daisy chain - - - Notes: - Toggling this bit from 0 to 1 will reload the IRAM and DRAM and reset the uP. The uP will be in uP run stall during the reload process. After the reload process, uP run stall will be de-asserted and the uP reset will be asserted. Note that before setting this bit, the See Soft Reset bit needs to be de-asserted. */ - unsigned int daisyChainReset : 1; /* 1E.C442.0 R/W Default = 0x0 */ - /* 1 = Reset the daisy chain - */ - unsigned int reserved0 : 15; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global General Provisioning */ - union - { - struct - { - /*! \brief 1E.C447.4:0 R/WPD MDIO Broadcast Address Configuration [4:0] - AQ_GlobalGeneralProvisioning_HHD.u7.bits_7.mdioBroadcastAddressConfiguration - - Provisionable Default = 0x1F - - Broadcast address - - - Notes: - Allows setting the broadcast address. By default this is set to 0x1F */ - unsigned int mdioBroadcastAddressConfiguration : 5; /* 1E.C447.4:0 R/WPD Provisionable Default = 0x1F */ - /* Broadcast address - */ - unsigned int reserved0 : 11; - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of Global General Provisioning */ - union - { - struct - { - /*! \brief 1E.C449.6:0 R/W MDIO Preamble Length [6:0] - AQ_GlobalGeneralProvisioning_HHD.u9.bits_9.mdioPreambleLength - - Default = 0x02 - - MDIO Preamble Length - - */ - unsigned int mdioPreambleLength : 7; /* 1E.C449.6:0 R/W Default = 0x02 */ - /* MDIO Preamble Length - */ - unsigned int reserved0 : 9; - } bits_9; - uint16_t word_9; - } u9; -} AQ_GlobalGeneralProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Provisioning: 1E.C450 */ -/* Global NVR Provisioning: 1E.C450 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Provisioning */ - union - { - struct - { - /*! \brief 1E.C450.1:0 R/WPD NVR Address Length [1:0] - AQ_GlobalNvrProvisioning_HHD.u0.bits_0.nvrAddressLength - - Provisionable Default = 0x2 - - NVR address length ranges from 0 bytes up to 3 bytes - - - Notes: - This sets the length of the address field used in read and write operations. Use of this field is enabled via Bit 8 of See Global NVR Provisioning 2: Address 1E.C451 . - */ - unsigned int nvrAddressLength : 2; /* 1E.C450.1:0 R/WPD Provisionable Default = 0x2 */ - /* NVR address length ranges from 0 bytes up to 3 bytes - */ - unsigned int reserved2 : 2; - /*! \brief 1E.C450.6:4 R/WPD NVR Dummy Length [2:0] - AQ_GlobalNvrProvisioning_HHD.u0.bits_0.nvrDummyLength - - Provisionable Default = 0x0 - - NVR dummy length ranges from 0 bytes to 4 bytes - - - Notes: - This sets the length of the dummy field used in some manufacturer's read status and write status operations. - */ - unsigned int nvrDummyLength : 3; /* 1E.C450.6:4 R/WPD Provisionable Default = 0x0 */ - /* NVR dummy length ranges from 0 bytes to 4 bytes - */ - unsigned int reserved1 : 1; - /*! \brief 1E.C450.A:8 R/WPD NVR Data Length [2:0] - AQ_GlobalNvrProvisioning_HHD.u0.bits_0.nvrDataLength - - Provisionable Default = 0x4 - - NVR data length ranges from 0 bytes to 4 bytes - - - Notes: - This sets the length of the data burst used in read and write operations. - */ - unsigned int nvrDataLength : 3; /* 1E.C450.A:8 R/WPD Provisionable Default = 0x4 */ - /* NVR data length ranges from 0 bytes to 4 bytes - */ - unsigned int reserved0 : 5; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Provisioning */ - union - { - struct - { - /*! \brief 1E.C451.7:0 R/WPD NVR Clock Divide [7:0] - AQ_GlobalNvrProvisioning_HHD.u1.bits_1.nvrClockDivide - - Provisionable Default = 0xA0 - - NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - - */ - unsigned int nvrClockDivide : 8; /* 1E.C451.7:0 R/WPD Provisionable Default = 0xA0 */ - /* NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - */ - /*! \brief 1E.C451.8 R/WPD NVR Address Length Override - AQ_GlobalNvrProvisioning_HHD.u1.bits_1.nvrAddressLengthOverride - - Provisionable Default = 0x0 - - 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register - - - Notes: - When this bit = 0 and NVR_SIZE pin = 0, the NVR address length is 2 bytes. When this bit = 0 and the NVR_SIZE pin = 1, the NVR address length is 3 bytes. When this bit = 1 the NVR address length is from the See NVR Address Length [1:0] */ - unsigned int nvrAddressLengthOverride : 1; /* 1E.C451.8 R/WPD Provisionable Default = 0x0 */ - /* 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register - */ - unsigned int reserved0 : 7; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Provisioning */ - union - { - struct - { - /*! \brief 1E.C452.0 R/W NVR Daisy Chain Disable - AQ_GlobalNvrProvisioning_HHD.u2.bits_2.nvrDaisyChainDisable - - Default = 0x0 - - 1 = Disable the Daisy Chain - - - Notes: - When in daisy chain master mode, the daisy chain and MDIO can both access the SPI. Setting this bit to 1 will disable the daisy chain from accessing the SPI and force it into a reset state. */ - unsigned int nvrDaisyChainDisable : 1; /* 1E.C452.0 R/W Default = 0x0 */ - /* 1 = Disable the Daisy Chain - */ - /*! \brief 1E.C452.1 R/W NVR Daisy Chain Clock Divide Override - AQ_GlobalNvrProvisioning_HHD.u2.bits_2.nvrDaisyChainClockDivideOverride - - Default = 0x0 - - 1 = Override NVR clock divide when in daisy chain master mode - - - Notes: - When in daisy chain master mode, the clock divide configuration is received from the FLASH. This bit will override the clock divide configuration from the FLASH with the See NVR Clock Divide [7:0] . */ - unsigned int nvrDaisyChainClockDivideOverride : 1; /* 1E.C452.1 R/W Default = 0x0 */ - /* 1 = Override NVR clock divide when in daisy chain master mode - */ - unsigned int reserved0 : 14; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved1 : 4; - /*! \brief 1E.C453.4 R/W NVR Reset - AQ_GlobalNvrProvisioning_HHD.u3.bits_3.nvrReset - - Default = 0x0 - - 1 = Reset SPI - - */ - unsigned int nvrReset : 1; /* 1E.C453.4 R/W Default = 0x0 */ - /* 1 = Reset SPI - */ - unsigned int reserved0 : 11; - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalNvrProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Provisioning: 1E.C470 */ -/* Global Reserved Provisioning: 1E.C470 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved2 : 4; - /*! \brief 1E.C470.4 R/WSC Initiate Cable Diagnostics - AQ_GlobalReservedProvisioning_HHD.u0.bits_0.initiateCableDiagnostics - - Default = 0x0 - - 1 = Perform cable diagnostics - - - Notes: - Perform cable diagnostics regardless of link state. If link is up, setting this bit will cause the link to drop while diagnostics are performed. This bit is self-clearing upon completion of the cable diagnostics. - - NOTE!! This is a processor intensive operation. Completion of this operation can also be monitored via 1E.C831.F */ - unsigned int initiateCableDiagnostics : 1; /* 1E.C470.4 R/WSC Default = 0x0 */ - /* 1 = Perform cable diagnostics - */ - unsigned int reserved1 : 3; - unsigned int reserved0 : 5; - /*! \brief 1E.C470.E:D R/WPD Extended MDI Diagnostics Select [1:0] - AQ_GlobalReservedProvisioning_HHD.u0.bits_0.extendedMdiDiagnosticsSelect - - Provisionable Default = 0x0 - - 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversely the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int extendedMdiDiagnosticsSelect : 2; /* 1E.C470.E:D R/WPD Provisionable Default = 0x0 */ - /* 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - */ - /*! \brief 1E.C470.F R/WPD Diagnostics Select - AQ_GlobalReservedProvisioning_HHD.u0.bits_0.diagnosticsSelect - - Provisionable Default = 0x0 - - 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversely the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int diagnosticsSelect : 1; /* 1E.C470.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C471.5:0 R/WuP Daisy-Chain Hop-Count Override Value [5:0] - AQ_GlobalReservedProvisioning_HHD.u1.bits_1.daisy_chainHop_countOverrideValue - - Default = 0x00 - - The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the daisy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int daisy_chainHop_countOverrideValue : 6; /* 1E.C471.5:0 R/WuP Default = 0x00 */ - /* The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - */ - /*! \brief 1E.C471.6 R/WuP Enable Daisy-Chain Hop-Count Override - AQ_GlobalReservedProvisioning_HHD.u1.bits_1.enableDaisy_chainHop_countOverride - - Default = 0x0 - - 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the daisy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int enableDaisy_chainHop_countOverride : 1; /* 1E.C471.6 R/WuP Default = 0x0 */ - /* 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - */ - unsigned int reserved0 : 9; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C472.0 R/WPDuP Enable 5th Channel RFI Cancellation - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.enable_5thChannelRfiCancellation - - Provisionable Default = 0x0 - - 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - - - Notes: - Note: The value of this bit at the time of Autonegotiation sets the local PHY behavior until the next time Autonegotiation occurs. */ - unsigned int enable_5thChannelRfiCancellation : 1; /* 1E.C472.0 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - */ - /*! \brief 1E.C472.1 R/WPDuP Enable XENPAK Register Space - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.enableXenpakRegisterSpace - - Provisionable Default = 0x0 - - 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - - */ - unsigned int enableXenpakRegisterSpace : 1; /* 1E.C472.1 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - */ - /*! \brief 1E.C472.5:2 R/WPD External VDD Change Request [3:0] - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.externalVddChangeRequest - - Provisionable Default = 0x0 - - The amount of VDD change requested by firmware, in mV (2's complement value). - - */ - unsigned int externalVddChangeRequest : 4; /* 1E.C472.5:2 R/WPD Provisionable Default = 0x0 */ - /* The amount of VDD change requested by firmware, in mV (2's complement value). - */ - /*! \brief 1E.C472.6 R/WPD Tunable External VDD Power Supply Present - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.tunableExternalVddPowerSupplyPresent - - Provisionable Default = 0x0 - - 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - - - Notes: - This bit must be set if tuning of external power supply is desired. */ - unsigned int tunableExternalVddPowerSupplyPresent : 1; /* 1E.C472.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - */ - unsigned int reserved1 : 7; - /*! \brief 1E.C472.E R/WPD Enable VDD Power Supply Tuning - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.enableVddPowerSupplyTuning - - Provisionable Default = 0x0 - - 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - - - Notes: - This bit controls whether the PHY attempts to tune the external VDD power supply via the SMBus. This bit is only operational if the external supply is present. (See 1E.C472.6) */ - unsigned int enableVddPowerSupplyTuning : 1; /* 1E.C472.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - */ - unsigned int reserved0 : 1; - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C473.7:0 R/WPD Training SNR [7:0] - AQ_GlobalReservedProvisioning_HHD.u3.bits_3.trainingSNR - - Provisionable Default = 0x00 - - SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - - - Notes: - The SNR margin that is enjoyed by the worst channel, over and above the minimum SNR required to operate at a BER of 10-12. It is reported with 0.1 dB of resolution to an accuracy of 0.5 dB within the range of -12.7 dB to 12.7 dB. The number is in offset binary, with 0.0 dB represented by 0x8000. */ - unsigned int trainingSNR : 8; /* 1E.C473.7:0 R/WPD Provisionable Default = 0x00 */ - /* SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - */ - /*! \brief 1E.C473.A:8 R/WPD Rate Transition Request [2:0] - AQ_GlobalReservedProvisioning_HHD.u3.bits_3.rateTransitionRequest - - Provisionable Default = 0x0 - - 0 = No Transition - 1 = Reserved - 2 = Reserved - 3 = Retrain at 10G - 4 = Retrain at 5G - 5 = Retrain at 2.5G - 6 = Retrain at 1G - 7 = Reserved - - */ - unsigned int rateTransitionRequest : 3; /* 1E.C473.A:8 R/WPD Provisionable Default = 0x0 */ - /* 0 = No Transition - 1 = Reserved - 2 = Reserved - 3 = Retrain at 10G - 4 = Retrain at 5G - 5 = Retrain at 2.5G - 6 = Retrain at 1G - 7 = Reserved - */ - unsigned int reserved0 : 5; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C474.0 R/W NVR Daisy Chain Kickstart - AQ_GlobalReservedProvisioning_HHD.u4.bits_4.nvrDaisyChainKickstart - - Default = 0x0 - - 1 = Kickstart the Daisy Chain - - - Notes: - When in daisy chain master mode, the PHY0 can kickstart the daisy chain. The kickstart will not reload the IRAM/DRAM or reset the uP for PHY0. It will just read the FLASH and transfer the FLASH data to the daisy chain. */ - unsigned int nvrDaisyChainKickstart : 1; /* 1E.C474.0 R/W Default = 0x0 */ - /* 1 = Kickstart the Daisy Chain - */ - /*! \brief 1E.C474.F:1 R/WPD Reserved Provisioning 5 [F:1] - AQ_GlobalReservedProvisioning_HHD.u4.bits_4.reservedProvisioning_5 - - Provisionable Default = 0x0000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_5 : 15; /* 1E.C474.F:1 R/WPD Provisionable Default = 0x0000 */ - /* Reserved for future use - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved1 : 2; - /*! \brief 1E.C475.2 R/WPD Smart Power-Down Enable - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.smartPower_downEnable - - Provisionable Default = 0x0 - - 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - - - Notes: - Smart power down (SPD) is the lowest power mode at which PHY is able to autonegotiate. SPD can be enabled with bit 1E.C475.2 */ - unsigned int smartPower_downEnable : 1; /* 1E.C475.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - */ - /*! \brief 1E.C475.3 R/WPD Deadlock Avoidance Enable - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.deadlockAvoidanceEnable - - Provisionable Default = 0x0 - - 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - - */ - unsigned int deadlockAvoidanceEnable : 1; /* 1E.C475.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - */ - /*! \brief 1E.C475.4 R/WPD CFR Support - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrSupport - - Provisionable Default = 0x0 - - 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - - */ - unsigned int cfrSupport : 1; /* 1E.C475.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.5 R/WPD CFR THP - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrTHP - - Provisionable Default = 0x0 - - 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - - */ - unsigned int cfrTHP : 1; /* 1E.C475.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - */ - /*! \brief 1E.C475.6 R/WPD CFR Extended Maxwait - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - - */ - unsigned int cfrExtendedMaxwait : 1; /* 1E.C475.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - */ - /*! \brief 1E.C475.7 R/WPD CFR Disable Timer - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrDisableTimer - - Provisionable Default = 0x0 - - 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - - */ - unsigned int cfrDisableTimer : 1; /* 1E.C475.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - */ - /*! \brief 1E.C475.8 R/WPD CFR LP Support - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpSupport - - Provisionable Default = 0x0 - - 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - - */ - unsigned int cfrLpSupport : 1; /* 1E.C475.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.9 R/WPD CFR LP THP - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpTHP - - Provisionable Default = 0x0 - - 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - - */ - unsigned int cfrLpTHP : 1; /* 1E.C475.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - */ - /*! \brief 1E.C475.A R/WPD CFR LP Extended Maxwait - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - - */ - unsigned int cfrLpExtendedMaxwait : 1; /* 1E.C475.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - */ - /*! \brief 1E.C475.B R/WPD CFR LP Disable Timer - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpDisableTimer - - Provisionable Default = 0x0 - - 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - - */ - unsigned int cfrLpDisableTimer : 1; /* 1E.C475.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - */ - /*! \brief 1E.C475.C R/WPD Reserved Provisioning 6 - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.reservedProvisioning_6 - - Provisionable Default = 0x0 - - Internal reserved - do not modify - - */ - unsigned int reservedProvisioning_6 : 1; /* 1E.C475.C R/WPD Provisionable Default = 0x0 */ - /* Internal reserved - do not modify - */ - /*! \brief 1E.C475.D R/WPD Smart Power-Down Status - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.smartPower_downStatus - - Provisionable Default = 0x0 - - 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - - */ - unsigned int smartPower_downStatus : 1; /* 1E.C475.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - */ - unsigned int reserved0 : 2; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Dummy union to fill space in the structure Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Dummy union to fill space in the structure Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C478.A:0 R/WPD Reserved Provisioning 9 [A:0] - AQ_GlobalReservedProvisioning_HHD.u8.bits_8.reservedProvisioning_9 - - Provisionable Default = 0x000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_9 : 11; /* 1E.C478.A:0 R/WPD Provisionable Default = 0x000 */ - /* Reserved for future use - */ - /*! \brief 1E.C478.E:B R/WPD DTE Drop Reporting Timer [3:0] - AQ_GlobalReservedProvisioning_HHD.u8.bits_8.dteDropReportingTimer - - Provisionable Default = 0x0 - - Number of seconds between loss of link partner filter and assertion of no-power-needed state, in 5 second increments (e.g. 0x4 = 20 seconds). - - - Notes: - These bits are used to set how long the PHY waits after it no longer detects the link partner filter before declaring that power is not needed. */ - unsigned int dteDropReportingTimer : 4; /* 1E.C478.E:B R/WPD Provisionable Default = 0x0 */ - /* Number of seconds between loss of link partner filter and assertion of no-power-needed state, in 5 second increments (e.g. 0x4 = 20 seconds). - */ - /*! \brief 1E.C478.F R/WPD DTE Enable - AQ_GlobalReservedProvisioning_HHD.u8.bits_8.dteEnable - - Provisionable Default = 0x0 - - 1 = Enable DTE - 0 = Disable DTE - - */ - unsigned int dteEnable : 1; /* 1E.C478.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable DTE - 0 = Disable DTE - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C479.E:0 R/WPD Reserved Provisioning 10 [E:0] - AQ_GlobalReservedProvisioning_HHD.u9.bits_9.reservedProvisioning_10 - - Provisionable Default = 0x0000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_10 : 15; /* 1E.C479.E:0 R/WPD Provisionable Default = 0x0000 */ - /* Reserved for future use - */ - /*! \brief 1E.C479.F R/WPD Power Up Stall - AQ_GlobalReservedProvisioning_HHD.u9.bits_9.powerUpStall - - Provisionable Default = 0x0 - - 1 = Stall FW at Power Up - 0 = Unstall the FW - - - Notes: - This bit needs to be provisioned in Power Up Init for firmware to stall. */ - unsigned int powerUpStall : 1; /* 1E.C479.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Stall FW at Power Up - 0 = Unstall the FW - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C47A.1:0 R/WPD Rate [1:0] - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.rate - - Provisionable Default = 0x0 - - 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = reserved - - - Notes: - These bits select the rate for the loopback and packet generation. SERDES configuration, as well autonegotiation is controlled accordingly when a loopback is selected. For instance, if 100M system loopback on the network interface is selected, SGMII on the system interface is enabled to connect at 100M, and if passthrough is enabled 100BASE-TX will be the only advertised rate and will force a re-autonegotiation if not already connected at 100M. - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int rate : 2; /* 1E.C47A.1:0 R/WPD Provisionable Default = 0x0 */ - /* 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = reserved - */ - /*! \brief 1E.C47A.2 R/WPD Reserved Provisioning 11a - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.reservedProvisioning_11a - - Provisionable Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedProvisioning_11a : 1; /* 1E.C47A.2 R/WPD Provisionable Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C47A.3 R/WPD System I/F Packet Generation - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.systemI_fPacketGeneration - - Provisionable Default = 0x0 - - 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - - - Notes: - Selecting this mode of operation causes the CRPAT packet generator in the PHY to output CRPAT packets on the selected 10G system interface (4.C441.F:E) - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int systemI_fPacketGeneration : 1; /* 1E.C47A.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - */ - /*! \brief 1E.C47A.4 R/WPD Look-Aside Port Packet Generation - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.look_asidePortPacketGeneration - - Provisionable Default = 0x0 - - 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - - - Notes: - Selecting this mode of operation causes the CRPAT packet generator in the PHY to output on KR0. - - NOTE!! This only functions if KR1 (SERDES2) is selected as the system interface in (4.C441.F:E). - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int look_asidePortPacketGeneration : 1; /* 1E.C47A.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - */ - /*! \brief 1E.C47A.5 R/WPD MDI Packet Generation - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.mdiPacketGeneration - - Provisionable Default = 0x0 - - 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - - - Notes: - Selecting this mode of operation causes the CRPAT packet generator in the PHY to output on the MDI interface at the selected rate. - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int mdiPacketGeneration : 1; /* 1E.C47A.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - */ - /*! \brief 1E.C47A.A:6 R/WPD Reserved Provisioning 11 [4:0] - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.reservedProvisioning_11 - - Provisionable Default = 0x00 - - Reserved for future use - - */ - unsigned int reservedProvisioning_11 : 5; /* 1E.C47A.A:6 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use - */ - /*! \brief 1E.C47A.F:B R/WPD Loopback Control [4:0] - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.loopbackControl - - Provisionable Default = 0x00 - - 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - - - Notes: - These bits, in conjunction with the chip configuration and the rate (Bits 1:0), select the loopback to configure for the chip. Setting one of these loopbacks provisions the chip for the specified loopback. Upon clearing the loopback, the chip returns to it's configuration prior to entering loopback (irregardless of whether other loopbacks were selected after the initial loopback). - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F. - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. - */ - unsigned int loopbackControl : 5; /* 1E.C47A.F:B R/WPD Provisionable Default = 0x00 */ - /* 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C47B.0 R/WPD Enable PTP - AQ_GlobalReservedProvisioning_HHD.u11.bits_11.enablePtp - - Provisionable Default = 0x0 - - 1 = PTP functionality is enabled - 0 = PTP functionality is disabled - - - Notes: - If this bit is 1, the PTP/SEC block will be included in the data path, regardless of operating mode. */ - unsigned int enablePtp : 1; /* 1E.C47B.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = PTP functionality is enabled - 0 = PTP functionality is disabled - */ - /*! \brief 1E.C47B.1 R/WPD Enable MACSec - AQ_GlobalReservedProvisioning_HHD.u11.bits_11.enableMacsec - - Provisionable Default = 0x0 - - 1 = MACSec functionality is enabled - 0 = MACSec functionality is disabled - - - Notes: - If this bit is 1, the PTP/SEC block will be included in the data path, regardless of operating mode. */ - unsigned int enableMacsec : 1; /* 1E.C47B.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = MACSec functionality is enabled - 0 = MACSec functionality is disabled - */ - /*! \brief 1E.C47B.F:2 R/WPD Reserved Provisioning 12 [D:0] - AQ_GlobalReservedProvisioning_HHD.u11.bits_11.reservedProvisioning_12 - - Provisionable Default = 0x0000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_12 : 14; /* 1E.C47B.F:2 R/WPD Provisionable Default = 0x0000 */ - /* Reserved for future use - */ - } bits_11; - uint16_t word_11; - } u11; -} AQ_GlobalReservedProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief PIF Mailbox Control: 1E.C47C */ -/* PIF Mailbox Control: 1E.C47C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47C.F:0 R/WPDuP PIF Mailbox Address [F:0] - AQ_PifMailboxControl_HHD.u0.bits_0.pifMailboxAddress - - Provisionable Default = 0x0000 - - The least 16 bits of the PIF address to read or write. - - */ - unsigned int pifMailboxAddress : 16; /* 1E.C47C.F:0 R/WPDuP Provisionable Default = 0x0000 */ - /* The least 16 bits of the PIF address to read or write. - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47D.F:0 R/WPDuP PIF Mailbox Data [F:0] - AQ_PifMailboxControl_HHD.u1.bits_1.pifMailboxData - - Provisionable Default = 0x0000 - - The data to be written, or that had been read. - - */ - unsigned int pifMailboxData : 16; /* 1E.C47D.F:0 R/WPDuP Provisionable Default = 0x0000 */ - /* The data to be written, or that had been read. - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47E.7:0 R/WPDuP PIF Mailbox MMD [7:0] - AQ_PifMailboxControl_HHD.u2.bits_2.pifMailboxMMD - - Provisionable Default = 0x00 - - MMD (upper 8 bits) of the PID address to read or write. - - */ - unsigned int pifMailboxMMD : 8; /* 1E.C47E.7:0 R/WPDuP Provisionable Default = 0x00 */ - /* MMD (upper 8 bits) of the PID address to read or write. - */ - /*! \brief 1E.C47E.B:8 R/WPDuP PIF Mailbox Command Type [3:0] - AQ_PifMailboxControl_HHD.u2.bits_2.pifMailboxCommandType - - Provisionable Default = 0x0 - - 0 = No Action - 1 = Read - 2 = Write - - - Notes: - System SW writes non-zero value to start a PIF command. */ - unsigned int pifMailboxCommandType : 4; /* 1E.C47E.B:8 R/WPDuP Provisionable Default = 0x0 */ - /* 0 = No Action - 1 = Read - 2 = Write - */ - /*! \brief 1E.C47E.F:C R/WPD Reserved PIF Mailbox Control 3 [3:0] - AQ_PifMailboxControl_HHD.u2.bits_2.reservedPifMailboxControl_3 - - Provisionable Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedPifMailboxControl_3 : 4; /* 1E.C47E.F:C R/WPD Provisionable Default = 0x0 */ - /* Reserved for future use - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47F.3:0 R/WPDuP PIF Mailbox Command Status [3:0] - AQ_PifMailboxControl_HHD.u3.bits_3.pifMailboxCommandStatus - - Provisionable Default = 0x0 - - 0 = Idle - 1 = Command completed - 2 = Command did not complete - - - Notes: - System SW should write 0 before writing Command Type to clear completion status */ - unsigned int pifMailboxCommandStatus : 4; /* 1E.C47F.3:0 R/WPDuP Provisionable Default = 0x0 */ - /* 0 = Idle - 1 = Command completed - 2 = Command did not complete - */ - /*! \brief 1E.C47F.F:4 R/WPD Reserved PIF Mailbox Control 4 [B:0] - AQ_PifMailboxControl_HHD.u3.bits_3.reservedPifMailboxControl_4 - - Provisionable Default = 0x000 - - Reserved for future use - - */ - unsigned int reservedPifMailboxControl_4 : 12; /* 1E.C47F.F:4 R/WPD Provisionable Default = 0x000 */ - /* Reserved for future use - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_PifMailboxControl_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global SMBus 0 Provisioning: 1E.C485 */ -/* Global SMBus 0 Provisioning: 1E.C485 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global SMBus 0 Provisioning */ - union - { - struct - { - unsigned int reserved1 : 1; - /*! \brief 1E.C485.7:1 R/W SMB 0 Slave Address [7:1] - AQ_GlobalSmbus_0Provisioning_HHD.u0.bits_0.smb_0SlaveAddress - - Default = 0x00 - - SMB slave address configuration - - */ - unsigned int smb_0SlaveAddress : 7; /* 1E.C485.7:1 R/W Default = 0x00 */ - /* SMB slave address configuration - */ - unsigned int reserved0 : 8; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalSmbus_0Provisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global SMBus 1 Provisioning: 1E.C495 */ -/* Global SMBus 1 Provisioning: 1E.C495 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global SMBus 1 Provisioning */ - union - { - struct - { - unsigned int reserved1 : 1; - /*! \brief 1E.C495.7:1 R/W SMB 1 Slave Address [7:1] - AQ_GlobalSmbus_1Provisioning_HHD.u0.bits_0.smb_1SlaveAddress - - Default = 0x00 - - SMB slave address configuration - - */ - unsigned int smb_1SlaveAddress : 7; /* 1E.C495.7:1 R/W Default = 0x00 */ - /* SMB slave address configuration - */ - unsigned int reserved0 : 8; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalSmbus_1Provisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global EEE Provisioning: 1E.C4A0 */ -/* Global EEE Provisioning: 1E.C4A0 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global EEE Provisioning */ - union - { - struct - { - /*! \brief 1E.C4A0.0 R/WPD EEE Mode - AQ_GlobalEeeProvisioning_HHD.u0.bits_0.eeeMode - - Provisionable Default = 0x0 - - 1 = EEE mode of operation - - - Notes: - EEE mode of operation (0=disable, 1=enable, default:0) */ - unsigned int eeeMode : 1; /* 1E.C4A0.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = EEE mode of operation - */ - unsigned int reserved0 : 15; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalEeeProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Status: 1E.C800 */ -/* Global Cable Diagnostic Status: 1E.C800 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C800.2:0 RO Pair D Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairDStatus - - - - [6:4] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK - - Notes: - This register summarizes the worst impairment on Pair D. */ - unsigned int pairDStatus : 3; /* 1E.C800.2:0 RO */ - /* [6:4] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK */ - unsigned int reserved3 : 1; - /*! \brief 1E.C800.6:4 RO Pair C Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairCStatus - - - - [9:7] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK - - Notes: - This register summarizes the worst impairment on Pair C. */ - unsigned int pairCStatus : 3; /* 1E.C800.6:4 RO */ - /* [9:7] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK */ - unsigned int reserved2 : 1; - /*! \brief 1E.C800.A:8 RO Pair B Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairBStatus - - - - [C:A] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK - - Notes: - This register summarizes the worst impairment on Pair B. */ - unsigned int pairBStatus : 3; /* 1E.C800.A:8 RO */ - /* [C:A] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK */ - unsigned int reserved1 : 1; - /*! \brief 1E.C800.E:C RO Pair A Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairAStatus - - - - [F:D] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK - - Notes: - This register summarizes the worst impairment on Pair A. */ - unsigned int pairAStatus : 3; /* 1E.C800.E:C RO */ - /* [F:D] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C801.7:0 RO Pair A Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u1.bits_1.pairAReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_2 : 8; /* 1E.C801.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A */ - /*! \brief 1E.C801.F:8 RO Pair A Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u1.bits_1.pairAReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_1 : 8; /* 1E.C801.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C802.F:0 RO Impulse Response MSW [F:0] - AQ_GlobalCableDiagnosticStatus_HHD.u2.bits_2.impulseResponseMSW - - - - The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseMSW : 16; /* 1E.C802.F:0 RO */ - /* The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C803.7:0 RO Pair B Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u3.bits_3.pairBReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_2 : 8; /* 1E.C803.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B */ - /*! \brief 1E.C803.F:8 RO Pair B Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u3.bits_3.pairBReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_1 : 8; /* 1E.C803.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C804.F:0 RO Impulse Response LSW [F:0] - AQ_GlobalCableDiagnosticStatus_HHD.u4.bits_4.impulseResponseLSW - - - - The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseLSW : 16; /* 1E.C804.F:0 RO */ - /* The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C805.7:0 RO Pair C Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u5.bits_5.pairCReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_2 : 8; /* 1E.C805.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C */ - /*! \brief 1E.C805.F:8 RO Pair C Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u5.bits_5.pairCReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_1 : 8; /* 1E.C805.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C806.F:0 RO Reserved 1 [F:0] - AQ_GlobalCableDiagnosticStatus_HHD.u6.bits_6.reserved_1 - - - - Reserved for future use - */ - unsigned int reserved_1 : 16; /* 1E.C806.F:0 RO */ - /* Reserved for future use */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C807.7:0 RO Pair D Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u7.bits_7.pairDReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_2 : 8; /* 1E.C807.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D */ - /*! \brief 1E.C807.F:8 RO Pair D Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u7.bits_7.pairDReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_1 : 8; /* 1E.C807.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D */ - } bits_7; - uint16_t word_7; - } u7; -} AQ_GlobalCableDiagnosticStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Status: 1E.C820 */ -/* Global Thermal Status: 1E.C820 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Status */ - union - { - struct - { - /*! \brief 1E.C820.F:0 RO Temperature [F:0] - AQ_GlobalThermalStatus_HHD.u0.bits_0.temperature - - - - [F:0] of temperature - - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. This is a mirror of the XENPAK register 1.A060 - 1.A061. The mirror is performed in H/W. */ - unsigned int temperature : 16; /* 1E.C820.F:0 RO */ - /* [F:0] of temperature - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Status */ - union - { - struct - { - /*! \brief 1E.C821.0 RO Temperature Ready - AQ_GlobalThermalStatus_HHD.u1.bits_1.temperatureReady - - - - 1 = Temperature measurement is valid - - - Notes: - This is a mirror of the XENPAK register 1.A06E. */ - unsigned int temperatureReady : 1; /* 1E.C821.0 RO */ - /* 1 = Temperature measurement is valid - */ - unsigned int reserved0 : 15; - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalThermalStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Status: 1E.C830 */ -/* Global General Status: 1E.C830 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Status */ - union - { - struct - { - unsigned int reserved1 : 11; - /*! \brief 1E.C830.B RO Low Temperature Warning State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.lowTemperatureWarningState - - - - 1 = Low temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.6 register. - - */ - unsigned int lowTemperatureWarningState : 1; /* 1E.C830.B RO */ - /* 1 = Low temperature warning threshold has been exceeded */ - /*! \brief 1E.C830.C RO High Temperature Warning State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.highTemperatureWarningState - - - - 1 = High temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.7 register. - - */ - unsigned int highTemperatureWarningState : 1; /* 1E.C830.C RO */ - /* 1 = High temperature warning threshold has been exceeded */ - /*! \brief 1E.C830.D RO Low Temperature Failure State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.lowTemperatureFailureState - - - - 1 = Low temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.6 register. - - */ - unsigned int lowTemperatureFailureState : 1; /* 1E.C830.D RO */ - /* 1 = Low temperature failure threshold has been exceeded */ - /*! \brief 1E.C830.E RO High Temperature Failure State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.highTemperatureFailureState - - - - 1 = High temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.7 register. - - */ - unsigned int highTemperatureFailureState : 1; /* 1E.C830.E RO */ - /* 1 = High temperature failure threshold has been exceeded */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Status */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C831.F RO Processor Intensive MDIO Operation In- Progress - AQ_GlobalGeneralStatus_HHD.u1.bits_1.processorIntensiveMdioOperationIn_Progress - - - - 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - - - Notes: - This bit should may be used with certain processor-intensive MDIO commands (such as Loopbacks, Test Modes, Low power modes, Tx-Disable, Restart autonegotiation, Cable Diagnostics, etc.) that take longer than an MDIO cycle to complete. Upon receiving an MDIO command that involves the PHY's microprocessor, this bit is set, and when the command is completed, this bit is cleared. - - NOTE!!! This bit should be checked only after 1 ms of issuing a processor-intensive MDIO operation. - - The list of operations that set this bit are as follows: - - 1.0.0, PMA Loopback - 1.0.B, Low power mode - 1.9.4:0, Tx Disable - 1.84, 10G Test modes - 1.8000.5, XENPAK Control - 1.9000, XENPAK Rx Fault Enable - 1.9002, XENPAK Alarm Enable - 1.E400.F, External loopback - 3.0.B, Low power mode - 3.0.E, System PCS loopback - 3.C471.5, PRBS Test - 3.C471.6, PRBS Test - 3.E471.5, PRBS Test - 3.E471.6, PRBS Test - 4.0.B, Low power mode - 4.0.E, PHY-XS network loopback - 4.C440, Output clock control, Load SERDES parameters - 4.F802.E, System loopback - 4.C444.F:B, Loopback Control - 4.C444.4:2, Packet generation - 4.C445.C, SERDES calibration - 7.0.9, Restart autonegotiation - 1D.C280, 1G/100M Network loopback - 1D.C500, 1G System loopback - 1D.C501, 1G / 100M Test modes - 1E.C470.4, Cable diagnostics - 1E.C47A.F:B, Loopback Control - 1E.C47A.4:2, Packet generation */ - unsigned int processorIntensiveMdioOperationIn_Progress : 1; /* 1E.C831.F RO */ - /* 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalGeneralStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Pin Status: 1E.C840 */ -/* Global Pin Status: 1E.C840 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Pin Status */ - union - { - struct - { - /*! \brief 1E.C840.5:0 RO LED Pullup State [5:0] - AQ_GlobalPinStatus_HHD.u0.bits_0.ledPullupState - - - - 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - - */ - unsigned int ledPullupState : 6; /* 1E.C840.5:0 RO */ - /* 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - */ - unsigned int reserved4 : 1; - /*! \brief 1E.C840.7 RO Tx Enable - AQ_GlobalPinStatus_HHD.u0.bits_0.txEnable - - - - Current Value of Tx Enable pin - - - Notes: - 0 = Disable Transmitter */ - unsigned int txEnable : 1; /* 1E.C840.7 RO */ - /* Current Value of Tx Enable pin - */ - unsigned int reserved3 : 1; - /*! \brief 1E.C840.9 RO Package Connectivity - AQ_GlobalPinStatus_HHD.u0.bits_0.packageConnectivity - - - - Value of the package connection pin - - */ - unsigned int packageConnectivity : 1; /* 1E.C840.9 RO */ - /* Value of the package connection pin - */ - unsigned int reserved2 : 3; - /*! \brief 1E.C840.D RO DC_MASTER_N - AQ_GlobalPinStatus_HHD.u0.bits_0.dcMasterN - - - - Value of DC_MASTER_N pin: - - 0x1 = PHY Slave Daisy Chain Boot - 0x0 = PHY Master Daisy Chain Boot from FLASH - */ - unsigned int dcMasterN : 1; /* 1E.C840.D RO */ - /* Value of DC_MASTER_N pin: - - 0x1 = PHY Slave Daisy Chain Boot - 0x0 = PHY Master Daisy Chain Boot from FLASH */ - unsigned int reserved1 : 1; - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalPinStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Daisy Chain Status: 1E.C842 */ -/* Global Daisy Chain Status: 1E.C842 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Daisy Chain Status */ - union - { - struct - { - /*! \brief 1E.C842.F:0 RO Rx Daisy Chain Calculated CRC [F:0] - AQ_GlobalDaisyChainStatus_HHD.u0.bits_0.rxDaisyChainCalculatedCrc - - - - Rx Daisy Chain Calculated CRC - - - Notes: - This is the calculated daisy chain CRC. */ - unsigned int rxDaisyChainCalculatedCrc : 16; /* 1E.C842.F:0 RO */ - /* Rx Daisy Chain Calculated CRC - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDaisyChainStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Fault Message: 1E.C850 */ -/* Global Fault Message: 1E.C850 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Fault Message */ - union - { - struct - { - /*! \brief 1E.C850.F:0 RO Message [F:0] - AQ_GlobalFaultMessage_HHD.u0.bits_0.message - - - - Error code describing fault - - Notes: - Code 0x8001: Firmware not compatible with chip architecture. This fault occurs when firmware compiled for a different microprocessor core is loaded. - Code 0x8002: VCO calibration failed. This occurs when the main PLLs on chip fail to lock: this is not possible to trigger. - Code 0x8003: XAUI calibration failed. This occurs when the XAUI PLLs fail to lock: this is not possible to trigger. - Code 0x8005: Unexpected device ID. This occurs if the device ID programmed into the internal E-Fuse registers in not valid: this is not possible to trigger. - Code 0x8006: Computed checksum does not match expected checksum. This occurs when the FLASH checksum check performed at boot time fails. This only occurs when the system boots from FLASH. - Code 0x8007: Detected a bit error in static memory. To trigger, corrupt one of the static regions. - Code 0xC001: Illegal Instruction exception. This occurs when the processor attempts to execute an illegal instruction. To trigger this, write an illegal instruction to program memory. It's possible that the bit error check will trigger before the illegal instruction is executed. - Code 0xC002 Instruction Fetch Error. Internal physical address or a data error during instruction fetch: this is not possible to trigger. - Code 0xC003 Load Store Error. Internal physical address or data error during load store operation: this is not possible to trigger.. - Code 0xC004 Privileged Instruction. Attempt to execute a privileged operation without sufficient privilege: this is not possible to trigger. - Code 0xC005 Unaligned Load or Store. Attempt to load or store data at an address which cannot be handled due to alignment: this is not possible to trigger. - Code 0xC006 Instruction fetch from prohibited space: this is not possible to trigger. - Code 0xC007 Data load from prohibited space: this is not possible to trigger. - Code 0xC008 Data store into prohibited space: this is not possible to trigger. */ - unsigned int message : 16; /* 1E.C850.F:0 RO */ - /* Error code describing fault */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFaultMessage_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Impedance: 1E.C880 */ -/* Global Cable Diagnostic Impedance: 1E.C880 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C880.2:0 RO Pair A Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_4 : 3; /* 1E.C880.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.3 RO Reserved 4 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_4 - - - - Reserved - - */ - unsigned int reserved_4 : 1; /* 1E.C880.3 RO */ - /* Reserved - */ - /*! \brief 1E.C880.6:4 RO Pair A Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_3 : 3; /* 1E.C880.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.7 RO Reserved 3 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_3 - - - - Reserved - - */ - unsigned int reserved_3 : 1; /* 1E.C880.7 RO */ - /* Reserved - */ - /*! \brief 1E.C880.A:8 RO Pair A Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_2 : 3; /* 1E.C880.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.B RO Reserved 2 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_2 - - - - Reserved - - */ - unsigned int reserved_2 : 1; /* 1E.C880.B RO */ - /* Reserved - */ - /*! \brief 1E.C880.E:C RO Pair A Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_1 : 3; /* 1E.C880.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.F RO Reserved 1 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_1 - - - - Reserved - - */ - unsigned int reserved_1 : 1; /* 1E.C880.F RO */ - /* Reserved - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C881.2:0 RO Pair B Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_4 : 3; /* 1E.C881.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.3 RO Reserved 8 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_8 - - - - Reserved - - */ - unsigned int reserved_8 : 1; /* 1E.C881.3 RO */ - /* Reserved - */ - /*! \brief 1E.C881.6:4 RO Pair B Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_3 : 3; /* 1E.C881.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.7 RO Reserved 7 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_7 - - - - Reserved - - */ - unsigned int reserved_7 : 1; /* 1E.C881.7 RO */ - /* Reserved - */ - /*! \brief 1E.C881.A:8 RO Pair B Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_2 : 3; /* 1E.C881.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.B RO Reserved 6 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_6 - - - - Reserved - - */ - unsigned int reserved_6 : 1; /* 1E.C881.B RO */ - /* Reserved - */ - /*! \brief 1E.C881.E:C RO Pair B Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_1 : 3; /* 1E.C881.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.F RO Reserved 5 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_5 - - - - Reserved - - */ - unsigned int reserved_5 : 1; /* 1E.C881.F RO */ - /* Reserved - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C882.2:0 RO Pair C Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_4 : 3; /* 1E.C882.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.3 RO Reserved 12 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_12 - - - - Reserved - - */ - unsigned int reserved_12 : 1; /* 1E.C882.3 RO */ - /* Reserved - */ - /*! \brief 1E.C882.6:4 RO Pair C Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_3 : 3; /* 1E.C882.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.7 RO Reserved 11 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_11 - - - - Reserved - - */ - unsigned int reserved_11 : 1; /* 1E.C882.7 RO */ - /* Reserved - */ - /*! \brief 1E.C882.A:8 RO Pair C Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_2 : 3; /* 1E.C882.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.B RO Reserved 10 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_10 - - - - Reserved - - */ - unsigned int reserved_10 : 1; /* 1E.C882.B RO */ - /* Reserved - */ - /*! \brief 1E.C882.E:C RO Pair C Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_1 : 3; /* 1E.C882.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.F RO Reserved 9 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_9 - - - - Reserved - - */ - unsigned int reserved_9 : 1; /* 1E.C882.F RO */ - /* Reserved - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C883.2:0 RO Pair D Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_4 : 3; /* 1E.C883.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.3 RO Reserved 16 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_16 - - - - Reserved - - */ - unsigned int reserved_16 : 1; /* 1E.C883.3 RO */ - /* Reserved - */ - /*! \brief 1E.C883.6:4 RO Pair D Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_3 : 3; /* 1E.C883.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.7 RO Reserved 15 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_15 - - - - Reserved - - */ - unsigned int reserved_15 : 1; /* 1E.C883.7 RO */ - /* Reserved - */ - /*! \brief 1E.C883.A:8 RO Pair D Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_2 : 3; /* 1E.C883.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.B RO Reserved 14 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_14 - - - - Reserved - - */ - unsigned int reserved_14 : 1; /* 1E.C883.B RO */ - /* Reserved - */ - /*! \brief 1E.C883.E:C RO Pair D Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_1 : 3; /* 1E.C883.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.F RO Reserved 13 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_13 - - - - Reserved - - */ - unsigned int reserved_13 : 1; /* 1E.C883.F RO */ - /* Reserved - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalCableDiagnosticImpedance_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Status: 1E.C884 */ -/* Global Status: 1E.C884 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Status */ - union - { - struct - { - /*! \brief 1E.C884.7:0 RO Cable Length [7:0] - AQ_GlobalStatus_HHD.u0.bits_0.cableLength - - - - The estimated length of the cable in meters - - - Notes: - The length of the cable shown here is estimated from the cable diagnostic engine and should be accurate to +/-1m. */ - unsigned int cableLength : 8; /* 1E.C884.7:0 RO */ - /* The estimated length of the cable in meters - */ - /*! \brief 1E.C884.F:8 RO Reserved Status 0 [7:0] - AQ_GlobalStatus_HHD.u0.bits_0.reservedStatus_0 - - - - Reserved - - */ - unsigned int reservedStatus_0 : 8; /* 1E.C884.F:8 RO */ - /* Reserved - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Status: 1E.C885 */ -/* Global Reserved Status: 1E.C885 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C885.3:0 ROSPD Provisioning ID [3:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.provisioningID - - Provisionable Default = 0x0 - - Provisioning ID - - - Notes: - Customers may receive multiple ROM images that differ only in their provisioning. This field is used to differentiate those images. This field is used in conjunction with the firmware major and minor revision numbers to uniquely identify ROM images. */ - unsigned int provisioningID : 4; /* 1E.C885.3:0 ROSPD Provisionable Default = 0x0 */ - /* Provisioning ID - */ - /*! \brief 1E.C885.7:4 ROSPD Firmware Build ID [3:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.firmwareBuildID - - Provisionable Default = 0x0 - - Firmware Build ID - - - Notes: - Customers may receive multiple ROM images that differ only in their provisioning. This field is used to differentiate those images. This field is used in conjunction with the firmware major and minor revision numbers to uniquely identify ROM images. */ - unsigned int firmwareBuildID : 4; /* 1E.C885.7:4 ROSPD Provisionable Default = 0x0 */ - /* Firmware Build ID - */ - /*! \brief 1E.C885.9:8 ROSPD XENPAK NVR Status [1:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.xenpakNvrStatus - - Provisionable Default = 0x0 - - Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - - - Notes: - XENPAK register space is mirrored in NVR (SPI ROM). This register indicates the status of the last NVR operation. */ - unsigned int xenpakNvrStatus : 2; /* 1E.C885.9:8 ROSPD Provisionable Default = 0x0 */ - /* Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - */ - /*! \brief 1E.C885.F:A RO Nearly Seconds MSW[5:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.nearlySecondsMSW - - - - Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsMSW : 6; /* 1E.C885.F:A RO */ - /* Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C886.F:0 RO Nearly Seconds LSW [F:0] - AQ_GlobalReservedStatus_HHD.u1.bits_1.nearlySecondsLSW - - - - Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsLSW : 16; /* 1E.C886.F:0 RO */ - /* Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C887.D:0 RO Reserved Status 3 [D:0] - AQ_GlobalReservedStatus_HHD.u2.bits_2.reservedStatus_3 - - - - Reserved for future use - - */ - unsigned int reservedStatus_3 : 14; /* 1E.C887.D:0 RO */ - /* Reserved for future use - */ - /*! \brief 1E.C887.E ROS Power Up Stall Status - AQ_GlobalReservedStatus_HHD.u2.bits_2.powerUpStallStatus - - Default = 0x0 - - 1 = FW is stalled at power up - 0 = Firmware is unstalled - - */ - unsigned int powerUpStallStatus : 1; /* 1E.C887.E ROS Default = 0x0 */ - /* 1 = FW is stalled at power up - 0 = Firmware is unstalled - */ - /*! \brief 1E.C887.F ROS DTE Status - AQ_GlobalReservedStatus_HHD.u2.bits_2.dteStatus - - Default = 0x0 - - 1 = Need power - 0 = Don't need power - - */ - unsigned int dteStatus : 1; /* 1E.C887.F ROS Default = 0x0 */ - /* 1 = Need power - 0 = Don't need power - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C888.1:0 RO Rate [1:0] - AQ_GlobalReservedStatus_HHD.u3.bits_3.rate - - Default = 0x0 - - 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = invalid - - - Notes: - These bits report the selected rate for the loopback and packet generation. */ - unsigned int rate : 2; /* 1E.C888.1:0 RO Default = 0x0 */ - /* 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = invalid - */ - /*! \brief 1E.C888.2 RO Reserved Status 4a - AQ_GlobalReservedStatus_HHD.u3.bits_3.reservedStatus_4a - - Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedStatus_4a : 1; /* 1E.C888.2 RO Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C888.3 RO System I/F Packet Generation Status - AQ_GlobalReservedStatus_HHD.u3.bits_3.systemI_fPacketGenerationStatus - - Default = 0x0 - - 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - - - Notes: - Reports whether the CRPAT packet generator in the PHY outputs on the selected system interface at the selected rate. */ - unsigned int systemI_fPacketGenerationStatus : 1; /* 1E.C888.3 RO Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - */ - /*! \brief 1E.C888.4 RO Look-Aside Port Packet Generation Status - AQ_GlobalReservedStatus_HHD.u3.bits_3.look_asidePortPacketGenerationStatus - - Default = 0x0 - - 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - - - Notes: - Reports whether the CRPAT packet generator in the PHY outputs on the KR0 interface at the selected rate. */ - unsigned int look_asidePortPacketGenerationStatus : 1; /* 1E.C888.4 RO Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - */ - /*! \brief 1E.C888.5 RO MDI Packet Generation Status - AQ_GlobalReservedStatus_HHD.u3.bits_3.mdiPacketGenerationStatus - - Default = 0x0 - - 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - - - Notes: - Reports whether the CRPAT packet generator in the PHY outputs on the MDI interface at the selected rate. */ - unsigned int mdiPacketGenerationStatus : 1; /* 1E.C888.5 RO Default = 0x0 */ - /* 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - */ - /*! \brief 1E.C888.A:6 RO Reserved Status 4 [4:0] - AQ_GlobalReservedStatus_HHD.u3.bits_3.reservedStatus_4 - - Default = 0x00 - - Reserved for future use - - */ - unsigned int reservedStatus_4 : 5; /* 1E.C888.A:6 RO Default = 0x00 */ - /* Reserved for future use - */ - /*! \brief 1E.C888.F:B RO Loopback Status [4:0] - AQ_GlobalReservedStatus_HHD.u3.bits_3.loopbackStatus - - Default = 0x00 - - 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - - - Notes: - These bits, in conjunction with the chip configuration and the rate (Bits 1:0), report the selected loopback. - - */ - unsigned int loopbackStatus : 5; /* 1E.C888.F:B RO Default = 0x00 */ - /* 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalReservedStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Alarms: 1E.CC00 */ -/* Global Alarms: 1E.CC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC00.0 LH Reserved Alarm D - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmD - - - - Reserved for future use - - */ - unsigned int reservedAlarmD : 1; /* 1E.CC00.0 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.1 LH Reserved Alarm C - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmC - - - - Reserved for future use - - */ - unsigned int reservedAlarmC : 1; /* 1E.CC00.1 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.2 LH Reserved Alarm B - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmB - - - - Reserved for future use - - */ - unsigned int reservedAlarmB : 1; /* 1E.CC00.2 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.3 LH Reserved Alarm A - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmA - - - - Reserved for future use - - */ - unsigned int reservedAlarmA : 1; /* 1E.CC00.3 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.4 LH Device Fault - AQ_GlobalAlarms_HHD.u0.bits_0.deviceFault - - - - 1 = Fault - - Notes: - When set, a fault has been detected by the uP and the associated 16 bit error code is visible in See Global Configuration Fault Message: Address 1E.C850 */ - unsigned int deviceFault : 1; /* 1E.CC00.4 LH */ - /* 1 = Fault */ - unsigned int reserved2 : 1; - /*! \brief 1E.CC00.6 LH Reset completed - AQ_GlobalAlarms_HHD.u0.bits_0.resetCompleted - - - - 1 = Chip wide reset completed - - Notes: - This bit is set by the microprocessor when it has completed it's initialization sequence. This bit is mirrored in 1.CC02.0 */ - unsigned int resetCompleted : 1; /* 1E.CC00.6 LH */ - /* 1 = Chip wide reset completed */ - unsigned int reserved1 : 4; - /*! \brief 1E.CC00.B LH Low Temperature Warning - AQ_GlobalAlarms_HHD.u0.bits_0.lowTemperatureWarning - - - - 1 = Low temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureWarning : 1; /* 1E.CC00.B LH */ - /* 1 = Low temperature warning threshold has been exceeded - */ - /*! \brief 1E.CC00.C LH High Temperature Warning - AQ_GlobalAlarms_HHD.u0.bits_0.highTemperatureWarning - - - - 1 = High temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureWarning : 1; /* 1E.CC00.C LH */ - /* 1 = High temperature warning threshold has been exceeded - */ - /*! \brief 1E.CC00.D LH Low Temperature Failure - AQ_GlobalAlarms_HHD.u0.bits_0.lowTemperatureFailure - - - - 1 = Low temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureFailure : 1; /* 1E.CC00.D LH */ - /* 1 = Low temperature failure threshold has been exceeded - */ - /*! \brief 1E.CC00.E LH High Temperature Failure - AQ_GlobalAlarms_HHD.u0.bits_0.highTemperatureFailure - - - - 1 = High temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureFailure : 1; /* 1E.CC00.E LH */ - /* 1 = High temperature failure threshold has been exceeded - */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Alarms */ - union - { - struct - { - unsigned int reserved2 : 1; - unsigned int reserved1 : 6; - /*! \brief 1E.CC01.7 LH MDIO Command Handling Overflow - AQ_GlobalAlarms_HHD.u1.bits_1.mdioCommandHandlingOverflow - - - - 1 = PHY was issued more MDIO requests than it could service in it's request buffer - - - Notes: - Assertion of this bit means that more MDIO commands were issued than FW could handle. */ - unsigned int mdioCommandHandlingOverflow : 1; /* 1E.CC01.7 LH */ - /* 1 = PHY was issued more MDIO requests than it could service in it's request buffer - */ - /*! \brief 1E.CC01.A:8 LH Reserved Alarms [2:0] - AQ_GlobalAlarms_HHD.u1.bits_1.reservedAlarms - - - - Reserved - - - */ - unsigned int reservedAlarms : 3; /* 1E.CC01.A:8 LH */ - /* Reserved - - */ - /*! \brief 1E.CC01.B LH DTE Status Change - AQ_GlobalAlarms_HHD.u1.bits_1.dteStatusChange - - - - 1 = DTE status change - - - Notes: - Change in 1E.C887[F]. */ - unsigned int dteStatusChange : 1; /* 1E.CC01.B LH */ - /* 1 = DTE status change - */ - /*! \brief 1E.CC01.C LH IP Phone Detect - AQ_GlobalAlarms_HHD.u1.bits_1.ipPhoneDetect - - - - 1 = IP Phone Detect - - - Notes: - Assertion of this bit means that the presence of an IP Phone has been detected. */ - unsigned int ipPhoneDetect : 1; /* 1E.CC01.C LH */ - /* 1 = IP Phone Detect - */ - /*! \brief 1E.CC01.D RO XENPAK Alarm - AQ_GlobalAlarms_HHD.u1.bits_1.xenpakAlarm - - - - 1 = XENPAK Alarm - - */ - unsigned int xenpakAlarm : 1; /* 1E.CC01.D RO */ - /* 1 = XENPAK Alarm - */ - /*! \brief 1E.CC01.E LH Smart Power-Down Entered - AQ_GlobalAlarms_HHD.u1.bits_1.smartPower_downEntered - - - - 1 = Smart Power-Down State Entered - - - Notes: - When this bit is set, it indicates that the Smart Power-Down state was entered */ - unsigned int smartPower_downEntered : 1; /* 1E.CC01.E LH */ - /* 1 = Smart Power-Down State Entered - */ - unsigned int reserved0 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC02.0 LH Watchdog Timer Alarm - AQ_GlobalAlarms_HHD.u2.bits_2.watchdogTimerAlarm - - - - 1 = Watchdog timer alarm - - */ - unsigned int watchdogTimerAlarm : 1; /* 1E.CC02.0 LH */ - /* 1 = Watchdog timer alarm - */ - /*! \brief 1E.CC02.1 LH MDIO Timeout Error - AQ_GlobalAlarms_HHD.u2.bits_2.mdioTimeoutError - - - - 1 = MDIO timeout detected - - */ - unsigned int mdioTimeoutError : 1; /* 1E.CC02.1 LH */ - /* 1 = MDIO timeout detected - */ - /*! \brief 1E.CC02.2 LH MDIO MMD Error - AQ_GlobalAlarms_HHD.u2.bits_2.mdioMMD_Error - - - - 1 = Invalid MMD address detected - - */ - unsigned int mdioMMD_Error : 1; /* 1E.CC02.2 LH */ - /* 1 = Invalid MMD address detected - */ - unsigned int reserved2 : 2; - /*! \brief 1E.CC02.5 LRF Tx Enable State Change - AQ_GlobalAlarms_HHD.u2.bits_2.txEnableStateChange - - - - 1 = TX_EN pin has changed state - - */ - unsigned int txEnableStateChange : 1; /* 1E.CC02.5 LRF */ - /* 1 = TX_EN pin has changed state - */ - unsigned int reserved1 : 2; - /*! \brief 1E.CC02.9:8 LH uP IRAM Parity Error [1:0] - AQ_GlobalAlarms_HHD.u2.bits_2.upIramParityError - - - - 1 = Parity error detected in the uP IRAM - - - Notes: - Bit 0 indicates a parity error was detected in the uP IRAM but was corrected. - Bit 1 indicates a multiple parity errors were detected in the uP IRAM and could not be corrected. - The uP IRAM is protected with ECC. */ - unsigned int upIramParityError : 2; /* 1E.CC02.9:8 LH */ - /* 1 = Parity error detected in the uP IRAM - */ - /*! \brief 1E.CC02.A LH uP DRAM Parity Error - AQ_GlobalAlarms_HHD.u2.bits_2.upDramParityError - - - - 1 = Parity error detected in the uP DRAM - - */ - unsigned int upDramParityError : 1; /* 1E.CC02.A LH */ - /* 1 = Parity error detected in the uP DRAM - */ - unsigned int reserved0 : 3; - /*! \brief 1E.CC02.E LH Mailbox Operation: Complete - AQ_GlobalAlarms_HHD.u2.bits_2.mailboxOperation_Complete - - - - 1 = Mailbox operation is complete - - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperation_Complete : 1; /* 1E.CC02.E LH */ - /* 1 = Mailbox operation is complete - */ - /*! \brief 1E.CC02.F LH NVR Operation Complete - AQ_GlobalAlarms_HHD.u2.bits_2.nvrOperationComplete - - - - 1 = NVR operation is complete - - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 . */ - unsigned int nvrOperationComplete : 1; /* 1E.CC02.F LH */ - /* 1 = NVR operation is complete - */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalAlarms_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Mask: 1E.D400 */ -/* Global Interrupt Mask: 1E.D400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D400.0 R/WPD Reserved Alarm D Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmDMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmDMask : 1; /* 1E.D400.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.1 R/WPD Reserved Alarm C Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmCMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmCMask : 1; /* 1E.D400.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.2 R/WPD Reserved Alarm B Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmBMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmBMask : 1; /* 1E.D400.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.3 R/WPD Reserved Alarm A Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmAMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmAMask : 1; /* 1E.D400.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.4 R/WPD Device Fault Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.deviceFaultMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int deviceFaultMask : 1; /* 1E.D400.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 1; - /*! \brief 1E.D400.6 R/WPD Reset completed Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.resetCompletedMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int resetCompletedMask : 1; /* 1E.D400.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved1 : 4; - /*! \brief 1E.D400.B R/WPD Low Temperature Warning Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.lowTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureWarningMask : 1; /* 1E.D400.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.C R/WPD High Temperature Warning Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.highTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureWarningMask : 1; /* 1E.D400.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.D R/WPD Low Temperature Failure Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.lowTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureFailureMask : 1; /* 1E.D400.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.E R/WPD High Temperature Failure Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.highTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureFailureMask : 1; /* 1E.D400.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 1; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D401.0 R/WPD Diagnostic Alarm Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.diagnosticAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int diagnosticAlarmMask : 1; /* 1E.D401.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved1 : 6; - /*! \brief 1E.D401.7 R/WPD MDIO Command Handling Overflow Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.mdioCommandHandlingOverflowMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int mdioCommandHandlingOverflowMask : 1; /* 1E.D401.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.A:8 R/WPD Reserved Alarms Mask [2:0] - AQ_GlobalInterruptMask_HHD.u1.bits_1.reservedAlarmsMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmsMask : 3; /* 1E.D401.A:8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.B R/WPD DTE Status Change Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.dteStatusChangeMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int dteStatusChangeMask : 1; /* 1E.D401.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.C R/WPD IP Phone Detect Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.ipPhoneDetectMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int ipPhoneDetectMask : 1; /* 1E.D401.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.D R/WPD XENPAK Alarm Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.xenpakAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int xenpakAlarmMask : 1; /* 1E.D401.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D401.E R/WPD Smart Power-Down Entered Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.smartPower_downEnteredMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int smartPower_downEnteredMask : 1; /* 1E.D401.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved0 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D402.0 R/WPD Watchdog Timer Alarm Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.watchdogTimerAlarmMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int watchdogTimerAlarmMask : 1; /* 1E.D402.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.1 R/WPD MDIO Timeout Error Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.mdioTimeoutErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioTimeoutErrorMask : 1; /* 1E.D402.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.2 R/WPD MDIO MMD Error Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.mdioMMD_ErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioMMD_ErrorMask : 1; /* 1E.D402.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 2; - /*! \brief 1E.D402.5 R/WPD Tx Enable State Change Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.txEnableStateChangeMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int txEnableStateChangeMask : 1; /* 1E.D402.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved1 : 2; - /*! \brief 1E.D402.9:8 R/WPD uP IRAM Parity Error Mask [1:0] - AQ_GlobalInterruptMask_HHD.u2.bits_2.upIramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upIramParityErrorMask : 2; /* 1E.D402.9:8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D402.A R/WPD uP DRAM Parity Error Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.upDramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upDramParityErrorMask : 1; /* 1E.D402.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved0 : 3; - /*! \brief 1E.D402.E R/WPD Mailbox Operation Complete Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.mailboxOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperationCompleteMask : 1; /* 1E.D402.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.F R/WPD NVR Operation Complete Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.nvrOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 */ - unsigned int nvrOperationCompleteMask : 1; /* 1E.D402.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalInterruptMask_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/* Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Standard Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC00.0 RO All Vendor Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.allVendorAlarmsInterrupt - - - - 1 = Interrupt in all vendor alarms - - - Notes: - An interrupt was generated from status register ( See Global Chip-Wide LASI Vendor Interrupt Flags: Address 1E.FC01 ) and the corresponding mask register. ( See Global Interrupt LASI Mask: Address 1E.FF01 ) */ - unsigned int allVendorAlarmsInterrupt : 1; /* 1E.FC00.0 RO */ - /* 1 = Interrupt in all vendor alarms - */ - unsigned int reserved0 : 5; - /*! \brief 1E.FC00.6 RO GbE Standard Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.gbeStandardAlarmsInterrupt - - - - 1 = Interrupt in GbE standard alarms - - - Notes: - An interrupt was generated from the TGE core. */ - unsigned int gbeStandardAlarmsInterrupt : 1; /* 1E.FC00.6 RO */ - /* 1 = Interrupt in GbE standard alarms - */ - /*! \brief 1E.FC00.7 RO Autonegotiation Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.autonegotiationStandardAlarms_2Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See Autonegotiation 10GBASE-T Status Register - Address 7.21 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int autonegotiationStandardAlarms_2Interrupt : 1; /* 1E.FC00.7 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 2 - */ - /*! \brief 1E.FC00.8 RO Autonegotiation Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.autonegotiationStandardAlarms_1Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See Autonegotiation Standard LASI Interrupt Mask 1: Address 7.D000 ) */ - unsigned int autonegotiationStandardAlarms_1Interrupt : 1; /* 1E.FC00.8 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 1 - */ - /*! \brief 1E.FC00.9 RO PHY XS Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.phyXS_StandardAlarms_2Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 2 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int phyXS_StandardAlarms_2Interrupt : 1; /* 1E.FC00.9 RO */ - /* 1 = Interrupt in PHY XS standard alarms 2 - */ - /*! \brief 1E.FC00.A RO PHY XS Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.phyXS_StandardAlarms_1Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 1 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int phyXS_StandardAlarms_1Interrupt : 1; /* 1E.FC00.A RO */ - /* 1 = Interrupt in PHY XS standard alarms 1 - */ - /*! \brief 1E.FC00.B RO PCS Standard Alarm 3 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pcsStandardAlarm_3Interrupt - - - - 1 = Interrupt in PCS standard alarms 3 - - - Notes: - An interrupt was generated from status register ( See PCS 10GBASE-T Status 2 - Address 3.21 ) and the corresponding mask register. ( See PCS Standard Interrupt Mask 1 - Address 3.E021 ) */ - unsigned int pcsStandardAlarm_3Interrupt : 1; /* 1E.FC00.B RO */ - /* 1 = Interrupt in PCS standard alarms 3 - */ - /*! \brief 1E.FC00.C RO PCS Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pcsStandardAlarm_2Interrupt - - - - 1 = Interrupt in PCS standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pcsStandardAlarm_2Interrupt : 1; /* 1E.FC00.C RO */ - /* 1 = Interrupt in PCS standard alarms 2 - */ - /*! \brief 1E.FC00.D RO PCS Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pcsStandardAlarm_1Interrupt - - - - 1 = Interrupt in PCS standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pcsStandardAlarm_1Interrupt : 1; /* 1E.FC00.D RO */ - /* 1 = Interrupt in PCS standard alarms 1 - */ - /*! \brief 1E.FC00.E RO PMA Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pmaStandardAlarm_2Interrupt - - - - 1 = Interrupt in PMA standard alarms 2 - - - Notes: - An interrupt was generated from either bit 1.8.B or 1.8.A. - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pmaStandardAlarm_2Interrupt : 1; /* 1E.FC00.E RO */ - /* 1 = Interrupt in PMA standard alarms 2 - */ - /*! \brief 1E.FC00.F RO PMA Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pmaStandardAlarm_1Interrupt - - - - 1 = Interrupt in PMA standard alarms 1 - - - Notes: - An interrupt was generated from bit 1.1.2. - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pmaStandardAlarm_1Interrupt : 1; /* 1E.FC00.F RO */ - /* 1 = Interrupt in PMA standard alarms 1 - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideStandardInterruptFlags_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/* Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Vendor Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC01.0 RO Global Alarms 3 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.globalAlarms_3Interrupt - - - - 1 = Interrupt in Global alarms 3 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_3Interrupt : 1; /* 1E.FC01.0 RO */ - /* 1 = Interrupt in Global alarms 3 - */ - /*! \brief 1E.FC01.1 RO Global Alarms 2 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.globalAlarms_2Interrupt - - - - 1 = Interrupt in Global alarms 2 - - - Notes: - An interrupt was generated from status register ( See Global Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_2Interrupt : 1; /* 1E.FC01.1 RO */ - /* 1 = Interrupt in Global alarms 2 - */ - /*! \brief 1E.FC01.2 RO Global Alarms 1 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.globalAlarms_1Interrupt - - - - 1 = Interrupt in Global alarms 1 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 1 - Address 1E.CC00 ) and the corresponding mask register. ( See Global Vendor Interrupt Mask - Address 1E.D400 ) */ - unsigned int globalAlarms_1Interrupt : 1; /* 1E.FC01.2 RO */ - /* 1 = Interrupt in Global alarms 1 - */ - unsigned int reserved0 : 8; - /*! \brief 1E.FC01.B RO GbE Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.gbeVendorAlarmInterrupt - - - - 1 = Interrupt in GbE vendor specific alarm - - - Notes: - A GbE alarm was generated. ( See GbE PHY Vendor Global LASI Interrupt Flags 1: Address 1D.FC00 ) */ - unsigned int gbeVendorAlarmInterrupt : 1; /* 1E.FC01.B RO */ - /* 1 = Interrupt in GbE vendor specific alarm - */ - /*! \brief 1E.FC01.C RO Autonegotiation Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.autonegotiationVendorAlarmInterrupt - - - - 1 = Interrupt in Autonegotiation vendor specific alarm - - - Notes: - An Autonegotiation alarm was generated. ( See Autonegotiation Vendor Global LASI Interrupt Flags 1: Address 7.FC00 ) */ - unsigned int autonegotiationVendorAlarmInterrupt : 1; /* 1E.FC01.C RO */ - /* 1 = Interrupt in Autonegotiation vendor specific alarm - */ - /*! \brief 1E.FC01.D RO PHY XS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.phyXS_VendorAlarmInterrupt - - - - 1 = Interrupt in PHY XS vendor specific alarm - - - Notes: - A PHY XS alarm was generated. ( See PHY XS Vendor Global LASI Interrupt Flags 1: Address 4.FC00 ) */ - unsigned int phyXS_VendorAlarmInterrupt : 1; /* 1E.FC01.D RO */ - /* 1 = Interrupt in PHY XS vendor specific alarm - */ - /*! \brief 1E.FC01.E RO PCS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.pcsVendorAlarmInterrupt - - - - 1 = Interrupt in PCS vendor specific alarm - - - Notes: - A PCS alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pcsVendorAlarmInterrupt : 1; /* 1E.FC01.E RO */ - /* 1 = Interrupt in PCS vendor specific alarm - */ - /*! \brief 1E.FC01.F RO PMA Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.pmaVendorAlarmInterrupt - - - - 1 = Interrupt in PMA vendor specific alarm - - - Notes: - A PMA alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pmaVendorAlarmInterrupt : 1; /* 1E.FC01.F RO */ - /* 1 = Interrupt in PMA vendor specific alarm - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideVendorInterruptFlags_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/* Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Standard Mask */ - union - { - struct - { - /*! \brief 1E.FF00.0 R/WPD All Vendor Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.allVendorAlarmsInterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int allVendorAlarmsInterruptMask : 1; /* 1E.FF00.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 5; - /*! \brief 1E.FF00.6 R/WPD Gbe Standard Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.gbeStandardAlarmsInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeStandardAlarmsInterruptMask : 1; /* 1E.FF00.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.7 R/WPD Autonegotiation Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.autonegotiationStandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_2InterruptMask : 1; /* 1E.FF00.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.8 R/WPD Autonegotiation Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.autonegotiationStandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_1InterruptMask : 1; /* 1E.FF00.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.9 R/WPD PHY XS Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.phyXS_StandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_2InterruptMask : 1; /* 1E.FF00.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.A R/WPD PHY XS Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.phyXS_StandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_1InterruptMask : 1; /* 1E.FF00.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.B R/WPD PCS Standard Alarm 3 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pcsStandardAlarm_3InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_3InterruptMask : 1; /* 1E.FF00.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.C R/WPD PCS Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pcsStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_2InterruptMask : 1; /* 1E.FF00.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.D R/WPD PCS Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pcsStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_1InterruptMask : 1; /* 1E.FF00.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.E R/WPD PMA Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pmaStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_2InterruptMask : 1; /* 1E.FF00.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.F R/WPD PMA Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pmaStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_1InterruptMask : 1; /* 1E.FF00.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideStandardMask_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/* Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Vendor Mask */ - union - { - struct - { - /*! \brief 1E.FF01.0 R/WPD Global Alarms 3 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.globalAlarms_3InterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_3InterruptMask : 1; /* 1E.FF01.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.1 R/WPD Global Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.globalAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_2InterruptMask : 1; /* 1E.FF01.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.2 R/WPD Global Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.globalAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_1InterruptMask : 1; /* 1E.FF01.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 8; - /*! \brief 1E.FF01.B R/WPD GbE Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.gbeVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeVendorAlarmInterruptMask : 1; /* 1E.FF01.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.C R/WPD Autonegotiation Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.autonegotiationVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationVendorAlarmInterruptMask : 1; /* 1E.FF01.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.D R/WPD PHY XS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.phyXS_VendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_VendorAlarmInterruptMask : 1; /* 1E.FF01.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.E R/WPD PCS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.pcsVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsVendorAlarmInterruptMask : 1; /* 1E.FF01.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.F R/WPD PMA Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.pmaVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaVendorAlarmInterruptMask : 1; /* 1E.FF01.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideVendorMask_HHD; - -#endif -/*@}*/ -/*@}*/ diff --git a/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_Defines.h b/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_Defines.h deleted file mode 100644 index d9a4429d5..000000000 --- a/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_Defines.h +++ /dev/null @@ -1,4413 +0,0 @@ -/*! \file -* This file contains the compiler assist macros and doxygen comments -* for the Global Registers block. -*/ - -/*! \defgroup Global_registers_Defines Global Registers Defines -* This module contains the compiler assist macros and doxygen comments -* for the Global Registers block. -*/ -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $File: //depot/icm/proj/Dena/rev1.0/c/Systems/tools/windows/regMapParser/src/gencheaders.py $ -* -* $Revision: #10 $ -* -* $DateTime: 2014/04/08 16:55:58 $ -* -* $Author: joshd $ -* -* $Label: $ -* -* Description: -* -* This file contains the compiler assist macros for the registers contained in the Global Registers block. -* -* -***********************************************************************/ - - -/*@{*/ -#ifndef AQ_HHD_GLOBAL_REGS_DEFINES_HEADER -#define AQ_HHD_GLOBAL_REGS_DEFINES_HEADER - - -/*-----------------------------------------------------------------------------*/ -/*Access macro definitions */ -/*-----------------------------------------------------------------------------*/ -/*! \brief Base register address of structure AQ_GlobalStandardControl_1_HHD */ -#define AQ_GlobalStandardControl_1_HHD_baseRegisterAddress 0x0000 -/*! \brief MMD address of structure AQ_GlobalStandardControl_1_HHD */ -#define AQ_GlobalStandardControl_1_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure softReset in AQ_GlobalStandardControl_1_HHD */ -#define AQ_GlobalStandardControl_1_HHD_softReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure softReset in AQ_GlobalStandardControl_1_HHD */ -#define bits_AQ_GlobalStandardControl_1_HHD_softReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure softReset in AQ_GlobalStandardControl_1_HHD */ -#define word_AQ_GlobalStandardControl_1_HHD_softReset u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowPower in AQ_GlobalStandardControl_1_HHD */ -#define AQ_GlobalStandardControl_1_HHD_lowPower 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowPower in AQ_GlobalStandardControl_1_HHD */ -#define bits_AQ_GlobalStandardControl_1_HHD_lowPower u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowPower in AQ_GlobalStandardControl_1_HHD */ -#define word_AQ_GlobalStandardControl_1_HHD_lowPower u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardDeviceIdentifier_HHD */ -#define AQ_GlobalStandardDeviceIdentifier_HHD_baseRegisterAddress 0x0002 -/*! \brief MMD address of structure AQ_GlobalStandardDeviceIdentifier_HHD */ -#define AQ_GlobalStandardDeviceIdentifier_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure deviceIdMSW in AQ_GlobalStandardDeviceIdentifier_HHD */ -#define AQ_GlobalStandardDeviceIdentifier_HHD_deviceIdMSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceIdMSW in AQ_GlobalStandardDeviceIdentifier_HHD */ -#define bits_AQ_GlobalStandardDeviceIdentifier_HHD_deviceIdMSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure deviceIdMSW in AQ_GlobalStandardDeviceIdentifier_HHD */ -#define word_AQ_GlobalStandardDeviceIdentifier_HHD_deviceIdMSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure deviceIdLSW in AQ_GlobalStandardDeviceIdentifier_HHD */ -#define AQ_GlobalStandardDeviceIdentifier_HHD_deviceIdLSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceIdLSW in AQ_GlobalStandardDeviceIdentifier_HHD */ -#define bits_AQ_GlobalStandardDeviceIdentifier_HHD_deviceIdLSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure deviceIdLSW in AQ_GlobalStandardDeviceIdentifier_HHD */ -#define word_AQ_GlobalStandardDeviceIdentifier_HHD_deviceIdLSW u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_baseRegisterAddress 0x0005 -/*! \brief MMD address of structure AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_autonegotiationPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_autonegotiationPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_autonegotiationPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure tcPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_tcPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure tcPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_tcPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure tcPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_tcPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure dteXsPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_dteXsPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure dteXsPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_dteXsPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure dteXsPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_dteXsPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_Present in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_phyXS_Present 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_Present in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_phyXS_Present u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_Present in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_phyXS_Present u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_pcsPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_pcsPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_pcsPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure wisPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_wisPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure wisPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_wisPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure wisPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_wisPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pmaPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_pmaPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_pmaPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_pmaPresent u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure clause_22RegistersPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define AQ_GlobalStandardDevicesInPackage_HHD_clause_22RegistersPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure clause_22RegistersPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardDevicesInPackage_HHD_clause_22RegistersPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure clause_22RegistersPresent in AQ_GlobalStandardDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardDevicesInPackage_HHD_clause_22RegistersPresent u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define AQ_GlobalStandardVendorDevicesInPackage_HHD_baseRegisterAddress 0x0006 -/*! \brief MMD address of structure AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define AQ_GlobalStandardVendorDevicesInPackage_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure vendorSpecificDevice_2Present in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define AQ_GlobalStandardVendorDevicesInPackage_HHD_vendorSpecificDevice_2Present 0 -/*! \brief Preprocessor variable to relate field to bit position in structure vendorSpecificDevice_2Present in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardVendorDevicesInPackage_HHD_vendorSpecificDevice_2Present u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure vendorSpecificDevice_2Present in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardVendorDevicesInPackage_HHD_vendorSpecificDevice_2Present u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure vendorSpecificDevice_1Present in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define AQ_GlobalStandardVendorDevicesInPackage_HHD_vendorSpecificDevice_1Present 0 -/*! \brief Preprocessor variable to relate field to bit position in structure vendorSpecificDevice_1Present in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardVendorDevicesInPackage_HHD_vendorSpecificDevice_1Present u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure vendorSpecificDevice_1Present in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardVendorDevicesInPackage_HHD_vendorSpecificDevice_1Present u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure clause_22ExtensionPresent in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define AQ_GlobalStandardVendorDevicesInPackage_HHD_clause_22ExtensionPresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure clause_22ExtensionPresent in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define bits_AQ_GlobalStandardVendorDevicesInPackage_HHD_clause_22ExtensionPresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure clause_22ExtensionPresent in AQ_GlobalStandardVendorDevicesInPackage_HHD */ -#define word_AQ_GlobalStandardVendorDevicesInPackage_HHD_clause_22ExtensionPresent u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardStatus_2_HHD */ -#define AQ_GlobalStandardStatus_2_HHD_baseRegisterAddress 0x0008 -/*! \brief MMD address of structure AQ_GlobalStandardStatus_2_HHD */ -#define AQ_GlobalStandardStatus_2_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure devicePresent in AQ_GlobalStandardStatus_2_HHD */ -#define AQ_GlobalStandardStatus_2_HHD_devicePresent 0 -/*! \brief Preprocessor variable to relate field to bit position in structure devicePresent in AQ_GlobalStandardStatus_2_HHD */ -#define bits_AQ_GlobalStandardStatus_2_HHD_devicePresent u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure devicePresent in AQ_GlobalStandardStatus_2_HHD */ -#define word_AQ_GlobalStandardStatus_2_HHD_devicePresent u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalStandardPackageIdentifier_HHD */ -#define AQ_GlobalStandardPackageIdentifier_HHD_baseRegisterAddress 0x000E -/*! \brief MMD address of structure AQ_GlobalStandardPackageIdentifier_HHD */ -#define AQ_GlobalStandardPackageIdentifier_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure packageIdMSW in AQ_GlobalStandardPackageIdentifier_HHD */ -#define AQ_GlobalStandardPackageIdentifier_HHD_packageIdMSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure packageIdMSW in AQ_GlobalStandardPackageIdentifier_HHD */ -#define bits_AQ_GlobalStandardPackageIdentifier_HHD_packageIdMSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure packageIdMSW in AQ_GlobalStandardPackageIdentifier_HHD */ -#define word_AQ_GlobalStandardPackageIdentifier_HHD_packageIdMSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure packageIdLSW in AQ_GlobalStandardPackageIdentifier_HHD */ -#define AQ_GlobalStandardPackageIdentifier_HHD_packageIdLSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure packageIdLSW in AQ_GlobalStandardPackageIdentifier_HHD */ -#define bits_AQ_GlobalStandardPackageIdentifier_HHD_packageIdLSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure packageIdLSW in AQ_GlobalStandardPackageIdentifier_HHD */ -#define word_AQ_GlobalStandardPackageIdentifier_HHD_packageIdLSW u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalFirmwareID_HHD */ -#define AQ_GlobalFirmwareID_HHD_baseRegisterAddress 0x0020 -/*! \brief MMD address of structure AQ_GlobalFirmwareID_HHD */ -#define AQ_GlobalFirmwareID_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure firmwareMajorRevisionNumber in AQ_GlobalFirmwareID_HHD */ -#define AQ_GlobalFirmwareID_HHD_firmwareMajorRevisionNumber 0 -/*! \brief Preprocessor variable to relate field to bit position in structure firmwareMajorRevisionNumber in AQ_GlobalFirmwareID_HHD */ -#define bits_AQ_GlobalFirmwareID_HHD_firmwareMajorRevisionNumber u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure firmwareMajorRevisionNumber in AQ_GlobalFirmwareID_HHD */ -#define word_AQ_GlobalFirmwareID_HHD_firmwareMajorRevisionNumber u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure firmwareMinorRevisionNumber in AQ_GlobalFirmwareID_HHD */ -#define AQ_GlobalFirmwareID_HHD_firmwareMinorRevisionNumber 0 -/*! \brief Preprocessor variable to relate field to bit position in structure firmwareMinorRevisionNumber in AQ_GlobalFirmwareID_HHD */ -#define bits_AQ_GlobalFirmwareID_HHD_firmwareMinorRevisionNumber u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure firmwareMinorRevisionNumber in AQ_GlobalFirmwareID_HHD */ -#define word_AQ_GlobalFirmwareID_HHD_firmwareMinorRevisionNumber u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_baseRegisterAddress 0x0100 -/*! \brief MMD address of structure AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure nvrExecuteOperation in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrExecuteOperation 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrExecuteOperation in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrExecuteOperation u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrExecuteOperation in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrExecuteOperation u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrWriteMode in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrWriteMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrWriteMode in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrWriteMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrWriteMode in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrWriteMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure freezeNvrCrc in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_freezeNvrCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure freezeNvrCrc in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_freezeNvrCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure freezeNvrCrc in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_freezeNvrCrc u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetNvrCrc in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_resetNvrCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetNvrCrc in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_resetNvrCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetNvrCrc in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_resetNvrCrc u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrBurst in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrBurst 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrBurst in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrBurst u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrBurst in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrBurst u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrBusy in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrBusy 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrBusy in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrBusy u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrBusy in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrBusy u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrOpcode in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrOpcode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrOpcode in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrOpcode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrOpcode in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrOpcode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrMailboxCrc in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrMailboxCrc 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrMailboxCrc in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrMailboxCrc u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nvrMailboxCrc in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrMailboxCrc u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressMSW in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrAddressMSW 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressMSW in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrAddressMSW u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressMSW in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrAddressMSW u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressLSW in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrAddressLSW 3 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressLSW in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrAddressLSW u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressLSW in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrAddressLSW u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDataMSW in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrDataMSW 4 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDataMSW in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrDataMSW u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDataMSW in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrDataMSW u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDataLSW in AQ_GlobalNvrInterface_HHD */ -#define AQ_GlobalNvrInterface_HHD_nvrDataLSW 5 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDataLSW in AQ_GlobalNvrInterface_HHD */ -#define bits_AQ_GlobalNvrInterface_HHD_nvrDataLSW u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDataLSW in AQ_GlobalNvrInterface_HHD */ -#define word_AQ_GlobalNvrInterface_HHD_nvrDataLSW u5.word_5 - -/*! \brief Base register address of structure AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_baseRegisterAddress 0x0200 -/*! \brief MMD address of structure AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxExecuteOperation in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxExecuteOperation 0 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxExecuteOperation in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxExecuteOperation u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxExecuteOperation in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxExecuteOperation u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxWriteMode in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxWriteMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxWriteMode in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxWriteMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxWriteMode in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxWriteMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetUpMailboxCrc in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_resetUpMailboxCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetUpMailboxCrc in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_resetUpMailboxCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetUpMailboxCrc in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_resetUpMailboxCrc u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxBusy in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxBusy 0 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxBusy in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxBusy u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxBusy in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxBusy u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxCrc in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxCrc 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxCrc in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxCrc u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxCrc in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxCrc u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxAddressMSW in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxAddressMSW 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxAddressMSW in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxAddressMSW u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxAddressMSW in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxAddressMSW u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxAddressLSW in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxAddressLSW 3 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxAddressLSW in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxAddressLSW u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxAddressLSW in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxAddressLSW u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxAddressLSW_Don_tCare in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxAddressLSW_Don_tCare 3 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxAddressLSW_Don_tCare in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxAddressLSW_Don_tCare u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxAddressLSW_Don_tCare in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxAddressLSW_Don_tCare u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxDataMSW in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxDataMSW 4 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxDataMSW in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxDataMSW u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxDataMSW in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxDataMSW u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxDataLSW in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxDataLSW 5 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxDataLSW in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxDataLSW u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxDataLSW in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxDataLSW u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure upMailboxCrcReadEnable in AQ_GlobalMailboxInterface_HHD */ -#define AQ_GlobalMailboxInterface_HHD_upMailboxCrcReadEnable 6 -/*! \brief Preprocessor variable to relate field to bit position in structure upMailboxCrcReadEnable in AQ_GlobalMailboxInterface_HHD */ -#define bits_AQ_GlobalMailboxInterface_HHD_upMailboxCrcReadEnable u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure upMailboxCrcReadEnable in AQ_GlobalMailboxInterface_HHD */ -#define word_AQ_GlobalMailboxInterface_HHD_upMailboxCrcReadEnable u6.word_6 - -/*! \brief Base register address of structure AQ_GlobalMicroprocessorScratchPad_HHD */ -#define AQ_GlobalMicroprocessorScratchPad_HHD_baseRegisterAddress 0x0300 -/*! \brief MMD address of structure AQ_GlobalMicroprocessorScratchPad_HHD */ -#define AQ_GlobalMicroprocessorScratchPad_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure scratchPad_1 in AQ_GlobalMicroprocessorScratchPad_HHD */ -#define AQ_GlobalMicroprocessorScratchPad_HHD_scratchPad_1 0 -/*! \brief Preprocessor variable to relate field to bit position in structure scratchPad_1 in AQ_GlobalMicroprocessorScratchPad_HHD */ -#define bits_AQ_GlobalMicroprocessorScratchPad_HHD_scratchPad_1 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure scratchPad_1 in AQ_GlobalMicroprocessorScratchPad_HHD */ -#define word_AQ_GlobalMicroprocessorScratchPad_HHD_scratchPad_1 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure scratchPad_2 in AQ_GlobalMicroprocessorScratchPad_HHD */ -#define AQ_GlobalMicroprocessorScratchPad_HHD_scratchPad_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure scratchPad_2 in AQ_GlobalMicroprocessorScratchPad_HHD */ -#define bits_AQ_GlobalMicroprocessorScratchPad_HHD_scratchPad_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure scratchPad_2 in AQ_GlobalMicroprocessorScratchPad_HHD */ -#define word_AQ_GlobalMicroprocessorScratchPad_HHD_scratchPad_2 u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_baseRegisterAddress 0x5002 -/*! \brief MMD address of structure AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressEthertypeExplicitSectagLsb in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressEthertypeExplicitSectagLsb 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressEthertypeExplicitSectagLsb in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressEthertypeExplicitSectagLsb u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressEthertypeExplicitSectagLsb in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressEthertypeExplicitSectagLsb u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressClearGlobalTime in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressClearGlobalTime 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressClearGlobalTime in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressClearGlobalTime u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressClearGlobalTime in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressClearGlobalTime u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressClearCounter in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressClearCounter 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressClearCounter in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressClearCounter u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressClearCounter in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressClearCounter u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressHighPriority in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressHighPriority 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressHighPriority in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressHighPriority u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressHighPriority in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressHighPriority u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressIcvLsb_8BytesEnable in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressIcvLsb_8BytesEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressIcvLsb_8BytesEnable in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressIcvLsb_8BytesEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressIcvLsb_8BytesEnable in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressIcvLsb_8BytesEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressExternalClassificationEnable in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressExternalClassificationEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressExternalClassificationEnable in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressExternalClassificationEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressExternalClassificationEnable in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressExternalClassificationEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressExplicitSectagReportShortLength in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressExplicitSectagReportShortLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressExplicitSectagReportShortLength in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressExplicitSectagReportShortLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressExplicitSectagReportShortLength in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressExplicitSectagReportShortLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressDropInvalidSa_scPackets in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressDropInvalidSa_scPackets 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressDropInvalidSa_scPackets in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressDropInvalidSa_scPackets u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressDropInvalidSa_scPackets in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressDropInvalidSa_scPackets u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressUnmatchedUseSc_0 in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressUnmatchedUseSc_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressUnmatchedUseSc_0 in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressUnmatchedUseSc_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressUnmatchedUseSc_0 in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressUnmatchedUseSc_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgresssGcmTestMode in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgresssGcmTestMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgresssGcmTestMode in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgresssGcmTestMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgresssGcmTestMode in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgresssGcmTestMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressGcmStart in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressGcmStart 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressGcmStart in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressGcmStart u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressGcmStart in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressGcmStart u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressDropEgprcLutMiss in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressDropEgprcLutMiss 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressDropEgprcLutMiss in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressDropEgprcLutMiss u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressDropEgprcLutMiss in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressDropEgprcLutMiss u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressDropKayPacket in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressDropKayPacket 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressDropKayPacket in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressDropKayPacket u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressDropKayPacket in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressDropKayPacket u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSoftReset in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressSoftReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSoftReset in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressSoftReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSoftReset in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressSoftReset u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressEthertypeExplicitSectagMsb in AQ_MssEgressControlRegister_HHD */ -#define AQ_MssEgressControlRegister_HHD_mssEgressEthertypeExplicitSectagMsb 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressEthertypeExplicitSectagMsb in AQ_MssEgressControlRegister_HHD */ -#define bits_AQ_MssEgressControlRegister_HHD_mssEgressEthertypeExplicitSectagMsb u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressEthertypeExplicitSectagMsb in AQ_MssEgressControlRegister_HHD */ -#define word_AQ_MssEgressControlRegister_HHD_mssEgressEthertypeExplicitSectagMsb u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressVlanTpid_0Register_HHD */ -#define AQ_MssEgressVlanTpid_0Register_HHD_baseRegisterAddress 0x5008 -/*! \brief MMD address of structure AQ_MssEgressVlanTpid_0Register_HHD */ -#define AQ_MssEgressVlanTpid_0Register_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanStagTpid in AQ_MssEgressVlanTpid_0Register_HHD */ -#define AQ_MssEgressVlanTpid_0Register_HHD_mssEgressVlanStagTpid 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanStagTpid in AQ_MssEgressVlanTpid_0Register_HHD */ -#define bits_AQ_MssEgressVlanTpid_0Register_HHD_mssEgressVlanStagTpid u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanStagTpid in AQ_MssEgressVlanTpid_0Register_HHD */ -#define word_AQ_MssEgressVlanTpid_0Register_HHD_mssEgressVlanStagTpid u0.word_0 - -/*! \brief Base register address of structure AQ_MssEgressVlanTpid_1Register_HHD */ -#define AQ_MssEgressVlanTpid_1Register_HHD_baseRegisterAddress 0x500A -/*! \brief MMD address of structure AQ_MssEgressVlanTpid_1Register_HHD */ -#define AQ_MssEgressVlanTpid_1Register_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanQtagTpid in AQ_MssEgressVlanTpid_1Register_HHD */ -#define AQ_MssEgressVlanTpid_1Register_HHD_mssEgressVlanQtagTpid 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanQtagTpid in AQ_MssEgressVlanTpid_1Register_HHD */ -#define bits_AQ_MssEgressVlanTpid_1Register_HHD_mssEgressVlanQtagTpid u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanQtagTpid in AQ_MssEgressVlanTpid_1Register_HHD */ -#define word_AQ_MssEgressVlanTpid_1Register_HHD_mssEgressVlanQtagTpid u0.word_0 - -/*! \brief Base register address of structure AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_baseRegisterAddress 0x500C -/*! \brief MMD address of structure AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanUpMapTable in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpMapTable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanUpMapTable in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpMapTable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanUpMapTable in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpMapTable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanQtagParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQtagParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanQtagParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQtagParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanQtagParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQtagParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanStagParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanStagParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanStagParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanStagParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanStagParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanStagParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanQinqParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQinqParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanQinqParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQinqParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanQinqParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQinqParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanQtagUpParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQtagUpParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanQtagUpParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQtagUpParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanQtagUpParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanQtagUpParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanStagUpParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanStagUpParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanStagUpParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanStagUpParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanStagUpParseEnable in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanStagUpParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanUpDefault in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpDefault 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanUpDefault in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpDefault u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanUpDefault in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpDefault u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressVlanUpMapTableMSW in AQ_MssEgressVlanControlRegister_HHD */ -#define AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpMapTableMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressVlanUpMapTableMSW in AQ_MssEgressVlanControlRegister_HHD */ -#define bits_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpMapTableMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressVlanUpMapTableMSW in AQ_MssEgressVlanControlRegister_HHD */ -#define word_AQ_MssEgressVlanControlRegister_HHD_mssEgressVlanUpMapTableMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressPnControlRegister_HHD */ -#define AQ_MssEgressPnControlRegister_HHD_baseRegisterAddress 0x500E -/*! \brief MMD address of structure AQ_MssEgressPnControlRegister_HHD */ -#define AQ_MssEgressPnControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaPnThresholdLSW in AQ_MssEgressPnControlRegister_HHD */ -#define AQ_MssEgressPnControlRegister_HHD_mssEgressSaPnThresholdLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaPnThresholdLSW in AQ_MssEgressPnControlRegister_HHD */ -#define bits_AQ_MssEgressPnControlRegister_HHD_mssEgressSaPnThresholdLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaPnThresholdLSW in AQ_MssEgressPnControlRegister_HHD */ -#define word_AQ_MssEgressPnControlRegister_HHD_mssEgressSaPnThresholdLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaPnThresholdMSW in AQ_MssEgressPnControlRegister_HHD */ -#define AQ_MssEgressPnControlRegister_HHD_mssEgressSaPnThresholdMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaPnThresholdMSW in AQ_MssEgressPnControlRegister_HHD */ -#define bits_AQ_MssEgressPnControlRegister_HHD_mssEgressSaPnThresholdMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaPnThresholdMSW in AQ_MssEgressPnControlRegister_HHD */ -#define word_AQ_MssEgressPnControlRegister_HHD_mssEgressSaPnThresholdMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressMtuSizeControlRegister_HHD */ -#define AQ_MssEgressMtuSizeControlRegister_HHD_baseRegisterAddress 0x5010 -/*! \brief MMD address of structure AQ_MssEgressMtuSizeControlRegister_HHD */ -#define AQ_MssEgressMtuSizeControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressControlledPacketMtuSize in AQ_MssEgressMtuSizeControlRegister_HHD */ -#define AQ_MssEgressMtuSizeControlRegister_HHD_mssEgressControlledPacketMtuSize 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressControlledPacketMtuSize in AQ_MssEgressMtuSizeControlRegister_HHD */ -#define bits_AQ_MssEgressMtuSizeControlRegister_HHD_mssEgressControlledPacketMtuSize u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressControlledPacketMtuSize in AQ_MssEgressMtuSizeControlRegister_HHD */ -#define word_AQ_MssEgressMtuSizeControlRegister_HHD_mssEgressControlledPacketMtuSize u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressUncontrolledPacketMtuSize in AQ_MssEgressMtuSizeControlRegister_HHD */ -#define AQ_MssEgressMtuSizeControlRegister_HHD_mssEgressUncontrolledPacketMtuSize 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressUncontrolledPacketMtuSize in AQ_MssEgressMtuSizeControlRegister_HHD */ -#define bits_AQ_MssEgressMtuSizeControlRegister_HHD_mssEgressUncontrolledPacketMtuSize u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressUncontrolledPacketMtuSize in AQ_MssEgressMtuSizeControlRegister_HHD */ -#define word_AQ_MssEgressMtuSizeControlRegister_HHD_mssEgressUncontrolledPacketMtuSize u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_baseRegisterAddress 0x505C -/*! \brief MMD address of structure AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressEccErrorInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_mssEgressEccErrorInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressEccErrorInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressEccErrorInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressEccErrorInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressEccErrorInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressMibSaturationInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_mssEgressMibSaturationInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressMibSaturationInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressMibSaturationInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressMibSaturationInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressMibSaturationInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaThresholdExpiredInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_mssEgressSaThresholdExpiredInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaThresholdExpiredInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressSaThresholdExpiredInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaThresholdExpiredInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressSaThresholdExpiredInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaExpiredInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_mssEgressSaExpiredInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaExpiredInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressSaExpiredInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaExpiredInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressSaExpiredInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressMasterInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define AQ_MssEgressInterruptStatusRegister_HHD_mssEgressMasterInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressMasterInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressMasterInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressMasterInterrupt in AQ_MssEgressInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressInterruptStatusRegister_HHD_mssEgressMasterInterrupt u0.word_0 - -/*! \brief Base register address of structure AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_baseRegisterAddress 0x505E -/*! \brief MMD address of structure AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressEccErrorInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_mssEgressEccErrorInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressEccErrorInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define bits_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressEccErrorInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressEccErrorInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define word_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressEccErrorInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressMibSaturationInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_mssEgressMibSaturationInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressMibSaturationInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define bits_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressMibSaturationInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressMibSaturationInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define word_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressMibSaturationInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaExpiredThresholdInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_mssEgressSaExpiredThresholdInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaExpiredThresholdInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define bits_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressSaExpiredThresholdInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaExpiredThresholdInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define word_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressSaExpiredThresholdInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaExpiredInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_mssEgressSaExpiredInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaExpiredInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define bits_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressSaExpiredInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaExpiredInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define word_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressSaExpiredInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressMasterInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define AQ_MssEgressInterruptMaskRegister_HHD_mssEgressMasterInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressMasterInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define bits_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressMasterInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressMasterInterruptEnable in AQ_MssEgressInterruptMaskRegister_HHD */ -#define word_AQ_MssEgressInterruptMaskRegister_HHD_mssEgressMasterInterruptEnable u0.word_0 - -/*! \brief Base register address of structure AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaExpiredStatusRegister_HHD_baseRegisterAddress 0x5060 -/*! \brief MMD address of structure AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaExpiredStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaExpiredLSW in AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaExpiredStatusRegister_HHD_mssEgressSaExpiredLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaExpiredLSW in AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define bits_AQ_MssEgressSaExpiredStatusRegister_HHD_mssEgressSaExpiredLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaExpiredLSW in AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define word_AQ_MssEgressSaExpiredStatusRegister_HHD_mssEgressSaExpiredLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaExpiredMSW in AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaExpiredStatusRegister_HHD_mssEgressSaExpiredMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaExpiredMSW in AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define bits_AQ_MssEgressSaExpiredStatusRegister_HHD_mssEgressSaExpiredMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaExpiredMSW in AQ_MssEgressSaExpiredStatusRegister_HHD */ -#define word_AQ_MssEgressSaExpiredStatusRegister_HHD_mssEgressSaExpiredMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_baseRegisterAddress 0x5062 -/*! \brief MMD address of structure AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaThresholdExpiredLSW in AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mssEgressSaThresholdExpiredLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaThresholdExpiredLSW in AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define bits_AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mssEgressSaThresholdExpiredLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaThresholdExpiredLSW in AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define word_AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mssEgressSaThresholdExpiredLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaThresholdExpiredMSW in AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mssEgressSaThresholdExpiredMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaThresholdExpiredMSW in AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define bits_AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mssEgressSaThresholdExpiredMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaThresholdExpiredMSW in AQ_MssEgressSaThresholdExpiredStatusRegister_HHD */ -#define word_AQ_MssEgressSaThresholdExpiredStatusRegister_HHD_mssEgressSaThresholdExpiredMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define AQ_MssEgressEccInterruptStatusRegister_HHD_baseRegisterAddress 0x5064 -/*! \brief MMD address of structure AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define AQ_MssEgressEccInterruptStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaEccErrorInterruptLSW in AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define AQ_MssEgressEccInterruptStatusRegister_HHD_mssEgressSaEccErrorInterruptLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaEccErrorInterruptLSW in AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressEccInterruptStatusRegister_HHD_mssEgressSaEccErrorInterruptLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaEccErrorInterruptLSW in AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressEccInterruptStatusRegister_HHD_mssEgressSaEccErrorInterruptLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressSaEccErrorInterruptMSW in AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define AQ_MssEgressEccInterruptStatusRegister_HHD_mssEgressSaEccErrorInterruptMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressSaEccErrorInterruptMSW in AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define bits_AQ_MssEgressEccInterruptStatusRegister_HHD_mssEgressSaEccErrorInterruptMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressSaEccErrorInterruptMSW in AQ_MssEgressEccInterruptStatusRegister_HHD */ -#define word_AQ_MssEgressEccInterruptStatusRegister_HHD_mssEgressSaEccErrorInterruptMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssEgressLutAddressControlRegister_HHD */ -#define AQ_MssEgressLutAddressControlRegister_HHD_baseRegisterAddress 0x5080 -/*! \brief MMD address of structure AQ_MssEgressLutAddressControlRegister_HHD */ -#define AQ_MssEgressLutAddressControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutSelect in AQ_MssEgressLutAddressControlRegister_HHD */ -#define AQ_MssEgressLutAddressControlRegister_HHD_mssEgressLutSelect 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutSelect in AQ_MssEgressLutAddressControlRegister_HHD */ -#define bits_AQ_MssEgressLutAddressControlRegister_HHD_mssEgressLutSelect u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutSelect in AQ_MssEgressLutAddressControlRegister_HHD */ -#define word_AQ_MssEgressLutAddressControlRegister_HHD_mssEgressLutSelect u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutAddress in AQ_MssEgressLutAddressControlRegister_HHD */ -#define AQ_MssEgressLutAddressControlRegister_HHD_mssEgressLutAddress 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutAddress in AQ_MssEgressLutAddressControlRegister_HHD */ -#define bits_AQ_MssEgressLutAddressControlRegister_HHD_mssEgressLutAddress u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutAddress in AQ_MssEgressLutAddressControlRegister_HHD */ -#define word_AQ_MssEgressLutAddressControlRegister_HHD_mssEgressLutAddress u0.word_0 - -/*! \brief Base register address of structure AQ_MssEgressLutControlRegister_HHD */ -#define AQ_MssEgressLutControlRegister_HHD_baseRegisterAddress 0x5081 -/*! \brief MMD address of structure AQ_MssEgressLutControlRegister_HHD */ -#define AQ_MssEgressLutControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutWrite in AQ_MssEgressLutControlRegister_HHD */ -#define AQ_MssEgressLutControlRegister_HHD_mssEgressLutWrite 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutWrite in AQ_MssEgressLutControlRegister_HHD */ -#define bits_AQ_MssEgressLutControlRegister_HHD_mssEgressLutWrite u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutWrite in AQ_MssEgressLutControlRegister_HHD */ -#define word_AQ_MssEgressLutControlRegister_HHD_mssEgressLutWrite u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutRead in AQ_MssEgressLutControlRegister_HHD */ -#define AQ_MssEgressLutControlRegister_HHD_mssEgressLutRead 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutRead in AQ_MssEgressLutControlRegister_HHD */ -#define bits_AQ_MssEgressLutControlRegister_HHD_mssEgressLutRead u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutRead in AQ_MssEgressLutControlRegister_HHD */ -#define word_AQ_MssEgressLutControlRegister_HHD_mssEgressLutRead u0.word_0 - -/*! \brief Base register address of structure AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_baseRegisterAddress 0x50A0 -/*! \brief MMD address of structure AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_0 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_0 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_0 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_1 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_1 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_1 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_2 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_2 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_2 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_2 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_2 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_2 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_3 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_3 3 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_3 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_3 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_3 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_3 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_4 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_4 4 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_4 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_4 u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_4 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_4 u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_5 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_5 5 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_5 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_5 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_5 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_5 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_6 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_6 6 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_6 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_6 u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_6 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_6 u6.word_6 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_7 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_7 7 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_7 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_7 u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_7 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_7 u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_8 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_8 8 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_8 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_8 u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_8 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_8 u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_9 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_9 9 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_9 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_9 u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_9 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_9 u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_10 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_10 10 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_10 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_10 u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_10 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_10 u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_11 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_11 11 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_11 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_11 u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_11 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_11 u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_12 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_12 12 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_12 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_12 u12.bits_12 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_12 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_12 u12.word_12 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_13 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_13 13 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_13 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_13 u13.bits_13 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_13 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_13 u13.word_13 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_14 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_14 14 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_14 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_14 u14.bits_14 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_14 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_14 u14.word_14 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_15 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_15 15 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_15 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_15 u15.bits_15 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_15 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_15 u15.word_15 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_16 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_16 16 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_16 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_16 u16.bits_16 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_16 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_16 u16.word_16 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_17 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_17 17 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_17 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_17 u17.bits_17 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_17 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_17 u17.word_17 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_18 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_18 18 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_18 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_18 u18.bits_18 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_18 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_18 u18.word_18 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_19 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_19 19 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_19 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_19 u19.bits_19 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_19 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_19 u19.word_19 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_20 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_20 20 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_20 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_20 u20.bits_20 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_20 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_20 u20.word_20 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_21 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_21 21 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_21 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_21 u21.bits_21 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_21 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_21 u21.word_21 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_22 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_22 22 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_22 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_22 u22.bits_22 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_22 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_22 u22.word_22 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_23 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_23 23 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_23 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_23 u23.bits_23 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_23 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_23 u23.word_23 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_24 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_24 24 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_24 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_24 u24.bits_24 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_24 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_24 u24.word_24 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_25 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_25 25 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_25 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_25 u25.bits_25 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_25 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_25 u25.word_25 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_26 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_26 26 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_26 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_26 u26.bits_26 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_26 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_26 u26.word_26 -/*! \brief Preprocessor variable to relate field to word number in structure mssEgressLutData_27 in AQ_MssEgressLutDataControlRegister_HHD */ -#define AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_27 27 -/*! \brief Preprocessor variable to relate field to bit position in structure mssEgressLutData_27 in AQ_MssEgressLutDataControlRegister_HHD */ -#define bits_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_27 u27.bits_27 -/*! \brief Preprocessor variable to relate field to word position in structure mssEgressLutData_27 in AQ_MssEgressLutDataControlRegister_HHD */ -#define word_AQ_MssEgressLutDataControlRegister_HHD_mssEgressLutData_27 u27.word_27 - -/*! \brief Base register address of structure AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_baseRegisterAddress 0x6004 -/*! \brief MMD address of structure AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPhyTxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPhyTxEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPhyTxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPhyTxEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPhyTxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPhyTxEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxErrorDiscard in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemRxErrorDiscard 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxErrorDiscard in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemRxErrorDiscard u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxErrorDiscard in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemRxErrorDiscard u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemControlFrameEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemControlFrameEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemControlFrameEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemControlFrameEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemControlFrameEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemControlFrameEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemSoftReset in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemSoftReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemSoftReset in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemSoftReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemSoftReset in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemSoftReset u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxPadEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxPadEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxPadEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxPadEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxPadEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxPadEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxCrcAppend in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxCrcAppend 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxCrcAppend in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxCrcAppend u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxCrcAppend in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxCrcAppend u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxAddressInsertEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxAddressInsertEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxAddressInsertEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxAddressInsertEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxAddressInsertEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxAddressInsertEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPauseIgnore in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPauseIgnore 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPauseIgnore in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPauseIgnore u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPauseIgnore in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPauseIgnore u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPauseForward in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPauseForward 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPauseForward in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPauseForward u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPauseForward in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPauseForward u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemCrcForward in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemCrcForward 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemCrcForward in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemCrcForward u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemCrcForward in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemCrcForward u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPadEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPadEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPadEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPadEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPadEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPadEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPromiscuousMode in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPromiscuousMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPromiscuousMode in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPromiscuousMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPromiscuousMode in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPromiscuousMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemWanMode in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemWanMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemWanMode in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemWanMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemWanMode in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemWanMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemRxEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemRxEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemRxEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxLowPowerIdleEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxLowPowerIdleEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxLowPowerIdleEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxLowPowerIdleEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxLowPowerIdleEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemTxLowPowerIdleEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemSfdCheckDisable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemSfdCheckDisable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemSfdCheckDisable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemSfdCheckDisable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemSfdCheckDisable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemSfdCheckDisable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPriorityFlowControlEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPriorityFlowControlEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPriorityFlowControlEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPriorityFlowControlEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPriorityFlowControlEnable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemPriorityFlowControlEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemIdleColumnCountExtend in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemIdleColumnCountExtend 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemIdleColumnCountExtend in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemIdleColumnCountExtend u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemIdleColumnCountExtend in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemIdleColumnCountExtend u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemLengthCheckDisable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemLengthCheckDisable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemLengthCheckDisable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemLengthCheckDisable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemLengthCheckDisable in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemLengthCheckDisable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemForceSendIdle in AQ_MsmSystemGeneralControlRegister_HHD */ -#define AQ_MsmSystemGeneralControlRegister_HHD_msmSystemForceSendIdle 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemForceSendIdle in AQ_MsmSystemGeneralControlRegister_HHD */ -#define bits_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemForceSendIdle u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemForceSendIdle in AQ_MsmSystemGeneralControlRegister_HHD */ -#define word_AQ_MsmSystemGeneralControlRegister_HHD_msmSystemForceSendIdle u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_baseRegisterAddress 0x600E -/*! \brief MMD address of structure AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxFifoFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoFullThreshold 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxFifoFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoFullThreshold u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxFifoFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoFullThreshold u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxFifoEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoEmptyThreshold 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxFifoEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoEmptyThreshold u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxFifoEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoEmptyThreshold u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxFifoFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoFullThreshold 2 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxFifoFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoFullThreshold u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxFifoFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoFullThreshold u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxFifoEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoEmptyThreshold 3 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxFifoEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoEmptyThreshold u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxFifoEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoEmptyThreshold u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxFifoAlmostFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoAlmostFullThreshold 4 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxFifoAlmostFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoAlmostFullThreshold u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxFifoAlmostFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoAlmostFullThreshold u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxFifoAlmostEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoAlmostEmptyThreshold 5 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxFifoAlmostEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoAlmostEmptyThreshold u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxFifoAlmostEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemRxFifoAlmostEmptyThreshold u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxFifoAlmostFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoAlmostFullThreshold 6 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxFifoAlmostFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoAlmostFullThreshold u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxFifoAlmostFullThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoAlmostFullThreshold u6.word_6 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxFifoAlmostEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoAlmostEmptyThreshold 7 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxFifoAlmostEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define bits_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoAlmostEmptyThreshold u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxFifoAlmostEmptyThreshold in AQ_MsmSystemFifoControlRegister_HHD */ -#define word_AQ_MsmSystemFifoControlRegister_HHD_msmSystemTxFifoAlmostEmptyThreshold u7.word_7 - -/*! \brief Base register address of structure AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_baseRegisterAddress 0x6020 -/*! \brief MMD address of structure AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxFifoEmpty in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemTxFifoEmpty 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxFifoEmpty in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define bits_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemTxFifoEmpty u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxFifoEmpty in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define word_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemTxFifoEmpty u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxLowPowerIdle in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxLowPowerIdle 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxLowPowerIdle in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define bits_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxLowPowerIdle u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxLowPowerIdle in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define word_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxLowPowerIdle u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTimestampAvailable in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemTimestampAvailable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTimestampAvailable in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define bits_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemTimestampAvailable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTimestampAvailable in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define word_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemTimestampAvailable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemPhyLossOfSignal in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemPhyLossOfSignal 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemPhyLossOfSignal in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define bits_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemPhyLossOfSignal u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemPhyLossOfSignal in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define word_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemPhyLossOfSignal u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxRemoteFault in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxRemoteFault 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxRemoteFault in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define bits_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxRemoteFault u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxRemoteFault in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define word_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxRemoteFault u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxLocalFault in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxLocalFault 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxLocalFault in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define bits_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxLocalFault u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxLocalFault in AQ_MsmSystemGeneralStatusRegister_HHD */ -#define word_AQ_MsmSystemGeneralStatusRegister_HHD_msmSystemRxLocalFault u0.word_0 - -/*! \brief Base register address of structure AQ_MsmSystemTxIpgControlRegister_HHD */ -#define AQ_MsmSystemTxIpgControlRegister_HHD_baseRegisterAddress 0x6022 -/*! \brief MMD address of structure AQ_MsmSystemTxIpgControlRegister_HHD */ -#define AQ_MsmSystemTxIpgControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxIpgLength in AQ_MsmSystemTxIpgControlRegister_HHD */ -#define AQ_MsmSystemTxIpgControlRegister_HHD_msmSystemTxIpgLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxIpgLength in AQ_MsmSystemTxIpgControlRegister_HHD */ -#define bits_AQ_MsmSystemTxIpgControlRegister_HHD_msmSystemTxIpgLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxIpgLength in AQ_MsmSystemTxIpgControlRegister_HHD */ -#define word_AQ_MsmSystemTxIpgControlRegister_HHD_msmSystemTxIpgLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxIpgReserved in AQ_MsmSystemTxIpgControlRegister_HHD */ -#define AQ_MsmSystemTxIpgControlRegister_HHD_msmSystemTxIpgReserved 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxIpgReserved in AQ_MsmSystemTxIpgControlRegister_HHD */ -#define bits_AQ_MsmSystemTxIpgControlRegister_HHD_msmSystemTxIpgReserved u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxIpgReserved in AQ_MsmSystemTxIpgControlRegister_HHD */ -#define word_AQ_MsmSystemTxIpgControlRegister_HHD_msmSystemTxIpgReserved u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxGoodFramesCounterRegister_HHD_baseRegisterAddress 0x6040 -/*! \brief MMD address of structure AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxGoodFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxGoodFramesCounter_0 in AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxGoodFramesCounterRegister_HHD_msmSystemTxGoodFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxGoodFramesCounter_0 in AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxGoodFramesCounterRegister_HHD_msmSystemTxGoodFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxGoodFramesCounter_0 in AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxGoodFramesCounterRegister_HHD_msmSystemTxGoodFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxGoodFramesCounter_1 in AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxGoodFramesCounterRegister_HHD_msmSystemTxGoodFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxGoodFramesCounter_1 in AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxGoodFramesCounterRegister_HHD_msmSystemTxGoodFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxGoodFramesCounter_1 in AQ_MsmSystemTxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxGoodFramesCounterRegister_HHD_msmSystemTxGoodFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxGoodFramesCounterRegister_HHD_baseRegisterAddress 0x6044 -/*! \brief MMD address of structure AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxGoodFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxGoodFramesCounter_0 in AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxGoodFramesCounterRegister_HHD_msmSystemRxGoodFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxGoodFramesCounter_0 in AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxGoodFramesCounterRegister_HHD_msmSystemRxGoodFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxGoodFramesCounter_0 in AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxGoodFramesCounterRegister_HHD_msmSystemRxGoodFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxGoodFramesCounter_1 in AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxGoodFramesCounterRegister_HHD_msmSystemRxGoodFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxGoodFramesCounter_1 in AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxGoodFramesCounterRegister_HHD_msmSystemRxGoodFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxGoodFramesCounter_1 in AQ_MsmSystemRxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxGoodFramesCounterRegister_HHD_msmSystemRxGoodFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_baseRegisterAddress 0x6048 -/*! \brief MMD address of structure AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemFcsErrorCounter_0 in AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_msmSystemFcsErrorCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemFcsErrorCounter_0 in AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_msmSystemFcsErrorCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemFcsErrorCounter_0 in AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_msmSystemFcsErrorCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemFcsErrorCounter_1 in AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_msmSystemFcsErrorCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemFcsErrorCounter_1 in AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_msmSystemFcsErrorCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemFcsErrorCounter_1 in AQ_MsmSystemRxFcsErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxFcsErrorsCounterRegister_HHD_msmSystemFcsErrorCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_baseRegisterAddress 0x604C -/*! \brief MMD address of structure AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemAlignmentErrorCounter_0 in AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_msmSystemAlignmentErrorCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemAlignmentErrorCounter_0 in AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_msmSystemAlignmentErrorCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemAlignmentErrorCounter_0 in AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_msmSystemAlignmentErrorCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemAlignmentErrorCounter_1 in AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_msmSystemAlignmentErrorCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemAlignmentErrorCounter_1 in AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_msmSystemAlignmentErrorCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemAlignmentErrorCounter_1 in AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD_msmSystemAlignmentErrorCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxPauseFramesCounterRegister_HHD_baseRegisterAddress 0x6050 -/*! \brief MMD address of structure AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxPauseFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxPauseFramesCounter_0 in AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxPauseFramesCounterRegister_HHD_msmSystemTxPauseFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxPauseFramesCounter_0 in AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxPauseFramesCounterRegister_HHD_msmSystemTxPauseFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxPauseFramesCounter_0 in AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxPauseFramesCounterRegister_HHD_msmSystemTxPauseFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxPauseFramesCounter_1 in AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxPauseFramesCounterRegister_HHD_msmSystemTxPauseFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxPauseFramesCounter_1 in AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxPauseFramesCounterRegister_HHD_msmSystemTxPauseFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxPauseFramesCounter_1 in AQ_MsmSystemTxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxPauseFramesCounterRegister_HHD_msmSystemTxPauseFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxPauseFramesCounterRegister_HHD_baseRegisterAddress 0x6054 -/*! \brief MMD address of structure AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxPauseFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxPauseFramesCounter_0 in AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxPauseFramesCounterRegister_HHD_msmSystemRxPauseFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxPauseFramesCounter_0 in AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxPauseFramesCounterRegister_HHD_msmSystemRxPauseFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxPauseFramesCounter_0 in AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxPauseFramesCounterRegister_HHD_msmSystemRxPauseFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxPauseFramesCounter_1 in AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxPauseFramesCounterRegister_HHD_msmSystemRxPauseFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxPauseFramesCounter_1 in AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxPauseFramesCounterRegister_HHD_msmSystemRxPauseFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxPauseFramesCounter_1 in AQ_MsmSystemRxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxPauseFramesCounterRegister_HHD_msmSystemRxPauseFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_baseRegisterAddress 0x6058 -/*! \brief MMD address of structure AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxTooLongErrorsCounter_0 in AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_msmSystemRxTooLongErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxTooLongErrorsCounter_0 in AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_msmSystemRxTooLongErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxTooLongErrorsCounter_0 in AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_msmSystemRxTooLongErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxTooLongErrorsCounter_1 in AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_msmSystemRxTooLongErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxTooLongErrorsCounter_1 in AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_msmSystemRxTooLongErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxTooLongErrorsCounter_1 in AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD_msmSystemRxTooLongErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_baseRegisterAddress 0x605C -/*! \brief MMD address of structure AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxInRangeLengthErrorsCounter_0 in AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_msmSystemRxInRangeLengthErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxInRangeLengthErrorsCounter_0 in AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_msmSystemRxInRangeLengthErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxInRangeLengthErrorsCounter_0 in AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_msmSystemRxInRangeLengthErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxInRangeLengthErrorsCounter_1 in AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_msmSystemRxInRangeLengthErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxInRangeLengthErrorsCounter_1 in AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_msmSystemRxInRangeLengthErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxInRangeLengthErrorsCounter_1 in AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD_msmSystemRxInRangeLengthErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxVlanFramesCounterRegister_HHD_baseRegisterAddress 0x6060 -/*! \brief MMD address of structure AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxVlanFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxVlanFramesCounter_0 in AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxVlanFramesCounterRegister_HHD_msmSystemTxVlanFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxVlanFramesCounter_0 in AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxVlanFramesCounterRegister_HHD_msmSystemTxVlanFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxVlanFramesCounter_0 in AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxVlanFramesCounterRegister_HHD_msmSystemTxVlanFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxVlanFramesCounter_1 in AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxVlanFramesCounterRegister_HHD_msmSystemTxVlanFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxVlanFramesCounter_1 in AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxVlanFramesCounterRegister_HHD_msmSystemTxVlanFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxVlanFramesCounter_1 in AQ_MsmSystemTxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxVlanFramesCounterRegister_HHD_msmSystemTxVlanFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxVlanFramesCounterRegister_HHD_baseRegisterAddress 0x6064 -/*! \brief MMD address of structure AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxVlanFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxVlanFramesCounter_0 in AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxVlanFramesCounterRegister_HHD_msmSystemRxVlanFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxVlanFramesCounter_0 in AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxVlanFramesCounterRegister_HHD_msmSystemRxVlanFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxVlanFramesCounter_0 in AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxVlanFramesCounterRegister_HHD_msmSystemRxVlanFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxVlanFramesCounter_1 in AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxVlanFramesCounterRegister_HHD_msmSystemRxVlanFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxVlanFramesCounter_1 in AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxVlanFramesCounterRegister_HHD_msmSystemRxVlanFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxVlanFramesCounter_1 in AQ_MsmSystemRxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxVlanFramesCounterRegister_HHD_msmSystemRxVlanFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemTxOctetsCounterRegister_HHD_baseRegisterAddress 0x6068 -/*! \brief MMD address of structure AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemTxOctetsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxOctetsCounter_0 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxOctetsCounter_0 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxOctetsCounter_0 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxOctetsCounter_1 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxOctetsCounter_1 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxOctetsCounter_1 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxOctetsCounter_2 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_2 2 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxOctetsCounter_2 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_2 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxOctetsCounter_2 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_2 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxOctetsCounter_3 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_3 3 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxOctetsCounter_3 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_3 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxOctetsCounter_3 in AQ_MsmSystemTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmSystemTxOctetsCounterRegister_HHD_msmSystemTxOctetsCounter_3 u3.word_3 - -/*! \brief Base register address of structure AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemRxOctetsCounterRegister_HHD_baseRegisterAddress 0x606C -/*! \brief MMD address of structure AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemRxOctetsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxOctetsCounter_0 in AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemRxOctetsCounterRegister_HHD_msmSystemRxOctetsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxOctetsCounter_0 in AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxOctetsCounterRegister_HHD_msmSystemRxOctetsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxOctetsCounter_0 in AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxOctetsCounterRegister_HHD_msmSystemRxOctetsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxOctetsCounter_1 in AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define AQ_MsmSystemRxOctetsCounterRegister_HHD_msmSystemRxOctetsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxOctetsCounter_1 in AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxOctetsCounterRegister_HHD_msmSystemRxOctetsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxOctetsCounter_1 in AQ_MsmSystemRxOctetsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxOctetsCounterRegister_HHD_msmSystemRxOctetsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_baseRegisterAddress 0x6070 -/*! \brief MMD address of structure AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxUnicastFramesCounter_0 in AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_msmSystemRxUnicastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxUnicastFramesCounter_0 in AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_msmSystemRxUnicastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxUnicastFramesCounter_0 in AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_msmSystemRxUnicastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxUnicastFramesCounter_1 in AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_msmSystemRxUnicastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxUnicastFramesCounter_1 in AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_msmSystemRxUnicastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxUnicastFramesCounter_1 in AQ_MsmSystemRxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxUnicastFramesCounterRegister_HHD_msmSystemRxUnicastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_baseRegisterAddress 0x6074 -/*! \brief MMD address of structure AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxMulticastFramesCounter_0 in AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_msmSystemRxMulticastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxMulticastFramesCounter_0 in AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_msmSystemRxMulticastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxMulticastFramesCounter_0 in AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_msmSystemRxMulticastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxMulticastFramesCounter_1 in AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_msmSystemRxMulticastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxMulticastFramesCounter_1 in AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_msmSystemRxMulticastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxMulticastFramesCounter_1 in AQ_MsmSystemRxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxMulticastFramesCounterRegister_HHD_msmSystemRxMulticastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_baseRegisterAddress 0x6078 -/*! \brief MMD address of structure AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxBroadcastFramesCounter_0 in AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_msmSystemRxBroadcastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxBroadcastFramesCounter_0 in AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_msmSystemRxBroadcastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxBroadcastFramesCounter_0 in AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_msmSystemRxBroadcastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxBroadcastFramesCounter_1 in AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_msmSystemRxBroadcastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxBroadcastFramesCounter_1 in AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_msmSystemRxBroadcastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxBroadcastFramesCounter_1 in AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD_msmSystemRxBroadcastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemTxErrorsCounterRegister_HHD_baseRegisterAddress 0x607C -/*! \brief MMD address of structure AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemTxErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxErrorsCounter_0 in AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemTxErrorsCounterRegister_HHD_msmSystemTxErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxErrorsCounter_0 in AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxErrorsCounterRegister_HHD_msmSystemTxErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxErrorsCounter_0 in AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemTxErrorsCounterRegister_HHD_msmSystemTxErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxErrorsCounter_1 in AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemTxErrorsCounterRegister_HHD_msmSystemTxErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxErrorsCounter_1 in AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxErrorsCounterRegister_HHD_msmSystemTxErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxErrorsCounter_1 in AQ_MsmSystemTxErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemTxErrorsCounterRegister_HHD_msmSystemTxErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_baseRegisterAddress 0x6084 -/*! \brief MMD address of structure AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxUnicastFramesCounter_0 in AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_msmSystemTxUnicastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxUnicastFramesCounter_0 in AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_msmSystemTxUnicastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxUnicastFramesCounter_0 in AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_msmSystemTxUnicastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxUnicastFramesCounter_1 in AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_msmSystemTxUnicastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxUnicastFramesCounter_1 in AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_msmSystemTxUnicastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxUnicastFramesCounter_1 in AQ_MsmSystemTxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxUnicastFramesCounterRegister_HHD_msmSystemTxUnicastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_baseRegisterAddress 0x6088 -/*! \brief MMD address of structure AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxMulticastFramesCounter_0 in AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_msmSystemTxMulticastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxMulticastFramesCounter_0 in AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_msmSystemTxMulticastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxMulticastFramesCounter_0 in AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_msmSystemTxMulticastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxMulticastFramesCounter_1 in AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_msmSystemTxMulticastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxMulticastFramesCounter_1 in AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_msmSystemTxMulticastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxMulticastFramesCounter_1 in AQ_MsmSystemTxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxMulticastFramesCounterRegister_HHD_msmSystemTxMulticastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_baseRegisterAddress 0x608C -/*! \brief MMD address of structure AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxBroadcastFramesCounter_0 in AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_msmSystemTxBroadcastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxBroadcastFramesCounter_0 in AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_msmSystemTxBroadcastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxBroadcastFramesCounter_0 in AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_msmSystemTxBroadcastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemTxBroadcastFramesCounter_1 in AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_msmSystemTxBroadcastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemTxBroadcastFramesCounter_1 in AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_msmSystemTxBroadcastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemTxBroadcastFramesCounter_1 in AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD_msmSystemTxBroadcastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxErrorsCounterRegister_HHD_baseRegisterAddress 0x60C8 -/*! \brief MMD address of structure AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxErrorsCounter_0 in AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxErrorsCounterRegister_HHD_msmSystemRxErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxErrorsCounter_0 in AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxErrorsCounterRegister_HHD_msmSystemRxErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxErrorsCounter_0 in AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxErrorsCounterRegister_HHD_msmSystemRxErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmSystemRxErrorsCounter_1 in AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define AQ_MsmSystemRxErrorsCounterRegister_HHD_msmSystemRxErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmSystemRxErrorsCounter_1 in AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmSystemRxErrorsCounterRegister_HHD_msmSystemRxErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmSystemRxErrorsCounter_1 in AQ_MsmSystemRxErrorsCounterRegister_HHD */ -#define word_AQ_MsmSystemRxErrorsCounterRegister_HHD_msmSystemRxErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressVlanTpid_0Register_HHD */ -#define AQ_MssIngressVlanTpid_0Register_HHD_baseRegisterAddress 0x8006 -/*! \brief MMD address of structure AQ_MssIngressVlanTpid_0Register_HHD */ -#define AQ_MssIngressVlanTpid_0Register_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanStag in AQ_MssIngressVlanTpid_0Register_HHD */ -#define AQ_MssIngressVlanTpid_0Register_HHD_mssIngressVlanStag 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanStag in AQ_MssIngressVlanTpid_0Register_HHD */ -#define bits_AQ_MssIngressVlanTpid_0Register_HHD_mssIngressVlanStag u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanStag in AQ_MssIngressVlanTpid_0Register_HHD */ -#define word_AQ_MssIngressVlanTpid_0Register_HHD_mssIngressVlanStag u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressVlanTpid_1Register_HHD */ -#define AQ_MssIngressVlanTpid_1Register_HHD_baseRegisterAddress 0x8008 -/*! \brief MMD address of structure AQ_MssIngressVlanTpid_1Register_HHD */ -#define AQ_MssIngressVlanTpid_1Register_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanQtag in AQ_MssIngressVlanTpid_1Register_HHD */ -#define AQ_MssIngressVlanTpid_1Register_HHD_mssIngressVlanQtag 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanQtag in AQ_MssIngressVlanTpid_1Register_HHD */ -#define bits_AQ_MssIngressVlanTpid_1Register_HHD_mssIngressVlanQtag u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanQtag in AQ_MssIngressVlanTpid_1Register_HHD */ -#define word_AQ_MssIngressVlanTpid_1Register_HHD_mssIngressVlanQtag u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_baseRegisterAddress 0x800A -/*! \brief MMD address of structure AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanUpMapTableLSW in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpMapTableLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanUpMapTableLSW in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpMapTableLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanUpMapTableLSW in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpMapTableLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanQtagParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQtagParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanQtagParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQtagParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanQtagParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQtagParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanStagParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanStagParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanStagParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanStagParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanStagParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanStagParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanQinqParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQinqParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanQinqParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQinqParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanQinqParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQinqParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanQtagUpParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQtagUpParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanQtagUpParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQtagUpParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanQtagUpParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanQtagUpParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanStagUpParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanStagUpParseEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanStagUpParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanStagUpParseEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanStagUpParseEnable in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanStagUpParseEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanUpDefault in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpDefault 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanUpDefault in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpDefault u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanUpDefault in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpDefault u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressVlanUpMapTableMSW in AQ_MssIngressVlanControlRegister_HHD */ -#define AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpMapTableMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressVlanUpMapTableMSW in AQ_MssIngressVlanControlRegister_HHD */ -#define bits_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpMapTableMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressVlanUpMapTableMSW in AQ_MssIngressVlanControlRegister_HHD */ -#define word_AQ_MssIngressVlanControlRegister_HHD_mssIngressVlanUpMapTableMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressMtuSizeControlRegister_HHD */ -#define AQ_MssIngressMtuSizeControlRegister_HHD_baseRegisterAddress 0x800C -/*! \brief MMD address of structure AQ_MssIngressMtuSizeControlRegister_HHD */ -#define AQ_MssIngressMtuSizeControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressControlledPacketMtuSize in AQ_MssIngressMtuSizeControlRegister_HHD */ -#define AQ_MssIngressMtuSizeControlRegister_HHD_mssIngressControlledPacketMtuSize 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressControlledPacketMtuSize in AQ_MssIngressMtuSizeControlRegister_HHD */ -#define bits_AQ_MssIngressMtuSizeControlRegister_HHD_mssIngressControlledPacketMtuSize u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressControlledPacketMtuSize in AQ_MssIngressMtuSizeControlRegister_HHD */ -#define word_AQ_MssIngressMtuSizeControlRegister_HHD_mssIngressControlledPacketMtuSize u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressUncontrolledPacketMtuSize in AQ_MssIngressMtuSizeControlRegister_HHD */ -#define AQ_MssIngressMtuSizeControlRegister_HHD_mssIngressUncontrolledPacketMtuSize 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressUncontrolledPacketMtuSize in AQ_MssIngressMtuSizeControlRegister_HHD */ -#define bits_AQ_MssIngressMtuSizeControlRegister_HHD_mssIngressUncontrolledPacketMtuSize u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressUncontrolledPacketMtuSize in AQ_MssIngressMtuSizeControlRegister_HHD */ -#define word_AQ_MssIngressMtuSizeControlRegister_HHD_mssIngressUncontrolledPacketMtuSize u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_baseRegisterAddress 0x800E -/*! \brief MMD address of structure AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressIcvLsb_8BytesEnable in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressIcvLsb_8BytesEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressIcvLsb_8BytesEnable in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressIcvLsb_8BytesEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressIcvLsb_8BytesEnable in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressIcvLsb_8BytesEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressGlobalValidateFrames in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressGlobalValidateFrames 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressGlobalValidateFrames in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressGlobalValidateFrames u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressGlobalValidateFrames in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressGlobalValidateFrames u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressRemoveSectag in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressRemoveSectag 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressRemoveSectag in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressRemoveSectag u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressRemoveSectag in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressRemoveSectag u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressHighPriority in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressHighPriority 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressHighPriority in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressHighPriority u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressHighPriority in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressHighPriority u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressClearCount in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressClearCount 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressClearCount in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressClearCount u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressClearCount in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressClearCount u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressClearGlobalTime in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressClearGlobalTime 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressClearGlobalTime in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressClearGlobalTime u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressClearGlobalTime in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressClearGlobalTime u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressCheckIcv in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressCheckIcv 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressCheckIcv in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressCheckIcv u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressCheckIcv in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressCheckIcv u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressDropIgprcMiss in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressDropIgprcMiss 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressDropIgprcMiss in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressDropIgprcMiss u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressDropIgprcMiss in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressDropIgprcMiss u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressDropKayPacket in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressDropKayPacket 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressDropKayPacket in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressDropKayPacket u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressDropKayPacket in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressDropKayPacket u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressMaskShortLengthError in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressMaskShortLengthError 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressMaskShortLengthError in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressMaskShortLengthError u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressMaskShortLengthError in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressMaskShortLengthError u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressCreateSci in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressCreateSci 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressCreateSci in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressCreateSci u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressCreateSci in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressCreateSci u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressOperationPointToPoint in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressOperationPointToPoint 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressOperationPointToPoint in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressOperationPointToPoint u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressOperationPointToPoint in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressOperationPointToPoint u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSoftReset in AQ_MssIngressControlRegister_HHD */ -#define AQ_MssIngressControlRegister_HHD_mssIngressSoftReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSoftReset in AQ_MssIngressControlRegister_HHD */ -#define bits_AQ_MssIngressControlRegister_HHD_mssIngressSoftReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSoftReset in AQ_MssIngressControlRegister_HHD */ -#define word_AQ_MssIngressControlRegister_HHD_mssIngressSoftReset u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressSaControlRegister_HHD */ -#define AQ_MssIngressSaControlRegister_HHD_baseRegisterAddress 0x8010 -/*! \brief MMD address of structure AQ_MssIngressSaControlRegister_HHD */ -#define AQ_MssIngressSaControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaThresholdLSW in AQ_MssIngressSaControlRegister_HHD */ -#define AQ_MssIngressSaControlRegister_HHD_mssIngressSaThresholdLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaThresholdLSW in AQ_MssIngressSaControlRegister_HHD */ -#define bits_AQ_MssIngressSaControlRegister_HHD_mssIngressSaThresholdLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaThresholdLSW in AQ_MssIngressSaControlRegister_HHD */ -#define word_AQ_MssIngressSaControlRegister_HHD_mssIngressSaThresholdLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaThresholdMSW in AQ_MssIngressSaControlRegister_HHD */ -#define AQ_MssIngressSaControlRegister_HHD_mssIngressSaThresholdMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaThresholdMSW in AQ_MssIngressSaControlRegister_HHD */ -#define bits_AQ_MssIngressSaControlRegister_HHD_mssIngressSaThresholdMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaThresholdMSW in AQ_MssIngressSaControlRegister_HHD */ -#define word_AQ_MssIngressSaControlRegister_HHD_mssIngressSaThresholdMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_baseRegisterAddress 0x802E -/*! \brief MMD address of structure AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressIgpocMissInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressIgpocMissInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressIgpocMissInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressIgpocMissInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressIgpocMissInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressIgpocMissInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressTciE_cErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressTciE_cErrorInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressTciE_cErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressTciE_cErrorInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressTciE_cErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressTciE_cErrorInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressEccErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressEccErrorInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressEccErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressEccErrorInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressEccErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressEccErrorInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressMibSaturationInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressMibSaturationInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressMibSaturationInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressMibSaturationInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressMibSaturationInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressMibSaturationInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressReplayErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressReplayErrorInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressReplayErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressReplayErrorInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressReplayErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressReplayErrorInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressIcvErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressIcvErrorInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressIcvErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressIcvErrorInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressIcvErrorInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressIcvErrorInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaThresholdExpiredInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressSaThresholdExpiredInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaThresholdExpiredInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressSaThresholdExpiredInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaThresholdExpiredInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressSaThresholdExpiredInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaExpiredInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssIngressSaExpiredInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaExpiredInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressSaExpiredInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaExpiredInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssIngressSaExpiredInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssMasterIngressInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define AQ_MssIngressInterruptStatusRegister_HHD_mssMasterIngressInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssMasterIngressInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressInterruptStatusRegister_HHD_mssMasterIngressInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssMasterIngressInterrupt in AQ_MssIngressInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressInterruptStatusRegister_HHD_mssMasterIngressInterrupt u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_baseRegisterAddress 0x8030 -/*! \brief MMD address of structure AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressIgpocMissInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressIgpocMissInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressIgpocMissInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressIgpocMissInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressIgpocMissInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressIgpocMissInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressTciE_cErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressTciE_cErrorInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressTciE_cErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressTciE_cErrorInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressTciE_cErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressTciE_cErrorInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressEccErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressEccErrorInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressEccErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressEccErrorInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressEccErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressEccErrorInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressMibSaturationInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressMibSaturationInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressMibSaturationInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressMibSaturationInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressMibSaturationInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressMibSaturationInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressReplayErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressReplayErrorInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressReplayErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressReplayErrorInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressReplayErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressReplayErrorInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressIcvErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressIcvErrorInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressIcvErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressIcvErrorInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressIcvErrorInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressIcvErrorInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaThresholdExpiredInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressSaThresholdExpiredInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaThresholdExpiredInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressSaThresholdExpiredInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaThresholdExpiredInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressSaThresholdExpiredInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaExpiredInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressSaExpiredInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaExpiredInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressSaExpiredInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaExpiredInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressSaExpiredInterruptEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressMasterInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define AQ_MssIngressInterruptMaskRegister_HHD_mssIngressMasterInterruptEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressMasterInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define bits_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressMasterInterruptEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressMasterInterruptEnable in AQ_MssIngressInterruptMaskRegister_HHD */ -#define word_AQ_MssIngressInterruptMaskRegister_HHD_mssIngressMasterInterruptEnable u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define AQ_MssIngressSaIcvErrorStatusRegister_HHD_baseRegisterAddress 0x8032 -/*! \brief MMD address of structure AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define AQ_MssIngressSaIcvErrorStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaIcvErrorLSW in AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define AQ_MssIngressSaIcvErrorStatusRegister_HHD_mssIngressSaIcvErrorLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaIcvErrorLSW in AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define bits_AQ_MssIngressSaIcvErrorStatusRegister_HHD_mssIngressSaIcvErrorLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaIcvErrorLSW in AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define word_AQ_MssIngressSaIcvErrorStatusRegister_HHD_mssIngressSaIcvErrorLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaIcvErrorMSW in AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define AQ_MssIngressSaIcvErrorStatusRegister_HHD_mssIngressSaIcvErrorMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaIcvErrorMSW in AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define bits_AQ_MssIngressSaIcvErrorStatusRegister_HHD_mssIngressSaIcvErrorMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaIcvErrorMSW in AQ_MssIngressSaIcvErrorStatusRegister_HHD */ -#define word_AQ_MssIngressSaIcvErrorStatusRegister_HHD_mssIngressSaIcvErrorMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define AQ_MssIngressSaReplayErrorStatusRegister_HHD_baseRegisterAddress 0x8034 -/*! \brief MMD address of structure AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define AQ_MssIngressSaReplayErrorStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaReplayErrorLSW in AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define AQ_MssIngressSaReplayErrorStatusRegister_HHD_mssIngressSaReplayErrorLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaReplayErrorLSW in AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define bits_AQ_MssIngressSaReplayErrorStatusRegister_HHD_mssIngressSaReplayErrorLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaReplayErrorLSW in AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define word_AQ_MssIngressSaReplayErrorStatusRegister_HHD_mssIngressSaReplayErrorLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaReplayErrorMSW in AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define AQ_MssIngressSaReplayErrorStatusRegister_HHD_mssIngressSaReplayErrorMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaReplayErrorMSW in AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define bits_AQ_MssIngressSaReplayErrorStatusRegister_HHD_mssIngressSaReplayErrorMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaReplayErrorMSW in AQ_MssIngressSaReplayErrorStatusRegister_HHD */ -#define word_AQ_MssIngressSaReplayErrorStatusRegister_HHD_mssIngressSaReplayErrorMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaExpiredStatusRegister_HHD_baseRegisterAddress 0x8036 -/*! \brief MMD address of structure AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaExpiredStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaExpiredLSW in AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaExpiredStatusRegister_HHD_mssIngressSaExpiredLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaExpiredLSW in AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define bits_AQ_MssIngressSaExpiredStatusRegister_HHD_mssIngressSaExpiredLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaExpiredLSW in AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define word_AQ_MssIngressSaExpiredStatusRegister_HHD_mssIngressSaExpiredLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaExpiredMSW in AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaExpiredStatusRegister_HHD_mssIngressSaExpiredMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaExpiredMSW in AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define bits_AQ_MssIngressSaExpiredStatusRegister_HHD_mssIngressSaExpiredMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaExpiredMSW in AQ_MssIngressSaExpiredStatusRegister_HHD */ -#define word_AQ_MssIngressSaExpiredStatusRegister_HHD_mssIngressSaExpiredMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_baseRegisterAddress 0x8038 -/*! \brief MMD address of structure AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaThresholdExpiredLSW in AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mssIngressSaThresholdExpiredLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaThresholdExpiredLSW in AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define bits_AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mssIngressSaThresholdExpiredLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaThresholdExpiredLSW in AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define word_AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mssIngressSaThresholdExpiredLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaThresholdExpiredMSW in AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mssIngressSaThresholdExpiredMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaThresholdExpiredMSW in AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define bits_AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mssIngressSaThresholdExpiredMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaThresholdExpiredMSW in AQ_MssIngressSaThresholdExpiredStatusRegister_HHD */ -#define word_AQ_MssIngressSaThresholdExpiredStatusRegister_HHD_mssIngressSaThresholdExpiredMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define AQ_MssIngressEccInterruptStatusRegister_HHD_baseRegisterAddress 0x803A -/*! \brief MMD address of structure AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define AQ_MssIngressEccInterruptStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaEccErrorInterruptLSW in AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define AQ_MssIngressEccInterruptStatusRegister_HHD_mssIngressSaEccErrorInterruptLSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaEccErrorInterruptLSW in AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressEccInterruptStatusRegister_HHD_mssIngressSaEccErrorInterruptLSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaEccErrorInterruptLSW in AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressEccInterruptStatusRegister_HHD_mssIngressSaEccErrorInterruptLSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressSaEccErrorInterruptMSW in AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define AQ_MssIngressEccInterruptStatusRegister_HHD_mssIngressSaEccErrorInterruptMSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressSaEccErrorInterruptMSW in AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define bits_AQ_MssIngressEccInterruptStatusRegister_HHD_mssIngressSaEccErrorInterruptMSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressSaEccErrorInterruptMSW in AQ_MssIngressEccInterruptStatusRegister_HHD */ -#define word_AQ_MssIngressEccInterruptStatusRegister_HHD_mssIngressSaEccErrorInterruptMSW u1.word_1 - -/*! \brief Base register address of structure AQ_MssIngressLutAddressControlRegister_HHD */ -#define AQ_MssIngressLutAddressControlRegister_HHD_baseRegisterAddress 0x8080 -/*! \brief MMD address of structure AQ_MssIngressLutAddressControlRegister_HHD */ -#define AQ_MssIngressLutAddressControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutSelect in AQ_MssIngressLutAddressControlRegister_HHD */ -#define AQ_MssIngressLutAddressControlRegister_HHD_mssIngressLutSelect 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutSelect in AQ_MssIngressLutAddressControlRegister_HHD */ -#define bits_AQ_MssIngressLutAddressControlRegister_HHD_mssIngressLutSelect u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutSelect in AQ_MssIngressLutAddressControlRegister_HHD */ -#define word_AQ_MssIngressLutAddressControlRegister_HHD_mssIngressLutSelect u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutAddress in AQ_MssIngressLutAddressControlRegister_HHD */ -#define AQ_MssIngressLutAddressControlRegister_HHD_mssIngressLutAddress 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutAddress in AQ_MssIngressLutAddressControlRegister_HHD */ -#define bits_AQ_MssIngressLutAddressControlRegister_HHD_mssIngressLutAddress u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutAddress in AQ_MssIngressLutAddressControlRegister_HHD */ -#define word_AQ_MssIngressLutAddressControlRegister_HHD_mssIngressLutAddress u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressLutControlRegister_HHD */ -#define AQ_MssIngressLutControlRegister_HHD_baseRegisterAddress 0x8081 -/*! \brief MMD address of structure AQ_MssIngressLutControlRegister_HHD */ -#define AQ_MssIngressLutControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutWrite in AQ_MssIngressLutControlRegister_HHD */ -#define AQ_MssIngressLutControlRegister_HHD_mssIngressLutWrite 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutWrite in AQ_MssIngressLutControlRegister_HHD */ -#define bits_AQ_MssIngressLutControlRegister_HHD_mssIngressLutWrite u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutWrite in AQ_MssIngressLutControlRegister_HHD */ -#define word_AQ_MssIngressLutControlRegister_HHD_mssIngressLutWrite u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutRead in AQ_MssIngressLutControlRegister_HHD */ -#define AQ_MssIngressLutControlRegister_HHD_mssIngressLutRead 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutRead in AQ_MssIngressLutControlRegister_HHD */ -#define bits_AQ_MssIngressLutControlRegister_HHD_mssIngressLutRead u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutRead in AQ_MssIngressLutControlRegister_HHD */ -#define word_AQ_MssIngressLutControlRegister_HHD_mssIngressLutRead u0.word_0 - -/*! \brief Base register address of structure AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_baseRegisterAddress 0x80A0 -/*! \brief MMD address of structure AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_0 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_0 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_0 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_1 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_1 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_1 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_2 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_2 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_2 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_2 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_2 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_2 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_3 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_3 3 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_3 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_3 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_3 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_3 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_4 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_4 4 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_4 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_4 u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_4 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_4 u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_5 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_5 5 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_5 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_5 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_5 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_5 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_6 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_6 6 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_6 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_6 u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_6 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_6 u6.word_6 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_7 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_7 7 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_7 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_7 u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_7 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_7 u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_8 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_8 8 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_8 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_8 u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_8 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_8 u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_9 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_9 9 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_9 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_9 u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_9 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_9 u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_10 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_10 10 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_10 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_10 u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_10 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_10 u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_11 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_11 11 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_11 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_11 u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_11 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_11 u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_12 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_12 12 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_12 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_12 u12.bits_12 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_12 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_12 u12.word_12 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_13 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_13 13 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_13 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_13 u13.bits_13 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_13 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_13 u13.word_13 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_14 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_14 14 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_14 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_14 u14.bits_14 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_14 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_14 u14.word_14 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_15 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_15 15 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_15 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_15 u15.bits_15 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_15 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_15 u15.word_15 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_16 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_16 16 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_16 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_16 u16.bits_16 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_16 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_16 u16.word_16 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_17 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_17 17 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_17 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_17 u17.bits_17 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_17 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_17 u17.word_17 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_18 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_18 18 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_18 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_18 u18.bits_18 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_18 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_18 u18.word_18 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_19 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_19 19 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_19 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_19 u19.bits_19 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_19 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_19 u19.word_19 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_20 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_20 20 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_20 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_20 u20.bits_20 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_20 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_20 u20.word_20 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_21 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_21 21 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_21 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_21 u21.bits_21 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_21 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_21 u21.word_21 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_22 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_22 22 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_22 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_22 u22.bits_22 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_22 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_22 u22.word_22 -/*! \brief Preprocessor variable to relate field to word number in structure mssIngressLutData_23 in AQ_MssIngressLutDataControlRegister_HHD */ -#define AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_23 23 -/*! \brief Preprocessor variable to relate field to bit position in structure mssIngressLutData_23 in AQ_MssIngressLutDataControlRegister_HHD */ -#define bits_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_23 u23.bits_23 -/*! \brief Preprocessor variable to relate field to word position in structure mssIngressLutData_23 in AQ_MssIngressLutDataControlRegister_HHD */ -#define word_AQ_MssIngressLutDataControlRegister_HHD_mssIngressLutData_23 u23.word_23 - -/*! \brief Base register address of structure AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_baseRegisterAddress 0x9004 -/*! \brief MMD address of structure AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePhyTxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLinePhyTxEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePhyTxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLinePhyTxEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePhyTxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLinePhyTxEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxErrorDiscard in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineRxErrorDiscard 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxErrorDiscard in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineRxErrorDiscard u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxErrorDiscard in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineRxErrorDiscard u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineControlFrameEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineControlFrameEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineControlFrameEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineControlFrameEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineControlFrameEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineControlFrameEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineSoftReset in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineSoftReset 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineSoftReset in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineSoftReset u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineSoftReset in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineSoftReset u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxPadEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineTxPadEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxPadEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxPadEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxPadEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxPadEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxCrcAppend in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineTxCrcAppend 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxCrcAppend in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxCrcAppend u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxCrcAppend in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxCrcAppend u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxAddressInsertEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineTxAddressInsertEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxAddressInsertEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxAddressInsertEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxAddressInsertEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxAddressInsertEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePauseIgnore in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLinePauseIgnore 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePauseIgnore in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLinePauseIgnore u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePauseIgnore in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLinePauseIgnore u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePauseForward in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLinePauseForward 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePauseForward in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLinePauseForward u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePauseForward in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLinePauseForward u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineCrcForward in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineCrcForward 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineCrcForward in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineCrcForward u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineCrcForward in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineCrcForward u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePadEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLinePadEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePadEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLinePadEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePadEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLinePadEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePromiscuousMode in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLinePromiscuousMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePromiscuousMode in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLinePromiscuousMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePromiscuousMode in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLinePromiscuousMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineWanMode in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineWanMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineWanMode in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineWanMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineWanMode in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineWanMode u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineRxEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineRxEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineRxEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineTxEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxLowPowerIdleEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineTxLowPowerIdleEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxLowPowerIdleEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxLowPowerIdleEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxLowPowerIdleEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineTxLowPowerIdleEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineSfdCheckDisable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineSfdCheckDisable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineSfdCheckDisable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineSfdCheckDisable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineSfdCheckDisable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineSfdCheckDisable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePriorityFlowControlEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLinePriorityFlowControlEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePriorityFlowControlEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLinePriorityFlowControlEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePriorityFlowControlEnable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLinePriorityFlowControlEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineIdleColumnCountExtend in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineIdleColumnCountExtend 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineIdleColumnCountExtend in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineIdleColumnCountExtend u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineIdleColumnCountExtend in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineIdleColumnCountExtend u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineLengthCheckDisable in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineLengthCheckDisable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineLengthCheckDisable in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineLengthCheckDisable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineLengthCheckDisable in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineLengthCheckDisable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineForceSendIdle in AQ_MsmLineGeneralControlRegister_HHD */ -#define AQ_MsmLineGeneralControlRegister_HHD_msmLineForceSendIdle 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineForceSendIdle in AQ_MsmLineGeneralControlRegister_HHD */ -#define bits_AQ_MsmLineGeneralControlRegister_HHD_msmLineForceSendIdle u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineForceSendIdle in AQ_MsmLineGeneralControlRegister_HHD */ -#define word_AQ_MsmLineGeneralControlRegister_HHD_msmLineForceSendIdle u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_baseRegisterAddress 0x900E -/*! \brief MMD address of structure AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxFifoFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoFullThreshold 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxFifoFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoFullThreshold u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxFifoFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoFullThreshold u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxFifoEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoEmptyThreshold 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxFifoEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoEmptyThreshold u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxFifoEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoEmptyThreshold u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxFifoFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoFullThreshold 2 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxFifoFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoFullThreshold u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxFifoFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoFullThreshold u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxFifoEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoEmptyThreshold 3 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxFifoEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoEmptyThreshold u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxFifoEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoEmptyThreshold u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxFifoAlmostFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoAlmostFullThreshold 4 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxFifoAlmostFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoAlmostFullThreshold u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxFifoAlmostFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoAlmostFullThreshold u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxFifoAlmostEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoAlmostEmptyThreshold 5 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxFifoAlmostEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoAlmostEmptyThreshold u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxFifoAlmostEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineRxFifoAlmostEmptyThreshold u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxFifoAlmostFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoAlmostFullThreshold 6 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxFifoAlmostFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoAlmostFullThreshold u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxFifoAlmostFullThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoAlmostFullThreshold u6.word_6 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxFifoAlmostEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoAlmostEmptyThreshold 7 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxFifoAlmostEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define bits_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoAlmostEmptyThreshold u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxFifoAlmostEmptyThreshold in AQ_MsmLineFifoControlRegister_HHD */ -#define word_AQ_MsmLineFifoControlRegister_HHD_msmLineTxFifoAlmostEmptyThreshold u7.word_7 - -/*! \brief Base register address of structure AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_baseRegisterAddress 0x9020 -/*! \brief MMD address of structure AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxFifoEmpty in AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_msmLineTxFifoEmpty 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxFifoEmpty in AQ_MsmLineGeneralStatusRegister_HHD */ -#define bits_AQ_MsmLineGeneralStatusRegister_HHD_msmLineTxFifoEmpty u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxFifoEmpty in AQ_MsmLineGeneralStatusRegister_HHD */ -#define word_AQ_MsmLineGeneralStatusRegister_HHD_msmLineTxFifoEmpty u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxLowPowerIdle in AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxLowPowerIdle 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxLowPowerIdle in AQ_MsmLineGeneralStatusRegister_HHD */ -#define bits_AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxLowPowerIdle u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxLowPowerIdle in AQ_MsmLineGeneralStatusRegister_HHD */ -#define word_AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxLowPowerIdle u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTimestampAvailable in AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_msmLineTimestampAvailable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTimestampAvailable in AQ_MsmLineGeneralStatusRegister_HHD */ -#define bits_AQ_MsmLineGeneralStatusRegister_HHD_msmLineTimestampAvailable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTimestampAvailable in AQ_MsmLineGeneralStatusRegister_HHD */ -#define word_AQ_MsmLineGeneralStatusRegister_HHD_msmLineTimestampAvailable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLinePhyLossOfSignal in AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_msmLinePhyLossOfSignal 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLinePhyLossOfSignal in AQ_MsmLineGeneralStatusRegister_HHD */ -#define bits_AQ_MsmLineGeneralStatusRegister_HHD_msmLinePhyLossOfSignal u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLinePhyLossOfSignal in AQ_MsmLineGeneralStatusRegister_HHD */ -#define word_AQ_MsmLineGeneralStatusRegister_HHD_msmLinePhyLossOfSignal u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxRemoteFault in AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxRemoteFault 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxRemoteFault in AQ_MsmLineGeneralStatusRegister_HHD */ -#define bits_AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxRemoteFault u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxRemoteFault in AQ_MsmLineGeneralStatusRegister_HHD */ -#define word_AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxRemoteFault u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxLocalFault in AQ_MsmLineGeneralStatusRegister_HHD */ -#define AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxLocalFault 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxLocalFault in AQ_MsmLineGeneralStatusRegister_HHD */ -#define bits_AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxLocalFault u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxLocalFault in AQ_MsmLineGeneralStatusRegister_HHD */ -#define word_AQ_MsmLineGeneralStatusRegister_HHD_msmLineRxLocalFault u0.word_0 - -/*! \brief Base register address of structure AQ_MsmLineTxIpgControlRegister_HHD */ -#define AQ_MsmLineTxIpgControlRegister_HHD_baseRegisterAddress 0x9022 -/*! \brief MMD address of structure AQ_MsmLineTxIpgControlRegister_HHD */ -#define AQ_MsmLineTxIpgControlRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxIpgLength in AQ_MsmLineTxIpgControlRegister_HHD */ -#define AQ_MsmLineTxIpgControlRegister_HHD_msmLineTxIpgLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxIpgLength in AQ_MsmLineTxIpgControlRegister_HHD */ -#define bits_AQ_MsmLineTxIpgControlRegister_HHD_msmLineTxIpgLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxIpgLength in AQ_MsmLineTxIpgControlRegister_HHD */ -#define word_AQ_MsmLineTxIpgControlRegister_HHD_msmLineTxIpgLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxIpgReserved in AQ_MsmLineTxIpgControlRegister_HHD */ -#define AQ_MsmLineTxIpgControlRegister_HHD_msmLineTxIpgReserved 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxIpgReserved in AQ_MsmLineTxIpgControlRegister_HHD */ -#define bits_AQ_MsmLineTxIpgControlRegister_HHD_msmLineTxIpgReserved u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxIpgReserved in AQ_MsmLineTxIpgControlRegister_HHD */ -#define word_AQ_MsmLineTxIpgControlRegister_HHD_msmLineTxIpgReserved u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineTxGoodFramesCounterRegister_HHD_baseRegisterAddress 0x9040 -/*! \brief MMD address of structure AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineTxGoodFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxGoodFramesCounter_0 in AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineTxGoodFramesCounterRegister_HHD_msmLineTxGoodFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxGoodFramesCounter_0 in AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxGoodFramesCounterRegister_HHD_msmLineTxGoodFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxGoodFramesCounter_0 in AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxGoodFramesCounterRegister_HHD_msmLineTxGoodFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxGoodFramesCounter_1 in AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineTxGoodFramesCounterRegister_HHD_msmLineTxGoodFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxGoodFramesCounter_1 in AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxGoodFramesCounterRegister_HHD_msmLineTxGoodFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxGoodFramesCounter_1 in AQ_MsmLineTxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxGoodFramesCounterRegister_HHD_msmLineTxGoodFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineRxGoodFramesCounterRegister_HHD_baseRegisterAddress 0x9044 -/*! \brief MMD address of structure AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineRxGoodFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxGoodFramesCounter_0 in AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineRxGoodFramesCounterRegister_HHD_msmLineRxGoodFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxGoodFramesCounter_0 in AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxGoodFramesCounterRegister_HHD_msmLineRxGoodFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxGoodFramesCounter_0 in AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxGoodFramesCounterRegister_HHD_msmLineRxGoodFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxGoodFramesCounter_1 in AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define AQ_MsmLineRxGoodFramesCounterRegister_HHD_msmLineRxGoodFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxGoodFramesCounter_1 in AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxGoodFramesCounterRegister_HHD_msmLineRxGoodFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxGoodFramesCounter_1 in AQ_MsmLineRxGoodFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxGoodFramesCounterRegister_HHD_msmLineRxGoodFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxFcsErrorsCounterRegister_HHD_baseRegisterAddress 0x9048 -/*! \brief MMD address of structure AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxFcsErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineFcsErrorCounter_0 in AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxFcsErrorsCounterRegister_HHD_msmLineFcsErrorCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineFcsErrorCounter_0 in AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxFcsErrorsCounterRegister_HHD_msmLineFcsErrorCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineFcsErrorCounter_0 in AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxFcsErrorsCounterRegister_HHD_msmLineFcsErrorCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineFcsErrorCounter_1 in AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxFcsErrorsCounterRegister_HHD_msmLineFcsErrorCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineFcsErrorCounter_1 in AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxFcsErrorsCounterRegister_HHD_msmLineFcsErrorCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineFcsErrorCounter_1 in AQ_MsmLineRxFcsErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxFcsErrorsCounterRegister_HHD_msmLineFcsErrorCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_baseRegisterAddress 0x904C -/*! \brief MMD address of structure AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineAlignmentErrorCounter_0 in AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_msmLineAlignmentErrorCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineAlignmentErrorCounter_0 in AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_msmLineAlignmentErrorCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineAlignmentErrorCounter_0 in AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_msmLineAlignmentErrorCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineAlignmentErrorCounter_1 in AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_msmLineAlignmentErrorCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineAlignmentErrorCounter_1 in AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_msmLineAlignmentErrorCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineAlignmentErrorCounter_1 in AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD_msmLineAlignmentErrorCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineTxPauseFramesCounterRegister_HHD_baseRegisterAddress 0x9050 -/*! \brief MMD address of structure AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineTxPauseFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxPauseFramesCounter_0 in AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineTxPauseFramesCounterRegister_HHD_msmLineTxPauseFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxPauseFramesCounter_0 in AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxPauseFramesCounterRegister_HHD_msmLineTxPauseFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxPauseFramesCounter_0 in AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxPauseFramesCounterRegister_HHD_msmLineTxPauseFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxPauseFramesCounter_1 in AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineTxPauseFramesCounterRegister_HHD_msmLineTxPauseFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxPauseFramesCounter_1 in AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxPauseFramesCounterRegister_HHD_msmLineTxPauseFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxPauseFramesCounter_1 in AQ_MsmLineTxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxPauseFramesCounterRegister_HHD_msmLineTxPauseFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineRxPauseFramesCounterRegister_HHD_baseRegisterAddress 0x9054 -/*! \brief MMD address of structure AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineRxPauseFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxPauseFramesCounter_0 in AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineRxPauseFramesCounterRegister_HHD_msmLineRxPauseFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxPauseFramesCounter_0 in AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxPauseFramesCounterRegister_HHD_msmLineRxPauseFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxPauseFramesCounter_0 in AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxPauseFramesCounterRegister_HHD_msmLineRxPauseFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxPauseFramesCounter_1 in AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define AQ_MsmLineRxPauseFramesCounterRegister_HHD_msmLineRxPauseFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxPauseFramesCounter_1 in AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxPauseFramesCounterRegister_HHD_msmLineRxPauseFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxPauseFramesCounter_1 in AQ_MsmLineRxPauseFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxPauseFramesCounterRegister_HHD_msmLineRxPauseFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_baseRegisterAddress 0x9058 -/*! \brief MMD address of structure AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxTooLongErrorsCounter_0 in AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_msmLineRxTooLongErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxTooLongErrorsCounter_0 in AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_msmLineRxTooLongErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxTooLongErrorsCounter_0 in AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_msmLineRxTooLongErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxTooLongErrorsCounter_1 in AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_msmLineRxTooLongErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxTooLongErrorsCounter_1 in AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_msmLineRxTooLongErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxTooLongErrorsCounter_1 in AQ_MsmLineRxTooLongErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxTooLongErrorsCounterRegister_HHD_msmLineRxTooLongErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_baseRegisterAddress 0x905C -/*! \brief MMD address of structure AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxInRangeLengthErrorsCounter_0 in AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_msmLineRxInRangeLengthErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxInRangeLengthErrorsCounter_0 in AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_msmLineRxInRangeLengthErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxInRangeLengthErrorsCounter_0 in AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_msmLineRxInRangeLengthErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxInRangeLengthErrorsCounter_1 in AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_msmLineRxInRangeLengthErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxInRangeLengthErrorsCounter_1 in AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_msmLineRxInRangeLengthErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxInRangeLengthErrorsCounter_1 in AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD_msmLineRxInRangeLengthErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineTxVlanFramesCounterRegister_HHD_baseRegisterAddress 0x9060 -/*! \brief MMD address of structure AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineTxVlanFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxVlanFramesCounter_0 in AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineTxVlanFramesCounterRegister_HHD_msmLineTxVlanFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxVlanFramesCounter_0 in AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxVlanFramesCounterRegister_HHD_msmLineTxVlanFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxVlanFramesCounter_0 in AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxVlanFramesCounterRegister_HHD_msmLineTxVlanFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxVlanFramesCounter_1 in AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineTxVlanFramesCounterRegister_HHD_msmLineTxVlanFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxVlanFramesCounter_1 in AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxVlanFramesCounterRegister_HHD_msmLineTxVlanFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxVlanFramesCounter_1 in AQ_MsmLineTxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxVlanFramesCounterRegister_HHD_msmLineTxVlanFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineRxVlanFramesCounterRegister_HHD_baseRegisterAddress 0x9064 -/*! \brief MMD address of structure AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineRxVlanFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxVlanFramesCounter_0 in AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineRxVlanFramesCounterRegister_HHD_msmLineRxVlanFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxVlanFramesCounter_0 in AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxVlanFramesCounterRegister_HHD_msmLineRxVlanFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxVlanFramesCounter_0 in AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxVlanFramesCounterRegister_HHD_msmLineRxVlanFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxVlanFramesCounter_1 in AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define AQ_MsmLineRxVlanFramesCounterRegister_HHD_msmLineRxVlanFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxVlanFramesCounter_1 in AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxVlanFramesCounterRegister_HHD_msmLineRxVlanFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxVlanFramesCounter_1 in AQ_MsmLineRxVlanFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxVlanFramesCounterRegister_HHD_msmLineRxVlanFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define AQ_MsmLineTxOctetsCounterRegister_HHD_baseRegisterAddress 0x9068 -/*! \brief MMD address of structure AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define AQ_MsmLineTxOctetsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxOctetsCounter_0 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxOctetsCounter_0 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxOctetsCounter_0 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxOctetsCounter_1 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxOctetsCounter_1 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxOctetsCounter_1 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxOctetsCounter_2 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_2 2 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxOctetsCounter_2 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_2 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxOctetsCounter_2 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_2 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxOctetsCounter_3 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_3 3 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxOctetsCounter_3 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_3 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxOctetsCounter_3 in AQ_MsmLineTxOctetsCounterRegister_HHD */ -#define word_AQ_MsmLineTxOctetsCounterRegister_HHD_msmLineTxOctetsCounter_3 u3.word_3 - -/*! \brief Base register address of structure AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define AQ_MsmLineRxOctetsCounterRegister_HHD_baseRegisterAddress 0x906C -/*! \brief MMD address of structure AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define AQ_MsmLineRxOctetsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxOctetsCounter_0 in AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define AQ_MsmLineRxOctetsCounterRegister_HHD_msmLineRxOctetsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxOctetsCounter_0 in AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxOctetsCounterRegister_HHD_msmLineRxOctetsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxOctetsCounter_0 in AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define word_AQ_MsmLineRxOctetsCounterRegister_HHD_msmLineRxOctetsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxOctetsCounter_1 in AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define AQ_MsmLineRxOctetsCounterRegister_HHD_msmLineRxOctetsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxOctetsCounter_1 in AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxOctetsCounterRegister_HHD_msmLineRxOctetsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxOctetsCounter_1 in AQ_MsmLineRxOctetsCounterRegister_HHD */ -#define word_AQ_MsmLineRxOctetsCounterRegister_HHD_msmLineRxOctetsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxUnicastFramesCounterRegister_HHD_baseRegisterAddress 0x9070 -/*! \brief MMD address of structure AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxUnicastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxUnicastFramesCounter_0 in AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxUnicastFramesCounterRegister_HHD_msmLineRxUnicastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxUnicastFramesCounter_0 in AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxUnicastFramesCounterRegister_HHD_msmLineRxUnicastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxUnicastFramesCounter_0 in AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxUnicastFramesCounterRegister_HHD_msmLineRxUnicastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxUnicastFramesCounter_1 in AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxUnicastFramesCounterRegister_HHD_msmLineRxUnicastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxUnicastFramesCounter_1 in AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxUnicastFramesCounterRegister_HHD_msmLineRxUnicastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxUnicastFramesCounter_1 in AQ_MsmLineRxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxUnicastFramesCounterRegister_HHD_msmLineRxUnicastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxMulticastFramesCounterRegister_HHD_baseRegisterAddress 0x9074 -/*! \brief MMD address of structure AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxMulticastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxMulticastFramesCounter_0 in AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxMulticastFramesCounterRegister_HHD_msmLineRxMulticastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxMulticastFramesCounter_0 in AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxMulticastFramesCounterRegister_HHD_msmLineRxMulticastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxMulticastFramesCounter_0 in AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxMulticastFramesCounterRegister_HHD_msmLineRxMulticastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxMulticastFramesCounter_1 in AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxMulticastFramesCounterRegister_HHD_msmLineRxMulticastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxMulticastFramesCounter_1 in AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxMulticastFramesCounterRegister_HHD_msmLineRxMulticastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxMulticastFramesCounter_1 in AQ_MsmLineRxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxMulticastFramesCounterRegister_HHD_msmLineRxMulticastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_baseRegisterAddress 0x9078 -/*! \brief MMD address of structure AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxBroadcastFramesCounter_0 in AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_msmLineRxBroadcastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxBroadcastFramesCounter_0 in AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_msmLineRxBroadcastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxBroadcastFramesCounter_0 in AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_msmLineRxBroadcastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxBroadcastFramesCounter_1 in AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_msmLineRxBroadcastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxBroadcastFramesCounter_1 in AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_msmLineRxBroadcastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxBroadcastFramesCounter_1 in AQ_MsmLineRxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineRxBroadcastFramesCounterRegister_HHD_msmLineRxBroadcastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define AQ_MsmLineTxErrorsCounterRegister_HHD_baseRegisterAddress 0x907C -/*! \brief MMD address of structure AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define AQ_MsmLineTxErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxErrorsCounter_0 in AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define AQ_MsmLineTxErrorsCounterRegister_HHD_msmLineTxErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxErrorsCounter_0 in AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineTxErrorsCounterRegister_HHD_msmLineTxErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxErrorsCounter_0 in AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineTxErrorsCounterRegister_HHD_msmLineTxErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxErrorsCounter_1 in AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define AQ_MsmLineTxErrorsCounterRegister_HHD_msmLineTxErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxErrorsCounter_1 in AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineTxErrorsCounterRegister_HHD_msmLineTxErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxErrorsCounter_1 in AQ_MsmLineTxErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineTxErrorsCounterRegister_HHD_msmLineTxErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxUnicastFramesCounterRegister_HHD_baseRegisterAddress 0x9084 -/*! \brief MMD address of structure AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxUnicastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxUnicastFramesCounter_0 in AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxUnicastFramesCounterRegister_HHD_msmLineTxUnicastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxUnicastFramesCounter_0 in AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxUnicastFramesCounterRegister_HHD_msmLineTxUnicastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxUnicastFramesCounter_0 in AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxUnicastFramesCounterRegister_HHD_msmLineTxUnicastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxUnicastFramesCounter_1 in AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxUnicastFramesCounterRegister_HHD_msmLineTxUnicastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxUnicastFramesCounter_1 in AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxUnicastFramesCounterRegister_HHD_msmLineTxUnicastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxUnicastFramesCounter_1 in AQ_MsmLineTxUnicastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxUnicastFramesCounterRegister_HHD_msmLineTxUnicastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxMulticastFramesCounterRegister_HHD_baseRegisterAddress 0x9088 -/*! \brief MMD address of structure AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxMulticastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxMulticastFramesCounter_0 in AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxMulticastFramesCounterRegister_HHD_msmLineTxMulticastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxMulticastFramesCounter_0 in AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxMulticastFramesCounterRegister_HHD_msmLineTxMulticastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxMulticastFramesCounter_0 in AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxMulticastFramesCounterRegister_HHD_msmLineTxMulticastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxMulticastFramesCounter_1 in AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxMulticastFramesCounterRegister_HHD_msmLineTxMulticastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxMulticastFramesCounter_1 in AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxMulticastFramesCounterRegister_HHD_msmLineTxMulticastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxMulticastFramesCounter_1 in AQ_MsmLineTxMulticastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxMulticastFramesCounterRegister_HHD_msmLineTxMulticastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_baseRegisterAddress 0x908C -/*! \brief MMD address of structure AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxBroadcastFramesCounter_0 in AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_msmLineTxBroadcastFramesCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxBroadcastFramesCounter_0 in AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_msmLineTxBroadcastFramesCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxBroadcastFramesCounter_0 in AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_msmLineTxBroadcastFramesCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineTxBroadcastFramesCounter_1 in AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_msmLineTxBroadcastFramesCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineTxBroadcastFramesCounter_1 in AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define bits_AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_msmLineTxBroadcastFramesCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineTxBroadcastFramesCounter_1 in AQ_MsmLineTxBroadcastFramesCounterRegister_HHD */ -#define word_AQ_MsmLineTxBroadcastFramesCounterRegister_HHD_msmLineTxBroadcastFramesCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxErrorsCounterRegister_HHD_baseRegisterAddress 0x90C8 -/*! \brief MMD address of structure AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxErrorsCounterRegister_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxErrorsCounter_0 in AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxErrorsCounterRegister_HHD_msmLineRxErrorsCounter_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxErrorsCounter_0 in AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxErrorsCounterRegister_HHD_msmLineRxErrorsCounter_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxErrorsCounter_0 in AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxErrorsCounterRegister_HHD_msmLineRxErrorsCounter_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure msmLineRxErrorsCounter_1 in AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define AQ_MsmLineRxErrorsCounterRegister_HHD_msmLineRxErrorsCounter_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure msmLineRxErrorsCounter_1 in AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define bits_AQ_MsmLineRxErrorsCounterRegister_HHD_msmLineRxErrorsCounter_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure msmLineRxErrorsCounter_1 in AQ_MsmLineRxErrorsCounterRegister_HHD */ -#define word_AQ_MsmLineRxErrorsCounterRegister_HHD_msmLineRxErrorsCounter_1 u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalControl_HHD */ -#define AQ_GlobalControl_HHD_baseRegisterAddress 0xC000 -/*! \brief MMD address of structure AQ_GlobalControl_HHD */ -#define AQ_GlobalControl_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure upReset in AQ_GlobalControl_HHD */ -#define AQ_GlobalControl_HHD_upReset 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upReset in AQ_GlobalControl_HHD */ -#define bits_AQ_GlobalControl_HHD_upReset u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upReset in AQ_GlobalControl_HHD */ -#define word_AQ_GlobalControl_HHD_upReset u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure upRunStallOverride in AQ_GlobalControl_HHD */ -#define AQ_GlobalControl_HHD_upRunStallOverride 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upRunStallOverride in AQ_GlobalControl_HHD */ -#define bits_AQ_GlobalControl_HHD_upRunStallOverride u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upRunStallOverride in AQ_GlobalControl_HHD */ -#define word_AQ_GlobalControl_HHD_upRunStallOverride u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure upRunStall in AQ_GlobalControl_HHD */ -#define AQ_GlobalControl_HHD_upRunStall 1 -/*! \brief Preprocessor variable to relate field to bit position in structure upRunStall in AQ_GlobalControl_HHD */ -#define bits_AQ_GlobalControl_HHD_upRunStall u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure upRunStall in AQ_GlobalControl_HHD */ -#define word_AQ_GlobalControl_HHD_upRunStall u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalResetControl_HHD */ -#define AQ_GlobalResetControl_HHD_baseRegisterAddress 0xC006 -/*! \brief MMD address of structure AQ_GlobalResetControl_HHD */ -#define AQ_GlobalResetControl_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure globalMMD_ResetDisable in AQ_GlobalResetControl_HHD */ -#define AQ_GlobalResetControl_HHD_globalMMD_ResetDisable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalMMD_ResetDisable in AQ_GlobalResetControl_HHD */ -#define bits_AQ_GlobalResetControl_HHD_globalMMD_ResetDisable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalMMD_ResetDisable in AQ_GlobalResetControl_HHD */ -#define word_AQ_GlobalResetControl_HHD_globalMMD_ResetDisable u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalDiagnosticProvisioning_HHD */ -#define AQ_GlobalDiagnosticProvisioning_HHD_baseRegisterAddress 0xC400 -/*! \brief MMD address of structure AQ_GlobalDiagnosticProvisioning_HHD */ -#define AQ_GlobalDiagnosticProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure enableDiagnostics in AQ_GlobalDiagnosticProvisioning_HHD */ -#define AQ_GlobalDiagnosticProvisioning_HHD_enableDiagnostics 0 -/*! \brief Preprocessor variable to relate field to bit position in structure enableDiagnostics in AQ_GlobalDiagnosticProvisioning_HHD */ -#define bits_AQ_GlobalDiagnosticProvisioning_HHD_enableDiagnostics u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure enableDiagnostics in AQ_GlobalDiagnosticProvisioning_HHD */ -#define word_AQ_GlobalDiagnosticProvisioning_HHD_enableDiagnostics u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_baseRegisterAddress 0xC420 -/*! \brief MMD address of structure AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reserved_0 in AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_reserved_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_0 in AQ_GlobalThermalProvisioning_HHD */ -#define bits_AQ_GlobalThermalProvisioning_HHD_reserved_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_0 in AQ_GlobalThermalProvisioning_HHD */ -#define word_AQ_GlobalThermalProvisioning_HHD_reserved_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTempFailureThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_highTempFailureThreshold 1 -/*! \brief Preprocessor variable to relate field to bit position in structure highTempFailureThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define bits_AQ_GlobalThermalProvisioning_HHD_highTempFailureThreshold u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure highTempFailureThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define word_AQ_GlobalThermalProvisioning_HHD_highTempFailureThreshold u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure lowTempFailureThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_lowTempFailureThreshold 2 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTempFailureThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define bits_AQ_GlobalThermalProvisioning_HHD_lowTempFailureThreshold u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure lowTempFailureThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define word_AQ_GlobalThermalProvisioning_HHD_lowTempFailureThreshold u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure highTempWarningThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_highTempWarningThreshold 3 -/*! \brief Preprocessor variable to relate field to bit position in structure highTempWarningThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define bits_AQ_GlobalThermalProvisioning_HHD_highTempWarningThreshold u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure highTempWarningThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define word_AQ_GlobalThermalProvisioning_HHD_highTempWarningThreshold u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure lowTempWarningThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define AQ_GlobalThermalProvisioning_HHD_lowTempWarningThreshold 4 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTempWarningThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define bits_AQ_GlobalThermalProvisioning_HHD_lowTempWarningThreshold u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure lowTempWarningThreshold in AQ_GlobalThermalProvisioning_HHD */ -#define word_AQ_GlobalThermalProvisioning_HHD_lowTempWarningThreshold u4.word_4 - -/*! \brief Base register address of structure AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_baseRegisterAddress 0xC430 -/*! \brief MMD address of structure AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioningC430 in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_reservedProvisioningC430 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioningC430 in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_reservedProvisioningC430 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioningC430 in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_reservedProvisioningC430 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0ManualSet 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0ManualSet u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0ManualSet u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0_10Gb_sLinkEstablished 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0_10Gb_sLinkEstablished u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0_10Gb_sLinkEstablished u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0_1Gb_sLinkEstablished 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0_1Gb_sLinkEstablished u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0_1Gb_sLinkEstablished u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0_100Mb_sLinkEstablished 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0_100Mb_sLinkEstablished u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0_100Mb_sLinkEstablished u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0Connecting in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0Connecting 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0Connecting in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0Connecting u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0Connecting in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0Connecting u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0ReceiveActivity 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0ReceiveActivity u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0ReceiveActivity u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0TransmitActivity 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0TransmitActivity u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0TransmitActivity u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure led_0ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_0ActivityStretch 0 -/*! \brief Preprocessor variable to relate field to bit position in structure led_0ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_0ActivityStretch u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure led_0ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_0ActivityStretch u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioningC431 in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_reservedProvisioningC431 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioningC431 in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_reservedProvisioningC431 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioningC431 in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_reservedProvisioningC431 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1ManualSet 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1ManualSet u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1ManualSet u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1_10Gb_sLinkEstablished 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1_10Gb_sLinkEstablished u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1_10Gb_sLinkEstablished u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1_1Gb_sLinkEstablished 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1_1Gb_sLinkEstablished u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1_1Gb_sLinkEstablished u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1_100Mb_sLinkEstablished 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1_100Mb_sLinkEstablished u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1_100Mb_sLinkEstablished u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1Connecting in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1Connecting 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1Connecting in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1Connecting u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1Connecting in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1Connecting u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1ReceiveActivity 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1ReceiveActivity u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1ReceiveActivity u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1TransmitActivity 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1TransmitActivity u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1TransmitActivity u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure led_1ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_1ActivityStretch 1 -/*! \brief Preprocessor variable to relate field to bit position in structure led_1ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_1ActivityStretch u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure led_1ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_1ActivityStretch u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioningC432 in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_reservedProvisioningC432 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioningC432 in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_reservedProvisioningC432 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioningC432 in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_reservedProvisioningC432 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2ManualSet 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2ManualSet u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ManualSet in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2ManualSet u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2_10Gb_sLinkEstablished 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2_10Gb_sLinkEstablished u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2_10Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2_10Gb_sLinkEstablished u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2_1Gb_sLinkEstablished 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2_1Gb_sLinkEstablished u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2_1Gb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2_1Gb_sLinkEstablished u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2_100Mb_sLinkEstablished 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2_100Mb_sLinkEstablished u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2_100Mb_sLinkEstablished in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2_100Mb_sLinkEstablished u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2Connecting in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2Connecting 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2Connecting in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2Connecting u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2Connecting in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2Connecting u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2ReceiveActivity 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2ReceiveActivity u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ReceiveActivity in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2ReceiveActivity u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2TransmitActivity 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2TransmitActivity u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2TransmitActivity in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2TransmitActivity u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure led_2ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_led_2ActivityStretch 2 -/*! \brief Preprocessor variable to relate field to bit position in structure led_2ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_led_2ActivityStretch u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure led_2ActivityStretch in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_led_2ActivityStretch u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure ledOperationMode in AQ_GlobalLedProvisioning_HHD */ -#define AQ_GlobalLedProvisioning_HHD_ledOperationMode 7 -/*! \brief Preprocessor variable to relate field to bit position in structure ledOperationMode in AQ_GlobalLedProvisioning_HHD */ -#define bits_AQ_GlobalLedProvisioning_HHD_ledOperationMode u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure ledOperationMode in AQ_GlobalLedProvisioning_HHD */ -#define word_AQ_GlobalLedProvisioning_HHD_ledOperationMode u7.word_7 - -/*! \brief Base register address of structure AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_baseRegisterAddress 0xC440 -/*! \brief MMD address of structure AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure mdioBroadcastModeEnable in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mdioBroadcastModeEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioBroadcastModeEnable in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_mdioBroadcastModeEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioBroadcastModeEnable in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_mdioBroadcastModeEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioReadMSW_FirstEnable in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mdioReadMSW_FirstEnable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioReadMSW_FirstEnable in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_mdioReadMSW_FirstEnable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioReadMSW_FirstEnable in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_mdioReadMSW_FirstEnable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioDriveConfiguration in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mdioDriveConfiguration 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioDriveConfiguration in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_mdioDriveConfiguration u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioDriveConfiguration in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_mdioDriveConfiguration u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioPreambleDetectionDisable in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mdioPreambleDetectionDisable 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioPreambleDetectionDisable in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_mdioPreambleDetectionDisable u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioPreambleDetectionDisable in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_mdioPreambleDetectionDisable u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure daisyChainReset in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_daisyChainReset 2 -/*! \brief Preprocessor variable to relate field to bit position in structure daisyChainReset in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_daisyChainReset u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure daisyChainReset in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_daisyChainReset u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioBroadcastAddressConfiguration in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mdioBroadcastAddressConfiguration 7 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioBroadcastAddressConfiguration in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_mdioBroadcastAddressConfiguration u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure mdioBroadcastAddressConfiguration in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_mdioBroadcastAddressConfiguration u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure mdioPreambleLength in AQ_GlobalGeneralProvisioning_HHD */ -#define AQ_GlobalGeneralProvisioning_HHD_mdioPreambleLength 9 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioPreambleLength in AQ_GlobalGeneralProvisioning_HHD */ -#define bits_AQ_GlobalGeneralProvisioning_HHD_mdioPreambleLength u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure mdioPreambleLength in AQ_GlobalGeneralProvisioning_HHD */ -#define word_AQ_GlobalGeneralProvisioning_HHD_mdioPreambleLength u9.word_9 - -/*! \brief Base register address of structure AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_baseRegisterAddress 0xC450 -/*! \brief MMD address of structure AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure nvrDataLength in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrDataLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDataLength in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrDataLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDataLength in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrDataLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDummyLength in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrDummyLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDummyLength in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrDummyLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDummyLength in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrDummyLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressLength in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrAddressLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressLength in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrAddressLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressLength in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrAddressLength u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nvrAddressLengthOverride in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrAddressLengthOverride 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrAddressLengthOverride in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrAddressLengthOverride u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nvrAddressLengthOverride in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrAddressLengthOverride u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrClockDivide in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrClockDivide 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrClockDivide in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrClockDivide u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nvrClockDivide in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrClockDivide u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDaisyChainClockDivideOverride in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrDaisyChainClockDivideOverride 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDaisyChainClockDivideOverride in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrDaisyChainClockDivideOverride u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDaisyChainClockDivideOverride in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrDaisyChainClockDivideOverride u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDaisyChainDisable in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrDaisyChainDisable 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDaisyChainDisable in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrDaisyChainDisable u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDaisyChainDisable in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrDaisyChainDisable u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure nvrReset in AQ_GlobalNvrProvisioning_HHD */ -#define AQ_GlobalNvrProvisioning_HHD_nvrReset 3 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrReset in AQ_GlobalNvrProvisioning_HHD */ -#define bits_AQ_GlobalNvrProvisioning_HHD_nvrReset u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure nvrReset in AQ_GlobalNvrProvisioning_HHD */ -#define word_AQ_GlobalNvrProvisioning_HHD_nvrReset u3.word_3 - -/*! \brief Base register address of structure AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_baseRegisterAddress 0xC470 -/*! \brief MMD address of structure AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure diagnosticsSelect in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_diagnosticsSelect 0 -/*! \brief Preprocessor variable to relate field to bit position in structure diagnosticsSelect in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_diagnosticsSelect u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure diagnosticsSelect in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_diagnosticsSelect u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure extendedMdiDiagnosticsSelect in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_extendedMdiDiagnosticsSelect 0 -/*! \brief Preprocessor variable to relate field to bit position in structure extendedMdiDiagnosticsSelect in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_extendedMdiDiagnosticsSelect u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure extendedMdiDiagnosticsSelect in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_extendedMdiDiagnosticsSelect u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure initiateCableDiagnostics in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_initiateCableDiagnostics 0 -/*! \brief Preprocessor variable to relate field to bit position in structure initiateCableDiagnostics in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_initiateCableDiagnostics u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure initiateCableDiagnostics in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_initiateCableDiagnostics u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure enableDaisy_chainHop_countOverride in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_enableDaisy_chainHop_countOverride 1 -/*! \brief Preprocessor variable to relate field to bit position in structure enableDaisy_chainHop_countOverride in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_enableDaisy_chainHop_countOverride u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure enableDaisy_chainHop_countOverride in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_enableDaisy_chainHop_countOverride u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure daisy_chainHop_countOverrideValue in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_daisy_chainHop_countOverrideValue 1 -/*! \brief Preprocessor variable to relate field to bit position in structure daisy_chainHop_countOverrideValue in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_daisy_chainHop_countOverrideValue u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure daisy_chainHop_countOverrideValue in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_daisy_chainHop_countOverrideValue u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure enableVddPowerSupplyTuning in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_enableVddPowerSupplyTuning 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enableVddPowerSupplyTuning in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_enableVddPowerSupplyTuning u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enableVddPowerSupplyTuning in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_enableVddPowerSupplyTuning u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure tunableExternalVddPowerSupplyPresent in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_tunableExternalVddPowerSupplyPresent 2 -/*! \brief Preprocessor variable to relate field to bit position in structure tunableExternalVddPowerSupplyPresent in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_tunableExternalVddPowerSupplyPresent u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure tunableExternalVddPowerSupplyPresent in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_tunableExternalVddPowerSupplyPresent u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure externalVddChangeRequest in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_externalVddChangeRequest 2 -/*! \brief Preprocessor variable to relate field to bit position in structure externalVddChangeRequest in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_externalVddChangeRequest u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure externalVddChangeRequest in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_externalVddChangeRequest u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure enableXenpakRegisterSpace in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_enableXenpakRegisterSpace 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enableXenpakRegisterSpace in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_enableXenpakRegisterSpace u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enableXenpakRegisterSpace in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_enableXenpakRegisterSpace u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure enable_5thChannelRfiCancellation in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_enable_5thChannelRfiCancellation 2 -/*! \brief Preprocessor variable to relate field to bit position in structure enable_5thChannelRfiCancellation in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_enable_5thChannelRfiCancellation u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure enable_5thChannelRfiCancellation in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_enable_5thChannelRfiCancellation u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure rateTransitionRequest in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_rateTransitionRequest 3 -/*! \brief Preprocessor variable to relate field to bit position in structure rateTransitionRequest in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_rateTransitionRequest u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure rateTransitionRequest in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_rateTransitionRequest u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure trainingSNR in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_trainingSNR 3 -/*! \brief Preprocessor variable to relate field to bit position in structure trainingSNR in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_trainingSNR u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure trainingSNR in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_trainingSNR u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_5 in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_5 4 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_5 in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_5 u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_5 in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_5 u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure nvrDaisyChainKickstart in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_nvrDaisyChainKickstart 4 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrDaisyChainKickstart in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_nvrDaisyChainKickstart u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure nvrDaisyChainKickstart in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_nvrDaisyChainKickstart u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downStatus in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_smartPower_downStatus 5 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downStatus in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_smartPower_downStatus u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downStatus in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_smartPower_downStatus u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_6 in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_6 5 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_6 in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_6 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_6 in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_6 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpDisableTimer in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrLpDisableTimer 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpDisableTimer in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrLpDisableTimer u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpDisableTimer in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrLpDisableTimer u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpExtendedMaxwait in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrLpExtendedMaxwait 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpExtendedMaxwait in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrLpExtendedMaxwait u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpExtendedMaxwait in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrLpExtendedMaxwait u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpTHP in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrLpTHP 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpTHP in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrLpTHP u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpTHP in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrLpTHP u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrLpSupport in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrLpSupport 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrLpSupport in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrLpSupport u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrLpSupport in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrLpSupport u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrDisableTimer in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrDisableTimer 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrDisableTimer in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrDisableTimer u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrDisableTimer in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrDisableTimer u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrExtendedMaxwait in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrExtendedMaxwait 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrExtendedMaxwait in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrExtendedMaxwait u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrExtendedMaxwait in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrExtendedMaxwait u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrTHP in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrTHP 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrTHP in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrTHP u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrTHP in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrTHP u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure cfrSupport in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_cfrSupport 5 -/*! \brief Preprocessor variable to relate field to bit position in structure cfrSupport in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_cfrSupport u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure cfrSupport in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_cfrSupport u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure deadlockAvoidanceEnable in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_deadlockAvoidanceEnable 5 -/*! \brief Preprocessor variable to relate field to bit position in structure deadlockAvoidanceEnable in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_deadlockAvoidanceEnable u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure deadlockAvoidanceEnable in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_deadlockAvoidanceEnable u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downEnable in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_smartPower_downEnable 5 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downEnable in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_smartPower_downEnable u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downEnable in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_smartPower_downEnable u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure dteEnable in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_dteEnable 8 -/*! \brief Preprocessor variable to relate field to bit position in structure dteEnable in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_dteEnable u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure dteEnable in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_dteEnable u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure dteDropReportingTimer in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_dteDropReportingTimer 8 -/*! \brief Preprocessor variable to relate field to bit position in structure dteDropReportingTimer in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_dteDropReportingTimer u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure dteDropReportingTimer in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_dteDropReportingTimer u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_9 in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_9 8 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_9 in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_9 u8.bits_8 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_9 in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_9 u8.word_8 -/*! \brief Preprocessor variable to relate field to word number in structure powerUpStall in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_powerUpStall 9 -/*! \brief Preprocessor variable to relate field to bit position in structure powerUpStall in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_powerUpStall u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure powerUpStall in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_powerUpStall u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_10 in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_10 9 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_10 in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_10 u9.bits_9 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_10 in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_10 u9.word_9 -/*! \brief Preprocessor variable to relate field to word number in structure loopbackControl in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_loopbackControl 10 -/*! \brief Preprocessor variable to relate field to bit position in structure loopbackControl in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_loopbackControl u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure loopbackControl in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_loopbackControl u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_11 in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_11 10 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_11 in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_11 u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_11 in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_11 u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure mdiPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_mdiPacketGeneration 10 -/*! \brief Preprocessor variable to relate field to bit position in structure mdiPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_mdiPacketGeneration u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure mdiPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_mdiPacketGeneration u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure look_asidePortPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_look_asidePortPacketGeneration 10 -/*! \brief Preprocessor variable to relate field to bit position in structure look_asidePortPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_look_asidePortPacketGeneration u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure look_asidePortPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_look_asidePortPacketGeneration u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure systemI_fPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_systemI_fPacketGeneration 10 -/*! \brief Preprocessor variable to relate field to bit position in structure systemI_fPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_systemI_fPacketGeneration u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure systemI_fPacketGeneration in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_systemI_fPacketGeneration u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_11a in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_11a 10 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_11a in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_11a u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_11a in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_11a u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure rate in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_rate 10 -/*! \brief Preprocessor variable to relate field to bit position in structure rate in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_rate u10.bits_10 -/*! \brief Preprocessor variable to relate field to word position in structure rate in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_rate u10.word_10 -/*! \brief Preprocessor variable to relate field to word number in structure reservedProvisioning_12 in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_12 11 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedProvisioning_12 in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_12 u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure reservedProvisioning_12 in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_reservedProvisioning_12 u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure enableMacsec in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_enableMacsec 11 -/*! \brief Preprocessor variable to relate field to bit position in structure enableMacsec in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_enableMacsec u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure enableMacsec in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_enableMacsec u11.word_11 -/*! \brief Preprocessor variable to relate field to word number in structure enablePtp in AQ_GlobalReservedProvisioning_HHD */ -#define AQ_GlobalReservedProvisioning_HHD_enablePtp 11 -/*! \brief Preprocessor variable to relate field to bit position in structure enablePtp in AQ_GlobalReservedProvisioning_HHD */ -#define bits_AQ_GlobalReservedProvisioning_HHD_enablePtp u11.bits_11 -/*! \brief Preprocessor variable to relate field to word position in structure enablePtp in AQ_GlobalReservedProvisioning_HHD */ -#define word_AQ_GlobalReservedProvisioning_HHD_enablePtp u11.word_11 - -/*! \brief Base register address of structure AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_baseRegisterAddress 0xC47C -/*! \brief MMD address of structure AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pifMailboxAddress in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_pifMailboxAddress 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pifMailboxAddress in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_pifMailboxAddress u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pifMailboxAddress in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_pifMailboxAddress u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pifMailboxData in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_pifMailboxData 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pifMailboxData in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_pifMailboxData u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pifMailboxData in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_pifMailboxData u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reservedPifMailboxControl_3 in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_reservedPifMailboxControl_3 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedPifMailboxControl_3 in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_reservedPifMailboxControl_3 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reservedPifMailboxControl_3 in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_reservedPifMailboxControl_3 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pifMailboxCommandType in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_pifMailboxCommandType 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pifMailboxCommandType in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_pifMailboxCommandType u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pifMailboxCommandType in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_pifMailboxCommandType u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pifMailboxMMD in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_pifMailboxMMD 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pifMailboxMMD in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_pifMailboxMMD u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pifMailboxMMD in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_pifMailboxMMD u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reservedPifMailboxControl_4 in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_reservedPifMailboxControl_4 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedPifMailboxControl_4 in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_reservedPifMailboxControl_4 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reservedPifMailboxControl_4 in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_reservedPifMailboxControl_4 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pifMailboxCommandStatus in AQ_PifMailboxControl_HHD */ -#define AQ_PifMailboxControl_HHD_pifMailboxCommandStatus 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pifMailboxCommandStatus in AQ_PifMailboxControl_HHD */ -#define bits_AQ_PifMailboxControl_HHD_pifMailboxCommandStatus u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pifMailboxCommandStatus in AQ_PifMailboxControl_HHD */ -#define word_AQ_PifMailboxControl_HHD_pifMailboxCommandStatus u3.word_3 - -/*! \brief Base register address of structure AQ_GlobalSmbus_0Provisioning_HHD */ -#define AQ_GlobalSmbus_0Provisioning_HHD_baseRegisterAddress 0xC485 -/*! \brief MMD address of structure AQ_GlobalSmbus_0Provisioning_HHD */ -#define AQ_GlobalSmbus_0Provisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure smb_0SlaveAddress in AQ_GlobalSmbus_0Provisioning_HHD */ -#define AQ_GlobalSmbus_0Provisioning_HHD_smb_0SlaveAddress 0 -/*! \brief Preprocessor variable to relate field to bit position in structure smb_0SlaveAddress in AQ_GlobalSmbus_0Provisioning_HHD */ -#define bits_AQ_GlobalSmbus_0Provisioning_HHD_smb_0SlaveAddress u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure smb_0SlaveAddress in AQ_GlobalSmbus_0Provisioning_HHD */ -#define word_AQ_GlobalSmbus_0Provisioning_HHD_smb_0SlaveAddress u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalSmbus_1Provisioning_HHD */ -#define AQ_GlobalSmbus_1Provisioning_HHD_baseRegisterAddress 0xC495 -/*! \brief MMD address of structure AQ_GlobalSmbus_1Provisioning_HHD */ -#define AQ_GlobalSmbus_1Provisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure smb_1SlaveAddress in AQ_GlobalSmbus_1Provisioning_HHD */ -#define AQ_GlobalSmbus_1Provisioning_HHD_smb_1SlaveAddress 0 -/*! \brief Preprocessor variable to relate field to bit position in structure smb_1SlaveAddress in AQ_GlobalSmbus_1Provisioning_HHD */ -#define bits_AQ_GlobalSmbus_1Provisioning_HHD_smb_1SlaveAddress u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure smb_1SlaveAddress in AQ_GlobalSmbus_1Provisioning_HHD */ -#define word_AQ_GlobalSmbus_1Provisioning_HHD_smb_1SlaveAddress u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalEeeProvisioning_HHD */ -#define AQ_GlobalEeeProvisioning_HHD_baseRegisterAddress 0xC4A0 -/*! \brief MMD address of structure AQ_GlobalEeeProvisioning_HHD */ -#define AQ_GlobalEeeProvisioning_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure eeeMode in AQ_GlobalEeeProvisioning_HHD */ -#define AQ_GlobalEeeProvisioning_HHD_eeeMode 0 -/*! \brief Preprocessor variable to relate field to bit position in structure eeeMode in AQ_GlobalEeeProvisioning_HHD */ -#define bits_AQ_GlobalEeeProvisioning_HHD_eeeMode u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure eeeMode in AQ_GlobalEeeProvisioning_HHD */ -#define word_AQ_GlobalEeeProvisioning_HHD_eeeMode u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_baseRegisterAddress 0xC800 -/*! \brief MMD address of structure AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pairAStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairAStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairAStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairAStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairBStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairBStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairBStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairBStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairBStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairCStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairCStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairCStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairCStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairCStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairDStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairDStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairDStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairDStatus in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairDStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairAReflection_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairAReflection_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairAReflection_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairAReflection_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairAReflection_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairAReflection_2 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure impulseResponseMSW in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_impulseResponseMSW 2 -/*! \brief Preprocessor variable to relate field to bit position in structure impulseResponseMSW in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_impulseResponseMSW u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure impulseResponseMSW in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_impulseResponseMSW u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairBReflection_1 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairBReflection_1 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairBReflection_1 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairBReflection_2 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairBReflection_2 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairBReflection_2 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure impulseResponseLSW in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_impulseResponseLSW 4 -/*! \brief Preprocessor variable to relate field to bit position in structure impulseResponseLSW in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_impulseResponseLSW u4.bits_4 -/*! \brief Preprocessor variable to relate field to word position in structure impulseResponseLSW in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_impulseResponseLSW u4.word_4 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairCReflection_1 5 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairCReflection_1 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairCReflection_1 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairCReflection_2 5 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairCReflection_2 u5.bits_5 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairCReflection_2 u5.word_5 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_reserved_1 6 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_reserved_1 u6.bits_6 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_reserved_1 u6.word_6 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairDReflection_1 7 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairDReflection_1 u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairDReflection_1 u7.word_7 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define AQ_GlobalCableDiagnosticStatus_HHD_pairDReflection_2 7 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define bits_AQ_GlobalCableDiagnosticStatus_HHD_pairDReflection_2 u7.bits_7 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticStatus_HHD */ -#define word_AQ_GlobalCableDiagnosticStatus_HHD_pairDReflection_2 u7.word_7 - -/*! \brief Base register address of structure AQ_GlobalThermalStatus_HHD */ -#define AQ_GlobalThermalStatus_HHD_baseRegisterAddress 0xC820 -/*! \brief MMD address of structure AQ_GlobalThermalStatus_HHD */ -#define AQ_GlobalThermalStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure temperature in AQ_GlobalThermalStatus_HHD */ -#define AQ_GlobalThermalStatus_HHD_temperature 0 -/*! \brief Preprocessor variable to relate field to bit position in structure temperature in AQ_GlobalThermalStatus_HHD */ -#define bits_AQ_GlobalThermalStatus_HHD_temperature u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure temperature in AQ_GlobalThermalStatus_HHD */ -#define word_AQ_GlobalThermalStatus_HHD_temperature u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure temperatureReady in AQ_GlobalThermalStatus_HHD */ -#define AQ_GlobalThermalStatus_HHD_temperatureReady 1 -/*! \brief Preprocessor variable to relate field to bit position in structure temperatureReady in AQ_GlobalThermalStatus_HHD */ -#define bits_AQ_GlobalThermalStatus_HHD_temperatureReady u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure temperatureReady in AQ_GlobalThermalStatus_HHD */ -#define word_AQ_GlobalThermalStatus_HHD_temperatureReady u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_baseRegisterAddress 0xC830 -/*! \brief MMD address of structure AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureFailureState in AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_highTemperatureFailureState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureFailureState in AQ_GlobalGeneralStatus_HHD */ -#define bits_AQ_GlobalGeneralStatus_HHD_highTemperatureFailureState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureFailureState in AQ_GlobalGeneralStatus_HHD */ -#define word_AQ_GlobalGeneralStatus_HHD_highTemperatureFailureState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureFailureState in AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_lowTemperatureFailureState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureFailureState in AQ_GlobalGeneralStatus_HHD */ -#define bits_AQ_GlobalGeneralStatus_HHD_lowTemperatureFailureState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureFailureState in AQ_GlobalGeneralStatus_HHD */ -#define word_AQ_GlobalGeneralStatus_HHD_lowTemperatureFailureState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureWarningState in AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_highTemperatureWarningState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureWarningState in AQ_GlobalGeneralStatus_HHD */ -#define bits_AQ_GlobalGeneralStatus_HHD_highTemperatureWarningState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureWarningState in AQ_GlobalGeneralStatus_HHD */ -#define word_AQ_GlobalGeneralStatus_HHD_highTemperatureWarningState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureWarningState in AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_lowTemperatureWarningState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureWarningState in AQ_GlobalGeneralStatus_HHD */ -#define bits_AQ_GlobalGeneralStatus_HHD_lowTemperatureWarningState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureWarningState in AQ_GlobalGeneralStatus_HHD */ -#define word_AQ_GlobalGeneralStatus_HHD_lowTemperatureWarningState u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure processorIntensiveMdioOperationIn_Progress in AQ_GlobalGeneralStatus_HHD */ -#define AQ_GlobalGeneralStatus_HHD_processorIntensiveMdioOperationIn_Progress 1 -/*! \brief Preprocessor variable to relate field to bit position in structure processorIntensiveMdioOperationIn_Progress in AQ_GlobalGeneralStatus_HHD */ -#define bits_AQ_GlobalGeneralStatus_HHD_processorIntensiveMdioOperationIn_Progress u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure processorIntensiveMdioOperationIn_Progress in AQ_GlobalGeneralStatus_HHD */ -#define word_AQ_GlobalGeneralStatus_HHD_processorIntensiveMdioOperationIn_Progress u1.word_1 - -/*! \brief Base register address of structure AQ_GlobalPinStatus_HHD */ -#define AQ_GlobalPinStatus_HHD_baseRegisterAddress 0xC840 -/*! \brief MMD address of structure AQ_GlobalPinStatus_HHD */ -#define AQ_GlobalPinStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure dcMasterN in AQ_GlobalPinStatus_HHD */ -#define AQ_GlobalPinStatus_HHD_dcMasterN 0 -/*! \brief Preprocessor variable to relate field to bit position in structure dcMasterN in AQ_GlobalPinStatus_HHD */ -#define bits_AQ_GlobalPinStatus_HHD_dcMasterN u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure dcMasterN in AQ_GlobalPinStatus_HHD */ -#define word_AQ_GlobalPinStatus_HHD_dcMasterN u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure packageConnectivity in AQ_GlobalPinStatus_HHD */ -#define AQ_GlobalPinStatus_HHD_packageConnectivity 0 -/*! \brief Preprocessor variable to relate field to bit position in structure packageConnectivity in AQ_GlobalPinStatus_HHD */ -#define bits_AQ_GlobalPinStatus_HHD_packageConnectivity u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure packageConnectivity in AQ_GlobalPinStatus_HHD */ -#define word_AQ_GlobalPinStatus_HHD_packageConnectivity u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure txEnable in AQ_GlobalPinStatus_HHD */ -#define AQ_GlobalPinStatus_HHD_txEnable 0 -/*! \brief Preprocessor variable to relate field to bit position in structure txEnable in AQ_GlobalPinStatus_HHD */ -#define bits_AQ_GlobalPinStatus_HHD_txEnable u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure txEnable in AQ_GlobalPinStatus_HHD */ -#define word_AQ_GlobalPinStatus_HHD_txEnable u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure ledPullupState in AQ_GlobalPinStatus_HHD */ -#define AQ_GlobalPinStatus_HHD_ledPullupState 0 -/*! \brief Preprocessor variable to relate field to bit position in structure ledPullupState in AQ_GlobalPinStatus_HHD */ -#define bits_AQ_GlobalPinStatus_HHD_ledPullupState u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure ledPullupState in AQ_GlobalPinStatus_HHD */ -#define word_AQ_GlobalPinStatus_HHD_ledPullupState u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalDaisyChainStatus_HHD */ -#define AQ_GlobalDaisyChainStatus_HHD_baseRegisterAddress 0xC842 -/*! \brief MMD address of structure AQ_GlobalDaisyChainStatus_HHD */ -#define AQ_GlobalDaisyChainStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure rxDaisyChainCalculatedCrc in AQ_GlobalDaisyChainStatus_HHD */ -#define AQ_GlobalDaisyChainStatus_HHD_rxDaisyChainCalculatedCrc 0 -/*! \brief Preprocessor variable to relate field to bit position in structure rxDaisyChainCalculatedCrc in AQ_GlobalDaisyChainStatus_HHD */ -#define bits_AQ_GlobalDaisyChainStatus_HHD_rxDaisyChainCalculatedCrc u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure rxDaisyChainCalculatedCrc in AQ_GlobalDaisyChainStatus_HHD */ -#define word_AQ_GlobalDaisyChainStatus_HHD_rxDaisyChainCalculatedCrc u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalFaultMessage_HHD */ -#define AQ_GlobalFaultMessage_HHD_baseRegisterAddress 0xC850 -/*! \brief MMD address of structure AQ_GlobalFaultMessage_HHD */ -#define AQ_GlobalFaultMessage_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure message in AQ_GlobalFaultMessage_HHD */ -#define AQ_GlobalFaultMessage_HHD_message 0 -/*! \brief Preprocessor variable to relate field to bit position in structure message in AQ_GlobalFaultMessage_HHD */ -#define bits_AQ_GlobalFaultMessage_HHD_message u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure message in AQ_GlobalFaultMessage_HHD */ -#define word_AQ_GlobalFaultMessage_HHD_message u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_baseRegisterAddress 0xC880 -/*! \brief MMD address of structure AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reserved_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_1 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_1 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_1 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_1 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_1 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_1 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_2 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_2 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_2 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_2 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_2 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_2 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_3 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_3 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_3 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_3 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_3 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_3 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_4 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_4 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_4 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pairAReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_4 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pairAReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_4 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pairAReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairAReflection_4 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_5 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_5 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_5 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_5 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_5 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_5 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_1 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_1 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_1 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_6 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_6 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_6 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_6 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_6 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_6 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_2 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_2 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_2 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_7 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_7 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_7 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_7 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_7 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_7 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_3 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_3 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_3 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_8 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_8 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_8 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_8 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_8 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_8 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure pairBReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_4 1 -/*! \brief Preprocessor variable to relate field to bit position in structure pairBReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_4 u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure pairBReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairBReflection_4 u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_9 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_9 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_9 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_9 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_9 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_9 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_1 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_1 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_1 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_10 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_10 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_10 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_10 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_10 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_10 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_2 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_2 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_2 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_11 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_11 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_11 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_11 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_11 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_11 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_3 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_3 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_3 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_12 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_12 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_12 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_12 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_12 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_12 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure pairCReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_4 2 -/*! \brief Preprocessor variable to relate field to bit position in structure pairCReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_4 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure pairCReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairCReflection_4 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_13 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_13 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_13 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_13 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_13 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_13 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_1 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_1 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_1 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_1 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_14 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_14 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_14 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_14 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_14 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_14 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_2 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_2 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_2 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_2 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_15 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_15 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_15 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_15 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_15 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_15 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_3 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_3 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_3 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_3 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reserved_16 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_reserved_16 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reserved_16 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_16 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reserved_16 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_reserved_16 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure pairDReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_4 3 -/*! \brief Preprocessor variable to relate field to bit position in structure pairDReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define bits_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_4 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure pairDReflection_4 in AQ_GlobalCableDiagnosticImpedance_HHD */ -#define word_AQ_GlobalCableDiagnosticImpedance_HHD_pairDReflection_4 u3.word_3 - -/*! \brief Base register address of structure AQ_GlobalStatus_HHD */ -#define AQ_GlobalStatus_HHD_baseRegisterAddress 0xC884 -/*! \brief MMD address of structure AQ_GlobalStatus_HHD */ -#define AQ_GlobalStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure reservedStatus_0 in AQ_GlobalStatus_HHD */ -#define AQ_GlobalStatus_HHD_reservedStatus_0 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedStatus_0 in AQ_GlobalStatus_HHD */ -#define bits_AQ_GlobalStatus_HHD_reservedStatus_0 u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedStatus_0 in AQ_GlobalStatus_HHD */ -#define word_AQ_GlobalStatus_HHD_reservedStatus_0 u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure cableLength in AQ_GlobalStatus_HHD */ -#define AQ_GlobalStatus_HHD_cableLength 0 -/*! \brief Preprocessor variable to relate field to bit position in structure cableLength in AQ_GlobalStatus_HHD */ -#define bits_AQ_GlobalStatus_HHD_cableLength u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure cableLength in AQ_GlobalStatus_HHD */ -#define word_AQ_GlobalStatus_HHD_cableLength u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_baseRegisterAddress 0xC885 -/*! \brief MMD address of structure AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure nearlySecondsMSW in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_nearlySecondsMSW 0 -/*! \brief Preprocessor variable to relate field to bit position in structure nearlySecondsMSW in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_nearlySecondsMSW u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure nearlySecondsMSW in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_nearlySecondsMSW u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure xenpakNvrStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_xenpakNvrStatus 0 -/*! \brief Preprocessor variable to relate field to bit position in structure xenpakNvrStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_xenpakNvrStatus u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure xenpakNvrStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_xenpakNvrStatus u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure firmwareBuildID in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_firmwareBuildID 0 -/*! \brief Preprocessor variable to relate field to bit position in structure firmwareBuildID in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_firmwareBuildID u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure firmwareBuildID in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_firmwareBuildID u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure provisioningID in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_provisioningID 0 -/*! \brief Preprocessor variable to relate field to bit position in structure provisioningID in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_provisioningID u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure provisioningID in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_provisioningID u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure nearlySecondsLSW in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_nearlySecondsLSW 1 -/*! \brief Preprocessor variable to relate field to bit position in structure nearlySecondsLSW in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_nearlySecondsLSW u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure nearlySecondsLSW in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_nearlySecondsLSW u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure dteStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_dteStatus 2 -/*! \brief Preprocessor variable to relate field to bit position in structure dteStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_dteStatus u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure dteStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_dteStatus u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure powerUpStallStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_powerUpStallStatus 2 -/*! \brief Preprocessor variable to relate field to bit position in structure powerUpStallStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_powerUpStallStatus u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure powerUpStallStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_powerUpStallStatus u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure reservedStatus_3 in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_reservedStatus_3 2 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedStatus_3 in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_reservedStatus_3 u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure reservedStatus_3 in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_reservedStatus_3 u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure loopbackStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_loopbackStatus 3 -/*! \brief Preprocessor variable to relate field to bit position in structure loopbackStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_loopbackStatus u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure loopbackStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_loopbackStatus u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reservedStatus_4 in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_reservedStatus_4 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedStatus_4 in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_reservedStatus_4 u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reservedStatus_4 in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_reservedStatus_4 u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure mdiPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_mdiPacketGenerationStatus 3 -/*! \brief Preprocessor variable to relate field to bit position in structure mdiPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_mdiPacketGenerationStatus u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure mdiPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_mdiPacketGenerationStatus u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure look_asidePortPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_look_asidePortPacketGenerationStatus 3 -/*! \brief Preprocessor variable to relate field to bit position in structure look_asidePortPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_look_asidePortPacketGenerationStatus u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure look_asidePortPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_look_asidePortPacketGenerationStatus u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure systemI_fPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_systemI_fPacketGenerationStatus 3 -/*! \brief Preprocessor variable to relate field to bit position in structure systemI_fPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_systemI_fPacketGenerationStatus u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure systemI_fPacketGenerationStatus in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_systemI_fPacketGenerationStatus u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure reservedStatus_4a in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_reservedStatus_4a 3 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedStatus_4a in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_reservedStatus_4a u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure reservedStatus_4a in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_reservedStatus_4a u3.word_3 -/*! \brief Preprocessor variable to relate field to word number in structure rate in AQ_GlobalReservedStatus_HHD */ -#define AQ_GlobalReservedStatus_HHD_rate 3 -/*! \brief Preprocessor variable to relate field to bit position in structure rate in AQ_GlobalReservedStatus_HHD */ -#define bits_AQ_GlobalReservedStatus_HHD_rate u3.bits_3 -/*! \brief Preprocessor variable to relate field to word position in structure rate in AQ_GlobalReservedStatus_HHD */ -#define word_AQ_GlobalReservedStatus_HHD_rate u3.word_3 - -/*! \brief Base register address of structure AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_baseRegisterAddress 0xCC00 -/*! \brief MMD address of structure AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureFailure in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_highTemperatureFailure 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureFailure in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_highTemperatureFailure u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureFailure in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_highTemperatureFailure u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureFailure in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_lowTemperatureFailure 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureFailure in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_lowTemperatureFailure u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureFailure in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_lowTemperatureFailure u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureWarning in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_highTemperatureWarning 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureWarning in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_highTemperatureWarning u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureWarning in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_highTemperatureWarning u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureWarning in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_lowTemperatureWarning 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureWarning in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_lowTemperatureWarning u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureWarning in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_lowTemperatureWarning u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetCompleted in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_resetCompleted 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetCompleted in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_resetCompleted u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetCompleted in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_resetCompleted u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure deviceFault in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_deviceFault 0 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceFault in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_deviceFault u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure deviceFault in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_deviceFault u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmA in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_reservedAlarmA 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmA in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_reservedAlarmA u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmA in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_reservedAlarmA u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmB in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_reservedAlarmB 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmB in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_reservedAlarmB u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmB in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_reservedAlarmB u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmC in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_reservedAlarmC 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmC in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_reservedAlarmC u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmC in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_reservedAlarmC u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmD in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_reservedAlarmD 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmD in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_reservedAlarmD u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmD in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_reservedAlarmD u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downEntered in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_smartPower_downEntered 1 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downEntered in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_smartPower_downEntered u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downEntered in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_smartPower_downEntered u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure xenpakAlarm in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_xenpakAlarm 1 -/*! \brief Preprocessor variable to relate field to bit position in structure xenpakAlarm in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_xenpakAlarm u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure xenpakAlarm in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_xenpakAlarm u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure ipPhoneDetect in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_ipPhoneDetect 1 -/*! \brief Preprocessor variable to relate field to bit position in structure ipPhoneDetect in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_ipPhoneDetect u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure ipPhoneDetect in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_ipPhoneDetect u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure dteStatusChange in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_dteStatusChange 1 -/*! \brief Preprocessor variable to relate field to bit position in structure dteStatusChange in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_dteStatusChange u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure dteStatusChange in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_dteStatusChange u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarms in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_reservedAlarms 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarms in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_reservedAlarms u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarms in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_reservedAlarms u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioCommandHandlingOverflow in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_mdioCommandHandlingOverflow 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioCommandHandlingOverflow in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_mdioCommandHandlingOverflow u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioCommandHandlingOverflow in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_mdioCommandHandlingOverflow u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrOperationComplete in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_nvrOperationComplete 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrOperationComplete in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_nvrOperationComplete u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrOperationComplete in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_nvrOperationComplete u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mailboxOperation_Complete in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_mailboxOperation_Complete 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mailboxOperation_Complete in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_mailboxOperation_Complete u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mailboxOperation_Complete in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_mailboxOperation_Complete u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upDramParityError in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_upDramParityError 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upDramParityError in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_upDramParityError u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upDramParityError in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_upDramParityError u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upIramParityError in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_upIramParityError 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upIramParityError in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_upIramParityError u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upIramParityError in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_upIramParityError u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure txEnableStateChange in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_txEnableStateChange 2 -/*! \brief Preprocessor variable to relate field to bit position in structure txEnableStateChange in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_txEnableStateChange u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure txEnableStateChange in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_txEnableStateChange u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioMMD_Error in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_mdioMMD_Error 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioMMD_Error in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_mdioMMD_Error u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioMMD_Error in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_mdioMMD_Error u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioTimeoutError in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_mdioTimeoutError 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioTimeoutError in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_mdioTimeoutError u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioTimeoutError in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_mdioTimeoutError u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure watchdogTimerAlarm in AQ_GlobalAlarms_HHD */ -#define AQ_GlobalAlarms_HHD_watchdogTimerAlarm 2 -/*! \brief Preprocessor variable to relate field to bit position in structure watchdogTimerAlarm in AQ_GlobalAlarms_HHD */ -#define bits_AQ_GlobalAlarms_HHD_watchdogTimerAlarm u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure watchdogTimerAlarm in AQ_GlobalAlarms_HHD */ -#define word_AQ_GlobalAlarms_HHD_watchdogTimerAlarm u2.word_2 - -/*! \brief Base register address of structure AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_baseRegisterAddress 0xD400 -/*! \brief MMD address of structure AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureFailureMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_highTemperatureFailureMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureFailureMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_highTemperatureFailureMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureFailureMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_highTemperatureFailureMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureFailureMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_lowTemperatureFailureMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureFailureMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_lowTemperatureFailureMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureFailureMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_lowTemperatureFailureMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure highTemperatureWarningMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_highTemperatureWarningMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure highTemperatureWarningMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_highTemperatureWarningMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure highTemperatureWarningMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_highTemperatureWarningMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure lowTemperatureWarningMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_lowTemperatureWarningMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure lowTemperatureWarningMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_lowTemperatureWarningMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure lowTemperatureWarningMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_lowTemperatureWarningMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure resetCompletedMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_resetCompletedMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure resetCompletedMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_resetCompletedMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure resetCompletedMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_resetCompletedMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure deviceFaultMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_deviceFaultMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure deviceFaultMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_deviceFaultMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure deviceFaultMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_deviceFaultMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmAMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_reservedAlarmAMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmAMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_reservedAlarmAMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmAMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_reservedAlarmAMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmBMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_reservedAlarmBMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmBMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_reservedAlarmBMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmBMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_reservedAlarmBMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmCMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_reservedAlarmCMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmCMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_reservedAlarmCMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmCMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_reservedAlarmCMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmDMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_reservedAlarmDMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmDMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_reservedAlarmDMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmDMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_reservedAlarmDMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure smartPower_downEnteredMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_smartPower_downEnteredMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure smartPower_downEnteredMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_smartPower_downEnteredMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure smartPower_downEnteredMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_smartPower_downEnteredMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure xenpakAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_xenpakAlarmMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure xenpakAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_xenpakAlarmMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure xenpakAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_xenpakAlarmMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure ipPhoneDetectMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_ipPhoneDetectMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure ipPhoneDetectMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_ipPhoneDetectMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure ipPhoneDetectMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_ipPhoneDetectMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure dteStatusChangeMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_dteStatusChangeMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure dteStatusChangeMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_dteStatusChangeMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure dteStatusChangeMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_dteStatusChangeMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure reservedAlarmsMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_reservedAlarmsMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure reservedAlarmsMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_reservedAlarmsMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure reservedAlarmsMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_reservedAlarmsMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure mdioCommandHandlingOverflowMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_mdioCommandHandlingOverflowMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioCommandHandlingOverflowMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_mdioCommandHandlingOverflowMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure mdioCommandHandlingOverflowMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_mdioCommandHandlingOverflowMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure diagnosticAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_diagnosticAlarmMask 1 -/*! \brief Preprocessor variable to relate field to bit position in structure diagnosticAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_diagnosticAlarmMask u1.bits_1 -/*! \brief Preprocessor variable to relate field to word position in structure diagnosticAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_diagnosticAlarmMask u1.word_1 -/*! \brief Preprocessor variable to relate field to word number in structure nvrOperationCompleteMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_nvrOperationCompleteMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure nvrOperationCompleteMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_nvrOperationCompleteMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure nvrOperationCompleteMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_nvrOperationCompleteMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mailboxOperationCompleteMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_mailboxOperationCompleteMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mailboxOperationCompleteMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_mailboxOperationCompleteMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mailboxOperationCompleteMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_mailboxOperationCompleteMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upDramParityErrorMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_upDramParityErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upDramParityErrorMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_upDramParityErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upDramParityErrorMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_upDramParityErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure upIramParityErrorMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_upIramParityErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure upIramParityErrorMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_upIramParityErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure upIramParityErrorMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_upIramParityErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure txEnableStateChangeMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_txEnableStateChangeMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure txEnableStateChangeMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_txEnableStateChangeMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure txEnableStateChangeMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_txEnableStateChangeMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioMMD_ErrorMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_mdioMMD_ErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioMMD_ErrorMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_mdioMMD_ErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioMMD_ErrorMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_mdioMMD_ErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure mdioTimeoutErrorMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_mdioTimeoutErrorMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure mdioTimeoutErrorMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_mdioTimeoutErrorMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure mdioTimeoutErrorMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_mdioTimeoutErrorMask u2.word_2 -/*! \brief Preprocessor variable to relate field to word number in structure watchdogTimerAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define AQ_GlobalInterruptMask_HHD_watchdogTimerAlarmMask 2 -/*! \brief Preprocessor variable to relate field to bit position in structure watchdogTimerAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define bits_AQ_GlobalInterruptMask_HHD_watchdogTimerAlarmMask u2.bits_2 -/*! \brief Preprocessor variable to relate field to word position in structure watchdogTimerAlarmMask in AQ_GlobalInterruptMask_HHD */ -#define word_AQ_GlobalInterruptMask_HHD_watchdogTimerAlarmMask u2.word_2 - -/*! \brief Base register address of structure AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_baseRegisterAddress 0xFC00 -/*! \brief MMD address of structure AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_pmaStandardAlarm_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pmaStandardAlarm_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pmaStandardAlarm_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_pmaStandardAlarm_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pmaStandardAlarm_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pmaStandardAlarm_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_3Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_3Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_3Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_3Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_3Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_pcsStandardAlarm_3Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_phyXS_StandardAlarms_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_phyXS_StandardAlarms_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_phyXS_StandardAlarms_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_phyXS_StandardAlarms_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_phyXS_StandardAlarms_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_phyXS_StandardAlarms_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_autonegotiationStandardAlarms_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_autonegotiationStandardAlarms_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_1Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_autonegotiationStandardAlarms_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_autonegotiationStandardAlarms_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_autonegotiationStandardAlarms_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_2Interrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_autonegotiationStandardAlarms_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeStandardAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_gbeStandardAlarmsInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeStandardAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_gbeStandardAlarmsInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeStandardAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_gbeStandardAlarmsInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure allVendorAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define AQ_GlobalChip_wideStandardInterruptFlags_HHD_allVendorAlarmsInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure allVendorAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideStandardInterruptFlags_HHD_allVendorAlarmsInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure allVendorAlarmsInterrupt in AQ_GlobalChip_wideStandardInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideStandardInterruptFlags_HHD_allVendorAlarmsInterrupt u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_baseRegisterAddress 0xFC01 -/*! \brief MMD address of structure AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_pmaVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_pmaVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_pmaVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_pcsVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_pcsVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_pcsVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_VendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_phyXS_VendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_VendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_phyXS_VendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_VendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_phyXS_VendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_autonegotiationVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_autonegotiationVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_autonegotiationVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_gbeVendorAlarmInterrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_gbeVendorAlarmInterrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeVendorAlarmInterrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_gbeVendorAlarmInterrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_1Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_1Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_1Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_1Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_1Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_1Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_2Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_2Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_2Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_2Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_2Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_2Interrupt u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_3Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_3Interrupt 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_3Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define bits_AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_3Interrupt u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_3Interrupt in AQ_GlobalChip_wideVendorInterruptFlags_HHD */ -#define word_AQ_GlobalChip_wideVendorInterruptFlags_HHD_globalAlarms_3Interrupt u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_baseRegisterAddress 0xFF00 -/*! \brief MMD address of structure AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_pmaStandardAlarm_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_pmaStandardAlarm_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_pmaStandardAlarm_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pmaStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_pmaStandardAlarm_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_pmaStandardAlarm_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_pmaStandardAlarm_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsStandardAlarm_3InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_3InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsStandardAlarm_3InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_3InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsStandardAlarm_3InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_pcsStandardAlarm_3InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_phyXS_StandardAlarms_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_phyXS_StandardAlarms_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_phyXS_StandardAlarms_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_StandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_phyXS_StandardAlarms_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_StandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_phyXS_StandardAlarms_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_StandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_phyXS_StandardAlarms_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_autonegotiationStandardAlarms_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_autonegotiationStandardAlarms_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_autonegotiationStandardAlarms_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationStandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_autonegotiationStandardAlarms_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationStandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_autonegotiationStandardAlarms_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationStandardAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_autonegotiationStandardAlarms_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeStandardAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_gbeStandardAlarmsInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeStandardAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_gbeStandardAlarmsInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeStandardAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_gbeStandardAlarmsInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure allVendorAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define AQ_GlobalInterruptChip_wideStandardMask_HHD_allVendorAlarmsInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure allVendorAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideStandardMask_HHD_allVendorAlarmsInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure allVendorAlarmsInterruptMask in AQ_GlobalInterruptChip_wideStandardMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideStandardMask_HHD_allVendorAlarmsInterruptMask u0.word_0 - -/*! \brief Base register address of structure AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_baseRegisterAddress 0xFF01 -/*! \brief MMD address of structure AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_mmdAddress 0x1E -/*! \brief Preprocessor variable to relate field to word number in structure pmaVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_pmaVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pmaVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_pmaVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pmaVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_pmaVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure pcsVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_pcsVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure pcsVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_pcsVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure pcsVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_pcsVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure phyXS_VendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_phyXS_VendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure phyXS_VendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_phyXS_VendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure phyXS_VendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_phyXS_VendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure autonegotiationVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_autonegotiationVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure autonegotiationVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_autonegotiationVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure autonegotiationVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_autonegotiationVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure gbeVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_gbeVendorAlarmInterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure gbeVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_gbeVendorAlarmInterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure gbeVendorAlarmInterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_gbeVendorAlarmInterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_1InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_1InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_1InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_1InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_2InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_2InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_2InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_2InterruptMask u0.word_0 -/*! \brief Preprocessor variable to relate field to word number in structure globalAlarms_3InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_3InterruptMask 0 -/*! \brief Preprocessor variable to relate field to bit position in structure globalAlarms_3InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define bits_AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_3InterruptMask u0.bits_0 -/*! \brief Preprocessor variable to relate field to word position in structure globalAlarms_3InterruptMask in AQ_GlobalInterruptChip_wideVendorMask_HHD */ -#define word_AQ_GlobalInterruptChip_wideVendorMask_HHD_globalAlarms_3InterruptMask u0.word_0 -#endif -/*@}*/ -/*@}*/ diff --git a/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_reversed.h b/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_reversed.h deleted file mode 100644 index f6fe99831..000000000 --- a/qca/aq-fw-download/src/include/registerMap/HHD/AQ_HHD_Global_registers_reversed.h +++ /dev/null @@ -1,12123 +0,0 @@ -/*! \file -* This file contains the data structures and doxygen comments -* for the Global Registers block. - */ - -/*! \addtogroup registerMap - @{ -*/ - -/*! \defgroup Global_registers Global Registers -* This module contains the data structures and doxygen comments -* for the Global Registers block. - */ -/*********************************************************************** -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $Date: 2014/04/08 $ -* -* $Label: $ -* -* Description: -* -* This file contains the c header structures for the registers contained in the Global Registers block. -* -* The bit fields in this structure are from MSbit to LSbit -* -***********************************************************************/ - - -/*@{*/ -#ifndef AQ_HHD_GLOBAL_REGS_HEADER -#define AQ_HHD_GLOBAL_REGS_HEADER - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Control 1: 1E.0000 */ -/* Global Standard Control 1: 1E.0000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Control 1 */ - union - { - struct - { - /*! \brief 1E.0000.F R/WSC Soft Reset - AQ_GlobalStandardControl_1_HHD.u0.bits_0.softReset - - Default = 0x1 - - 1 = Global soft reset - 0 = Normal operation - - - Notes: - Resets the entire PHY. - Setting this bit initiates a global soft reset on all of the digital logic not including the microprocessor (i.e. microprocessor is not reset). Upon completion of the reset sequence, this bit is set back to 0by the microprocessor. Note this bit is OR'ed with the individual MMD resets. This bit should be set to 0 before setting the individual MMD resets. */ - unsigned int softReset : 1; /* 1E.0000.F R/WSC Default = 0x1 */ - /* 1 = Global soft reset - 0 = Normal operation - */ - unsigned int reserved0 : 3; - /*! \brief 1E.0000.B R/WPD Low Power - AQ_GlobalStandardControl_1_HHD.u0.bits_0.lowPower - - Provisionable Default = 0x0 - - 1 = Low-power mode - 0 = Normal operation - - - Notes: - A one written to this register causes the chip to enter low-power mode. This bit puts the entire chip in low-power mode, with only the MDIO and microprocessor functioning, and turns off the analog front-end: i.e. places it in high-impedance mode. Setting this bit also sets all of the Low Power bits in the other MMDs. */ - unsigned int lowPower : 1; /* 1E.0000.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Low-power mode - 0 = Normal operation - */ - unsigned int reserved1 : 11; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardControl_1_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Device Identifier: 1E.0002 */ -/* Global Standard Device Identifier: 1E.0002 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0002.F:0 RO Device ID MSW [1F:10] - AQ_GlobalStandardDeviceIdentifier_HHD.u0.bits_0.deviceIdMSW - - - - Bits 31 - 16 of Device ID - */ - unsigned int deviceIdMSW : 16; /* 1E.0002.F:0 RO */ - /* Bits 31 - 16 of Device ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Device Identifier */ - union - { - struct - { - /*! \brief 1E.0003.F:0 RO Device ID LSW [F:0] - AQ_GlobalStandardDeviceIdentifier_HHD.u1.bits_1.deviceIdLSW - - - - Bits 15 - 0 of Device ID - */ - unsigned int deviceIdLSW : 16; /* 1E.0003.F:0 RO */ - /* Bits 15 - 0 of Device ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardDeviceIdentifier_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Devices in Package: 1E.0005 */ -/* Global Standard Devices in Package: 1E.0005 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Devices in Package */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.0005.7 ROS Autonegotiation Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.autonegotiationPresent - - Default = 0x1 - - 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package - - Notes: - This is always set to 1, as there is Autonegotiation in the PHY. */ - unsigned int autonegotiationPresent : 1; /* 1E.0005.7 ROS Default = 0x1 */ - /* 1 = Autonegotiation is present in package - 0 = Autonegotiation is not present in package */ - /*! \brief 1E.0005.6 ROS TC Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.tcPresent - - Default = 0x0 - - 1 = TC is present in package - 0 = TC is not present in package - - Notes: - This is always set to 0, as there is no TC functionality in the PHY. */ - unsigned int tcPresent : 1; /* 1E.0005.6 ROS Default = 0x0 */ - /* 1 = TC is present in package - 0 = TC is not present in package */ - /*! \brief 1E.0005.5 ROS DTE XS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.dteXsPresent - - Default = 0x0 - - 1 = DTE XS is present in package - 0 = DTE XS is not present in package - - - Notes: - This is always set to 0, as there is no DTE XAUI interface in the PHY. */ - unsigned int dteXsPresent : 1; /* 1E.0005.5 ROS Default = 0x0 */ - /* 1 = DTE XS is present in package - 0 = DTE XS is not present in package - */ - /*! \brief 1E.0005.4 ROS PHY XS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.phyXS_Present - - Default = 0x1 - - 1 = PHY XS is present in package - 0 = PHY XS is not present in package - - Notes: - This is always set to 1 as there is a PHY XS interface in the PHY. */ - unsigned int phyXS_Present : 1; /* 1E.0005.4 ROS Default = 0x1 */ - /* 1 = PHY XS is present in package - 0 = PHY XS is not present in package */ - /*! \brief 1E.0005.3 ROS PCS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.pcsPresent - - Default = 0x1 - - 1 = PCS is present in package - 0 = PCS is not present in package - - Notes: - This is always set to 1 as there is PCS functionality in the PHY. */ - unsigned int pcsPresent : 1; /* 1E.0005.3 ROS Default = 0x1 */ - /* 1 = PCS is present in package - 0 = PCS is not present in package */ - /*! \brief 1E.0005.2 ROS WIS Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.wisPresent - - Default = 0x0 - - 1 = WIS is present in package - 0 = WIS is not present in package - - Notes: - This is always set to 0, as there is no WIS functionality in the PHY. */ - unsigned int wisPresent : 1; /* 1E.0005.2 ROS Default = 0x0 */ - /* 1 = WIS is present in package - 0 = WIS is not present in package */ - /*! \brief 1E.0005.1 ROS PMA Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.pmaPresent - - Default = 0x1 - - 1 = PMA is present in package - 0 = PMA is not present - - Notes: - This is always set to 1 as there is PMA functionality in the PHY. */ - unsigned int pmaPresent : 1; /* 1E.0005.1 ROS Default = 0x1 */ - /* 1 = PMA is present in package - 0 = PMA is not present */ - /*! \brief 1E.0005.0 ROS Clause 22 Registers Present - AQ_GlobalStandardDevicesInPackage_HHD.u0.bits_0.clause_22RegistersPresent - - Default = 0x0 - - 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package - - Notes: - This is always set to 0 in the PHY, as there are no Clause 22 registers in the device. */ - unsigned int clause_22RegistersPresent : 1; /* 1E.0005.0 ROS Default = 0x0 */ - /* 1 = Clause 22 registers are present in package - 0 = Clause 22 registers are not present in package */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardDevicesInPackage_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Vendor Devices in Package: 1E.0006 */ -/* Global Standard Vendor Devices in Package: 1E.0006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Vendor Devices in Package */ - union - { - struct - { - /*! \brief 1E.0006.F ROS Vendor Specific Device #2 Present - AQ_GlobalStandardVendorDevicesInPackage_HHD.u0.bits_0.vendorSpecificDevice_2Present - - Default = 0x1 - - 1 = Device #2 is present in package - 0 = Device #2 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the DSP PMA registers. */ - unsigned int vendorSpecificDevice_2Present : 1; /* 1E.0006.F ROS Default = 0x1 */ - /* 1 = Device #2 is present in package - 0 = Device #2 is not present in package */ - /*! \brief 1E.0006.E ROS Vendor Specific Device #1 Present - AQ_GlobalStandardVendorDevicesInPackage_HHD.u0.bits_0.vendorSpecificDevice_1Present - - Default = 0x1 - - 1 = Device #1 is present in package - 0 = Device #1 is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the global control registers. */ - unsigned int vendorSpecificDevice_1Present : 1; /* 1E.0006.E ROS Default = 0x1 */ - /* 1 = Device #1 is present in package - 0 = Device #1 is not present in package */ - /*! \brief 1E.0006.D ROS Clause 22 Extension Present - AQ_GlobalStandardVendorDevicesInPackage_HHD.u0.bits_0.clause_22ExtensionPresent - - Default = 0x1 - - 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package - - Notes: - This is always set to 1 as the PHY utilizes this device for the GbE registers. */ - unsigned int clause_22ExtensionPresent : 1; /* 1E.0006.D ROS Default = 0x1 */ - /* 1 = Clause 22 Extension is present in package - 0 = Clause 22 Extension is not present in package */ - unsigned int reserved0 : 13; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardVendorDevicesInPackage_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Status 2: 1E.0008 */ -/* Global Standard Status 2: 1E.0008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Status 2 */ - union - { - struct - { - /*! \brief 1E.0008.F:E ROS Device Present [1:0] - AQ_GlobalStandardStatus_2_HHD.u0.bits_0.devicePresent - - Default = 0x2 - - [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address - - Notes: - This field is always set to 0x2, as the Global MMD resides here in the PHY. */ - unsigned int devicePresent : 2; /* 1E.0008.F:E ROS Default = 0x2 */ - /* [F:E] - 0x3 = No device at this address - 0x2 = Device present at this address - 0x1 = No device at this address - 0x0 = No device at this address */ - unsigned int reserved0 : 14; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStandardStatus_2_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Standard Package Identifier: 1E.000E */ -/* Global Standard Package Identifier: 1E.000E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000E.F:0 RO Package ID MSW [1F:10] - AQ_GlobalStandardPackageIdentifier_HHD.u0.bits_0.packageIdMSW - - - - Bits 31- 16 of Package ID - */ - unsigned int packageIdMSW : 16; /* 1E.000E.F:0 RO */ - /* Bits 31- 16 of Package ID */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Standard Package Identifier */ - union - { - struct - { - /*! \brief 1E.000F.F:0 RO Package ID LSW [F:0] - AQ_GlobalStandardPackageIdentifier_HHD.u1.bits_1.packageIdLSW - - - - Bits 15 - 0 of Package ID - */ - unsigned int packageIdLSW : 16; /* 1E.000F.F:0 RO */ - /* Bits 15 - 0 of Package ID */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalStandardPackageIdentifier_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Firmware ID: 1E.0020 */ -/* Global Firmware ID: 1E.0020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Firmware ID */ - union - { - struct - { - /*! \brief 1E.0020.F:8 RO Firmware Major Revision Number [7:0] - AQ_GlobalFirmwareID_HHD.u0.bits_0.firmwareMajorRevisionNumber - - - - [F:8] = Major revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMajorRevisionNumber : 8; /* 1E.0020.F:8 RO */ - /* [F:8] = Major revision number */ - /*! \brief 1E.0020.7:0 RO Firmware Minor Revision Number [7:0] - AQ_GlobalFirmwareID_HHD.u0.bits_0.firmwareMinorRevisionNumber - - - - [7:0] = Minor revision number - - Notes: - - - The lower six bits of major and minor firmware revision are exchanged in autonegotiation when the PHYID message is sent. */ - unsigned int firmwareMinorRevisionNumber : 8; /* 1E.0020.7:0 RO */ - /* [7:0] = Minor revision number */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFirmwareID_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Interface: 1E.0100 */ -/* Global NVR Interface: 1E.0100 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0100.F R/WSC NVR Execute Operation - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrExecuteOperation - - Default = 0x0 - - 1 = Start NVR Operation - - - - Notes: - When set to 1, the NVR operation will begin. Ensure that the uP is stalled using the See MCP Run Stall bit to ensure no NVR contention. */ - unsigned int nvrExecuteOperation : 1; /* 1E.0100.F R/WSC Default = 0x0 */ - /* 1 = Start NVR Operation - - */ - /*! \brief 1E.0100.E R/W NVR Write Mode - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrWriteMode - - Default = 0x0 - - 1 = Write to NVR - 0 = Read from NVR - - */ - unsigned int nvrWriteMode : 1; /* 1E.0100.E R/W Default = 0x0 */ - /* 1 = Write to NVR - 0 = Read from NVR - */ - /*! \brief 1E.0100.D R/W Freeze NVR CRC - AQ_GlobalNvrInterface_HHD.u0.bits_0.freezeNvrCrc - - Default = 0x0 - - 1 = Freeze NVR Mailbox CRC calculation register - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int freezeNvrCrc : 1; /* 1E.0100.D R/W Default = 0x0 */ - /* 1 = Freeze NVR Mailbox CRC calculation register - */ - /*! \brief 1E.0100.C R/WSC Reset NVR CRC - AQ_GlobalNvrInterface_HHD.u0.bits_0.resetNvrCrc - - Default = 0x0 - - 1 = Reset NVR Mailbox CRC calculation register - - - - Notes: - To prevent an erroneous answer, this bit should not be set at the same time the See NVR Operation Valid bit is set. */ - unsigned int resetNvrCrc : 1; /* 1E.0100.C R/WSC Default = 0x0 */ - /* 1 = Reset NVR Mailbox CRC calculation register - - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0100.A R/W NVR Burst - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrBurst - - Default = 0x0 - - 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - - - Notes: - When this bit is set, the operation is a burst operation where more than 32-bits is read from the NVR or written to the NVR. This bit should be set to one until the last burst in the read or write operation, when it should be set to zero. It operates by gating the SPI clock, and not restarting it until new data is ready to be written, or the previous contents have been read. Each burst of data requires the NVR Execute Operation bit to be set to initiate the next phase. */ - unsigned int nvrBurst : 1; /* 1E.0100.A R/W Default = 0x0 */ - /* 0 = Single read or write operation of up to 4 bytes - 1 = Burst operation - */ - unsigned int reserved1 : 1; - /*! \brief 1E.0100.8 RO NVR Busy - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrBusy - - - - 1 = NVR is busy - 0 = NVR is ready - - - Notes: - When set to 1, the NVR is busy. A new NVR operation should not occur until this bit is 0. If the NVR clock is greater than 64/63 of the MDIO clock, this bit never needs to be polled when operating over the MDIO. */ - unsigned int nvrBusy : 1; /* 1E.0100.8 RO */ - /* 1 = NVR is busy - 0 = NVR is ready - */ - /*! \brief 1E.0100.7:0 R/W NVR Opcode [7:0] - AQ_GlobalNvrInterface_HHD.u0.bits_0.nvrOpcode - - Default = 0x03 - - NVR instruction opcode - - */ - unsigned int nvrOpcode : 8; /* 1E.0100.7:0 R/W Default = 0x03 */ - /* NVR instruction opcode - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0101.F:0 RO NVR Mailbox CRC [F:0] - AQ_GlobalNvrInterface_HHD.u1.bits_1.nvrMailboxCrc - - - - The running CRC-16 of everything passing through the NVR interface - - - Notes: - The CRC-16 over all data written or read through the NVR interface. The CRC-16 is calculated by dividing the data by: - x^16 + x^12 + x^5 + 1 */ - unsigned int nvrMailboxCrc : 16; /* 1E.0101.F:0 RO */ - /* The running CRC-16 of everything passing through the NVR interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Interface */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.0102.7:0 R/W NVR Address MSW [17:10] - AQ_GlobalNvrInterface_HHD.u2.bits_2.nvrAddressMSW - - Default = 0x00 - - NVR address MSW bits [17:10] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. The increment amount is based on the data length (i.e. increments by 4 if the data length is 4 bytes) */ - unsigned int nvrAddressMSW : 8; /* 1E.0102.7:0 R/W Default = 0x00 */ - /* NVR address MSW bits [17:10] - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0103.F:0 R/W NVR Address LSW [F:0] - AQ_GlobalNvrInterface_HHD.u3.bits_3.nvrAddressLSW - - Default = 0x0000 - - NVR address LSW bits [F:0] - - - Notes: - The address of where to read and write from in the NVR. This is self-incrementing and will automatically increment after each read or write operation. */ - unsigned int nvrAddressLSW : 16; /* 1E.0103.F:0 R/W Default = 0x0000 */ - /* NVR address LSW bits [F:0] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0104.F:0 R/W NVR Data MSW [1F:10] - AQ_GlobalNvrInterface_HHD.u4.bits_4.nvrDataMSW - - Default = 0x0000 - - NVR data MSW bits [1F:10] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataMSW : 16; /* 1E.0104.F:0 R/W Default = 0x0000 */ - /* NVR data MSW bits [1F:10] - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global NVR Interface */ - union - { - struct - { - /*! \brief 1E.0105.F:0 R/W NVR Data LSW [F:0] - AQ_GlobalNvrInterface_HHD.u5.bits_5.nvrDataLSW - - Default = 0x0000 - - NVR data LSW bits [F:0] - - - Notes: - Data is stored and read-out from these registers in little-endian format for operations such as FLASH device ID, and for programming the processor. - - For instance the 64K Atmel device code reads out as two bytes 0x651F into the LSW register, whereas the datasheet indicates that 1F is the first byte read, followed by 65 as the second byte. - To burst read and write these 4 bytes in the correct order (where DD is written to address x), they should be stored as: - - AA BB in the MSW - CC DD in the LSW. */ - unsigned int nvrDataLSW : 16; /* 1E.0105.F:0 R/W Default = 0x0000 */ - /* NVR data LSW bits [F:0] - */ - } bits_5; - uint16_t word_5; - } u5; -} AQ_GlobalNvrInterface_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Mailbox Interface: 1E.0200 */ -/* Global Mailbox Interface: 1E.0200 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0200.F R/WSC uP Mailbox Execute Operation - AQ_GlobalMailboxInterface_HHD.u0.bits_0.upMailboxExecuteOperation - - Default = 0x0 - - 1 = Start of mailbox Operation - - - - Notes: - Indicates mailbox is loaded and ready */ - unsigned int upMailboxExecuteOperation : 1; /* 1E.0200.F R/WSC Default = 0x0 */ - /* 1 = Start of mailbox Operation - - */ - /*! \brief 1E.0200.E R/W uP Mailbox Write Mode - AQ_GlobalMailboxInterface_HHD.u0.bits_0.upMailboxWriteMode - - Default = 0x0 - - 1 = Write - 0 = Read - - - Notes: - Mailbox direction */ - unsigned int upMailboxWriteMode : 1; /* 1E.0200.E R/W Default = 0x0 */ - /* 1 = Write - 0 = Read - */ - unsigned int reserved0 : 1; - /*! \brief 1E.0200.C R/WSC Reset uP Mailbox CRC - AQ_GlobalMailboxInterface_HHD.u0.bits_0.resetUpMailboxCrc - - Default = 0x0 - - 1 = Reset uP mailbox CRC calculation register - - - */ - unsigned int resetUpMailboxCrc : 1; /* 1E.0200.C R/WSC Default = 0x0 */ - /* 1 = Reset uP mailbox CRC calculation register - - */ - unsigned int reserved1 : 3; - /*! \brief 1E.0200.8 RO uP Mailbox Busy - AQ_GlobalMailboxInterface_HHD.u0.bits_0.upMailboxBusy - - - - 1 = uP mailbox busy - 0 = uP mailbox ready - - - Notes: - In general the uP will respond within a few processor cycles to any PIF slave request, much faster than the MDIO. If the busy is asserted over multiple MDIO polling cycles, then a H/W error may have occurred and a Global S/W reset or uP reset is required. */ - unsigned int upMailboxBusy : 1; /* 1E.0200.8 RO */ - /* 1 = uP mailbox busy - 0 = uP mailbox ready - */ - unsigned int reserved2 : 8; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0201.F:0 RO uP Mailbox CRC [F:0] - AQ_GlobalMailboxInterface_HHD.u1.bits_1.upMailboxCrc - - - - The running CRC-16 of everything passing through the mailbox interface - - */ - unsigned int upMailboxCrc : 16; /* 1E.0201.F:0 RO */ - /* The running CRC-16 of everything passing through the mailbox interface - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0202.F:0 R/W uP Mailbox Address MSW [1F:10] - AQ_GlobalMailboxInterface_HHD.u2.bits_2.upMailboxAddressMSW - - Default = 0x0000 - - uP Mailbox MSW address - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressMSW : 16; /* 1E.0202.F:0 R/W Default = 0x0000 */ - /* uP Mailbox MSW address - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0203.F:2 R/W uP Mailbox Address LSW [F:2] - AQ_GlobalMailboxInterface_HHD.u3.bits_3.upMailboxAddressLSW - - Default = 0x0000 - - uP LSW Mailbox address [F:2] - - - Notes: - The address of where to read and write from in the Microcontroller Mailbox. This is self-incrementing and automatically increments after each read and write operation.PHY */ - unsigned int upMailboxAddressLSW : 14; /* 1E.0203.F:2 R/W Default = 0x0000 */ - /* uP LSW Mailbox address [F:2] - */ - /*! \brief 1E.0203.1:0 RO uP Mailbox Address LSW Don't Care [1:0] - AQ_GlobalMailboxInterface_HHD.u3.bits_3.upMailboxAddressLSW_Don_tCare - - - - Least significant uP LSW Mailbox address bits [1:0] - - - Notes: - These bits are always set to 0 since each memory access is on a 4-byte boundary. */ - unsigned int upMailboxAddressLSW_Don_tCare : 2; /* 1E.0203.1:0 RO */ - /* Least significant uP LSW Mailbox address bits [1:0] - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0204.F:0 R/W uP Mailbox Data MSW [1F:10] - AQ_GlobalMailboxInterface_HHD.u4.bits_4.upMailboxDataMSW - - Default = 0x0000 - - uP Mailbox data MSW - - */ - unsigned int upMailboxDataMSW : 16; /* 1E.0204.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data MSW - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Mailbox Interface */ - union - { - struct - { - /*! \brief 1E.0205.F:0 R/W uP Mailbox Data LSW [F:0] - AQ_GlobalMailboxInterface_HHD.u5.bits_5.upMailboxDataLSW - - Default = 0x0000 - - uP Mailbox data LSW - - */ - unsigned int upMailboxDataLSW : 16; /* 1E.0205.F:0 R/W Default = 0x0000 */ - /* uP Mailbox data LSW - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global Mailbox Interface */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.0206.1 R/W uP Mailbox CRC Read Enable - AQ_GlobalMailboxInterface_HHD.u6.bits_6.upMailboxCrcReadEnable - - Default = 0x0 - - 1 = Update uP mailbox CRC on read - - */ - unsigned int upMailboxCrcReadEnable : 1; /* 1E.0206.1 R/W Default = 0x0 */ - /* 1 = Update uP mailbox CRC on read - */ - unsigned int reserved1 : 1; - } bits_6; - uint16_t word_6; - } u6; -} AQ_GlobalMailboxInterface_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Microprocessor Scratch Pad: 1E.0300 */ -/* Global Microprocessor Scratch Pad: 1E.0300 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0300.F:0 R/W Scratch Pad 1[F:0] - AQ_GlobalMicroprocessorScratchPad_HHD.u0.bits_0.scratchPad_1 - - Default = 0x0000 - - General Purpose Scratch Pad - */ - unsigned int scratchPad_1 : 16; /* 1E.0300.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch Pad */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Microprocessor Scratch Pad */ - union - { - struct - { - /*! \brief 1E.0301.F:0 R/W Scratch Pad 2 [F:0] - AQ_GlobalMicroprocessorScratchPad_HHD.u1.bits_1.scratchPad_2 - - Default = 0x0000 - - General Purpose Scratch Pad - */ - unsigned int scratchPad_2 : 16; /* 1E.0301.F:0 R/W Default = 0x0000 */ - /* General Purpose Scratch Pad */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalMicroprocessorScratchPad_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress Control Register: 1E.5002 */ -/* MSS Egress Control Register: 1E.5002 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress Control Register */ - union - { - struct - { - /*! \brief 1E.5002.F:D R/W MSS Egress Ethertype Explicit SECTag LSB [2:0] - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressEthertypeExplicitSectagLsb - - Default = 0x0 - - Ethertype for explicit SECTag bits 2:0. - - - Notes: - Ethertype for explicity SECTag. */ - unsigned int mssEgressEthertypeExplicitSectagLsb : 3; /* 1E.5002.F:D R/W Default = 0x0 */ - /* Ethertype for explicit SECTag bits 2:0. - */ - /*! \brief 1E.5002.C R/W MSS Egress Clear Global Time - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressClearGlobalTime - - Default = 0x0 - - 1 = Clear global time - - - - Notes: - Clear global time. */ - unsigned int mssEgressClearGlobalTime : 1; /* 1E.5002.C R/W Default = 0x0 */ - /* 1 = Clear global time - - */ - /*! \brief 1E.5002.B R/W MSS Egress Clear Counter - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressClearCounter - - Default = 0x0 - - 1 = Clear all MIB counters - - - - Notes: - If this bit is set to 1, all MIB counters will be cleared. */ - unsigned int mssEgressClearCounter : 1; /* 1E.5002.B R/W Default = 0x0 */ - /* 1 = Clear all MIB counters - - */ - /*! \brief 1E.5002.A R/W MSS Egress High Priority - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressHighPriority - - Default = 0x0 - - 1 = MIB counter clear on read enable - - - - Notes: - If this bit is set to 1, read is given high priority and the MIB count value becomes 0 after read. */ - unsigned int mssEgressHighPriority : 1; /* 1E.5002.A R/W Default = 0x0 */ - /* 1 = MIB counter clear on read enable - - */ - /*! \brief 1E.5002.9 R/W MSS Egress ICV LSB 8 Bytes Enable - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressIcvLsb_8BytesEnable - - Default = 0x0 - - 1 = Use LSB - 0 = Use MSB - - - - Notes: - This bit selects MSB or LSB 8 bytes selection in the case where the ICV is 8 bytes. - 0 = MSB is used. */ - unsigned int mssEgressIcvLsb_8BytesEnable : 1; /* 1E.5002.9 R/W Default = 0x0 */ - /* 1 = Use LSB - 0 = Use MSB - - */ - /*! \brief 1E.5002.8 R/W MSS Egress External Classification Enable - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressExternalClassificationEnable - - Default = 0x0 - - 1 = Drop EGPRC miss packets - - - - Notes: - If set, internal classification is bypassed. Should always be set to 0. */ - unsigned int mssEgressExternalClassificationEnable : 1; /* 1E.5002.8 R/W Default = 0x0 */ - /* 1 = Drop EGPRC miss packets - - */ - /*! \brief 1E.5002.7 R/W MSS Egress Explicit SECTag Report Short Length - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressExplicitSectagReportShortLength - - Default = 0x0 - - Reserved - - - - Notes: - Unused. */ - unsigned int mssEgressExplicitSectagReportShortLength : 1; /* 1E.5002.7 R/W Default = 0x0 */ - /* Reserved - - */ - /*! \brief 1E.5002.6 R/W MSS Egress Drop Invalid SA/SC Packets - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressDropInvalidSa_scPackets - - Default = 0x0 - - 1 = Drop invalid SA/SC packets - - - - Notes: - Enables dropping of invalid SA/SC packets. */ - unsigned int mssEgressDropInvalidSa_scPackets : 1; /* 1E.5002.6 R/W Default = 0x0 */ - /* 1 = Drop invalid SA/SC packets - - */ - /*! \brief 1E.5002.5 R/W MSS Egress Unmatched Use SC 0 - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressUnmatchedUseSc_0 - - Default = 0x0 - - 1 = Use SC 0 for unmatched packets - 0 = Unmatched packets are uncontrolled packets - - - - Notes: - Use SC-Index 0 as default SC for unmatched packets. Otherwise the packets are treated as uncontrolled packets. */ - unsigned int mssEgressUnmatchedUseSc_0 : 1; /* 1E.5002.5 R/W Default = 0x0 */ - /* 1 = Use SC 0 for unmatched packets - 0 = Unmatched packets are uncontrolled packets - - */ - /*! \brief 1E.5002.4 R/W MSS Egresss GCM Test Mode - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgresssGcmTestMode - - Default = 0x0 - - 1 = Enable GCM test mode - - - - Notes: - Enables GCM test mode */ - unsigned int mssEgresssGcmTestMode : 1; /* 1E.5002.4 R/W Default = 0x0 */ - /* 1 = Enable GCM test mode - - */ - /*! \brief 1E.5002.3 R/W MSS Egress GCM Start - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressGcmStart - - Default = 0x0 - - 1 = Start GCM - - - - Notes: - Indicates GCM to start */ - unsigned int mssEgressGcmStart : 1; /* 1E.5002.3 R/W Default = 0x0 */ - /* 1 = Start GCM - - */ - /*! \brief 1E.5002.2 R/W MSS Egress Drop EGPRC LUT Miss - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressDropEgprcLutMiss - - Default = 0x0 - - 1 = Drop Egress Classification LUT miss packets - - - - Notes: - Decides whether Egress Pre-Security Classification (EGPRC) LUT miss packets are to be dropped */ - unsigned int mssEgressDropEgprcLutMiss : 1; /* 1E.5002.2 R/W Default = 0x0 */ - /* 1 = Drop Egress Classification LUT miss packets - - */ - /*! \brief 1E.5002.1 R/W MSS Egress Drop KAY Packet - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressDropKayPacket - - Default = 0x0 - - 1 = Drop KAY packet - - - Notes: - Decides whether KAY packets have to be dropped */ - unsigned int mssEgressDropKayPacket : 1; /* 1E.5002.1 R/W Default = 0x0 */ - /* 1 = Drop KAY packet - */ - /*! \brief 1E.5002.0 R/W MSS Egress Soft Reset - AQ_MssEgressControlRegister_HHD.u0.bits_0.mssEgressSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - S/W reset */ - unsigned int mssEgressSoftReset : 1; /* 1E.5002.0 R/W Default = 0x0 */ - /* 1 = Soft reset - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress Control Register */ - union - { - struct - { - unsigned int reserved0 : 3; - /*! \brief 1E.5003.C:0 R/W MSS Egress Ethertype Explicit SECTag MSB [F:3] - AQ_MssEgressControlRegister_HHD.u1.bits_1.mssEgressEthertypeExplicitSectagMsb - - Default = 0x0000 - - Ethertype for explicit SECTag bits 15:3. - - - Notes: - Ethertype for explicity SECTag. */ - unsigned int mssEgressEthertypeExplicitSectagMsb : 13; /* 1E.5003.C:0 R/W Default = 0x0000 */ - /* Ethertype for explicit SECTag bits 15:3. - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress VLAN TPID 0 Register: 1E.5008 */ -/* MSS Egress VLAN TPID 0 Register: 1E.5008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress VLAN TPID 0 Register */ - union - { - struct - { - /*! \brief 1E.5008.F:0 R/W MSS Egress VLAN STag TPID [F:0] - AQ_MssEgressVlanTpid_0Register_HHD.u0.bits_0.mssEgressVlanStagTpid - - Default = 0x0000 - - STag TPID - - - Notes: - Service Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse STag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssEgressVlanStagTpid : 16; /* 1E.5008.F:0 R/W Default = 0x0000 */ - /* STag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress VLAN TPID 0 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressVlanTpid_0Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress VLAN TPID 1 Register: 1E.500A */ -/* MSS Egress VLAN TPID 1 Register: 1E.500A */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress VLAN TPID 1 Register */ - union - { - struct - { - /*! \brief 1E.500A.F:0 R/W MSS Egress VLAN QTag TPID [F:0] - AQ_MssEgressVlanTpid_1Register_HHD.u0.bits_0.mssEgressVlanQtagTpid - - Default = 0x0000 - - QTag TPID - - - Notes: - Customer Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse QTag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssEgressVlanQtagTpid : 16; /* 1E.500A.F:0 R/W Default = 0x0000 */ - /* QTag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress VLAN TPID 1 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressVlanTpid_1Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress VLAN Control Register: 1E.500C */ -/* MSS Egress VLAN Control Register: 1E.500C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.500C.F:0 R/W MSS Egress VLAN UP Map Table [F:0] - AQ_MssEgressVlanControlRegister_HHD.u0.bits_0.mssEgressVlanUpMapTable - - Default = 0x0000 - - UP Map table bits 15:0 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 - 20:18 : UP value for customer Tag PCP 0x0 - 23:21 : UP value for customer Tag PCP 0x0 */ - unsigned int mssEgressVlanUpMapTable : 16; /* 1E.500C.F:0 R/W Default = 0x0000 */ - /* UP Map table bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.500D.F R/W MSS Egress VLAN QTag Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanQtagParseEnable - - Default = 0x0 - - 1 = Enable VLAN QTag parsing - - - Notes: - Enable controlled port VLAN customer Tag parsing. When this bit is set to 1, the incoming packet's outer TPID will be compared with the configured " See SEC Egress TPID 1 [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssEgressVlanQtagParseEnable : 1; /* 1E.500D.F R/W Default = 0x0 */ - /* 1 = Enable VLAN QTag parsing - */ - /*! \brief 1E.500D.E R/W MSS Egress VLAN STag Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanStagParseEnable - - Default = 0x0 - - 1 = Enable VLAN STag parsing - - - Notes: - Enable controlled port VLAN service Tag parsing. When this bit is set to 1, the incoming packets outer TPID will be compared with the configured " See SEC Egress TPID 0 [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssEgressVlanStagParseEnable : 1; /* 1E.500D.E R/W Default = 0x0 */ - /* 1 = Enable VLAN STag parsing - */ - /*! \brief 1E.500D.D R/W MSS Egress VLAN QinQ Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanQinqParseEnable - - Default = 0x0 - - VLAN CP Tag Parse QinQ - - - Notes: - Enable controlled port VLAN QinQ Tag parsing. When this bit is set to 1 both the outer and inner VLAN Tags will be parsed. */ - unsigned int mssEgressVlanQinqParseEnable : 1; /* 1E.500D.D R/W Default = 0x0 */ - /* VLAN CP Tag Parse QinQ - */ - /*! \brief 1E.500D.C R/W MSS Egress VLAN QTag UP Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanQtagUpParseEnable - - Default = 0x0 - - VLAN CP Tag QTag UP enable - - - Notes: - Enable controlled port customer VLAN customer Tag user priority field parsing. */ - unsigned int mssEgressVlanQtagUpParseEnable : 1; /* 1E.500D.C R/W Default = 0x0 */ - /* VLAN CP Tag QTag UP enable - */ - /*! \brief 1E.500D.B R/W MSS Egress VLAN STag UP Parse Enable - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanStagUpParseEnable - - Default = 0x0 - - VLAN CP Tag STag UP enable - - - Notes: - Enable controlled port service VLAN service Tag user priority field parsing. */ - unsigned int mssEgressVlanStagUpParseEnable : 1; /* 1E.500D.B R/W Default = 0x0 */ - /* VLAN CP Tag STag UP enable - */ - /*! \brief 1E.500D.A:8 R/W MSS Egress VLAN UP Default [2:0] - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanUpDefault - - Default = 0x0 - - UP default - - - Notes: - User priority default */ - unsigned int mssEgressVlanUpDefault : 3; /* 1E.500D.A:8 R/W Default = 0x0 */ - /* UP default - */ - /*! \brief 1E.500D.7:0 R/W MSS Egress VLAN UP Map Table MSW [17:10] - AQ_MssEgressVlanControlRegister_HHD.u1.bits_1.mssEgressVlanUpMapTableMSW - - Default = 0x00 - - UP Map table bits 23:16 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 - 20:18 : UP value for customer Tag PCP 0x0 - 23:21 : UP value for customer Tag PCP 0x0 */ - unsigned int mssEgressVlanUpMapTableMSW : 8; /* 1E.500D.7:0 R/W Default = 0x00 */ - /* UP Map table bits 23:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressVlanControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress PN Control Register: 1E.500E */ -/* MSS Egress PN Control Register: 1E.500E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress PN Control Register */ - union - { - struct - { - /*! \brief 1E.500E.F:0 R/W MSS Egress SA PN Threshold LSW [F:0] - AQ_MssEgressPnControlRegister_HHD.u0.bits_0.mssEgressSaPnThresholdLSW - - Default = 0x0000 - - PN threshold bits 15:0 - - - Notes: - Egress PN threshold to generate SA threshold interrupt. */ - unsigned int mssEgressSaPnThresholdLSW : 16; /* 1E.500E.F:0 R/W Default = 0x0000 */ - /* PN threshold bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress PN Control Register */ - union - { - struct - { - /*! \brief 1E.500F.F:0 R/W MSS Egress SA PN Threshold MSW [1F:10] - AQ_MssEgressPnControlRegister_HHD.u1.bits_1.mssEgressSaPnThresholdMSW - - Default = 0x0000 - - PN threshold bits 31:16 - - - Notes: - Egress PN threshold to generate SA threshold interrupt. */ - unsigned int mssEgressSaPnThresholdMSW : 16; /* 1E.500F.F:0 R/W Default = 0x0000 */ - /* PN threshold bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressPnControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress MTU Size Control Register: 1E.5010 */ -/* MSS Egress MTU Size Control Register: 1E.5010 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.5010.F:0 R/W MSS Egress Controlled Packet MTU Size [F:0] - AQ_MssEgressMtuSizeControlRegister_HHD.u0.bits_0.mssEgressControlledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for controlled packet - - - Notes: - Maximum transmission unit of controlled packet */ - unsigned int mssEgressControlledPacketMtuSize : 16; /* 1E.5010.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for controlled packet - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.5011.F:0 R/W MSS Egress Uncontrolled Packet MTU Size [F:0] - AQ_MssEgressMtuSizeControlRegister_HHD.u1.bits_1.mssEgressUncontrolledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for uncontrolled packet - - - Notes: - Maximum transmission unit of uncontrolled packet */ - unsigned int mssEgressUncontrolledPacketMtuSize : 16; /* 1E.5011.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for uncontrolled packet - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressMtuSizeControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress Interrupt Status Register: 1E.505C */ -/* MSS Egress Interrupt Status Register: 1E.505C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress Interrupt Status Register */ - union - { - struct - { - unsigned int reserved0 : 11; - /*! \brief 1E.505C.4 COW MSS Egress ECC Error Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressEccErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when anyone of the memories detects an ECC error. */ - unsigned int mssEgressEccErrorInterrupt : 1; /* 1E.505C.4 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.3 COW MSS Egress MIB Saturation Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressMibSaturationInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the MIB counters reaches all ones saturation. */ - unsigned int mssEgressMibSaturationInterrupt : 1; /* 1E.505C.3 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.2 COW MSS Egress SA Threshold Expired Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressSaThresholdExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches the See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaThresholdExpiredInterrupt : 1; /* 1E.505C.2 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.1 COW MSS Egress SA Expired Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressSaExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches all ones saturation. */ - unsigned int mssEgressSaExpiredInterrupt : 1; /* 1E.505C.1 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.505C.0 COW MSS Egress Master Interrupt - AQ_MssEgressInterruptStatusRegister_HHD.u0.bits_0.mssEgressMasterInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when any one of the above interrupt and the corresponding interrupt enable are both set. The interrupt enable for this bit must also be set for this bit to be set. */ - unsigned int mssEgressMasterInterrupt : 1; /* 1E.505C.0 COW Default = 0x0 */ - /* 1 = Interrupt - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress Interrupt Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress Interrupt Mask Register: 1E.505E */ -/* MSS Egress Interrupt Mask Register: 1E.505E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress Interrupt Mask Register */ - union - { - struct - { - unsigned int reserved0 : 11; - /*! \brief 1E.505E.4 COW MSS Egress ECC Error Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressEccErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when anyone of the memories detects an ECC error. */ - unsigned int mssEgressEccErrorInterruptEnable : 1; /* 1E.505E.4 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.3 COW MSS Egress MIB Saturation Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressMibSaturationInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when the MIB counters reaches all ones saturation. */ - unsigned int mssEgressMibSaturationInterruptEnable : 1; /* 1E.505E.3 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.2 COW MSS Egress SA Expired Threshold Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressSaExpiredThresholdInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaExpiredThresholdInterruptEnable : 1; /* 1E.505E.2 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.1 COW MSS Egress SA Expired Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressSaExpiredInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches all ones saturation. */ - unsigned int mssEgressSaExpiredInterruptEnable : 1; /* 1E.505E.1 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.505E.0 COW MSS Egress Master Interrupt Enable - AQ_MssEgressInterruptMaskRegister_HHD.u0.bits_0.mssEgressMasterInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - - Notes: - Write to 1 to clear. */ - unsigned int mssEgressMasterInterruptEnable : 1; /* 1E.505E.0 COW Default = 0x0 */ - /* 1 = Interrupt enabled - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress Interrupt Mask Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressInterruptMaskRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress SA Expired Status Register: 1E.5060 */ -/* MSS Egress SA Expired Status Register: 1E.5060 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5060.F:0 COW MSS Egress SA Expired LSW [F:0] - AQ_MssEgressSaExpiredStatusRegister_HHD.u0.bits_0.mssEgressSaExpiredLSW - - Default = 0x0000 - - SA expired bits 15:0 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. */ - unsigned int mssEgressSaExpiredLSW : 16; /* 1E.5060.F:0 COW Default = 0x0000 */ - /* SA expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5061.F:0 COW MSS Egress SA Expired MSW [1F:10] - AQ_MssEgressSaExpiredStatusRegister_HHD.u1.bits_1.mssEgressSaExpiredMSW - - Default = 0x0000 - - SA expired bits 31:16 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. */ - unsigned int mssEgressSaExpiredMSW : 16; /* 1E.5061.F:0 COW Default = 0x0000 */ - /* SA expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressSaExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress SA Threshold Expired Status Register: 1E.5062 */ -/* MSS Egress SA Threshold Expired Status Register: 1E.5062 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5062.F:0 COW MSS Egress SA Threshold Expired LSW [F:0] - AQ_MssEgressSaThresholdExpiredStatusRegister_HHD.u0.bits_0.mssEgressSaThresholdExpiredLSW - - Default = 0x0000 - - SA threshold expired bits 15:0 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaThresholdExpiredLSW : 16; /* 1E.5062.F:0 COW Default = 0x0000 */ - /* SA threshold expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.5063.F:0 COW MSS Egress SA Threshold Expired MSW [1F:10] - AQ_MssEgressSaThresholdExpiredStatusRegister_HHD.u1.bits_1.mssEgressSaThresholdExpiredMSW - - Default = 0x0000 - - SA threshold expired bits 31:16 - - - Notes: - Write these bits to 1 to clear. - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssEgressSaThresholdExpiredMSW : 16; /* 1E.5063.F:0 COW Default = 0x0000 */ - /* SA threshold expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressSaThresholdExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress ECC Interrupt Status Register: 1E.5064 */ -/* MSS Egress ECC Interrupt Status Register: 1E.5064 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.5064.F:0 COW MSS Egress SA ECC Error Interrupt LSW [F:0] - AQ_MssEgressEccInterruptStatusRegister_HHD.u0.bits_0.mssEgressSaEccErrorInterruptLSW - - Default = 0x0000 - - SA ECC error interrupt bits 15:0 - - - Notes: - Write these bits to 1 to clear. - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssEgressSaEccErrorInterruptLSW : 16; /* 1E.5064.F:0 COW Default = 0x0000 */ - /* SA ECC error interrupt bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.5065.F:0 COW MSS Egress SA ECC Error Interrupt MSW [1F:10] - AQ_MssEgressEccInterruptStatusRegister_HHD.u1.bits_1.mssEgressSaEccErrorInterruptMSW - - Default = 0x0000 - - SA ECC error interrupt bits 31:16 - - - Notes: - Write these bits to 1 to clear. - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssEgressSaEccErrorInterruptMSW : 16; /* 1E.5065.F:0 COW Default = 0x0000 */ - /* SA ECC error interrupt bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssEgressEccInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress LUT Address Control Register: 1E.5080 */ -/* MSS Egress LUT Address Control Register: 1E.5080 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress LUT Address Control Register */ - union - { - struct - { - /*! \brief 1E.5080.F:C R/W MSS Egress LUT Select [3:0] - AQ_MssEgressLutAddressControlRegister_HHD.u0.bits_0.mssEgressLutSelect - - Default = 0x0 - - LUT select - - - Notes: - 0x0 : Egress MAC Control FIlter (CTLF) LUT - 0x1 : Egress Classification LUT - 0x2 : Egress SC/SA LUT - 0x3 : Egress SMIB */ - unsigned int mssEgressLutSelect : 4; /* 1E.5080.F:C R/W Default = 0x0 */ - /* LUT select - */ - unsigned int reserved0 : 3; - /*! \brief 1E.5080.8:0 R/W MSS Egress LUT Address [8:0] - AQ_MssEgressLutAddressControlRegister_HHD.u0.bits_0.mssEgressLutAddress - - Default = 0x000 - - LUT address - - */ - unsigned int mssEgressLutAddress : 9; /* 1E.5080.8:0 R/W Default = 0x000 */ - /* LUT address - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssEgressLutAddressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress LUT Control Register: 1E.5081 */ -/* MSS Egress LUT Control Register: 1E.5081 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress LUT Control Register */ - union - { - struct - { - /*! \brief 1E.5081.F R/W MSS Egress LUT Write - AQ_MssEgressLutControlRegister_HHD.u0.bits_0.mssEgressLutWrite - - Default = 0x0 - - 1 = LUT write - - - Notes: - Setting this bit to 1, will write the LUT. This bit will automatically clear to 0. */ - unsigned int mssEgressLutWrite : 1; /* 1E.5081.F R/W Default = 0x0 */ - /* 1 = LUT write - */ - /*! \brief 1E.5081.E R/W MSS Egress LUT Read - AQ_MssEgressLutControlRegister_HHD.u0.bits_0.mssEgressLutRead - - Default = 0x0 - - 1 = LUT read - - - Notes: - Setting this bit to 1, will read the LUT. This bit will automatically clear to 0. */ - unsigned int mssEgressLutRead : 1; /* 1E.5081.E R/W Default = 0x0 */ - /* 1 = LUT read - */ - unsigned int reserved0 : 14; - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssEgressLutControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Egress LUT Data Control Register: 1E.50A0 */ -/* MSS Egress LUT Data Control Register: 1E.50A0 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A0.F:0 R/W MSS Egress LUT Data 0 [F:0] - AQ_MssEgressLutDataControlRegister_HHD.u0.bits_0.mssEgressLutData_0 - - Default = 0x0000 - - LUT data bits 15:0 - - */ - unsigned int mssEgressLutData_0 : 16; /* 1E.50A0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A1.F:0 R/W MSS Egress LUT Data 1 [1F:10] - AQ_MssEgressLutDataControlRegister_HHD.u1.bits_1.mssEgressLutData_1 - - Default = 0x0000 - - LUT data bits 31:16 - - */ - unsigned int mssEgressLutData_1 : 16; /* 1E.50A1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A2.F:0 R/W MSS Egress LUT Data 2 [2F:20] - AQ_MssEgressLutDataControlRegister_HHD.u2.bits_2.mssEgressLutData_2 - - Default = 0x0000 - - LUT data bits 47:32 - - */ - unsigned int mssEgressLutData_2 : 16; /* 1E.50A2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 47:32 - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A3.F:0 R/W MSS Egress LUT Data 3 [3F:30] - AQ_MssEgressLutDataControlRegister_HHD.u3.bits_3.mssEgressLutData_3 - - Default = 0x0000 - - LUT data bits 63:48 - - */ - unsigned int mssEgressLutData_3 : 16; /* 1E.50A3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 63:48 - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A4.F:0 R/W MSS Egress LUT Data 4 [4F:40] - AQ_MssEgressLutDataControlRegister_HHD.u4.bits_4.mssEgressLutData_4 - - Default = 0x0000 - - LUT data bits 79:64 - - */ - unsigned int mssEgressLutData_4 : 16; /* 1E.50A4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 79:64 - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A5.F:0 R/W MSS Egress LUT Data 5 [5F:50] - AQ_MssEgressLutDataControlRegister_HHD.u5.bits_5.mssEgressLutData_5 - - Default = 0x0000 - - LUT data bits 95:80 - - */ - unsigned int mssEgressLutData_5 : 16; /* 1E.50A5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 95:80 - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A6.F:0 R/W MSS Egress LUT Data 6 [6F:60] - AQ_MssEgressLutDataControlRegister_HHD.u6.bits_6.mssEgressLutData_6 - - Default = 0x0000 - - LUT data bits 111:96 - - */ - unsigned int mssEgressLutData_6 : 16; /* 1E.50A6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 111:96 - */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A7.F:0 R/W MSS Egress LUT Data 7 [7F:70] - AQ_MssEgressLutDataControlRegister_HHD.u7.bits_7.mssEgressLutData_7 - - Default = 0x0000 - - LUT data bits 127:112 - - */ - unsigned int mssEgressLutData_7 : 16; /* 1E.50A7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 127:112 - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A8.F:0 R/W MSS Egress LUT Data 8 [8F:80] - AQ_MssEgressLutDataControlRegister_HHD.u8.bits_8.mssEgressLutData_8 - - Default = 0x0000 - - LUT data bits 143:128 - - */ - unsigned int mssEgressLutData_8 : 16; /* 1E.50A8.F:0 R/W Default = 0x0000 */ - /* LUT data bits 143:128 - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50A9.F:0 R/W MSS Egress LUT Data 9 [9F:90] - AQ_MssEgressLutDataControlRegister_HHD.u9.bits_9.mssEgressLutData_9 - - Default = 0x0000 - - LUT data bits 159:144 - - */ - unsigned int mssEgressLutData_9 : 16; /* 1E.50A9.F:0 R/W Default = 0x0000 */ - /* LUT data bits 159:144 - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AA.F:0 R/W MSS Egress LUT Data 10 [AF:A0] - AQ_MssEgressLutDataControlRegister_HHD.u10.bits_10.mssEgressLutData_10 - - Default = 0x0000 - - LUT data bits 175:160 - - */ - unsigned int mssEgressLutData_10 : 16; /* 1E.50AA.F:0 R/W Default = 0x0000 */ - /* LUT data bits 175:160 - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AB.F:0 R/W MSS Egress LUT Data 11 [BF:B0] - AQ_MssEgressLutDataControlRegister_HHD.u11.bits_11.mssEgressLutData_11 - - Default = 0x0000 - - LUT data bits 191:176 - - */ - unsigned int mssEgressLutData_11 : 16; /* 1E.50AB.F:0 R/W Default = 0x0000 */ - /* LUT data bits 191:176 - */ - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Union for bit and word level access of word 12 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AC.F:0 R/W MSS Egress LUT Data 12 [CF:C0] - AQ_MssEgressLutDataControlRegister_HHD.u12.bits_12.mssEgressLutData_12 - - Default = 0x0000 - - LUT data bits 207:192 - - */ - unsigned int mssEgressLutData_12 : 16; /* 1E.50AC.F:0 R/W Default = 0x0000 */ - /* LUT data bits 207:192 - */ - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Union for bit and word level access of word 13 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AD.F:0 R/W MSS Egress LUT Data 13 [DF:D0] - AQ_MssEgressLutDataControlRegister_HHD.u13.bits_13.mssEgressLutData_13 - - Default = 0x0000 - - LUT data bits 223:208 - - */ - unsigned int mssEgressLutData_13 : 16; /* 1E.50AD.F:0 R/W Default = 0x0000 */ - /* LUT data bits 223:208 - */ - } bits_13; - uint16_t word_13; - } u13; - /*! \brief Union for bit and word level access of word 14 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AE.F:0 R/W MSS Egress LUT Data 14 [EF:E0] - AQ_MssEgressLutDataControlRegister_HHD.u14.bits_14.mssEgressLutData_14 - - Default = 0x0000 - - LUT data bits 239:224 - - */ - unsigned int mssEgressLutData_14 : 16; /* 1E.50AE.F:0 R/W Default = 0x0000 */ - /* LUT data bits 239:224 - */ - } bits_14; - uint16_t word_14; - } u14; - /*! \brief Union for bit and word level access of word 15 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50AF.F:0 R/W MSS Egress LUT Data 15 [FF:F0] - AQ_MssEgressLutDataControlRegister_HHD.u15.bits_15.mssEgressLutData_15 - - Default = 0x0000 - - LUT data bits 255:240 - - */ - unsigned int mssEgressLutData_15 : 16; /* 1E.50AF.F:0 R/W Default = 0x0000 */ - /* LUT data bits 255:240 - */ - } bits_15; - uint16_t word_15; - } u15; - /*! \brief Union for bit and word level access of word 16 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B0.F:0 R/W MSS Egress LUT Data 16 [10F:100] - AQ_MssEgressLutDataControlRegister_HHD.u16.bits_16.mssEgressLutData_16 - - Default = 0x0000 - - LUT data bits 271:256 - - */ - unsigned int mssEgressLutData_16 : 16; /* 1E.50B0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 271:256 - */ - } bits_16; - uint16_t word_16; - } u16; - /*! \brief Union for bit and word level access of word 17 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B1.F:0 R/W MSS Egress LUT Data 17 [11F:110] - AQ_MssEgressLutDataControlRegister_HHD.u17.bits_17.mssEgressLutData_17 - - Default = 0x0000 - - LUT data bits 287:272 - - */ - unsigned int mssEgressLutData_17 : 16; /* 1E.50B1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 287:272 - */ - } bits_17; - uint16_t word_17; - } u17; - /*! \brief Union for bit and word level access of word 18 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B2.F:0 R/W MSS Egress LUT Data 18 [12F:120] - AQ_MssEgressLutDataControlRegister_HHD.u18.bits_18.mssEgressLutData_18 - - Default = 0x0000 - - LUT data bits 303:288 - - */ - unsigned int mssEgressLutData_18 : 16; /* 1E.50B2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 303:288 - */ - } bits_18; - uint16_t word_18; - } u18; - /*! \brief Union for bit and word level access of word 19 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B3.F:0 R/W MSS Egress LUT Data 19 [13F:130] - AQ_MssEgressLutDataControlRegister_HHD.u19.bits_19.mssEgressLutData_19 - - Default = 0x0000 - - LUT data bits 319:304 - - */ - unsigned int mssEgressLutData_19 : 16; /* 1E.50B3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 319:304 - */ - } bits_19; - uint16_t word_19; - } u19; - /*! \brief Union for bit and word level access of word 20 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B4.F:0 R/W MSS Egress LUT Data 20 [14F:140] - AQ_MssEgressLutDataControlRegister_HHD.u20.bits_20.mssEgressLutData_20 - - Default = 0x0000 - - LUT data bits 335:320 - - */ - unsigned int mssEgressLutData_20 : 16; /* 1E.50B4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 335:320 - */ - } bits_20; - uint16_t word_20; - } u20; - /*! \brief Union for bit and word level access of word 21 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B5.F:0 R/W MSS Egress LUT Data 21 [15F:150] - AQ_MssEgressLutDataControlRegister_HHD.u21.bits_21.mssEgressLutData_21 - - Default = 0x0000 - - LUT data bits 351:336 - - */ - unsigned int mssEgressLutData_21 : 16; /* 1E.50B5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 351:336 - */ - } bits_21; - uint16_t word_21; - } u21; - /*! \brief Union for bit and word level access of word 22 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B6.F:0 R/W MSS Egress LUT Data 22 [16F:160] - AQ_MssEgressLutDataControlRegister_HHD.u22.bits_22.mssEgressLutData_22 - - Default = 0x0000 - - LUT data bits 367:352 - - */ - unsigned int mssEgressLutData_22 : 16; /* 1E.50B6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 367:352 - */ - } bits_22; - uint16_t word_22; - } u22; - /*! \brief Union for bit and word level access of word 23 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B7.F:0 R/W MSS Egress LUT Data 23 [17F:170] - AQ_MssEgressLutDataControlRegister_HHD.u23.bits_23.mssEgressLutData_23 - - Default = 0x0000 - - LUT data bits 383:368 - - */ - unsigned int mssEgressLutData_23 : 16; /* 1E.50B7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 383:368 - */ - } bits_23; - uint16_t word_23; - } u23; - /*! \brief Union for bit and word level access of word 24 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B8.F:0 R/W MSS Egress LUT Data 24 [18F:180] - AQ_MssEgressLutDataControlRegister_HHD.u24.bits_24.mssEgressLutData_24 - - Default = 0x0000 - - LUT data bits 399:384 - - */ - unsigned int mssEgressLutData_24 : 16; /* 1E.50B8.F:0 R/W Default = 0x0000 */ - /* LUT data bits 399:384 - */ - } bits_24; - uint16_t word_24; - } u24; - /*! \brief Union for bit and word level access of word 25 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50B9.F:0 R/W MSS Egress LUT Data 25 [19F:190] - AQ_MssEgressLutDataControlRegister_HHD.u25.bits_25.mssEgressLutData_25 - - Default = 0x0000 - - LUT data bits 415:400 - - */ - unsigned int mssEgressLutData_25 : 16; /* 1E.50B9.F:0 R/W Default = 0x0000 */ - /* LUT data bits 415:400 - */ - } bits_25; - uint16_t word_25; - } u25; - /*! \brief Union for bit and word level access of word 26 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50BA.F:0 R/W MSS Egress LUT Data 26 [1AF:1A0] - AQ_MssEgressLutDataControlRegister_HHD.u26.bits_26.mssEgressLutData_26 - - Default = 0x0000 - - LUT data bits 431:416 - - */ - unsigned int mssEgressLutData_26 : 16; /* 1E.50BA.F:0 R/W Default = 0x0000 */ - /* LUT data bits 431:416 - */ - } bits_26; - uint16_t word_26; - } u26; - /*! \brief Union for bit and word level access of word 27 of MSS Egress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.50BB.F:0 R/W MSS Egress LUT Data 27 [1BF:1B0] - AQ_MssEgressLutDataControlRegister_HHD.u27.bits_27.mssEgressLutData_27 - - Default = 0x0000 - - LUT data bits 447:432 - - */ - unsigned int mssEgressLutData_27 : 16; /* 1E.50BB.F:0 R/W Default = 0x0000 */ - /* LUT data bits 447:432 - */ - } bits_27; - uint16_t word_27; - } u27; -} AQ_MssEgressLutDataControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System General Control Register: 1E.6004 */ -/* MSM System General Control Register: 1E.6004 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System General Control Register */ - union - { - struct - { - /*! \brief 1E.6004.F R/W MSM System PHY Tx Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPhyTxEnable - - Default = 0x0 - - 1 = Enable PHY Tx - - - Notes: - Directly controls the phy_tx_ena pin. */ - unsigned int msmSystemPhyTxEnable : 1; /* 1E.6004.F R/W Default = 0x0 */ - /* 1 = Enable PHY Tx - */ - /*! \brief 1E.6004.E R/W MSM System Rx Error Discard - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemRxErrorDiscard - - Default = 0x0 - - 1 = Enable discard of received errored frames - - - Notes: - Rx errored frame discard enable. When set to 1, any frame received with an error is discarded and not forwarded to the client interface. When set to 0, errored frames are forwarded to the client interface with ff_rx_err asserted. - Note : It is recommended to set this bit to 1 only when store and forward operation is enabled (RX_SECTION_FULL TBD). */ - unsigned int msmSystemRxErrorDiscard : 1; /* 1E.6004.E R/W Default = 0x0 */ - /* 1 = Enable discard of received errored frames - */ - /*! \brief 1E.6004.D R/W MSM System Control Frame Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemControlFrameEnable - - Default = 0x0 - - 1 = Control frame enabled - - - Notes: - MAC control frame enable. When set to 1, the MAC control frames with any Opcode other than 0x0001 are accepted and forwarded to the client interface. When set to 0, MAC control frames with any opcode other than 0x0001 are silently discarded. */ - unsigned int msmSystemControlFrameEnable : 1; /* 1E.6004.D R/W Default = 0x0 */ - /* 1 = Control frame enabled - */ - /*! \brief 1E.6004.C R/WSC MSM System Soft Reset - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - Software reset. Self clearing bit. When set to 1, resets all statistic counters as well as the Tx and Rx FIFOs. It should be issued after all traffic has been stopped as a result of clearing the Rx/Tx enable bits ( See MAC Rx Enable set to 0 and See MAC Tx Enable set to 0). - Note : Can lead to an Rx interface (ff_rx_xxx) violations to the application if the reset is issued in the middle of a receive frame transfer. Then the end of packet (assertion of ff_rx_eop) is lost and the application should be prepeared to handle this exception. */ - unsigned int msmSystemSoftReset : 1; /* 1E.6004.C R/WSC Default = 0x0 */ - /* 1 = Soft reset - */ - /*! \brief 1E.6004.B R/W MSM System Tx Pad Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxPadEnable - - Default = 0x1 - - 1 = Enable Tx padding - - - Notes: - When set to 1, enable padding of frames in the Tx direction. When set to 0, the MAC will not extend frames from the application to a minimum of 64 bytes, allowing to transmit short frames (violating the Ethernet mimimum size requirements). Must be set to 1 for normal operation. */ - unsigned int msmSystemTxPadEnable : 1; /* 1E.6004.B R/W Default = 0x1 */ - /* 1 = Enable Tx padding - */ - /*! \brief 1E.6004.A R/W MSM System Tx CRC Append - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxCrcAppend - - Default = 0x0 - - 1 = Append Tx CRC - - - Notes: - Permanently enable CRC append on transmit. If set to 1, the Tx will append a CRC to all transmitted frames. If set to 0, CRC append can be controlled on a per frame basis using the pin ff_tx_crc. - This configuration bit is OR'ed with the external ff_tx_crc pin to instruct the Tx to append a CRC to transmitted frames. The ff_tx_crc pin is tied to 0. */ - unsigned int msmSystemTxCrcAppend : 1; /* 1E.6004.A R/W Default = 0x0 */ - /* 1 = Append Tx CRC - */ - /*! \brief 1E.6004.9 R/W MSM System Tx Address Insert Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxAddressInsertEnable - - Default = 0x0 - - 1 = Insert Tx MAC source address - - - Notes: - Set the source MAC address on transmit. If set to 1, the MAC overwrites the source MAC address with the MAC programmed address in all transmitted frames. When set to 0, the source MAC address is transmitted unmodified from the MAC Tx client application. */ - unsigned int msmSystemTxAddressInsertEnable : 1; /* 1E.6004.9 R/W Default = 0x0 */ - /* 1 = Insert Tx MAC source address - */ - /*! \brief 1E.6004.8 R/W MSM System Pause Ignore - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPauseIgnore - - Default = 0x0 - - 1 = Ignore pause frames - - - Notes: - Ignore pause frame quanta. If set to 1, received pause frames are ignored by the MAC. When set to 0, the Tx is stopped for the amount of time specified in the pause quanta received within the pause frame. */ - unsigned int msmSystemPauseIgnore : 1; /* 1E.6004.8 R/W Default = 0x0 */ - /* 1 = Ignore pause frames - */ - /*! \brief 1E.6004.7 R/W MSM System Pause Forward - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPauseForward - - Default = 0x0 - - 1 = Enable Pause forwarding - - - Notes: - Terminate or forward pause frames. If set to 1, pause frames are forwarded to the user application. In normal mode, when set to 0, pause frames are terminated and discarded within the MAC. */ - unsigned int msmSystemPauseForward : 1; /* 1E.6004.7 R/W Default = 0x0 */ - /* 1 = Enable Pause forwarding - */ - /*! \brief 1E.6004.6 R/W MSM System CRC Forward - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemCrcForward - - Default = 0x0 - - 1 = Enable CRC forwarding - - - Notes: - When set to 1, the CRC field of the received frames is forwarded with the frame to the user application. If disabled, the CRC field is stripped from the frame. - Note : If padding is enabled ( See MAC PAD Enable set to 1), this bit is ignored. */ - unsigned int msmSystemCrcForward : 1; /* 1E.6004.6 R/W Default = 0x0 */ - /* 1 = Enable CRC forwarding - */ - /*! \brief 1E.6004.5 R/W MSM System PAD Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPadEnable - - Default = 0x0 - - 1 = Enable frame padding removal on Rx - - - Notes: - When set to 1, enable frame padding removal on the Rx path. If enabled, padding is removed before the frame is transferred to the MAC client application. If disabled, no padding is removed on the Rx by the MAC. - Note : On Tx, the MAC always adds padding as required. */ - unsigned int msmSystemPadEnable : 1; /* 1E.6004.5 R/W Default = 0x0 */ - /* 1 = Enable frame padding removal on Rx - */ - /*! \brief 1E.6004.4 R/W MSM System Promiscuous Mode - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemPromiscuousMode - - Default = 0x0 - - 1 = Promiscuous mode - - - Notes: - When set to 1, all frames are received without any MAC address filtering. */ - unsigned int msmSystemPromiscuousMode : 1; /* 1E.6004.4 R/W Default = 0x0 */ - /* 1 = Promiscuous mode - */ - /*! \brief 1E.6004.3 R/W MSM System WAN Mode - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemWanMode - - Default = 0x0 - - 1 = WAN mode - 0 = LAN mode - - - Notes: - WAN mode enable. Sets WAN mode when set to 1 and LAN mode when set to 0. Note: When changing the mode, verifiy correct setting of the Tx IPG. */ - unsigned int msmSystemWanMode : 1; /* 1E.6004.3 R/W Default = 0x0 */ - /* 1 = WAN mode - 0 = LAN mode - */ - unsigned int reserved0 : 1; - /*! \brief 1E.6004.1 R/W MSM System Rx Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemRxEnable - - Default = 0x0 - - 1 = Rx enable - - Notes: - MAC Tx path enable. Should be set to 1 to enable the MAC Tx path. Should be set to 0 to disable the MAC Tx path. */ - unsigned int msmSystemRxEnable : 1; /* 1E.6004.1 R/W Default = 0x0 */ - /* 1 = Rx enable */ - /*! \brief 1E.6004.0 R/W MSM System Tx Enable - AQ_MsmSystemGeneralControlRegister_HHD.u0.bits_0.msmSystemTxEnable - - Default = 0x0 - - 1 = Tx enable - - Notes: - MAC Rx path enable. Should be set to 1 to enable the MAC Rx path. Should be set to 0 to disable the MAC Rx path. */ - unsigned int msmSystemTxEnable : 1; /* 1E.6004.0 R/W Default = 0x0 */ - /* 1 = Tx enable */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System General Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.6005.7 R/W MSM System Tx Low Power IDLE Enable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemTxLowPowerIdleEnable - - Default = 0x0 - - 1 = Transmit LPI enable - - - Notes: - Transmit low power IDLE enable. When set to 1, the MAC completes the transmission of the current frame and generates low power IDLE sequences (LPI) to the XGMII/SGMII. When set to 0, the MAC operates in normal mode. This bit is OR'ed with the reg_lowp_ena pin. */ - unsigned int msmSystemTxLowPowerIdleEnable : 1; /* 1E.6005.7 R/W Default = 0x0 */ - /* 1 = Transmit LPI enable - */ - unsigned int reserved1 : 1; - /*! \brief 1E.6005.5 R/W MSM System SFD Check Disable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemSfdCheckDisable - - Default = 0x0 - - 1 = Disable SFD check - - - Notes: - Disable check of SFD (0xD5) character at frame start. When set to 1, the frame is accepted even if the SFD byte following the preamble is not 0xD5. When set to 0, a frame is accepted only if the SFD byte is found with the value 0xD5. */ - unsigned int msmSystemSfdCheckDisable : 1; /* 1E.6005.5 R/W Default = 0x0 */ - /* 1 = Disable SFD check - */ - unsigned int reserved2 : 1; - /*! \brief 1E.6005.3 R/W MSM System Priority Flow Control Enable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemPriorityFlowControlEnable - - Default = 0x0 - - 1 = Enable priority flow control - 0 = Enable link flow control - - - Notes: - Enable priority flow control (PFC) mode of operation. When set to 0, the MAC uses standard link pause frames. When set to 1, the MAC will transmit and accept PFC frames. */ - unsigned int msmSystemPriorityFlowControlEnable : 1; /* 1E.6005.3 R/W Default = 0x0 */ - /* 1 = Enable priority flow control - 0 = Enable link flow control - */ - /*! \brief 1E.6005.2 R/W MSM System IDLE Column Count Extend - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemIdleColumnCountExtend - - Default = 0x0 - - 1 = Extend IDLE column count - - Notes: - When set to 1, extends the RS layer IDLE column counter by 2x. The IEEE 802.3ae defines the fault condition to be cleared after 128 columns of IDLE have been received. If the MAC operates together with a WAN mode PCS (WIS) it may may happen (depending on PCS) that this period is too short to bridge the IDLE stuffing occurring in this mode, leading to a toggling fault indication. In this case, extending the counter helps to aoivd toggling fault indications. */ - unsigned int msmSystemIdleColumnCountExtend : 1; /* 1E.6005.2 R/W Default = 0x0 */ - /* 1 = Extend IDLE column count */ - /*! \brief 1E.6005.1 R/W MSM System Length Check Disable - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemLengthCheckDisable - - Default = 0x0 - - 1 = Disable length check - - Notes: - Payload length check disable. When set to 0, the MAC checks the frames payload length with the frame length/type field. When set to 1, the payload length check is disabled. */ - unsigned int msmSystemLengthCheckDisable : 1; /* 1E.6005.1 R/W Default = 0x0 */ - /* 1 = Disable length check */ - /*! \brief 1E.6005.0 R/W MSM System Force Send IDLE - AQ_MsmSystemGeneralControlRegister_HHD.u1.bits_1.msmSystemForceSendIdle - - Default = 0x0 - - 1 = Force send idle - - Notes: - When set to 1, suppress any frame transmissions and forces IDLE n the Tx interface instead of frames. This control affects the MAC reconciliation layer (RS) which acts after all MAC datapath has processed the frame. - Note : Does not have an effect on fault handling (i.e. reception of local fault will still cause transmit of remote fault). - Must be 0 for normal operation. */ - unsigned int msmSystemForceSendIdle : 1; /* 1E.6005.0 R/W Default = 0x0 */ - /* 1 = Force send idle */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemGeneralControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System FIFO Control Register: 1E.600E */ -/* MSM System FIFO Control Register: 1E.600E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.600E.7:0 R/W MSM System Rx FIFO Full Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u0.bits_0.msmSystemRxFifoFullThreshold - - Default = 0x08 - - Rx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemRxFifoFullThreshold : 8; /* 1E.600E.7:0 R/W Default = 0x08 */ - /* Rx FIFO full threshold */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.600F.7:0 R/W MSM System Rx FIFO Empty Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u1.bits_1.msmSystemRxFifoEmptyThreshold - - Default = 0x00 - - Rx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemRxFifoEmptyThreshold : 8; /* 1E.600F.7:0 R/W Default = 0x00 */ - /* Rx FIFO empty threshold */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.6010.5:0 R/W MSM System Tx FIFO Full Threshold [5:0] - AQ_MsmSystemFifoControlRegister_HHD.u2.bits_2.msmSystemTxFifoFullThreshold - - Default = 0x08 - - Tx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemTxFifoFullThreshold : 6; /* 1E.6010.5:0 R/W Default = 0x08 */ - /* Tx FIFO full threshold */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.6011.5:0 R/W MSM System Tx FIFO Empty Threshold [5:0] - AQ_MsmSystemFifoControlRegister_HHD.u3.bits_3.msmSystemTxFifoEmptyThreshold - - Default = 0x00 - - Tx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmSystemTxFifoEmptyThreshold : 6; /* 1E.6011.5:0 R/W Default = 0x00 */ - /* Tx FIFO empty threshold */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.6012.7:0 ROS MSM System Rx FIFO Almost Full Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u4.bits_4.msmSystemRxFifoAlmostFullThreshold - - Default = 0x00 - - Rx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmSystemRxFifoAlmostFullThreshold : 8; /* 1E.6012.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost full threshold */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.6013.7:0 ROS MSM System Rx FIFO Almost Empty Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u5.bits_5.msmSystemRxFifoAlmostEmptyThreshold - - Default = 0x00 - - Rx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmSystemRxFifoAlmostEmptyThreshold : 8; /* 1E.6013.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost empty threshold */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.6014.7:0 ROS MSM System Tx FIFO Almost Full Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u6.bits_6.msmSystemTxFifoAlmostFullThreshold - - Default = 0x00 - - Tx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmSystemTxFifoAlmostFullThreshold : 8; /* 1E.6014.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost full threshold */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSM System FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.6015.7:0 ROS MSM System Tx FIFO Almost Empty Threshold [7:0] - AQ_MsmSystemFifoControlRegister_HHD.u7.bits_7.msmSystemTxFifoAlmostEmptyThreshold - - Default = 0x00 - - Tx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmSystemTxFifoAlmostEmptyThreshold : 8; /* 1E.6015.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost empty threshold */ - } bits_7; - uint16_t word_7; - } u7; -} AQ_MsmSystemFifoControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System General Status Register: 1E.6020 */ -/* MSM System General Status Register: 1E.6020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System General Status Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.6020.5 RO MSM System Tx FIFO Empty - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemTxFifoEmpty - - - - Tx FIFO empty - - Notes: - When set to 1, indicates the Tx FIFO is empty. When set to 0, Tx FIFO is non-empty. */ - unsigned int msmSystemTxFifoEmpty : 1; /* 1E.6020.5 RO */ - /* Tx FIFO empty */ - /*! \brief 1E.6020.4 RO MSM System Rx Low Power IDLE - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemRxLowPowerIdle - - - - Rx LPI detected - - Notes: - Receive low power IDLE (LPI). Set to 1 when LPI is currently detected on the MAC Rx interface. Set to 0, when the MAC currently operates in normal mode. */ - unsigned int msmSystemRxLowPowerIdle : 1; /* 1E.6020.4 RO */ - /* Rx LPI detected */ - /*! \brief 1E.6020.3 R/W MSM System Timestamp Available - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemTimestampAvailable - - Default = 0x0 - - Timestamp available - - Notes: - Transmit timestamp available. Indicates that the timestamp of the last transmitted event frame (which had ff_tx_ts_frm=1) is available in the register See MAC Time Stamp Status 0 [F:0] and See MAC Time Stamp Status 1 [F:0] . To clear this bit, the bit must be written with a 1. - */ - unsigned int msmSystemTimestampAvailable : 1; /* 1E.6020.3 R/W Default = 0x0 */ - /* Timestamp available */ - /*! \brief 1E.6020.2 RO MSM System PHY Loss of Signal - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemPhyLossOfSignal - - - - PHY loss of signal - - Notes: - PHY indicates loss of signal. This is the value of pin phy_los which is tied to 0. */ - unsigned int msmSystemPhyLossOfSignal : 1; /* 1E.6020.2 RO */ - /* PHY loss of signal */ - /*! \brief 1E.6020.1 BLH MSM System Rx Remote Fault - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemRxRemoteFault - - - - Rx remote fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmSystemRxRemoteFault : 1; /* 1E.6020.1 BLH */ - /* Rx remote fault detected */ - /*! \brief 1E.6020.0 BLH MSM System Rx Local Fault - AQ_MsmSystemGeneralStatusRegister_HHD.u0.bits_0.msmSystemRxLocalFault - - - - Rx local fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmSystemRxLocalFault : 1; /* 1E.6020.0 BLH */ - /* Rx local fault detected */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System General Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemGeneralStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx IPG Control Register: 1E.6022 */ -/* MSM System Tx IPG Control Register: 1E.6022 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx IPG Control Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.6022.5:0 R/W MSM System Tx IPG Length [5:0] - AQ_MsmSystemTxIpgControlRegister_HHD.u0.bits_0.msmSystemTxIpgLength - - Default = 0x0C - - Tx IPG length - - Notes: - Tx inter-packet gap (IPG) value. Depending on LAN or WAN mode of operation. - LAN Mode : Number of octets in steps of 4. Valid values are 8, 12, 16,..., 100. DIC is supported for any setting > 8. A default of 12 must be set to conform to IEEE802.3ae. - WAN Mode : Stretch factor. Valid values are 4 ... 15. The stretch factor is calculated as (value+1)*8. A default of 12 must be set to conform to IEEE802.3ae (i.e. 13*8=104). A larger value shrinks the IPG (increasing bandwidth). - The reset value of 12 leads to IEEE802.3ae conformant behavior in both modes. - Note : WAN mode is only available in 10G mode of operation. */ - unsigned int msmSystemTxIpgLength : 6; /* 1E.6022.5:0 R/W Default = 0x0C */ - /* Tx IPG length */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx IPG Control Register */ - union - { - struct - { - /*! \brief 1E.6023.F:0 MSM System Tx IPG Reserved - AQ_MsmSystemTxIpgControlRegister_HHD.u1.bits_1.msmSystemTxIpgReserved - - - - Value always 0, writes ignored - */ - unsigned int msmSystemTxIpgReserved : 16; /* 1E.6023.F:0 */ - /* Value always 0, writes ignored */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxIpgControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Good Frames Counter Register: 1E.6040 */ -/* MSM System Tx Good Frames Counter Register: 1E.6040 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6040.F:0 ROS MSM System Tx Good Frames Counter 0 [F:0] - AQ_MsmSystemTxGoodFramesCounterRegister_HHD.u0.bits_0.msmSystemTxGoodFramesCounter_0 - - Default = 0x0000 - - Tx good frame counter bits 15:0 - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmSystemTxGoodFramesCounter_0 : 16; /* 1E.6040.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6041.F:0 ROS MSM System Tx Good Frames Counter 1 [F:0] - AQ_MsmSystemTxGoodFramesCounterRegister_HHD.u1.bits_1.msmSystemTxGoodFramesCounter_1 - - Default = 0x0000 - - Tx good frame counter bits 31:16 - - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmSystemTxGoodFramesCounter_1 : 16; /* 1E.6041.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Good Frames Counter Register: 1E.6044 */ -/* MSM System Rx Good Frames Counter Register: 1E.6044 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6044.F:0 ROS MSM System Rx Good Frames Counter 0 [F:0] - AQ_MsmSystemRxGoodFramesCounterRegister_HHD.u0.bits_0.msmSystemRxGoodFramesCounter_0 - - Default = 0x0000 - - Rx good frame counter bits 15:0 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmSystemRxGoodFramesCounter_0 : 16; /* 1E.6044.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6045.F:0 ROS MSM System Rx Good Frames Counter 1 [F:0] - AQ_MsmSystemRxGoodFramesCounterRegister_HHD.u1.bits_1.msmSystemRxGoodFramesCounter_1 - - Default = 0x0000 - - Rx good frame counter bits 31:16 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmSystemRxGoodFramesCounter_1 : 16; /* 1E.6045.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx FCS Errors Counter Register: 1E.6048 */ -/* MSM System Rx FCS Errors Counter Register: 1E.6048 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6048.F:0 ROS MSM System FCS Error Counter 0 [F:0] - AQ_MsmSystemRxFcsErrorsCounterRegister_HHD.u0.bits_0.msmSystemFcsErrorCounter_0 - - Default = 0x0000 - - Frame check sequence error counter bits 15:0 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmSystemFcsErrorCounter_0 : 16; /* 1E.6048.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6049.F:0 ROS MSM System FCS Error Counter 1 [F:0] - AQ_MsmSystemRxFcsErrorsCounterRegister_HHD.u1.bits_1.msmSystemFcsErrorCounter_1 - - Default = 0x0000 - - Frame check sequence error counter bits 31:16 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmSystemFcsErrorCounter_1 : 16; /* 1E.6049.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxFcsErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Alignment Errors Counter Register: 1E.604C */ -/* MSM System Rx Alignment Errors Counter Register: 1E.604C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.604C.F:0 ROS MSM System Alignment Error Counter 0 [F:0] - AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD.u0.bits_0.msmSystemAlignmentErrorCounter_0 - - Default = 0x0000 - - Alignment error counter bits 15:0 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmSystemAlignmentErrorCounter_0 : 16; /* 1E.604C.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.604D.F:0 ROS MSM System Alignment Error Counter 1 [F:0] - AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD.u1.bits_1.msmSystemAlignmentErrorCounter_1 - - Default = 0x0000 - - Alignment error counter bits 31:16 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmSystemAlignmentErrorCounter_1 : 16; /* 1E.604D.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxAlignmentErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Pause Frames Counter Register: 1E.6050 */ -/* MSM System Tx Pause Frames Counter Register: 1E.6050 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6050.F:0 ROS MSM System Tx Pause Frames Counter 0 [F:0] - AQ_MsmSystemTxPauseFramesCounterRegister_HHD.u0.bits_0.msmSystemTxPauseFramesCounter_0 - - Default = 0x0000 - - Tx pause frame counter bits 15:0 - - Notes: - Valid pause frames transmitted. */ - unsigned int msmSystemTxPauseFramesCounter_0 : 16; /* 1E.6050.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6051.F:0 ROS MSM System Tx Pause Frames Counter 1 [F:0] - AQ_MsmSystemTxPauseFramesCounterRegister_HHD.u1.bits_1.msmSystemTxPauseFramesCounter_1 - - Default = 0x0000 - - Tx pause frame counter bits 31:16 - - - Notes: - Valid pause frames transmitted. */ - unsigned int msmSystemTxPauseFramesCounter_1 : 16; /* 1E.6051.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Pause Frames Counter Register: 1E.6054 */ -/* MSM System Rx Pause Frames Counter Register: 1E.6054 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6054.F:0 ROS MSM System Rx Pause Frames Counter 0 [F:0] - AQ_MsmSystemRxPauseFramesCounterRegister_HHD.u0.bits_0.msmSystemRxPauseFramesCounter_0 - - Default = 0x0000 - - Rx pause frame counter bits 15:0 - - Notes: - Valid pause frames received. */ - unsigned int msmSystemRxPauseFramesCounter_0 : 16; /* 1E.6054.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6055.F:0 ROS MSM System Rx Pause Frames Counter 1 [F:0] - AQ_MsmSystemRxPauseFramesCounterRegister_HHD.u1.bits_1.msmSystemRxPauseFramesCounter_1 - - Default = 0x0000 - - Rx pause frame counter bits 31:16 - - Notes: - Valid pause frames received. */ - unsigned int msmSystemRxPauseFramesCounter_1 : 16; /* 1E.6055.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Too Long Errors Counter Register: 1E.6058 */ -/* MSM System Rx Too Long Errors Counter Register: 1E.6058 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6058.F:0 ROS MSM System Rx Too Long Errors Counter 0 [F:0] - AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD.u0.bits_0.msmSystemRxTooLongErrorsCounter_0 - - Default = 0x0000 - - Too-long errors counter bits 15:0 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmSystemRxTooLongErrorsCounter_0 : 16; /* 1E.6058.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.6059.F:0 ROS MSM System Rx Too Long Errors Counter 1 [F:0] - AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD.u1.bits_1.msmSystemRxTooLongErrorsCounter_1 - - Default = 0x0000 - - Too-long errors counter bits 31:16 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmSystemRxTooLongErrorsCounter_1 : 16; /* 1E.6059.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxTooLongErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx In Range Length Errors Counter Register: 1E.605C */ -/* MSM System Rx In Range Length Errors Counter Register: 1E.605C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.605C.F:0 ROS MSM System Rx In Range Length Errors Counter 0 [F:0] - AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD.u0.bits_0.msmSystemRxInRangeLengthErrorsCounter_0 - - Default = 0x0000 - - In-range-length errors counter bits 15:0 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmSystemRxInRangeLengthErrorsCounter_0 : 16; /* 1E.605C.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.605D.F:0 ROS MSM System Rx In Range Length Errors Counter 1 [F:0] - AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD.u1.bits_1.msmSystemRxInRangeLengthErrorsCounter_1 - - Default = 0x0000 - - In-range-length errors counter bits 31:16 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmSystemRxInRangeLengthErrorsCounter_1 : 16; /* 1E.605D.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxInRangeLengthErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx VLAN Frames Counter Register: 1E.6060 */ -/* MSM System Tx VLAN Frames Counter Register: 1E.6060 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6060.F:0 ROS MSM System Tx VLAN Frames Counter 0 [F:0] - AQ_MsmSystemTxVlanFramesCounterRegister_HHD.u0.bits_0.msmSystemTxVlanFramesCounter_0 - - Default = 0x0000 - - Tx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmSystemTxVlanFramesCounter_0 : 16; /* 1E.6060.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6061.F:0 ROS MSM System Tx VLAN Frames Counter 1 [F:0] - AQ_MsmSystemTxVlanFramesCounterRegister_HHD.u1.bits_1.msmSystemTxVlanFramesCounter_1 - - Default = 0x0000 - - Tx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmSystemTxVlanFramesCounter_1 : 16; /* 1E.6061.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx VLAN Frames Counter Register: 1E.6064 */ -/* MSM System Rx VLAN Frames Counter Register: 1E.6064 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6064.F:0 ROS MSM System Rx VLAN Frames Counter 0 [F:0] - AQ_MsmSystemRxVlanFramesCounterRegister_HHD.u0.bits_0.msmSystemRxVlanFramesCounter_0 - - Default = 0x0000 - - Rx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmSystemRxVlanFramesCounter_0 : 16; /* 1E.6064.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6065.F:0 ROS MSM System Rx VLAN Frames Counter 1 [F:0] - AQ_MsmSystemRxVlanFramesCounterRegister_HHD.u1.bits_1.msmSystemRxVlanFramesCounter_1 - - Default = 0x0000 - - Rx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmSystemRxVlanFramesCounter_1 : 16; /* 1E.6065.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Octets Counter Register: 1E.6068 */ -/* MSM System Tx Octets Counter Register: 1E.6068 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.6068.F:0 ROS MSM System Tx Octets Counter 0 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u0.bits_0.msmSystemTxOctetsCounter_0 - - Default = 0x0000 - - Tx octets counter bits 15:0 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_0 : 16; /* 1E.6068.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.6069.F:0 ROS MSM System Tx Octets Counter 1 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u1.bits_1.msmSystemTxOctetsCounter_1 - - Default = 0x0000 - - Tx octets counter bits 31:16 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_1 : 16; /* 1E.6069.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606A.F:0 ROS MSM System Tx Octets Counter 2 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u2.bits_2.msmSystemTxOctetsCounter_2 - - Default = 0x0000 - - Tx octets counter bits 47:32 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_2 : 16; /* 1E.606A.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 47:32 */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM System Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606B.F:0 ROS MSM System Tx Octets Counter 3 [F:0] - AQ_MsmSystemTxOctetsCounterRegister_HHD.u3.bits_3.msmSystemTxOctetsCounter_3 - - Default = 0x0000 - - Tx octets counter bits 63:48 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmSystemTxOctetsCounter_3 : 16; /* 1E.606B.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 63:48 */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_MsmSystemTxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Octets Counter Register: 1E.606C */ -/* MSM System Rx Octets Counter Register: 1E.606C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606C.F:0 ROS MSM System Rx Octets Counter 0 [F:0] - AQ_MsmSystemRxOctetsCounterRegister_HHD.u0.bits_0.msmSystemRxOctetsCounter_0 - - Default = 0x0000 - - Rx octets counter bits 15:0 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmSystemRxOctetsCounter_0 : 16; /* 1E.606C.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.606D.F:0 ROS MSM System Rx Octets Counter 1 [F:0] - AQ_MsmSystemRxOctetsCounterRegister_HHD.u1.bits_1.msmSystemRxOctetsCounter_1 - - Default = 0x0000 - - Rx octets counter bits 31:16 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmSystemRxOctetsCounter_1 : 16; /* 1E.606D.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Unicast Frames Counter Register: 1E.6070 */ -/* MSM System Rx Unicast Frames Counter Register: 1E.6070 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6070.F:0 ROS MSM System Rx Unicast Frames Counter 0 [F:0] - AQ_MsmSystemRxUnicastFramesCounterRegister_HHD.u0.bits_0.msmSystemRxUnicastFramesCounter_0 - - Default = 0x0000 - - Rx unicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmSystemRxUnicastFramesCounter_0 : 16; /* 1E.6070.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6071.F:0 ROS MSM System Rx Unicast Frames Counter 1 [F:0] - AQ_MsmSystemRxUnicastFramesCounterRegister_HHD.u1.bits_1.msmSystemRxUnicastFramesCounter_1 - - Default = 0x0000 - - Rx unicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmSystemRxUnicastFramesCounter_1 : 16; /* 1E.6071.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Multicast Frames Counter Register: 1E.6074 */ -/* MSM System Rx Multicast Frames Counter Register: 1E.6074 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6074.F:0 ROS MSM System Rx Multicast Frames Counter 0 [F:0] - AQ_MsmSystemRxMulticastFramesCounterRegister_HHD.u0.bits_0.msmSystemRxMulticastFramesCounter_0 - - Default = 0x0000 - - Rx multicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmSystemRxMulticastFramesCounter_0 : 16; /* 1E.6074.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6075.F:0 ROS MSM System Rx Multicast Frames Counter 1 [F:0] - AQ_MsmSystemRxMulticastFramesCounterRegister_HHD.u1.bits_1.msmSystemRxMulticastFramesCounter_1 - - Default = 0x0000 - - Rx multicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmSystemRxMulticastFramesCounter_1 : 16; /* 1E.6075.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Broadcast Frames Counter Register: 1E.6078 */ -/* MSM System Rx Broadcast Frames Counter Register: 1E.6078 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6078.F:0 ROS MSM System Rx Broadcast Frames Counter 0 [F:0] - AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmSystemRxBroadcastFramesCounter_0 - - Default = 0x0000 - - Rx broadcast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmSystemRxBroadcastFramesCounter_0 : 16; /* 1E.6078.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6079.F:0 ROS MSM System Rx Broadcast Frames Counter 1 [F:0] - AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmSystemRxBroadcastFramesCounter_1 - - Default = 0x0000 - - Rx broadcast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmSystemRxBroadcastFramesCounter_1 : 16; /* 1E.6079.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Errors Counter Register: 1E.607C */ -/* MSM System Tx Errors Counter Register: 1E.607C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.607C.F:0 ROS MSM System Tx Errors Counter 0 [F:0] - AQ_MsmSystemTxErrorsCounterRegister_HHD.u0.bits_0.msmSystemTxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmSystemTxErrorsCounter_0 : 16; /* 1E.607C.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.607D.F:0 ROS MSM System Tx Errors Counter 1 [F:0] - AQ_MsmSystemTxErrorsCounterRegister_HHD.u1.bits_1.msmSystemTxErrorsCounter_1 - - Default = 0x0000 - - Tx errors counter bits 31:16 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmSystemTxErrorsCounter_1 : 16; /* 1E.607D.F:0 ROS Default = 0x0000 */ - /* Tx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Unicast Frames Counter Register: 1E.6084 */ -/* MSM System Tx Unicast Frames Counter Register: 1E.6084 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6084.F:0 ROS MSM System Tx Unicast Frames Counter 0 [F:0] - AQ_MsmSystemTxUnicastFramesCounterRegister_HHD.u0.bits_0.msmSystemTxUnicastFramesCounter_0 - - Default = 0x0000 - - Tx unicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmSystemTxUnicastFramesCounter_0 : 16; /* 1E.6084.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6085.F:0 ROS MSM System Tx Unicast Frames Counter 1 [F:0] - AQ_MsmSystemTxUnicastFramesCounterRegister_HHD.u1.bits_1.msmSystemTxUnicastFramesCounter_1 - - Default = 0x0000 - - Tx unicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmSystemTxUnicastFramesCounter_1 : 16; /* 1E.6085.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Multicast Frames Counter Register: 1E.6088 */ -/* MSM System Tx Multicast Frames Counter Register: 1E.6088 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6088.F:0 ROS MSM System Tx Multicast Frames Counter 0 [F:0] - AQ_MsmSystemTxMulticastFramesCounterRegister_HHD.u0.bits_0.msmSystemTxMulticastFramesCounter_0 - - Default = 0x0000 - - Tx multicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmSystemTxMulticastFramesCounter_0 : 16; /* 1E.6088.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.6089.F:0 ROS MSM System Tx Multicast Frames Counter 1 [F:0] - AQ_MsmSystemTxMulticastFramesCounterRegister_HHD.u1.bits_1.msmSystemTxMulticastFramesCounter_1 - - Default = 0x0000 - - Tx multicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmSystemTxMulticastFramesCounter_1 : 16; /* 1E.6089.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Tx Broadcast Frames Counter Register: 1E.608C */ -/* MSM System Tx Broadcast Frames Counter Register: 1E.608C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.608C.F:0 ROS MSM System Tx Broadcast Frames Counter 0 [F:0] - AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmSystemTxBroadcastFramesCounter_0 - - Default = 0x0000 - - Tx broadcast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmSystemTxBroadcastFramesCounter_0 : 16; /* 1E.608C.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.608D.F:0 ROS MSM System Tx Broadcast Frames Counter 1 [F:0] - AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmSystemTxBroadcastFramesCounter_1 - - Default = 0x0000 - - Tx broadcast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmSystemTxBroadcastFramesCounter_1 : 16; /* 1E.608D.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemTxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM System Rx Errors Counter Register: 1E.60C8 */ -/* MSM System Rx Errors Counter Register: 1E.60C8 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM System Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.60C8.F:0 ROS MSM System Rx Errors Counter 0 [F:0] - AQ_MsmSystemRxErrorsCounterRegister_HHD.u0.bits_0.msmSystemRxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmSystemRxErrorsCounter_0 : 16; /* 1E.60C8.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM System Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.60C9.F:0 ROS MSM System Rx Errors Counter 1 [F:0] - AQ_MsmSystemRxErrorsCounterRegister_HHD.u1.bits_1.msmSystemRxErrorsCounter_1 - - Default = 0x0000 - - Rx errors counter bits 31:16 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmSystemRxErrorsCounter_1 : 16; /* 1E.60C9.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmSystemRxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress VLAN TPID 0 Register: 1E.8006 */ -/* MSS Ingress VLAN TPID 0 Register: 1E.8006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress VLAN TPID 0 Register */ - union - { - struct - { - /*! \brief 1E.8006.F:0 R/W MSS Ingress VLAN STag [F:0] - AQ_MssIngressVlanTpid_0Register_HHD.u0.bits_0.mssIngressVlanStag - - Default = 0x0000 - - STag TPID - - - Notes: - Service Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse STag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssIngressVlanStag : 16; /* 1E.8006.F:0 R/W Default = 0x0000 */ - /* STag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress VLAN TPID 0 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressVlanTpid_0Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress VLAN TPID 1 Register: 1E.8008 */ -/* MSS Ingress VLAN TPID 1 Register: 1E.8008 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress VLAN TPID 1 Register */ - union - { - struct - { - /*! \brief 1E.8008.F:0 R/W MSS Ingress VLAN QTag [F:0] - AQ_MssIngressVlanTpid_1Register_HHD.u0.bits_0.mssIngressVlanQtag - - Default = 0x0000 - - QTag TPID - - - Notes: - Customer Tag Protocol Identifier (TPID) values to identify a VLAN tag. The " See SEC Egress VLAN CP Tag Parse QTag " bit must be set to 1 for the incoming packet's TPID to be parsed. */ - unsigned int mssIngressVlanQtag : 16; /* 1E.8008.F:0 R/W Default = 0x0000 */ - /* QTag TPID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress VLAN TPID 1 Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressVlanTpid_1Register_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress VLAN Control Register: 1E.800A */ -/* MSS Ingress VLAN Control Register: 1E.800A */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.800A.F:0 R/W MSS Ingress VLAN UP Map Table LSW [F:0] - AQ_MssIngressVlanControlRegister_HHD.u0.bits_0.mssIngressVlanUpMapTableLSW - - Default = 0x0000 - - Map table bits 15:0 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 */ - unsigned int mssIngressVlanUpMapTableLSW : 16; /* 1E.800A.F:0 R/W Default = 0x0000 */ - /* Map table bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress VLAN Control Register */ - union - { - struct - { - /*! \brief 1E.800B.F R/W MSS Ingress VLAN QTag Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanQtagParseEnable - - Default = 0x0 - - 1 = Enable VLAN QTag parsing - - - Notes: - Enable controlled port VLAN customer Tag parsing. When this bit is set to 1, the incoming packet's outer TPID will be compared with the configured " See MSS Ingress VLAN QTag [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssIngressVlanQtagParseEnable : 1; /* 1E.800B.F R/W Default = 0x0 */ - /* 1 = Enable VLAN QTag parsing - */ - /*! \brief 1E.800B.E R/W MSS Ingress VLAN STag Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanStagParseEnable - - Default = 0x0 - - 1 = Enable VLAN STag parsing - - - Notes: - Enable controlled port VLAN service Tag parsing. When this bit is set to 1, the incoming packets outer TPID will be compared with the configured " See MSS Ingress VLAN Stag [F:0] " for matching. If the " See SEC Egress VLAN CP Tag Parse QinQ " bit is set to1, this will also be used to compare the incoming packet's inner TPID. */ - unsigned int mssIngressVlanStagParseEnable : 1; /* 1E.800B.E R/W Default = 0x0 */ - /* 1 = Enable VLAN STag parsing - */ - /*! \brief 1E.800B.D R/W MSS Ingress VLAN QinQ Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanQinqParseEnable - - Default = 0x0 - - VLAN CP Tag Parse QinQ - - - Notes: - Enable controlled port VLAN QinQ Tag parsing. When this bit is set to 1 both the outer and inner VLAN Tags will be parsed. */ - unsigned int mssIngressVlanQinqParseEnable : 1; /* 1E.800B.D R/W Default = 0x0 */ - /* VLAN CP Tag Parse QinQ - */ - /*! \brief 1E.800B.C R/W MSS Ingress VLAN QTag UP Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanQtagUpParseEnable - - Default = 0x0 - - VLAN CP Tag QTag UP enable - - - Notes: - Enable controlled port customer VLAN customer Tag user priority field parsing. */ - unsigned int mssIngressVlanQtagUpParseEnable : 1; /* 1E.800B.C R/W Default = 0x0 */ - /* VLAN CP Tag QTag UP enable - */ - /*! \brief 1E.800B.B R/W MSS Ingress VLAN STag UP Parse Enable - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanStagUpParseEnable - - Default = 0x0 - - VLAN CP Tag STag UP enable - - - Notes: - Enable controlled port service VLAN service Tag user priority field parsing. */ - unsigned int mssIngressVlanStagUpParseEnable : 1; /* 1E.800B.B R/W Default = 0x0 */ - /* VLAN CP Tag STag UP enable - */ - /*! \brief 1E.800B.A:8 R/W MSS Ingress VLAN UP Default [2:0] - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanUpDefault - - Default = 0x0 - - UP default - - - Notes: - User priority default */ - unsigned int mssIngressVlanUpDefault : 3; /* 1E.800B.A:8 R/W Default = 0x0 */ - /* UP default - */ - /*! \brief 1E.800B.7:0 R/W MSS Ingress VLAN UP Map Table MSW [17:10] - AQ_MssIngressVlanControlRegister_HHD.u1.bits_1.mssIngressVlanUpMapTableMSW - - Default = 0x00 - - UP Map table bits 23:16 - - - Notes: - If there is a customer TPID Tag match and no service TPID Tag match or the service TPID Tag match is disabled, the outer TAG's PCP is used to index into this map table to generate the packets user priority. - 2:0 : UP value for customer Tag PCP 0x0 - 5:3: UP value for customer Tag PCP 0x0 - 8:6 : UP value for customer Tag PCP 0x0 - 11:9 : UP value for customer Tag PCP 0x0 - 14:12 : UP value for customer Tag PCP 0x0 - 17:15 : UP value for customer Tag PCP 0x0 - 20:18 : UP value for customer Tag PCP 0x0 - 23:21 : UP value for customer Tag PCP 0x0 */ - unsigned int mssIngressVlanUpMapTableMSW : 8; /* 1E.800B.7:0 R/W Default = 0x00 */ - /* UP Map table bits 23:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressVlanControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress MTU Size Control Register: 1E.800C */ -/* MSS Ingress MTU Size Control Register: 1E.800C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.800C.F:0 R/W MSS Ingress Controlled Packet MTU Size [F:0] - AQ_MssIngressMtuSizeControlRegister_HHD.u0.bits_0.mssIngressControlledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for controlled packet - - - Notes: - Maximum transmission unit of controlled packet */ - unsigned int mssIngressControlledPacketMtuSize : 16; /* 1E.800C.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for controlled packet - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress MTU Size Control Register */ - union - { - struct - { - /*! \brief 1E.800D.F:0 R/W MSS Ingress Uncontrolled Packet MTU Size [F:0] - AQ_MssIngressMtuSizeControlRegister_HHD.u1.bits_1.mssIngressUncontrolledPacketMtuSize - - Default = 0x05DC - - Maximum transmission unit for uncontrolled packet - - - Notes: - Maximum transmission unit of uncontrolled packet */ - unsigned int mssIngressUncontrolledPacketMtuSize : 16; /* 1E.800D.F:0 R/W Default = 0x05DC */ - /* Maximum transmission unit for uncontrolled packet - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressMtuSizeControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress Control Register: 1E.800E */ -/* MSS Ingress Control Register: 1E.800E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress Control Register */ - union - { - struct - { - unsigned int reserved0 : 2; - /*! \brief 1E.800E.D R/W MSS Ingress ICV LSB 8 Bytes Enable - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressIcvLsb_8BytesEnable - - Default = 0x0 - - 1 = Use LSB - 0 = Use MSB - - - - Notes: - This bit selects MSB or LSB 8 bytes selection in the case where the ICV is 8 bytes. - 0 = MSB is used. */ - unsigned int mssIngressIcvLsb_8BytesEnable : 1; /* 1E.800E.D R/W Default = 0x0 */ - /* 1 = Use LSB - 0 = Use MSB - - */ - /*! \brief 1E.800E.C:B R/W MSS Ingress Global Validate Frames [1:0] - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressGlobalValidateFrames - - Default = 0x0 - - Default validate frames configuration - - - Notes: - If the SC is invalid or if an IGPRC miss packet condition occurs, this default will be used for the validate frames configuration instead of the validate frame entry in the Ingress SC Table (IGSCT). */ - unsigned int mssIngressGlobalValidateFrames : 2; /* 1E.800E.C:B R/W Default = 0x0 */ - /* Default validate frames configuration - */ - /*! \brief 1E.800E.A R/W MSS Ingress Remove SECTag - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressRemoveSectag - - Default = 0x0 - - 1 = Enable removal of SECTag - - - Notes: - If this bit is set and either of the following two conditions occurs, the SECTag will be removed. - Controlled packet and either the SA or SC is invalid. - IGPRC miss. */ - unsigned int mssIngressRemoveSectag : 1; /* 1E.800E.A R/W Default = 0x0 */ - /* 1 = Enable removal of SECTag - */ - /*! \brief 1E.800E.9 R/W MSS Ingress High Priority - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressHighPriority - - Default = 0x0 - - 1 = MIB counter clear on read enable - - - Notes: - If this bit is set to 1, read is given high priority and the MIB count value becomes 0 after read. */ - unsigned int mssIngressHighPriority : 1; /* 1E.800E.9 R/W Default = 0x0 */ - /* 1 = MIB counter clear on read enable - */ - /*! \brief 1E.800E.8 R/W MSS Ingress Clear Count - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressClearCount - - Default = 0x0 - - 1 = Clear all MIB counters - - - Notes: - If this bit is set to 1, all MIB counters will be cleared. */ - unsigned int mssIngressClearCount : 1; /* 1E.800E.8 R/W Default = 0x0 */ - /* 1 = Clear all MIB counters - */ - /*! \brief 1E.800E.7 R/W MSS Ingress Clear Global Time - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressClearGlobalTime - - Default = 0x0 - - 1 = Clear global time - - - Notes: - Clear global time */ - unsigned int mssIngressClearGlobalTime : 1; /* 1E.800E.7 R/W Default = 0x0 */ - /* 1 = Clear global time - */ - /*! \brief 1E.800E.6 R/W MSS Ingress Check ICV - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressCheckIcv - - Default = 0x0 - - Unused - - - Notes: - Unused */ - unsigned int mssIngressCheckIcv : 1; /* 1E.800E.6 R/W Default = 0x0 */ - /* Unused - */ - /*! \brief 1E.800E.5 R/W MSS Ingress Drop IGPRC Miss - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressDropIgprcMiss - - Default = 0x0 - - 1 = Drop IGPRC miss packets - - - Notes: - Decides whether Ingress Pre-Security Classification (IGPRC) LUT miss packets are to be dropped */ - unsigned int mssIngressDropIgprcMiss : 1; /* 1E.800E.5 R/W Default = 0x0 */ - /* 1 = Drop IGPRC miss packets - */ - /*! \brief 1E.800E.4 R/W MSS Ingress Drop Kay Packet - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressDropKayPacket - - Default = 0x0 - - 1 = Drop KaY packets - - - Notes: - Decides whether KaY packets have to be dropped */ - unsigned int mssIngressDropKayPacket : 1; /* 1E.800E.4 R/W Default = 0x0 */ - /* 1 = Drop KaY packets - */ - /*! \brief 1E.800E.3 R/W MSS Ingress Mask Short Length Error - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressMaskShortLengthError - - Default = 0x0 - - Unused - - - Notes: - Unused */ - unsigned int mssIngressMaskShortLengthError : 1; /* 1E.800E.3 R/W Default = 0x0 */ - /* Unused - */ - /*! \brief 1E.800E.2 R/W MSS Ingress Create SCI - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressCreateSci - - Default = 0x0 - - 0 = SCI from IGPRC LUT - - - Notes: - If the SCI is not in the packet and this bit is set to 0, the SCI will be taken from the IGPRC LUT. */ - unsigned int mssIngressCreateSci : 1; /* 1E.800E.2 R/W Default = 0x0 */ - /* 0 = SCI from IGPRC LUT - */ - /*! \brief 1E.800E.1 R/W MSS Ingress Operation Point To Point - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressOperationPointToPoint - - Default = 0x0 - - 1 = Enable the SCI for authorization default - - - Notes: - The default SCI for authorization is configured in See MSS Ingress SCI Default [F:0] See MSS Ingress SCI Default [1F:10] , See MSS Ingress SCI Default [2F:20] , and See MSS Ingress SCI Default [3F:30] . */ - unsigned int mssIngressOperationPointToPoint : 1; /* 1E.800E.1 R/W Default = 0x0 */ - /* 1 = Enable the SCI for authorization default - */ - /*! \brief 1E.800E.0 R/W MSS Ingress Soft Reset - AQ_MssIngressControlRegister_HHD.u0.bits_0.mssIngressSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - S/W reset */ - unsigned int mssIngressSoftReset : 1; /* 1E.800E.0 R/W Default = 0x0 */ - /* 1 = Soft reset - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress Control Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Control Register: 1E.8010 */ -/* MSS Ingress SA Control Register: 1E.8010 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Control Register */ - union - { - struct - { - /*! \brief 1E.8010.F:0 R/W MSS Ingress SA Threshold LSW [F:0] - AQ_MssIngressSaControlRegister_HHD.u0.bits_0.mssIngressSaThresholdLSW - - Default = 0x0000 - - SA threshold bits 15:0 - - - Notes: - Ingress PN threshold to generate SA threshold interrupt. */ - unsigned int mssIngressSaThresholdLSW : 16; /* 1E.8010.F:0 R/W Default = 0x0000 */ - /* SA threshold bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Control Register */ - union - { - struct - { - /*! \brief 1E.8011.F:0 R/W MSS Ingress SA Threshold MSW [1F:10] - AQ_MssIngressSaControlRegister_HHD.u1.bits_1.mssIngressSaThresholdMSW - - Default = 0x0000 - - SA threshold bits 31:16 - - - Notes: - Ingress PN threshold to generate SA threshold interrupt. */ - unsigned int mssIngressSaThresholdMSW : 16; /* 1E.8011.F:0 R/W Default = 0x0000 */ - /* SA threshold bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress Interrupt Status Register: 1E.802E */ -/* MSS Ingress Interrupt Status Register: 1E.802E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress Interrupt Status Register */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.802E.8 COW MSS Ingress IGPOC Miss Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressIgpocMissInterrupt - - Default = 0x0 - - 1 = Interrupt - - */ - unsigned int mssIngressIgpocMissInterrupt : 1; /* 1E.802E.8 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.7 COW MSS Ingress TCI E/C Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressTciE_cErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This error occurs when the TCI E bit is 1 and the TCI C bit is 0. The packet is not dropped, uncontrolled, or untagged. */ - unsigned int mssIngressTciE_cErrorInterrupt : 1; /* 1E.802E.7 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.6 COW MSS Ingress ECC Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressEccErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. */ - unsigned int mssIngressEccErrorInterrupt : 1; /* 1E.802E.6 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.5 COW MSS Ingress MIB Saturation Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressMibSaturationInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the MIB counters reaches all ones saturation. */ - unsigned int mssIngressMibSaturationInterrupt : 1; /* 1E.802E.5 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.4 COW MSS Ingress Replay Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressReplayErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. */ - unsigned int mssIngressReplayErrorInterrupt : 1; /* 1E.802E.4 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.3 COW MSS Ingress ICV Error Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressIcvErrorInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. */ - unsigned int mssIngressIcvErrorInterrupt : 1; /* 1E.802E.3 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.2 COW MSS Ingress SA Threshold Expired Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressSaThresholdExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches the See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . */ - unsigned int mssIngressSaThresholdExpiredInterrupt : 1; /* 1E.802E.2 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.1 COW MSS Ingress SA Expired Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssIngressSaExpiredInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when the SA PN reaches all ones saturation. */ - unsigned int mssIngressSaExpiredInterrupt : 1; /* 1E.802E.1 COW Default = 0x0 */ - /* 1 = Interrupt - */ - /*! \brief 1E.802E.0 COW MSS Master Ingress Interrupt - AQ_MssIngressInterruptStatusRegister_HHD.u0.bits_0.mssMasterIngressInterrupt - - Default = 0x0 - - 1 = Interrupt - - - Notes: - Write to 1 to clear. This bit is set when any one of the above interrupt and the corresponding interrupt enable are both set. The interrupt enable for this bit must also be set for this bit to be set. */ - unsigned int mssMasterIngressInterrupt : 1; /* 1E.802E.0 COW Default = 0x0 */ - /* 1 = Interrupt - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress Interrupt Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress Interrupt Mask Register: 1E.8030 */ -/* MSS Ingress Interrupt Mask Register: 1E.8030 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress Interrupt Mask Register */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.8030.8 R/W MSS Ingress IGPOC Miss Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressIgpocMissInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressIgpocMissInterruptEnable : 1; /* 1E.8030.8 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.7 R/W MSS Ingress TCI E/C Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressTciE_cErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressTciE_cErrorInterruptEnable : 1; /* 1E.8030.7 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.6 R/W MSS Ingress ECC Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressEccErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressEccErrorInterruptEnable : 1; /* 1E.8030.6 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.5 R/W MSS Ingress MIB Saturation Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressMibSaturationInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressMibSaturationInterruptEnable : 1; /* 1E.8030.5 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.4 R/W MSS Ingress Replay Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressReplayErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressReplayErrorInterruptEnable : 1; /* 1E.8030.4 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.3 R/W MSS Ingress ICV Error Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressIcvErrorInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressIcvErrorInterruptEnable : 1; /* 1E.8030.3 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.2 R/W MSS Ingress SA Threshold Expired Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressSaThresholdExpiredInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressSaThresholdExpiredInterruptEnable : 1; /* 1E.8030.2 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.1 R/W MSS Ingress SA Expired Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressSaExpiredInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressSaExpiredInterruptEnable : 1; /* 1E.8030.1 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - /*! \brief 1E.8030.0 R/W MSS Ingress Master Interrupt Enable - AQ_MssIngressInterruptMaskRegister_HHD.u0.bits_0.mssIngressMasterInterruptEnable - - Default = 0x0 - - 1 = Interrupt enabled - - */ - unsigned int mssIngressMasterInterruptEnable : 1; /* 1E.8030.0 R/W Default = 0x0 */ - /* 1 = Interrupt enabled - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress Interrupt Mask Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressInterruptMaskRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA ICV Error Status Register: 1E.8032 */ -/* MSS Ingress SA ICV Error Status Register: 1E.8032 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA ICV Error Status Register */ - union - { - struct - { - /*! \brief 1E.8032.F:0 COW MSS Ingress SA ICV Error LSW [F:0] - AQ_MssIngressSaIcvErrorStatusRegister_HHD.u0.bits_0.mssIngressSaIcvErrorLSW - - Default = 0x0000 - - SA ICV error bits 15:0 - - - Notes: - When set, these bits identify the SA that has an ICV error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaIcvErrorLSW : 16; /* 1E.8032.F:0 COW Default = 0x0000 */ - /* SA ICV error bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA ICV Error Status Register */ - union - { - struct - { - /*! \brief 1E.8033.F:0 COW MSS Ingress SA ICV Error MSW [1F:10] - AQ_MssIngressSaIcvErrorStatusRegister_HHD.u1.bits_1.mssIngressSaIcvErrorMSW - - Default = 0x0000 - - SA ICV error bits 31:16 - - - Notes: - When set, these bits identify the SA that has an ICV error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaIcvErrorMSW : 16; /* 1E.8033.F:0 COW Default = 0x0000 */ - /* SA ICV error bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaIcvErrorStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Replay Error Status Register: 1E.8034 */ -/* MSS Ingress SA Replay Error Status Register: 1E.8034 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Replay Error Status Register */ - union - { - struct - { - /*! \brief 1E.8034.F:0 COW MSS Ingress SA Replay Error LSW [F:0] - AQ_MssIngressSaReplayErrorStatusRegister_HHD.u0.bits_0.mssIngressSaReplayErrorLSW - - Default = 0x0000 - - SA replay error bits 15:0 - - - Notes: - When set, these bits identify the SA that has a replay error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaReplayErrorLSW : 16; /* 1E.8034.F:0 COW Default = 0x0000 */ - /* SA replay error bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Replay Error Status Register */ - union - { - struct - { - /*! \brief 1E.8035.F:0 COW MSS Ingress SA Replay Error MSW [1F:10] - AQ_MssIngressSaReplayErrorStatusRegister_HHD.u1.bits_1.mssIngressSaReplayErrorMSW - - Default = 0x0000 - - SA replay error bits 31:16 - - - Notes: - When set, these bits identify the SA that has a replay error. Write these bits to 1 to clear. */ - unsigned int mssIngressSaReplayErrorMSW : 16; /* 1E.8035.F:0 COW Default = 0x0000 */ - /* SA replay error bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaReplayErrorStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Expired Status Register: 1E.8036 */ -/* MSS Ingress SA Expired Status Register: 1E.8036 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8036.F:0 ROS MSS Ingress SA Expired LSW [F:0] - AQ_MssIngressSaExpiredStatusRegister_HHD.u0.bits_0.mssIngressSaExpiredLSW - - Default = 0x0000 - - SA expired bits 15:0 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. Write these bits to 1 to clear. */ - unsigned int mssIngressSaExpiredLSW : 16; /* 1E.8036.F:0 ROS Default = 0x0000 */ - /* SA expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8037.F:0 ROS MSS Ingress SA Expired MSW [1F:10] - AQ_MssIngressSaExpiredStatusRegister_HHD.u1.bits_1.mssIngressSaExpiredMSW - - Default = 0x0000 - - SA expired bits 31:16 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN reaches all-ones saturation. Write these bits to 1 to clear. */ - unsigned int mssIngressSaExpiredMSW : 16; /* 1E.8037.F:0 ROS Default = 0x0000 */ - /* SA expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress SA Threshold Expired Status Register: 1E.8038 */ -/* MSS Ingress SA Threshold Expired Status Register: 1E.8038 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8038.F:0 ROS MSS Ingress SA Threshold Expired LSW [F:0] - AQ_MssIngressSaThresholdExpiredStatusRegister_HHD.u0.bits_0.mssIngressSaThresholdExpiredLSW - - Default = 0x0000 - - SA threshold expired bits 15:0 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . Write these bits to 1 to clear. */ - unsigned int mssIngressSaThresholdExpiredLSW : 16; /* 1E.8038.F:0 ROS Default = 0x0000 */ - /* SA threshold expired bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress SA Threshold Expired Status Register */ - union - { - struct - { - /*! \brief 1E.8039.F:0 ROS MSS Ingress SA Threshold Expired MSW [1F:10] - AQ_MssIngressSaThresholdExpiredStatusRegister_HHD.u1.bits_1.mssIngressSaThresholdExpiredMSW - - Default = 0x0000 - - SA threshold expired bits 31:16 - - - Notes: - When set, these bits identify the SA that has expired when the SA PN has reached the configured threshold See SEC Egress PN Threshold [F:0] and See SEC Egress PN Threshold [1F:10] . Write these bits to 1 to clear. */ - unsigned int mssIngressSaThresholdExpiredMSW : 16; /* 1E.8039.F:0 ROS Default = 0x0000 */ - /* SA threshold expired bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressSaThresholdExpiredStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress ECC Interrupt Status Register: 1E.803A */ -/* MSS Ingress ECC Interrupt Status Register: 1E.803A */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.803A.F:0 R/W MSS Ingress SA ECC Error Interrupt LSW [F:0] - AQ_MssIngressEccInterruptStatusRegister_HHD.u0.bits_0.mssIngressSaEccErrorInterruptLSW - - Default = 0x0000 - - SA ECC error interrupt bits 15:0 - - - Notes: - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssIngressSaEccErrorInterruptLSW : 16; /* 1E.803A.F:0 R/W Default = 0x0000 */ - /* SA ECC error interrupt bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress ECC Interrupt Status Register */ - union - { - struct - { - /*! \brief 1E.803B.F:0 R/W MSS Ingress SA ECC Error Interrupt MSW [1F:10] - AQ_MssIngressEccInterruptStatusRegister_HHD.u1.bits_1.mssIngressSaEccErrorInterruptMSW - - Default = 0x0000 - - SA ECC error interrupt bits 31:16 - - - Notes: - When set to 1, indicates that an ECC error occured for the SA. */ - unsigned int mssIngressSaEccErrorInterruptMSW : 16; /* 1E.803B.F:0 R/W Default = 0x0000 */ - /* SA ECC error interrupt bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MssIngressEccInterruptStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress LUT Address Control Register: 1E.8080 */ -/* MSS Ingress LUT Address Control Register: 1E.8080 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress LUT Address Control Register */ - union - { - struct - { - /*! \brief 1E.8080.F:C R/W MSS Ingress LUT Select [3:0] - AQ_MssIngressLutAddressControlRegister_HHD.u0.bits_0.mssIngressLutSelect - - Default = 0x0 - - LUT select - - - Notes: - 0x0 : Ingress Pre-Security MAC Control FIlter (IGPRCTLF) LUT - 0x1 : Ingress Pre-Security Classification LUT (IGPRC) - 0x2 : Ingress Packet Format (IGPFMT) SAKey LUT - 0x3 : Ingress Packet Format (IGPFMT) SC/SA LUT - 0x4 : Ingress Post-Security Classification LUT (IGPOC) - 0x5 : Ingress Post-Security MAC Control Filter (IGPOCTLF) LUT - 0x6 : Ingress MIB (IGMIB) */ - unsigned int mssIngressLutSelect : 4; /* 1E.8080.F:C R/W Default = 0x0 */ - /* LUT select - */ - unsigned int reserved0 : 3; - /*! \brief 1E.8080.8:0 R/W MSS Ingress LUT Address [8:0] - AQ_MssIngressLutAddressControlRegister_HHD.u0.bits_0.mssIngressLutAddress - - Default = 0x000 - - LUT address - - */ - unsigned int mssIngressLutAddress : 9; /* 1E.8080.8:0 R/W Default = 0x000 */ - /* LUT address - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssIngressLutAddressControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress LUT Control Register: 1E.8081 */ -/* MSS Ingress LUT Control Register: 1E.8081 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress LUT Control Register */ - union - { - struct - { - /*! \brief 1E.8081.F R/W MSS Ingress LUT Write - AQ_MssIngressLutControlRegister_HHD.u0.bits_0.mssIngressLutWrite - - Default = 0x0 - - 1 = LUT write - - - Notes: - Setting this bit to 1, will write the LUT. This bit will automatically clear to 0. */ - unsigned int mssIngressLutWrite : 1; /* 1E.8081.F R/W Default = 0x0 */ - /* 1 = LUT write - */ - /*! \brief 1E.8081.E R/W MSS Ingress LUT Read - AQ_MssIngressLutControlRegister_HHD.u0.bits_0.mssIngressLutRead - - Default = 0x0 - - 1 = LUT read - - - Notes: - Setting this bit to 1, will read the LUT. This bit will automatically clear to 0. */ - unsigned int mssIngressLutRead : 1; /* 1E.8081.E R/W Default = 0x0 */ - /* 1 = LUT read - */ - unsigned int reserved0 : 14; - } bits_0; - uint16_t word_0; - } u0; -} AQ_MssIngressLutControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSS Ingress LUT Data Control Register: 1E.80A0 */ -/* MSS Ingress LUT Data Control Register: 1E.80A0 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A0.F:0 R/W MSS Ingress LUT Data 0 [F:0] - AQ_MssIngressLutDataControlRegister_HHD.u0.bits_0.mssIngressLutData_0 - - Default = 0x0000 - - LUT data bits 15:0 - - */ - unsigned int mssIngressLutData_0 : 16; /* 1E.80A0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 15:0 - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A1.F:0 R/W MSS Ingress LUT Data 1 [1F:10] - AQ_MssIngressLutDataControlRegister_HHD.u1.bits_1.mssIngressLutData_1 - - Default = 0x0000 - - LUT data bits 31:16 - - */ - unsigned int mssIngressLutData_1 : 16; /* 1E.80A1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A2.F:0 R/W MSS Ingress LUT Data 2 [2F:20] - AQ_MssIngressLutDataControlRegister_HHD.u2.bits_2.mssIngressLutData_2 - - Default = 0x0000 - - LUT data bits 47:32 - - */ - unsigned int mssIngressLutData_2 : 16; /* 1E.80A2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 47:32 - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A3.F:0 R/W MSS Ingress LUT Data 3 [3F:30] - AQ_MssIngressLutDataControlRegister_HHD.u3.bits_3.mssIngressLutData_3 - - Default = 0x0000 - - LUT data bits 63:48 - - */ - unsigned int mssIngressLutData_3 : 16; /* 1E.80A3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 63:48 - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A4.F:0 R/W MSS Ingress LUT Data 4 [4F:40] - AQ_MssIngressLutDataControlRegister_HHD.u4.bits_4.mssIngressLutData_4 - - Default = 0x0000 - - LUT data bits 79:64 - - */ - unsigned int mssIngressLutData_4 : 16; /* 1E.80A4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 79:64 - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A5.F:0 R/W MSS Ingress LUT Data 5 [5F:50] - AQ_MssIngressLutDataControlRegister_HHD.u5.bits_5.mssIngressLutData_5 - - Default = 0x0000 - - LUT data bits 95:80 - - */ - unsigned int mssIngressLutData_5 : 16; /* 1E.80A5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 95:80 - */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A6.F:0 R/W MSS Ingress LUT Data 6 [6F:60] - AQ_MssIngressLutDataControlRegister_HHD.u6.bits_6.mssIngressLutData_6 - - Default = 0x0000 - - LUT data bits 111:96 - - */ - unsigned int mssIngressLutData_6 : 16; /* 1E.80A6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 111:96 - */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A7.F:0 R/W MSS Ingress LUT Data 7 [7F:70] - AQ_MssIngressLutDataControlRegister_HHD.u7.bits_7.mssIngressLutData_7 - - Default = 0x0000 - - LUT data bits 127:112 - - */ - unsigned int mssIngressLutData_7 : 16; /* 1E.80A7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 127:112 - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A8.F:0 R/W MSS Ingress LUT Data 8 [8F:80] - AQ_MssIngressLutDataControlRegister_HHD.u8.bits_8.mssIngressLutData_8 - - Default = 0x0000 - - LUT data bits 143:128 - - */ - unsigned int mssIngressLutData_8 : 16; /* 1E.80A8.F:0 R/W Default = 0x0000 */ - /* LUT data bits 143:128 - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80A9.F:0 R/W MSS Ingress LUT Data 9 [9F:90] - AQ_MssIngressLutDataControlRegister_HHD.u9.bits_9.mssIngressLutData_9 - - Default = 0x0000 - - LUT data bits 159:144 - - */ - unsigned int mssIngressLutData_9 : 16; /* 1E.80A9.F:0 R/W Default = 0x0000 */ - /* LUT data bits 159:144 - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AA.F:0 R/W MSS Ingress LUT Data 10 [AF:A0] - AQ_MssIngressLutDataControlRegister_HHD.u10.bits_10.mssIngressLutData_10 - - Default = 0x0000 - - LUT data bits 175:160 - - */ - unsigned int mssIngressLutData_10 : 16; /* 1E.80AA.F:0 R/W Default = 0x0000 */ - /* LUT data bits 175:160 - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AB.F:0 R/W MSS Ingress LUT Data 11 [BF:B0] - AQ_MssIngressLutDataControlRegister_HHD.u11.bits_11.mssIngressLutData_11 - - Default = 0x0000 - - LUT data bits 191:176 - - */ - unsigned int mssIngressLutData_11 : 16; /* 1E.80AB.F:0 R/W Default = 0x0000 */ - /* LUT data bits 191:176 - */ - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Union for bit and word level access of word 12 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AC.F:0 R/W MSS Ingress LUT Data 12 [CF:C0] - AQ_MssIngressLutDataControlRegister_HHD.u12.bits_12.mssIngressLutData_12 - - Default = 0x0000 - - LUT data bits 207:192 - - */ - unsigned int mssIngressLutData_12 : 16; /* 1E.80AC.F:0 R/W Default = 0x0000 */ - /* LUT data bits 207:192 - */ - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Union for bit and word level access of word 13 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AD.F:0 R/W MSS Ingress LUT Data 13 [DF:D0] - AQ_MssIngressLutDataControlRegister_HHD.u13.bits_13.mssIngressLutData_13 - - Default = 0x0000 - - LUT data bits 223:208 - - */ - unsigned int mssIngressLutData_13 : 16; /* 1E.80AD.F:0 R/W Default = 0x0000 */ - /* LUT data bits 223:208 - */ - } bits_13; - uint16_t word_13; - } u13; - /*! \brief Union for bit and word level access of word 14 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AE.F:0 R/W MSS Ingress LUT Data 14 [EF:E0] - AQ_MssIngressLutDataControlRegister_HHD.u14.bits_14.mssIngressLutData_14 - - Default = 0x0000 - - LUT data bits 239:224 - - */ - unsigned int mssIngressLutData_14 : 16; /* 1E.80AE.F:0 R/W Default = 0x0000 */ - /* LUT data bits 239:224 - */ - } bits_14; - uint16_t word_14; - } u14; - /*! \brief Union for bit and word level access of word 15 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80AF.F:0 R/W MSS Ingress LUT Data 15 [FF:F0] - AQ_MssIngressLutDataControlRegister_HHD.u15.bits_15.mssIngressLutData_15 - - Default = 0x0000 - - LUT data bits 255:240 - - */ - unsigned int mssIngressLutData_15 : 16; /* 1E.80AF.F:0 R/W Default = 0x0000 */ - /* LUT data bits 255:240 - */ - } bits_15; - uint16_t word_15; - } u15; - /*! \brief Union for bit and word level access of word 16 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B0.F:0 R/W MSS Ingress LUT Data 16 [10F:100] - AQ_MssIngressLutDataControlRegister_HHD.u16.bits_16.mssIngressLutData_16 - - Default = 0x0000 - - LUT data bits 271:256 - - */ - unsigned int mssIngressLutData_16 : 16; /* 1E.80B0.F:0 R/W Default = 0x0000 */ - /* LUT data bits 271:256 - */ - } bits_16; - uint16_t word_16; - } u16; - /*! \brief Union for bit and word level access of word 17 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B1.F:0 R/W MSS Ingress LUT Data 17 [11F:110] - AQ_MssIngressLutDataControlRegister_HHD.u17.bits_17.mssIngressLutData_17 - - Default = 0x0000 - - LUT data bits 287:272 - - */ - unsigned int mssIngressLutData_17 : 16; /* 1E.80B1.F:0 R/W Default = 0x0000 */ - /* LUT data bits 287:272 - */ - } bits_17; - uint16_t word_17; - } u17; - /*! \brief Union for bit and word level access of word 18 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B2.F:0 R/W MSS Ingress LUT Data 18 [12F:120] - AQ_MssIngressLutDataControlRegister_HHD.u18.bits_18.mssIngressLutData_18 - - Default = 0x0000 - - LUT data bits 303:288 - - */ - unsigned int mssIngressLutData_18 : 16; /* 1E.80B2.F:0 R/W Default = 0x0000 */ - /* LUT data bits 303:288 - */ - } bits_18; - uint16_t word_18; - } u18; - /*! \brief Union for bit and word level access of word 19 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B3.F:0 R/W MSS Ingress LUT Data 19 [13F:130] - AQ_MssIngressLutDataControlRegister_HHD.u19.bits_19.mssIngressLutData_19 - - Default = 0x0000 - - LUT data bits 319:304 - - */ - unsigned int mssIngressLutData_19 : 16; /* 1E.80B3.F:0 R/W Default = 0x0000 */ - /* LUT data bits 319:304 - */ - } bits_19; - uint16_t word_19; - } u19; - /*! \brief Union for bit and word level access of word 20 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B4.F:0 R/W MSS Ingress LUT Data 20 [14F:140] - AQ_MssIngressLutDataControlRegister_HHD.u20.bits_20.mssIngressLutData_20 - - Default = 0x0000 - - LUT data bits 335:320 - - */ - unsigned int mssIngressLutData_20 : 16; /* 1E.80B4.F:0 R/W Default = 0x0000 */ - /* LUT data bits 335:320 - */ - } bits_20; - uint16_t word_20; - } u20; - /*! \brief Union for bit and word level access of word 21 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B5.F:0 R/W MSS Ingress LUT Data 21 [15F:150] - AQ_MssIngressLutDataControlRegister_HHD.u21.bits_21.mssIngressLutData_21 - - Default = 0x0000 - - LUT data bits 351:336 - - */ - unsigned int mssIngressLutData_21 : 16; /* 1E.80B5.F:0 R/W Default = 0x0000 */ - /* LUT data bits 351:336 - */ - } bits_21; - uint16_t word_21; - } u21; - /*! \brief Union for bit and word level access of word 22 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B6.F:0 R/W MSS Ingress LUT Data 22 [16F:160] - AQ_MssIngressLutDataControlRegister_HHD.u22.bits_22.mssIngressLutData_22 - - Default = 0x0000 - - LUT data bits 367:352 - - */ - unsigned int mssIngressLutData_22 : 16; /* 1E.80B6.F:0 R/W Default = 0x0000 */ - /* LUT data bits 367:352 - */ - } bits_22; - uint16_t word_22; - } u22; - /*! \brief Union for bit and word level access of word 23 of MSS Ingress LUT Data Control Register */ - union - { - struct - { - /*! \brief 1E.80B7.F:0 R/W MSS Ingress LUT Data 23 [17F:170] - AQ_MssIngressLutDataControlRegister_HHD.u23.bits_23.mssIngressLutData_23 - - Default = 0x0000 - - LUT data bits 383:368 - - */ - unsigned int mssIngressLutData_23 : 16; /* 1E.80B7.F:0 R/W Default = 0x0000 */ - /* LUT data bits 383:368 - */ - } bits_23; - uint16_t word_23; - } u23; -} AQ_MssIngressLutDataControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line General Control Register: 1E.9004 */ -/* MSM Line General Control Register: 1E.9004 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line General Control Register */ - union - { - struct - { - /*! \brief 1E.9004.F R/W MSM Line PHY Tx Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePhyTxEnable - - Default = 0x0 - - 1 = Enable PHY Tx - - - Notes: - Directly controls the phy_tx_ena pin. */ - unsigned int msmLinePhyTxEnable : 1; /* 1E.9004.F R/W Default = 0x0 */ - /* 1 = Enable PHY Tx - */ - /*! \brief 1E.9004.E R/W MSM Line Rx Error Discard - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineRxErrorDiscard - - Default = 0x0 - - 1 = Enable discard of received errored frames - - - Notes: - Rx errored frame discard enable. When set to 1, any frame received with an error is discarded and not forwarded to the client interface. When set to 0, errored frames are forwarded to the client interface with ff_rx_err asserted. - Note : It is recommended to set this bit to 1 only when store and forward operation is enabled (RX_SECTION_FULL TBD). */ - unsigned int msmLineRxErrorDiscard : 1; /* 1E.9004.E R/W Default = 0x0 */ - /* 1 = Enable discard of received errored frames - */ - /*! \brief 1E.9004.D R/W MSM Line Control Frame Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineControlFrameEnable - - Default = 0x0 - - 1 = Control frame enabled - - - Notes: - MAC control frame enable. When set to 1, the MAC control frames with any Opcode other than 0x0001 are accepted and forwarded to the client interface. When set to 0, MAC control frames with any opcode other than 0x0001 are silently discarded. */ - unsigned int msmLineControlFrameEnable : 1; /* 1E.9004.D R/W Default = 0x0 */ - /* 1 = Control frame enabled - */ - /*! \brief 1E.9004.C R/WSC MSM Line Soft Reset - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineSoftReset - - Default = 0x0 - - 1 = Soft reset - - - Notes: - Software reset. Self clearing bit. When set to 1, resets all statistic counters as well as the Tx and Rx FIFOs. It should be issued after all traffic has been stopped as a result of clearing the Rx/Tx enable bits ( See MAC Rx Enable set to 0 and See MAC Tx Enable set to 0). - Note : Can lead to an Rx interface (ff_rx_xxx) violations to the application if the reset is issued in the middle of a receive frame transfer. Then the end of packet (assertion of ff_rx_eop) is lost and the application should be prepeared to handle this exception. */ - unsigned int msmLineSoftReset : 1; /* 1E.9004.C R/WSC Default = 0x0 */ - /* 1 = Soft reset - */ - /*! \brief 1E.9004.B R/W MSM Line Tx Pad Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxPadEnable - - Default = 0x1 - - 1 = Enable Tx padding - - - Notes: - When set to 1, enable padding of frames in the Tx direction. When set to 0, the MAC will not extend frames from the application to a minimum of 64 bytes, allowing to transmit short frames (violating the Ethernet mimimum size requirements). Must be set to 1 for normal operation. */ - unsigned int msmLineTxPadEnable : 1; /* 1E.9004.B R/W Default = 0x1 */ - /* 1 = Enable Tx padding - */ - /*! \brief 1E.9004.A R/W MSM Line Tx CRC Append - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxCrcAppend - - Default = 0x0 - - 1 = Append Tx CRC - - - Notes: - Permanently enable CRC append on transmit. If set to 1, the Tx will append a CRC to all transmitted frames. If set to 0, CRC append can be controlled on a per frame basis using the pin ff_tx_crc. - This configuration bit is OR'ed with the external ff_tx_crc pin to instruct the Tx to append a CRC to transmitted frames. The ff_tx_crc pin is tied to 0. */ - unsigned int msmLineTxCrcAppend : 1; /* 1E.9004.A R/W Default = 0x0 */ - /* 1 = Append Tx CRC - */ - /*! \brief 1E.9004.9 R/W MSM Line Tx Address Insert Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxAddressInsertEnable - - Default = 0x0 - - 1 = Insert Tx MAC source address - - - Notes: - Set the source MAC address on transmit. If set to 1, the MAC overwrites the source MAC address with the MAC programmed address in all transmitted frames. When set to 0, the source MAC address is transmitted unmodified from the MAC Tx client application. */ - unsigned int msmLineTxAddressInsertEnable : 1; /* 1E.9004.9 R/W Default = 0x0 */ - /* 1 = Insert Tx MAC source address - */ - /*! \brief 1E.9004.8 R/W MSM Line Pause Ignore - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePauseIgnore - - Default = 0x0 - - 1 = Ignore pause frames - - - Notes: - Ignore pause frame quanta. If set to 1, received pause frames are ignored by the MAC. When set to 0, the Tx is stopped for the amount of time specified in the pause quanta received within the pause frame. */ - unsigned int msmLinePauseIgnore : 1; /* 1E.9004.8 R/W Default = 0x0 */ - /* 1 = Ignore pause frames - */ - /*! \brief 1E.9004.7 R/W MSM Line Pause Forward - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePauseForward - - Default = 0x0 - - 1 = Enable Pause forwarding - - - Notes: - Terminate or forward pause frames. If set to 1, pause frames are forwarded to the user application. In normal mode, when set to 0, pause frames are terminated and discarded within the MAC. */ - unsigned int msmLinePauseForward : 1; /* 1E.9004.7 R/W Default = 0x0 */ - /* 1 = Enable Pause forwarding - */ - /*! \brief 1E.9004.6 R/W MSM Line CRC Forward - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineCrcForward - - Default = 0x0 - - 1 = Enable CRC forwarding - - - Notes: - When set to 1, the CRC field of the received frames is forwarded with the frame to the user application. If disabled, the CRC field is stripped from the frame. - Note : If padding is enabled ( See MAC PAD Enable set to 1), this bit is ignored. */ - unsigned int msmLineCrcForward : 1; /* 1E.9004.6 R/W Default = 0x0 */ - /* 1 = Enable CRC forwarding - */ - /*! \brief 1E.9004.5 R/W MSM Line PAD Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePadEnable - - Default = 0x0 - - 1 = Enable frame padding removal on Rx - - - Notes: - When set to 1, enable frame padding removal on the Rx path. If enabled, padding is removed before the frame is transferred to the MAC client application. If disabled, no padding is removed on the Rx by the MAC. - Note : On Tx, the MAC always adds padding as required. */ - unsigned int msmLinePadEnable : 1; /* 1E.9004.5 R/W Default = 0x0 */ - /* 1 = Enable frame padding removal on Rx - */ - /*! \brief 1E.9004.4 R/W MSM Line Promiscuous Mode - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLinePromiscuousMode - - Default = 0x0 - - 1 = Promiscuous mode - - - Notes: - When set to 1, all frames are received without any MAC address filtering. */ - unsigned int msmLinePromiscuousMode : 1; /* 1E.9004.4 R/W Default = 0x0 */ - /* 1 = Promiscuous mode - */ - /*! \brief 1E.9004.3 R/W MSM Line WAN Mode - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineWanMode - - Default = 0x0 - - 1 = WAN mode - 0 = LAN mode - - - Notes: - WAN mode enable. Sets WAN mode when set to 1 and LAN mode when set to 0. Note: When changing the mode, verifiy correct setting of the Tx IPG. */ - unsigned int msmLineWanMode : 1; /* 1E.9004.3 R/W Default = 0x0 */ - /* 1 = WAN mode - 0 = LAN mode - */ - unsigned int reserved0 : 1; - /*! \brief 1E.9004.1 R/W MSM Line Rx Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineRxEnable - - Default = 0x0 - - 1 = Rx enable - - Notes: - MAC Tx path enable. Should be set to 1 to enable the MAC Tx path. Should be set to 0 to disable the MAC Tx path. */ - unsigned int msmLineRxEnable : 1; /* 1E.9004.1 R/W Default = 0x0 */ - /* 1 = Rx enable */ - /*! \brief 1E.9004.0 R/W MSM Line Tx Enable - AQ_MsmLineGeneralControlRegister_HHD.u0.bits_0.msmLineTxEnable - - Default = 0x0 - - 1 = Tx enable - - Notes: - MAC Rx path enable. Should be set to 1 to enable the MAC Rx path. Should be set to 0 to disable the MAC Rx path. */ - unsigned int msmLineTxEnable : 1; /* 1E.9004.0 R/W Default = 0x0 */ - /* 1 = Tx enable */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line General Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.9005.7 R/W MSM Line Tx Low Power IDLE Enable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineTxLowPowerIdleEnable - - Default = 0x0 - - 1 = Transmit LPI enable - - - Notes: - Transmit low power IDLE enable. When set to 1, the MAC completes the transmission of the current frame and generates low power IDLE sequences (LPI) to the XGMII/SGMII. When set to 0, the MAC operates in normal mode. This bit is OR'ed with the reg_lowp_ena pin. */ - unsigned int msmLineTxLowPowerIdleEnable : 1; /* 1E.9005.7 R/W Default = 0x0 */ - /* 1 = Transmit LPI enable - */ - unsigned int reserved1 : 1; - /*! \brief 1E.9005.5 R/W MSM Line SFD Check Disable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineSfdCheckDisable - - Default = 0x0 - - 1 = Disable SFD check - - - Notes: - Disable check of SFD (0xD5) character at frame start. When set to 1, the frame is accepted even if the SFD byte following the preamble is not 0xD5. When set to 0, a frame is accepted only if the SFD byte is found with the value 0xD5. */ - unsigned int msmLineSfdCheckDisable : 1; /* 1E.9005.5 R/W Default = 0x0 */ - /* 1 = Disable SFD check - */ - unsigned int reserved2 : 1; - /*! \brief 1E.9005.3 R/W MSM Line Priority Flow Control Enable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLinePriorityFlowControlEnable - - Default = 0x0 - - 1 = Enable priority flow control - 0 = Enable link flow control - - - Notes: - Enable priority flow control (PFC) mode of operation. When set to 0, the MAC uses standard link pause frames. When set to 1, the MAC will transmit and accept PFC frames. */ - unsigned int msmLinePriorityFlowControlEnable : 1; /* 1E.9005.3 R/W Default = 0x0 */ - /* 1 = Enable priority flow control - 0 = Enable link flow control - */ - /*! \brief 1E.9005.2 R/W MSM Line IDLE Column Count Extend - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineIdleColumnCountExtend - - Default = 0x0 - - 1 = Extend IDLE column count - - Notes: - When set to 1, extends the RS layer IDLE column counter by 2x. The IEEE 802.3ae defines the fault condition to be cleared after 128 columns of IDLE have been received. If the MAC operates together with a WAN mode PCS (WIS) it may may happen (depending on PCS) that this period is too short to bridge the IDLE stuffing occurring in this mode, leading to a toggling fault indication. In this case, extending the counter helps to aoivd toggling fault indications. */ - unsigned int msmLineIdleColumnCountExtend : 1; /* 1E.9005.2 R/W Default = 0x0 */ - /* 1 = Extend IDLE column count */ - /*! \brief 1E.9005.1 R/W MSM Line Length Check Disable - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineLengthCheckDisable - - Default = 0x0 - - 1 = Disable length check - - Notes: - Payload length check disable. When set to 0, the MAC checks the frames payload length with the frame length/type field. When set to 1, the payload length check is disabled. */ - unsigned int msmLineLengthCheckDisable : 1; /* 1E.9005.1 R/W Default = 0x0 */ - /* 1 = Disable length check */ - /*! \brief 1E.9005.0 R/W MSM Line Force Send IDLE - AQ_MsmLineGeneralControlRegister_HHD.u1.bits_1.msmLineForceSendIdle - - Default = 0x0 - - 1 = Force send idle - - Notes: - When set to 1, suppress any frame transmissions and forces IDLE n the Tx interface instead of frames. This control affects the MAC reconciliation layer (RS) which acts after all MAC datapath has processed the frame. - Note : Does not have an effect on fault handling (i.e. reception of local fault will still cause transmit of remote fault). - Must be 0 for normal operation. */ - unsigned int msmLineForceSendIdle : 1; /* 1E.9005.0 R/W Default = 0x0 */ - /* 1 = Force send idle */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineGeneralControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line FIFO Control Register: 1E.900E */ -/* MSM Line FIFO Control Register: 1E.900E */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.900E.7:0 R/W MSM Line Rx FIFO Full Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u0.bits_0.msmLineRxFifoFullThreshold - - Default = 0x08 - - Rx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineRxFifoFullThreshold : 8; /* 1E.900E.7:0 R/W Default = 0x08 */ - /* Rx FIFO full threshold */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.900F.7:0 R/W MSM Line Rx FIFO Empty Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u1.bits_1.msmLineRxFifoEmptyThreshold - - Default = 0x00 - - Rx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineRxFifoEmptyThreshold : 8; /* 1E.900F.7:0 R/W Default = 0x00 */ - /* Rx FIFO empty threshold */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.9010.5:0 R/W MSM Line Tx FIFO Full Threshold [5:0] - AQ_MsmLineFifoControlRegister_HHD.u2.bits_2.msmLineTxFifoFullThreshold - - Default = 0x08 - - Tx FIFO full threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineTxFifoFullThreshold : 6; /* 1E.9010.5:0 R/W Default = 0x08 */ - /* Tx FIFO full threshold */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.9011.5:0 R/W MSM Line Tx FIFO Empty Threshold [5:0] - AQ_MsmLineFifoControlRegister_HHD.u3.bits_3.msmLineTxFifoEmptyThreshold - - Default = 0x00 - - Tx FIFO empty threshold - - Notes: - All threshold values are in steps of FIFO words. */ - unsigned int msmLineTxFifoEmptyThreshold : 6; /* 1E.9011.5:0 R/W Default = 0x00 */ - /* Tx FIFO empty threshold */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.9012.7:0 ROS MSM Line Rx FIFO Almost Full Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u4.bits_4.msmLineRxFifoAlmostFullThreshold - - Default = 0x00 - - Rx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmLineRxFifoAlmostFullThreshold : 8; /* 1E.9012.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost full threshold */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.9013.7:0 ROS MSM Line Rx FIFO Almost Empty Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u5.bits_5.msmLineRxFifoAlmostEmptyThreshold - - Default = 0x00 - - Rx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmLineRxFifoAlmostEmptyThreshold : 8; /* 1E.9013.7:0 ROS Default = 0x00 */ - /* Rx FIFO almost empty threshold */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.9014.7:0 ROS MSM Line Tx FIFO Almost Full Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u6.bits_6.msmLineTxFifoAlmostFullThreshold - - Default = 0x00 - - Tx FIFO almost full threshold - - Notes: - Unused. */ - unsigned int msmLineTxFifoAlmostFullThreshold : 8; /* 1E.9014.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost full threshold */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of MSM Line FIFO Control Register */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.9015.7:0 ROS MSM Line Tx FIFO Almost Empty Threshold [7:0] - AQ_MsmLineFifoControlRegister_HHD.u7.bits_7.msmLineTxFifoAlmostEmptyThreshold - - Default = 0x00 - - Tx FIFO almost empty threshold - - Notes: - Unused. */ - unsigned int msmLineTxFifoAlmostEmptyThreshold : 8; /* 1E.9015.7:0 ROS Default = 0x00 */ - /* Tx FIFO almost empty threshold */ - } bits_7; - uint16_t word_7; - } u7; -} AQ_MsmLineFifoControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line General Status Register: 1E.9020 */ -/* MSM Line General Status Register: 1E.9020 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line General Status Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.9020.5 RO MSM Line Tx FIFO Empty - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineTxFifoEmpty - - - - Tx FIFO empty - - Notes: - When set to 1, indicates the Tx FIFO is empty. When set to 0, Tx FIFO is non-empty. */ - unsigned int msmLineTxFifoEmpty : 1; /* 1E.9020.5 RO */ - /* Tx FIFO empty */ - /*! \brief 1E.9020.4 RO MSM Line Rx Low Power IDLE - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineRxLowPowerIdle - - - - Rx LPI detected - - Notes: - Receive low power IDLE (LPI). Set to 1 when LPI is currently detected on the MAC Rx interface. Set to 0, when the MAC currently operates in normal mode. */ - unsigned int msmLineRxLowPowerIdle : 1; /* 1E.9020.4 RO */ - /* Rx LPI detected */ - /*! \brief 1E.9020.3 R/W MSM Line Timestamp Available - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineTimestampAvailable - - Default = 0x0 - - Timestamp available - - Notes: - Transmit timestamp available. Indicates that the timestamp of the last transmitted event frame (which had ff_tx_ts_frm=1) is available in the register See MAC Time Stamp Status 0 [F:0] and See MAC Time Stamp Status 1 [F:0] . To clear this bit, the bit must be written with a 1. - */ - unsigned int msmLineTimestampAvailable : 1; /* 1E.9020.3 R/W Default = 0x0 */ - /* Timestamp available */ - /*! \brief 1E.9020.2 RO MSM Line PHY Loss of Signal - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLinePhyLossOfSignal - - - - PHY loss of signal - - Notes: - PHY indicates loss of signal. This is the value of pin phy_los which is tied to 0. */ - unsigned int msmLinePhyLossOfSignal : 1; /* 1E.9020.2 RO */ - /* PHY loss of signal */ - /*! \brief 1E.9020.1 BLH MSM Line Rx Remote Fault - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineRxRemoteFault - - - - Rx remote fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmLineRxRemoteFault : 1; /* 1E.9020.1 BLH */ - /* Rx remote fault detected */ - /*! \brief 1E.9020.0 BLH MSM Line Rx Local Fault - AQ_MsmLineGeneralStatusRegister_HHD.u0.bits_0.msmLineRxLocalFault - - - - Rx local fault detected - - Notes: - Latch high local fault status. Set to 1, whent he MAC detects Rx local fault sequences on the Rx interface. Reset to 0 after read and after reset. */ - unsigned int msmLineRxLocalFault : 1; /* 1E.9020.0 BLH */ - /* Rx local fault detected */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line General Status Register */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineGeneralStatusRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx IPG Control Register: 1E.9022 */ -/* MSM Line Tx IPG Control Register: 1E.9022 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx IPG Control Register */ - union - { - struct - { - unsigned int reserved0 : 10; - /*! \brief 1E.9022.5:0 R/W MSM Line Tx IPG Length [5:0] - AQ_MsmLineTxIpgControlRegister_HHD.u0.bits_0.msmLineTxIpgLength - - Default = 0x0C - - Tx IPG length - - Notes: - Tx inter-packet gap (IPG) value. Depending on LAN or WAN mode of operation. - LAN Mode : Number of octets in steps of 4. Valid values are 8, 12, 16,..., 100. DIC is supported for any setting > 8. A default of 12 must be set to conform to IEEE802.3ae. - WAN Mode : Stretch factor. Valid values are 4 ... 15. The stretch factor is calculated as (value+1)*8. A default of 12 must be set to conform to IEEE802.3ae (i.e. 13*8=104). A larger value shrinks the IPG (increasing bandwidth). - The reset value of 12 leads to IEEE802.3ae conformant behavior in both modes. - Note : WAN mode is only available in 10G mode of operation. */ - unsigned int msmLineTxIpgLength : 6; /* 1E.9022.5:0 R/W Default = 0x0C */ - /* Tx IPG length */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx IPG Control Register */ - union - { - struct - { - /*! \brief 1E.9023.F:0 MSM Line Tx IPG Reserved - AQ_MsmLineTxIpgControlRegister_HHD.u1.bits_1.msmLineTxIpgReserved - - - - Value always 0, writes ignored - */ - unsigned int msmLineTxIpgReserved : 16; /* 1E.9023.F:0 */ - /* Value always 0, writes ignored */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxIpgControlRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Good Frames Counter Register: 1E.9040 */ -/* MSM Line Tx Good Frames Counter Register: 1E.9040 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9040.F:0 ROS MSM Line Tx Good Frames Counter 0 [F:0] - AQ_MsmLineTxGoodFramesCounterRegister_HHD.u0.bits_0.msmLineTxGoodFramesCounter_0 - - Default = 0x0000 - - Tx good frame counter bits 15:0 - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmLineTxGoodFramesCounter_0 : 16; /* 1E.9040.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9041.F:0 ROS MSM Line Tx Good Frames Counter 1 [F:0] - AQ_MsmLineTxGoodFramesCounterRegister_HHD.u1.bits_1.msmLineTxGoodFramesCounter_1 - - Default = 0x0000 - - Tx good frame counter bits 31:16 - - - Notes: - Count of frames transmitted without error (Including pause frames). */ - unsigned int msmLineTxGoodFramesCounter_1 : 16; /* 1E.9041.F:0 ROS Default = 0x0000 */ - /* Tx good frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Good Frames Counter Register: 1E.9044 */ -/* MSM Line Rx Good Frames Counter Register: 1E.9044 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9044.F:0 ROS MSM Line Rx Good Frames Counter 0 [F:0] - AQ_MsmLineRxGoodFramesCounterRegister_HHD.u0.bits_0.msmLineRxGoodFramesCounter_0 - - Default = 0x0000 - - Rx good frame counter bits 15:0 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmLineRxGoodFramesCounter_0 : 16; /* 1E.9044.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Good Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9045.F:0 ROS MSM Line Rx Good Frames Counter 1 [F:0] - AQ_MsmLineRxGoodFramesCounterRegister_HHD.u1.bits_1.msmLineRxGoodFramesCounter_1 - - Default = 0x0000 - - Rx good frame counter bits 31:16 - - Notes: - Count of frames received without error (Including pause frames). */ - unsigned int msmLineRxGoodFramesCounter_1 : 16; /* 1E.9045.F:0 ROS Default = 0x0000 */ - /* Rx good frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxGoodFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx FCS Errors Counter Register: 1E.9048 */ -/* MSM Line Rx FCS Errors Counter Register: 1E.9048 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9048.F:0 ROS MSM Line FCS Error Counter 0 [F:0] - AQ_MsmLineRxFcsErrorsCounterRegister_HHD.u0.bits_0.msmLineFcsErrorCounter_0 - - Default = 0x0000 - - Frame check sequence error counter bits 15:0 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmLineFcsErrorCounter_0 : 16; /* 1E.9048.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx FCS Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9049.F:0 ROS MSM Line FCS Error Counter 1 [F:0] - AQ_MsmLineRxFcsErrorsCounterRegister_HHD.u1.bits_1.msmLineFcsErrorCounter_1 - - Default = 0x0000 - - Frame check sequence error counter bits 31:16 - - Notes: - Count of frames for which a CRC-32 Error is detected but the frame is otherwise of correct length. */ - unsigned int msmLineFcsErrorCounter_1 : 16; /* 1E.9049.F:0 ROS Default = 0x0000 */ - /* Frame check sequence error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxFcsErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Alignment Errors Counter Register: 1E.904C */ -/* MSM Line Rx Alignment Errors Counter Register: 1E.904C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.904C.F:0 ROS MSM Line Alignment Error Counter 0 [F:0] - AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD.u0.bits_0.msmLineAlignmentErrorCounter_0 - - Default = 0x0000 - - Alignment error counter bits 15:0 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmLineAlignmentErrorCounter_0 : 16; /* 1E.904C.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Alignment Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.904D.F:0 ROS MSM Line Alignment Error Counter 1 [F:0] - AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD.u1.bits_1.msmLineAlignmentErrorCounter_1 - - Default = 0x0000 - - Alignment error counter bits 31:16 - - Notes: - Count of frames received with an alignment error. */ - unsigned int msmLineAlignmentErrorCounter_1 : 16; /* 1E.904D.F:0 ROS Default = 0x0000 */ - /* Alignment error counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxAlignmentErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Pause Frames Counter Register: 1E.9050 */ -/* MSM Line Tx Pause Frames Counter Register: 1E.9050 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9050.F:0 ROS MSM Line Tx Pause Frames Counter 0 [F:0] - AQ_MsmLineTxPauseFramesCounterRegister_HHD.u0.bits_0.msmLineTxPauseFramesCounter_0 - - Default = 0x0000 - - Tx pause frame counter bits 15:0 - - Notes: - Valid pause frames transmitted. */ - unsigned int msmLineTxPauseFramesCounter_0 : 16; /* 1E.9050.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9051.F:0 ROS MSM Line Tx Pause Frames Counter 1 [F:0] - AQ_MsmLineTxPauseFramesCounterRegister_HHD.u1.bits_1.msmLineTxPauseFramesCounter_1 - - Default = 0x0000 - - Tx pause frame counter bits 31:16 - - - Notes: - Valid pause frames transmitted. */ - unsigned int msmLineTxPauseFramesCounter_1 : 16; /* 1E.9051.F:0 ROS Default = 0x0000 */ - /* Tx pause frame counter bits 31:16 - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Pause Frames Counter Register: 1E.9054 */ -/* MSM Line Rx Pause Frames Counter Register: 1E.9054 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9054.F:0 ROS MSM Line Rx Pause Frames Counter 0 [F:0] - AQ_MsmLineRxPauseFramesCounterRegister_HHD.u0.bits_0.msmLineRxPauseFramesCounter_0 - - Default = 0x0000 - - Rx pause frame counter bits 15:0 - - Notes: - Valid pause frames received. */ - unsigned int msmLineRxPauseFramesCounter_0 : 16; /* 1E.9054.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Pause Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9055.F:0 ROS MSM Line Rx Pause Frames Counter 1 [F:0] - AQ_MsmLineRxPauseFramesCounterRegister_HHD.u1.bits_1.msmLineRxPauseFramesCounter_1 - - Default = 0x0000 - - Rx pause frame counter bits 31:16 - - Notes: - Valid pause frames received. */ - unsigned int msmLineRxPauseFramesCounter_1 : 16; /* 1E.9055.F:0 ROS Default = 0x0000 */ - /* Rx pause frame counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxPauseFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Too Long Errors Counter Register: 1E.9058 */ -/* MSM Line Rx Too Long Errors Counter Register: 1E.9058 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9058.F:0 ROS MSM Line Rx Too Long Errors Counter 0 [F:0] - AQ_MsmLineRxTooLongErrorsCounterRegister_HHD.u0.bits_0.msmLineRxTooLongErrorsCounter_0 - - Default = 0x0000 - - Too-long errors counter bits 15:0 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmLineRxTooLongErrorsCounter_0 : 16; /* 1E.9058.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Too Long Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.9059.F:0 ROS MSM Line Rx Too Long Errors Counter 1 [F:0] - AQ_MsmLineRxTooLongErrorsCounterRegister_HHD.u1.bits_1.msmLineRxTooLongErrorsCounter_1 - - Default = 0x0000 - - Too-long errors counter bits 31:16 - - Notes: - Frame received exceeded the maximum length programmed with register FRM_LGTH. */ - unsigned int msmLineRxTooLongErrorsCounter_1 : 16; /* 1E.9059.F:0 ROS Default = 0x0000 */ - /* Too-long errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxTooLongErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx In Range Length Errors Counter Register: 1E.905C */ -/* MSM Line Rx In Range Length Errors Counter Register: 1E.905C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.905C.F:0 ROS MSM Line Rx In Range Length Errors Counter 0 [F:0] - AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD.u0.bits_0.msmLineRxInRangeLengthErrorsCounter_0 - - Default = 0x0000 - - In-range-length errors counter bits 15:0 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmLineRxInRangeLengthErrorsCounter_0 : 16; /* 1E.905C.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx In Range Length Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.905D.F:0 ROS MSM Line Rx In Range Length Errors Counter 1 [F:0] - AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD.u1.bits_1.msmLineRxInRangeLengthErrorsCounter_1 - - Default = 0x0000 - - In-range-length errors counter bits 31:16 - - Notes: - A count of frames with a length/type field value between 46 (VLAN: 42) and less than 0x0600, that does not match the number of payload data octets received. Should count also if length/type field is less than 46 (VLAN: 42) and the frame is longer than 64 bytes. */ - unsigned int msmLineRxInRangeLengthErrorsCounter_1 : 16; /* 1E.905D.F:0 ROS Default = 0x0000 */ - /* In-range-length errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxInRangeLengthErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx VLAN Frames Counter Register: 1E.9060 */ -/* MSM Line Tx VLAN Frames Counter Register: 1E.9060 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9060.F:0 ROS MSM Line Tx VLAN Frames Counter 0 [F:0] - AQ_MsmLineTxVlanFramesCounterRegister_HHD.u0.bits_0.msmLineTxVlanFramesCounter_0 - - Default = 0x0000 - - Tx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmLineTxVlanFramesCounter_0 : 16; /* 1E.9060.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9061.F:0 ROS MSM Line Tx VLAN Frames Counter 1 [F:0] - AQ_MsmLineTxVlanFramesCounterRegister_HHD.u1.bits_1.msmLineTxVlanFramesCounter_1 - - Default = 0x0000 - - Tx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames transmitted. */ - unsigned int msmLineTxVlanFramesCounter_1 : 16; /* 1E.9061.F:0 ROS Default = 0x0000 */ - /* Tx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx VLAN Frames Counter Register: 1E.9064 */ -/* MSM Line Rx VLAN Frames Counter Register: 1E.9064 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9064.F:0 ROS MSM Line Rx VLAN Frames Counter 0 [F:0] - AQ_MsmLineRxVlanFramesCounterRegister_HHD.u0.bits_0.msmLineRxVlanFramesCounter_0 - - Default = 0x0000 - - Rx VLAN frames counter bits 15:0 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmLineRxVlanFramesCounter_0 : 16; /* 1E.9064.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx VLAN Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9065.F:0 ROS MSM Line Rx VLAN Frames Counter 1 [F:0] - AQ_MsmLineRxVlanFramesCounterRegister_HHD.u1.bits_1.msmLineRxVlanFramesCounter_1 - - Default = 0x0000 - - Rx VLAN frames counter bits 31:16 - - Notes: - Valid VLAN tagged frames received. */ - unsigned int msmLineRxVlanFramesCounter_1 : 16; /* 1E.9065.F:0 ROS Default = 0x0000 */ - /* Rx VLAN frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxVlanFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Octets Counter Register: 1E.9068 */ -/* MSM Line Tx Octets Counter Register: 1E.9068 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.9068.F:0 ROS MSM Line Tx Octets Counter 0 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u0.bits_0.msmLineTxOctetsCounter_0 - - Default = 0x0000 - - Tx octets counter bits 15:0 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_0 : 16; /* 1E.9068.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.9069.F:0 ROS MSM Line Tx Octets Counter 1 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u1.bits_1.msmLineTxOctetsCounter_1 - - Default = 0x0000 - - Tx octets counter bits 31:16 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_1 : 16; /* 1E.9069.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906A.F:0 ROS MSM Line Tx Octets Counter 2 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u2.bits_2.msmLineTxOctetsCounter_2 - - Default = 0x0000 - - Tx octets counter bits 47:32 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_2 : 16; /* 1E.906A.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 47:32 */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of MSM Line Tx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906B.F:0 ROS MSM Line Tx Octets Counter 3 [F:0] - AQ_MsmLineTxOctetsCounterRegister_HHD.u3.bits_3.msmLineTxOctetsCounter_3 - - Default = 0x0000 - - Tx octets counter bits 63:48 - - Notes: - All octets transmitted except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames transmitted. */ - unsigned int msmLineTxOctetsCounter_3 : 16; /* 1E.906B.F:0 ROS Default = 0x0000 */ - /* Tx octets counter bits 63:48 */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_MsmLineTxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Octets Counter Register: 1E.906C */ -/* MSM Line Rx Octets Counter Register: 1E.906C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906C.F:0 ROS MSM Line Rx Octets Counter 0 [F:0] - AQ_MsmLineRxOctetsCounterRegister_HHD.u0.bits_0.msmLineRxOctetsCounter_0 - - Default = 0x0000 - - Rx octets counter bits 15:0 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmLineRxOctetsCounter_0 : 16; /* 1E.906C.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Octets Counter Register */ - union - { - struct - { - /*! \brief 1E.906D.F:0 ROS MSM Line Rx Octets Counter 1 [F:0] - AQ_MsmLineRxOctetsCounterRegister_HHD.u1.bits_1.msmLineRxOctetsCounter_1 - - Default = 0x0000 - - Rx octets counter bits 31:16 - - Notes: - All octets received except preamble (i.e. Header, Payload, Pad and FCS) for all valid frames and valid pause frames received. */ - unsigned int msmLineRxOctetsCounter_1 : 16; /* 1E.906D.F:0 ROS Default = 0x0000 */ - /* Rx octets counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxOctetsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Unicast Frames Counter Register: 1E.9070 */ -/* MSM Line Rx Unicast Frames Counter Register: 1E.9070 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9070.F:0 ROS MSM Line Rx Unicast Frames Counter 0 [F:0] - AQ_MsmLineRxUnicastFramesCounterRegister_HHD.u0.bits_0.msmLineRxUnicastFramesCounter_0 - - Default = 0x0000 - - Rx unicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmLineRxUnicastFramesCounter_0 : 16; /* 1E.9070.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9071.F:0 ROS MSM Line Rx Unicast Frames Counter 1 [F:0] - AQ_MsmLineRxUnicastFramesCounterRegister_HHD.u1.bits_1.msmLineRxUnicastFramesCounter_1 - - Default = 0x0000 - - Rx unicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '0'. */ - unsigned int msmLineRxUnicastFramesCounter_1 : 16; /* 1E.9071.F:0 ROS Default = 0x0000 */ - /* Rx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Multicast Frames Counter Register: 1E.9074 */ -/* MSM Line Rx Multicast Frames Counter Register: 1E.9074 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9074.F:0 ROS MSM Line Rx Multicast Frames Counter 0 [F:0] - AQ_MsmLineRxMulticastFramesCounterRegister_HHD.u0.bits_0.msmLineRxMulticastFramesCounter_0 - - Default = 0x0000 - - Rx multicast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmLineRxMulticastFramesCounter_0 : 16; /* 1E.9074.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9075.F:0 ROS MSM Line Rx Multicast Frames Counter 1 [F:0] - AQ_MsmLineRxMulticastFramesCounterRegister_HHD.u1.bits_1.msmLineRxMulticastFramesCounter_1 - - Default = 0x0000 - - Rx multicast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface and bit 0 of the destination address was '1' but not the broadcast address (all bits set '1' ). Pause frames are not counted. */ - unsigned int msmLineRxMulticastFramesCounter_1 : 16; /* 1E.9075.F:0 ROS Default = 0x0000 */ - /* Rx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Broadcast Frames Counter Register: 1E.9078 */ -/* MSM Line Rx Broadcast Frames Counter Register: 1E.9078 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9078.F:0 ROS MSM Line Rx Broadcast Frames Counter 0 [F:0] - AQ_MsmLineRxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmLineRxBroadcastFramesCounter_0 - - Default = 0x0000 - - Rx broadcast frames counter bits 15:0 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmLineRxBroadcastFramesCounter_0 : 16; /* 1E.9078.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9079.F:0 ROS MSM Line Rx Broadcast Frames Counter 1 [F:0] - AQ_MsmLineRxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmLineRxBroadcastFramesCounter_1 - - Default = 0x0000 - - Rx broadcast frames counter bits 31:16 - - Notes: - Incremented with each valid frame received on the receive FIFO interface (FIFO) and all bits of the destination address were set '1'. */ - unsigned int msmLineRxBroadcastFramesCounter_1 : 16; /* 1E.9079.F:0 ROS Default = 0x0000 */ - /* Rx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Errors Counter Register: 1E.907C */ -/* MSM Line Tx Errors Counter Register: 1E.907C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.907C.F:0 ROS MSM Line Tx Errors Counter 0 [F:0] - AQ_MsmLineTxErrorsCounterRegister_HHD.u0.bits_0.msmLineTxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmLineTxErrorsCounter_0 : 16; /* 1E.907C.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.907D.F:0 ROS MSM Line Tx Errors Counter 1 [F:0] - AQ_MsmLineTxErrorsCounterRegister_HHD.u1.bits_1.msmLineTxErrorsCounter_1 - - Default = 0x0000 - - Tx errors counter bits 31:16 - - Notes: - Number of frames transmitted with error: - - FIFO Overflow Errors - - FIFO Underflow Errors */ - unsigned int msmLineTxErrorsCounter_1 : 16; /* 1E.907D.F:0 ROS Default = 0x0000 */ - /* Tx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Unicast Frames Counter Register: 1E.9084 */ -/* MSM Line Tx Unicast Frames Counter Register: 1E.9084 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9084.F:0 ROS MSM Line Tx Unicast Frames Counter 0 [F:0] - AQ_MsmLineTxUnicastFramesCounterRegister_HHD.u0.bits_0.msmLineTxUnicastFramesCounter_0 - - Default = 0x0000 - - Tx unicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmLineTxUnicastFramesCounter_0 : 16; /* 1E.9084.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Unicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9085.F:0 ROS MSM Line Tx Unicast Frames Counter 1 [F:0] - AQ_MsmLineTxUnicastFramesCounterRegister_HHD.u1.bits_1.msmLineTxUnicastFramesCounter_1 - - Default = 0x0000 - - Tx unicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '0'. */ - unsigned int msmLineTxUnicastFramesCounter_1 : 16; /* 1E.9085.F:0 ROS Default = 0x0000 */ - /* Tx unicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxUnicastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Multicast Frames Counter Register: 1E.9088 */ -/* MSM Line Tx Multicast Frames Counter Register: 1E.9088 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9088.F:0 ROS MSM Line Tx Multicast Frames Counter 0 [F:0] - AQ_MsmLineTxMulticastFramesCounterRegister_HHD.u0.bits_0.msmLineTxMulticastFramesCounter_0 - - Default = 0x0000 - - Tx multicast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmLineTxMulticastFramesCounter_0 : 16; /* 1E.9088.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Multicast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.9089.F:0 ROS MSM Line Tx Multicast Frames Counter 1 [F:0] - AQ_MsmLineTxMulticastFramesCounterRegister_HHD.u1.bits_1.msmLineTxMulticastFramesCounter_1 - - Default = 0x0000 - - Tx multicast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and bit 0 of the destination address set to '1' but not the broadcast address (all bits '1'). */ - unsigned int msmLineTxMulticastFramesCounter_1 : 16; /* 1E.9089.F:0 ROS Default = 0x0000 */ - /* Tx multicast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxMulticastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Tx Broadcast Frames Counter Register: 1E.908C */ -/* MSM Line Tx Broadcast Frames Counter Register: 1E.908C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.908C.F:0 ROS MSM Line Tx Broadcast Frames Counter 0 [F:0] - AQ_MsmLineTxBroadcastFramesCounterRegister_HHD.u0.bits_0.msmLineTxBroadcastFramesCounter_0 - - Default = 0x0000 - - Tx broadcast frames counter bits 15:0 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmLineTxBroadcastFramesCounter_0 : 16; /* 1E.908C.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Tx Broadcast Frames Counter Register */ - union - { - struct - { - /*! \brief 1E.908D.F:0 ROS MSM Line Tx Broadcast Frames Counter 1 [F:0] - AQ_MsmLineTxBroadcastFramesCounterRegister_HHD.u1.bits_1.msmLineTxBroadcastFramesCounter_1 - - Default = 0x0000 - - Tx broadcast frames counter bits 31:16 - - Notes: - Incremented with each frame written to the FIFO interface and all bits of the destination address set to '1'. */ - unsigned int msmLineTxBroadcastFramesCounter_1 : 16; /* 1E.908D.F:0 ROS Default = 0x0000 */ - /* Tx broadcast frames counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineTxBroadcastFramesCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief MSM Line Rx Errors Counter Register: 1E.90C8 */ -/* MSM Line Rx Errors Counter Register: 1E.90C8 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of MSM Line Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.90C8.F:0 ROS MSM Line Rx Errors Counter 0 [F:0] - AQ_MsmLineRxErrorsCounterRegister_HHD.u0.bits_0.msmLineRxErrorsCounter_0 - - Default = 0x0000 - - Rx errors counter bits 15:0 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmLineRxErrorsCounter_0 : 16; /* 1E.90C8.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 15:0 */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of MSM Line Rx Errors Counter Register */ - union - { - struct - { - /*! \brief 1E.90C9.F:0 ROS MSM Line Rx Errors Counter 1 [F:0] - AQ_MsmLineRxErrorsCounterRegister_HHD.u1.bits_1.msmLineRxErrorsCounter_1 - - Default = 0x0000 - - Rx errors counter bits 31:16 - - Notes: - Number of frames received with error: - - FIFO Overflow Errors - - CRC Errors - - Payload Length Errors - - Jabber and Oversized Errors - - Alignment Errors - - The dedicated Error Code (0xfe, not a code error) was received */ - unsigned int msmLineRxErrorsCounter_1 : 16; /* 1E.90C9.F:0 ROS Default = 0x0000 */ - /* Rx errors counter bits 31:16 */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_MsmLineRxErrorsCounterRegister_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Control: 1E.C000 */ -/* Global Control: 1E.C000 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Control */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Control */ - union - { - struct - { - /*! \brief 1E.C001.F R/W uP Reset - AQ_GlobalControl_HHD.u1.bits_1.upReset - - Default = 0x0 - - 1 = Reset - - - Notes: - Resets the uP and the PIF master and slave bus. Will be active for a minimum of 100 microseconds. */ - unsigned int upReset : 1; /* 1E.C001.F R/W Default = 0x0 */ - /* 1 = Reset - */ - unsigned int reserved0 : 8; - /*! \brief 1E.C001.6 R/W uP Run Stall Override - AQ_GlobalControl_HHD.u1.bits_1.upRunStallOverride - - Default = 0x0 - - 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - - - - Notes: - This bit selects the uP Run Stall from either the "MDIO Boot Load" pin or the See MCP Run Stall bit. Pin no longer brought out as deprecated. */ - unsigned int upRunStallOverride : 1; /* 1E.C001.6 R/W Default = 0x0 */ - /* 0 = uP Run Stall from "MDIO Boot Load" pin. - 1 = uP Run Stall from See MCP Run Stall bit - - */ - unsigned int reserved1 : 5; - /*! \brief 1E.C001.0 R/W uP Run Stall - AQ_GlobalControl_HHD.u1.bits_1.upRunStall - - Default = 0x0 - - 1 = uP Run Stall - 0 = uP normal mode - - - Notes: - Deactivates the uP. */ - unsigned int upRunStall : 1; /* 1E.C001.0 R/W Default = 0x0 */ - /* 1 = uP Run Stall - 0 = uP normal mode - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalControl_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reset Control: 1E.C006 */ -/* Global Reset Control: 1E.C006 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reset Control */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C006.E R/WPD Global MMD Reset Disable - AQ_GlobalResetControl_HHD.u0.bits_0.globalMMD_ResetDisable - - Provisionable Default = 0x0 - - 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - - - Notes: - Setting this bit prevents a Global S/W reset or Global S/W reset from resetting the Global MMD registers */ - unsigned int globalMMD_ResetDisable : 1; /* 1E.C006.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Disable the S/W reset to the Global MMD registers - 0 = Enable the S/W reset to the Global MMD registers - */ - unsigned int reserved1 : 14; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalResetControl_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Diagnostic Provisioning: 1E.C400 */ -/* Global Diagnostic Provisioning: 1E.C400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Diagnostic Provisioning */ - union - { - struct - { - /*! \brief 1E.C400.F R/WPD Enable Diagnostics - AQ_GlobalDiagnosticProvisioning_HHD.u0.bits_0.enableDiagnostics - - Provisionable Default = 0x1 - - 1 = Chip performs diagnostics on power-up - */ - unsigned int enableDiagnostics : 1; /* 1E.C400.F R/WPD Provisionable Default = 0x1 */ - /* 1 = Chip performs diagnostics on power-up */ - unsigned int reserved0 : 15; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDiagnosticProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Provisioning: 1E.C420 */ -/* Global Thermal Provisioning: 1E.C420 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C420.F:0 R/WPD Reserved 0 [F:0] - AQ_GlobalThermalProvisioning_HHD.u0.bits_0.reserved_0 - - Provisionable Default = 0x0000 - - Internal reserved - do not modify - - */ - unsigned int reserved_0 : 16; /* 1E.C420.F:0 R/WPD Provisionable Default = 0x0000 */ - /* Internal reserved - do not modify - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C421.F:0 R/WPD High Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u1.bits_1.highTempFailureThreshold - - Provisionable Default = 0x4600 - - [F:0] of high temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A000 - 1.A001: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempFailureThreshold : 16; /* 1E.C421.F:0 R/WPD Provisionable Default = 0x4600 */ - /* [F:0] of high temperature failure threshold */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C422.F:0 R/WPD Low Temp Failure Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u2.bits_2.lowTempFailureThreshold - - Provisionable Default = 0x0000 - - [F:0] of low temperature failure threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 0 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A002 - 1.A003: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempFailureThreshold : 16; /* 1E.C422.F:0 R/WPD Provisionable Default = 0x0000 */ - /* [F:0] of low temperature failure threshold */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C423.F:0 R/WPD High Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u3.bits_3.highTempWarningThreshold - - Provisionable Default = 0x3C00 - - [F:0] of high temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD008. Default is 60 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A004 - 1.A005: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int highTempWarningThreshold : 16; /* 1E.C423.F:0 R/WPD Provisionable Default = 0x3C00 */ - /* [F:0] of high temperature warning threshold */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Thermal Provisioning */ - union - { - struct - { - /*! \brief 1E.C424.F:0 R/WPD Low Temp Warning Threshold [F:0] - AQ_GlobalThermalProvisioning_HHD.u4.bits_4.lowTempWarningThreshold - - Provisionable Default = 0x0A00 - - [F:0] of low temperature warning threshold - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 10 degreesC. - - In XENPAK mode, F/W will use the XENPAK register 1.A006 - 1.A007: instead of this register. - - NOTE! All Thresholds are orthogonal and can be set to any value regardless the value of the other thresholds. i.e. High-Temperature-Warning (1E.C423) could be higher than High-Temperature-Failure (1E.C421). */ - unsigned int lowTempWarningThreshold : 16; /* 1E.C424.F:0 R/WPD Provisionable Default = 0x0A00 */ - /* [F:0] of low temperature warning threshold */ - } bits_4; - uint16_t word_4; - } u4; -} AQ_GlobalThermalProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global LED Provisioning: 1E.C430 */ -/* Global LED Provisioning: 1E.C430 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 2; - /*! \brief 1E.C430.D:9 R/WPD Reserved Provisioning C430 [4:0] - AQ_GlobalLedProvisioning_HHD.u0.bits_0.reservedProvisioningC430 - - Provisionable Default = 0x00 - - Reserved for future use - */ - unsigned int reservedProvisioningC430 : 5; /* 1E.C430.D:9 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use */ - /*! \brief 1E.C430.8 R/WPD LED #0 Manual Set - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_0ManualSet : 1; /* 1E.C430.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C430.7 R/WPD LED #0 10 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_0_10Gb_sLinkEstablished : 1; /* 1E.C430.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C430.6 R/WPD LED #0 1 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_0_1Gb_sLinkEstablished : 1; /* 1E.C430.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C430.5 R/WPD LED #0 100 Mb/s Link Established - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s. - - */ - unsigned int led_0_100Mb_sLinkEstablished : 1; /* 1E.C430.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s. - */ - /*! \brief 1E.C430.4 R/WPD LED #0 Connecting - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_0Connecting : 1; /* 1E.C430.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C430.3 R/WPD LED #0 Receive Activity - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_0ReceiveActivity : 1; /* 1E.C430.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C430.2 R/WPD LED #0 Transmit Activity - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_0TransmitActivity : 1; /* 1E.C430.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C430.1:0 R/WPD LED #0 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_HHD.u0.bits_0.led_0ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_0ActivityStretch : 2; /* 1E.C430.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 2; - /*! \brief 1E.C431.D:9 R/WPD Reserved Provisioning C431 [4:0] - AQ_GlobalLedProvisioning_HHD.u1.bits_1.reservedProvisioningC431 - - Provisionable Default = 0x00 - - Reserved for future use - */ - unsigned int reservedProvisioningC431 : 5; /* 1E.C431.D:9 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use */ - /*! \brief 1E.C431.8 R/WPD LED #1 Manual Set - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_1ManualSet : 1; /* 1E.C431.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C431.7 R/WPD LED #1 10 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_1_10Gb_sLinkEstablished : 1; /* 1E.C431.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C431.6 R/WPD LED #1 1 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_1_1Gb_sLinkEstablished : 1; /* 1E.C431.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C431.5 R/WPD LED #1 100 Mb/s Link Established - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s. - - */ - unsigned int led_1_100Mb_sLinkEstablished : 1; /* 1E.C431.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s. - */ - /*! \brief 1E.C431.4 R/WPD LED #1 Connecting - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_1Connecting : 1; /* 1E.C431.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C431.3 R/WPD LED #1 Receive Activity - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_1ReceiveActivity : 1; /* 1E.C431.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C431.2 R/WPD LED #1 Transmit Activity - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_1TransmitActivity : 1; /* 1E.C431.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C431.1:0 R/WPD LED #1 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_HHD.u1.bits_1.led_1ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_1ActivityStretch : 2; /* 1E.C431.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 2; - /*! \brief 1E.C432.D:9 R/WPD Reserved Provisioning C432 [4:0] - AQ_GlobalLedProvisioning_HHD.u2.bits_2.reservedProvisioningC432 - - Provisionable Default = 0x00 - - Reserved for future use - */ - unsigned int reservedProvisioningC432 : 5; /* 1E.C432.D:9 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use */ - /*! \brief 1E.C432.8 R/WPD LED #2 Manual Set - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2ManualSet - - Provisionable Default = 0x0 - - 1 = LED On - - */ - unsigned int led_2ManualSet : 1; /* 1E.C432.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED On - */ - /*! \brief 1E.C432.7 R/WPD LED #2 10 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2_10Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 10 Gb/s - - */ - unsigned int led_2_10Gb_sLinkEstablished : 1; /* 1E.C432.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 10 Gb/s - */ - /*! \brief 1E.C432.6 R/WPD LED #2 1 Gb/s Link Established - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2_1Gb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 1 Gb/s - - */ - unsigned int led_2_1Gb_sLinkEstablished : 1; /* 1E.C432.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 1 Gb/s - */ - /*! \brief 1E.C432.5 R/WPD LED #2 100 Mb/s Link Established - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2_100Mb_sLinkEstablished - - Provisionable Default = 0x0 - - 1 = LED is on when link connects at 100 Mb/s. - */ - unsigned int led_2_100Mb_sLinkEstablished : 1; /* 1E.C432.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when link connects at 100 Mb/s. */ - /*! \brief 1E.C432.4 R/WPD LED #2 Connecting - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2Connecting - - Provisionable Default = 0x0 - - 1 = LED is on when attempting to connect. - - */ - unsigned int led_2Connecting : 1; /* 1E.C432.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED is on when attempting to connect. - */ - /*! \brief 1E.C432.3 R/WPD LED #2 Receive Activity - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2ReceiveActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on receive activity - - */ - unsigned int led_2ReceiveActivity : 1; /* 1E.C432.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on receive activity - */ - /*! \brief 1E.C432.2 R/WPD LED #2 Transmit Activity - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2TransmitActivity - - Provisionable Default = 0x0 - - 1 = LED toggles on transmit activity - - */ - unsigned int led_2TransmitActivity : 1; /* 1E.C432.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED toggles on transmit activity - */ - /*! \brief 1E.C432.1:0 R/WPD LED #2 Activity Stretch [1:0] - AQ_GlobalLedProvisioning_HHD.u2.bits_2.led_2ActivityStretch - - Provisionable Default = 0x3 - - [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - - */ - unsigned int led_2ActivityStretch : 2; /* 1E.C432.1:0 R/WPD Provisionable Default = 0x3 */ - /* [1:0] - 0x3 = stretch activity by 100 ms - 0x2 = stretch activity by 60 ms - 0x1 = stretch activity by 28 ms - 0x0 = no stretching - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C437.0 R/WPD LED Operation Mode - AQ_GlobalLedProvisioning_HHD.u7.bits_7.ledOperationMode - - Provisionable Default = 0x0 - - 1 = LED link activity in Mode #2 - 0 = LED link activity in Aquantia classic mode - - - Notes: - When set to 1, the LED blinking rate is based on Mode #2 algorithm. When set to 0, the LED blinking rate is based on the classic Aquantia algorithm. */ - unsigned int ledOperationMode : 1; /* 1E.C437.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = LED link activity in Mode #2 - 0 = LED link activity in Aquantia classic mode - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_11; - uint16_t word_11; - } u11; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_12; - uint16_t word_12; - } u12; - /*! \brief Dummy union to fill space in the structure Global LED Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_13; - uint16_t word_13; - } u13; - /*! \brief Union for bit and word level access of word 14 of Global LED Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_14; - uint16_t word_14; - } u14; -} AQ_GlobalLedProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Provisioning: 1E.C440 */ -/* Global General Provisioning: 1E.C440 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C441.E R/WPD MDIO Broadcast Mode Enable - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioBroadcastModeEnable - - Provisionable Default = 0x0 - - 1 = Enable broadcast on address set in 1E.C446 - 0 = Disable broadcast on n address set in 1E.C446 - - - Notes: - When enabled, writes and load MMD address opcodes are supported. Read opcodes are ignored. */ - unsigned int mdioBroadcastModeEnable : 1; /* 1E.C441.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable broadcast on address set in 1E.C446 - 0 = Disable broadcast on n address set in 1E.C446 - */ - /*! \brief 1E.C441.D R/WPD MDIO Read MSW First Enable - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioReadMSW_FirstEnable - - Provisionable Default = 0x0 - - 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - - - Notes: - This bit configures whether the MSW or LSW must be read first for counters greater than 16 bits. */ - unsigned int mdioReadMSW_FirstEnable : 1; /* 1E.C441.D R/WPD Provisionable Default = 0x0 */ - /* 1 = MSW of counter must be read first - 0 = LSW of counter must be read first - */ - unsigned int reserved1 : 8; - /*! \brief 1E.C441.4 R/WPD MDIO Drive Configuration - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioDriveConfiguration - - Provisionable Default = 0x0 - - 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - - - Notes: - When the MDIO driver is in open drain mode during a read cycle, "0" data will be actively driven out of the MDIO, "1" data will set the MDIO driver in high impedance state and an external pullup will set the MDIO line to "1". The Turn-Around "0" will also be actively driven out of the MDIO, therefore in open drain mode, the Turn-Around is still "Z0". */ - unsigned int mdioDriveConfiguration : 1; /* 1E.C441.4 R/WPD Provisionable Default = 0x0 */ - /* 0 = MDIO driver is in normal mode - 1 = MDIO driver is in open drain mode - */ - /*! \brief 1E.C441.3 R/WPD MDIO Preamble Detection Disable - AQ_GlobalGeneralProvisioning_HHD.u1.bits_1.mdioPreambleDetectionDisable - - Provisionable Default = 0x0 - - 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - - */ - unsigned int mdioPreambleDetectionDisable : 1; /* 1E.C441.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Suppress preamble detection on MDIO - 0 = Enable preamble detection on MDIO - */ - unsigned int reserved2 : 1; - unsigned int reserved3 : 2; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C442.0 R/W Daisy Chain Reset - AQ_GlobalGeneralProvisioning_HHD.u2.bits_2.daisyChainReset - - Default = 0x0 - - 1 = Reset the daisy chain - - - Notes: - Toggling this bit from 0 to 1 will reload the IRAM and DRAM and reset the uP. The uP will be in uP run stall during the reload process. After the reload process, uP run stall will be de-asserted and the uP reset will be asserted. Note that before setting this bit, the See Soft Reset bit needs to be de-asserted. */ - unsigned int daisyChainReset : 1; /* 1E.C442.0 R/W Default = 0x0 */ - /* 1 = Reset the daisy chain - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 11; - /*! \brief 1E.C447.4:0 R/WPD MDIO Broadcast Address Configuration [4:0] - AQ_GlobalGeneralProvisioning_HHD.u7.bits_7.mdioBroadcastAddressConfiguration - - Provisionable Default = 0x1F - - Broadcast address - - - Notes: - Allows setting the broadcast address. By default this is set to 0x1F */ - unsigned int mdioBroadcastAddressConfiguration : 5; /* 1E.C447.4:0 R/WPD Provisionable Default = 0x1F */ - /* Broadcast address - */ - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 16; - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of Global General Provisioning */ - union - { - struct - { - unsigned int reserved0 : 9; - /*! \brief 1E.C449.6:0 R/W MDIO Preamble Length [6:0] - AQ_GlobalGeneralProvisioning_HHD.u9.bits_9.mdioPreambleLength - - Default = 0x02 - - MDIO Preamble Length - - */ - unsigned int mdioPreambleLength : 7; /* 1E.C449.6:0 R/W Default = 0x02 */ - /* MDIO Preamble Length - */ - } bits_9; - uint16_t word_9; - } u9; -} AQ_GlobalGeneralProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global NVR Provisioning: 1E.C450 */ -/* Global NVR Provisioning: 1E.C450 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 5; - /*! \brief 1E.C450.A:8 R/WPD NVR Data Length [2:0] - AQ_GlobalNvrProvisioning_HHD.u0.bits_0.nvrDataLength - - Provisionable Default = 0x4 - - NVR data length ranges from 0 bytes to 4 bytes - - - Notes: - This sets the length of the data burst used in read and write operations. - */ - unsigned int nvrDataLength : 3; /* 1E.C450.A:8 R/WPD Provisionable Default = 0x4 */ - /* NVR data length ranges from 0 bytes to 4 bytes - */ - unsigned int reserved1 : 1; - /*! \brief 1E.C450.6:4 R/WPD NVR Dummy Length [2:0] - AQ_GlobalNvrProvisioning_HHD.u0.bits_0.nvrDummyLength - - Provisionable Default = 0x0 - - NVR dummy length ranges from 0 bytes to 4 bytes - - - Notes: - This sets the length of the dummy field used in some manufacturer's read status and write status operations. - */ - unsigned int nvrDummyLength : 3; /* 1E.C450.6:4 R/WPD Provisionable Default = 0x0 */ - /* NVR dummy length ranges from 0 bytes to 4 bytes - */ - unsigned int reserved2 : 2; - /*! \brief 1E.C450.1:0 R/WPD NVR Address Length [1:0] - AQ_GlobalNvrProvisioning_HHD.u0.bits_0.nvrAddressLength - - Provisionable Default = 0x2 - - NVR address length ranges from 0 bytes up to 3 bytes - - - Notes: - This sets the length of the address field used in read and write operations. Use of this field is enabled via Bit 8 of See Global NVR Provisioning 2: Address 1E.C451 . - */ - unsigned int nvrAddressLength : 2; /* 1E.C450.1:0 R/WPD Provisionable Default = 0x2 */ - /* NVR address length ranges from 0 bytes up to 3 bytes - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 7; - /*! \brief 1E.C451.8 R/WPD NVR Address Length Override - AQ_GlobalNvrProvisioning_HHD.u1.bits_1.nvrAddressLengthOverride - - Provisionable Default = 0x0 - - 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register - - - Notes: - When this bit = 0 and NVR_SIZE pin = 0, the NVR address length is 2 bytes. When this bit = 0 and the NVR_SIZE pin = 1, the NVR address length is 3 bytes. When this bit = 1 the NVR address length is from the See NVR Address Length [1:0] */ - unsigned int nvrAddressLengthOverride : 1; /* 1E.C451.8 R/WPD Provisionable Default = 0x0 */ - /* 0 = NVR address length is based on the "NVR_SIZE" pin. - 1 = NVR address length is based on the See NVR Address Length [1:0] register - */ - /*! \brief 1E.C451.7:0 R/WPD NVR Clock Divide [7:0] - AQ_GlobalNvrProvisioning_HHD.u1.bits_1.nvrClockDivide - - Provisionable Default = 0xA0 - - NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - - */ - unsigned int nvrClockDivide : 8; /* 1E.C451.7:0 R/WPD Provisionable Default = 0xA0 */ - /* NVR clock divide. Clock frequency is divided by the NVR clock divide + 1 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 14; - /*! \brief 1E.C452.1 R/W NVR Daisy Chain Clock Divide Override - AQ_GlobalNvrProvisioning_HHD.u2.bits_2.nvrDaisyChainClockDivideOverride - - Default = 0x0 - - 1 = Override NVR clock divide when in daisy chain master mode - - - Notes: - When in daisy chain master mode, the clock divide configuration is received from the FLASH. This bit will override the clock divide configuration from the FLASH with the See NVR Clock Divide [7:0] . */ - unsigned int nvrDaisyChainClockDivideOverride : 1; /* 1E.C452.1 R/W Default = 0x0 */ - /* 1 = Override NVR clock divide when in daisy chain master mode - */ - /*! \brief 1E.C452.0 R/W NVR Daisy Chain Disable - AQ_GlobalNvrProvisioning_HHD.u2.bits_2.nvrDaisyChainDisable - - Default = 0x0 - - 1 = Disable the Daisy Chain - - - Notes: - When in daisy chain master mode, the daisy chain and MDIO can both access the SPI. Setting this bit to 1 will disable the daisy chain from accessing the SPI and force it into a reset state. */ - unsigned int nvrDaisyChainDisable : 1; /* 1E.C452.0 R/W Default = 0x0 */ - /* 1 = Disable the Daisy Chain - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global NVR Provisioning */ - union - { - struct - { - unsigned int reserved0 : 11; - /*! \brief 1E.C453.4 R/W NVR Reset - AQ_GlobalNvrProvisioning_HHD.u3.bits_3.nvrReset - - Default = 0x0 - - 1 = Reset SPI - - */ - unsigned int nvrReset : 1; /* 1E.C453.4 R/W Default = 0x0 */ - /* 1 = Reset SPI - */ - unsigned int reserved1 : 4; - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalNvrProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Provisioning: 1E.C470 */ -/* Global Reserved Provisioning: 1E.C470 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C470.F R/WPD Diagnostics Select - AQ_GlobalReservedProvisioning_HHD.u0.bits_0.diagnosticsSelect - - Provisionable Default = 0x0 - - 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversely the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int diagnosticsSelect : 1; /* 1E.C470.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Provide Extended MDI Diagnostics Information. - 0 = Provide normal cable diagnostics - */ - /*! \brief 1E.C470.E:D R/WPD Extended MDI Diagnostics Select [1:0] - AQ_GlobalReservedProvisioning_HHD.u0.bits_0.extendedMdiDiagnosticsSelect - - Provisionable Default = 0x0 - - 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - - - Notes: - These bits select what sort of cable diagnostics to perform. For regular cable diagnostics, Bit F is set to zero, and the diagnostics are triggered by setting Bit 4. For extended diagnostics, Bit F is set to 1, and the desired extended diagnostics are selected by Bits E:D. The routine is then triggered by setting Bit 4. Each of the extended diagnostic routines present data for all for MDI pairs (A, B, C, D) consecutively, and after the data for each channel is gathered Bits F:D are reset. To get the data for the next pair, Bits F:D must be set back to the desired value (which must be the same as the initial channel). This continues until the data for all channels has been gathered. The address in memory where the data is stored is given in 1E.C802 and 1E.C804. - - For the case of PSD, the structure is as follows: - Int32 info - Int16 data[Len] - Info = Len << 16 | TxEnable << 8 | Pair (0 = A, etc.) - - For TDR: - Int32 info - Int16 tdr_A[Len] - Int16 tdr_B[Len] - Int16 tdr_C[Len] - Int16 tdr_D[Len] - - Info = Len << 16 | Channel - - TDR data is from the current pair to all other pairs. - - At the end of retrieving extended MDI diag data, the part will be reset. Conversely the only way to exit this routine once it starts is to issue a PMA reset. */ - unsigned int extendedMdiDiagnosticsSelect : 2; /* 1E.C470.E:D R/WPD Provisionable Default = 0x0 */ - /* 0x0 = TDR Data - 0x1 = RFI Channel PSD - 0x2 = Noise PSD while the local Tx is Off - 0x3 = Noise PSD while the local Tx is On - */ - unsigned int reserved0 : 5; - unsigned int reserved1 : 3; - /*! \brief 1E.C470.4 R/WSC Initiate Cable Diagnostics - AQ_GlobalReservedProvisioning_HHD.u0.bits_0.initiateCableDiagnostics - - Default = 0x0 - - 1 = Perform cable diagnostics - - - Notes: - Perform cable diagnostics regardless of link state. If link is up, setting this bit will cause the link to drop while diagnostics are performed. This bit is self-clearing upon completion of the cable diagnostics. - - NOTE!! This is a processor intensive operation. Completion of this operation can also be monitored via 1E.C831.F */ - unsigned int initiateCableDiagnostics : 1; /* 1E.C470.4 R/WSC Default = 0x0 */ - /* 1 = Perform cable diagnostics - */ - unsigned int reserved2 : 4; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 9; - /*! \brief 1E.C471.6 R/WuP Enable Daisy-Chain Hop-Count Override - AQ_GlobalReservedProvisioning_HHD.u1.bits_1.enableDaisy_chainHop_countOverride - - Default = 0x0 - - 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the daisy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int enableDaisy_chainHop_countOverride : 1; /* 1E.C471.6 R/WuP Default = 0x0 */ - /* 1 = Hop-count is set by Bits 5:0 - 0 = Hop-count is determined by the daisy-chain - */ - /*! \brief 1E.C471.5:0 R/WuP Daisy-Chain Hop-Count Override Value [5:0] - AQ_GlobalReservedProvisioning_HHD.u1.bits_1.daisy_chainHop_countOverrideValue - - Default = 0x00 - - The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - - - Notes: - Daisy-Chain Hop-Count Override should be used during MDIO boot-load operation, as the daisy-chain hop-count does not function when the daisy-chain is disabled (1E.C452.0). Setting this bit tells the processor where in the daisy-chain it is, so that the provisioning operation will function correctly. */ - unsigned int daisy_chainHop_countOverrideValue : 6; /* 1E.C471.5:0 R/WuP Default = 0x00 */ - /* The value to use for the PHY's daisy-chain hop-count. Valid values are from 0 -> 47 - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C472.E R/WPD Enable VDD Power Supply Tuning - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.enableVddPowerSupplyTuning - - Provisionable Default = 0x0 - - 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - - - Notes: - This bit controls whether the PHY attempts to tune the external VDD power supply via the SMBus. This bit is only operational if the external supply is present. (See 1E.C472.6) */ - unsigned int enableVddPowerSupplyTuning : 1; /* 1E.C472.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable external VDD power supply tuning - 0 = Disable external VDD power supply tuning is disabled - */ - unsigned int reserved1 : 7; - /*! \brief 1E.C472.6 R/WPD Tunable External VDD Power Supply Present - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.tunableExternalVddPowerSupplyPresent - - Provisionable Default = 0x0 - - 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - - - Notes: - This bit must be set if tuning of external power supply is desired. */ - unsigned int tunableExternalVddPowerSupplyPresent : 1; /* 1E.C472.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Tunable external VDD power supply present - 0 = No tunable external VDD power supply present - */ - /*! \brief 1E.C472.5:2 R/WPD External VDD Change Request [3:0] - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.externalVddChangeRequest - - Provisionable Default = 0x0 - - The amount of VDD change requested by firmware, in mV (2's complement value). - - */ - unsigned int externalVddChangeRequest : 4; /* 1E.C472.5:2 R/WPD Provisionable Default = 0x0 */ - /* The amount of VDD change requested by firmware, in mV (2's complement value). - */ - /*! \brief 1E.C472.1 R/WPDuP Enable XENPAK Register Space - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.enableXenpakRegisterSpace - - Provisionable Default = 0x0 - - 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - - */ - unsigned int enableXenpakRegisterSpace : 1; /* 1E.C472.1 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = XENPAK register space enabled - 0 = XENPAK register space disabled - */ - /*! \brief 1E.C472.0 R/WPDuP Enable 5th Channel RFI Cancellation - AQ_GlobalReservedProvisioning_HHD.u2.bits_2.enable_5thChannelRfiCancellation - - Provisionable Default = 0x0 - - 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - - - Notes: - Note: The value of this bit at the time of Autonegotiation sets the local PHY behavior until the next time Autonegotiation occurs. */ - unsigned int enable_5thChannelRfiCancellation : 1; /* 1E.C472.0 R/WPDuP Provisionable Default = 0x0 */ - /* 1 = 5th channel and RFI cancellers operation enabled - 0 = 5th channel AFE is powered down, 5th channel digital is clock gated, RFI cancellers are disabled - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 5; - /*! \brief 1E.C473.A:8 R/WPD Rate Transition Request [2:0] - AQ_GlobalReservedProvisioning_HHD.u3.bits_3.rateTransitionRequest - - Provisionable Default = 0x0 - - 0 = No Transition - 1 = Reserved - 2 = Reserved - 3 = Retrain at 10G - 4 = Retrain at 5G - 5 = Retrain at 2.5G - 6 = Retrain at 1G - 7 = Reserved - - */ - unsigned int rateTransitionRequest : 3; /* 1E.C473.A:8 R/WPD Provisionable Default = 0x0 */ - /* 0 = No Transition - 1 = Reserved - 2 = Reserved - 3 = Retrain at 10G - 4 = Retrain at 5G - 5 = Retrain at 2.5G - 6 = Retrain at 1G - 7 = Reserved - */ - /*! \brief 1E.C473.7:0 R/WPD Training SNR [7:0] - AQ_GlobalReservedProvisioning_HHD.u3.bits_3.trainingSNR - - Provisionable Default = 0x00 - - SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - - - Notes: - The SNR margin that is enjoyed by the worst channel, over and above the minimum SNR required to operate at a BER of 10-12. It is reported with 0.1 dB of resolution to an accuracy of 0.5 dB within the range of -12.7 dB to 12.7 dB. The number is in offset binary, with 0.0 dB represented by 0x8000. */ - unsigned int trainingSNR : 8; /* 1E.C473.7:0 R/WPD Provisionable Default = 0x00 */ - /* SNR during 10G training on the worst channel. SNR is in steps of 0.1dB - */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C474.F:1 R/WPD Reserved Provisioning 5 [F:1] - AQ_GlobalReservedProvisioning_HHD.u4.bits_4.reservedProvisioning_5 - - Provisionable Default = 0x0000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_5 : 15; /* 1E.C474.F:1 R/WPD Provisionable Default = 0x0000 */ - /* Reserved for future use - */ - /*! \brief 1E.C474.0 R/W NVR Daisy Chain Kickstart - AQ_GlobalReservedProvisioning_HHD.u4.bits_4.nvrDaisyChainKickstart - - Default = 0x0 - - 1 = Kickstart the Daisy Chain - - - Notes: - When in daisy chain master mode, the PHY0 can kickstart the daisy chain. The kickstart will not reload the IRAM/DRAM or reset the uP for PHY0. It will just read the FLASH and transfer the FLASH data to the daisy chain. */ - unsigned int nvrDaisyChainKickstart : 1; /* 1E.C474.0 R/W Default = 0x0 */ - /* 1 = Kickstart the Daisy Chain - */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved0 : 2; - /*! \brief 1E.C475.D R/WPD Smart Power-Down Status - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.smartPower_downStatus - - Provisionable Default = 0x0 - - 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - - */ - unsigned int smartPower_downStatus : 1; /* 1E.C475.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Smart Power-Down Active - 0 = Smart Power-Down Inactive - */ - /*! \brief 1E.C475.C R/WPD Reserved Provisioning 6 - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.reservedProvisioning_6 - - Provisionable Default = 0x0 - - Internal reserved - do not modify - - */ - unsigned int reservedProvisioning_6 : 1; /* 1E.C475.C R/WPD Provisionable Default = 0x0 */ - /* Internal reserved - do not modify - */ - /*! \brief 1E.C475.B R/WPD CFR LP Disable Timer - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpDisableTimer - - Provisionable Default = 0x0 - - 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - - */ - unsigned int cfrLpDisableTimer : 1; /* 1E.C475.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires cfr_disable timer - 0 = Link partner does not require cfr_disable timer - */ - /*! \brief 1E.C475.A R/WPD CFR LP Extended Maxwait - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - - */ - unsigned int cfrLpExtendedMaxwait : 1; /* 1E.C475.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires extended maxwait - 0 = Link partner does not require extended maxwait - */ - /*! \brief 1E.C475.9 R/WPD CFR LP THP - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpTHP - - Provisionable Default = 0x0 - - 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - - */ - unsigned int cfrLpTHP : 1; /* 1E.C475.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner requires local PHY to enable THP - 0 = Link partner does not require local PHY to enable THP - */ - /*! \brief 1E.C475.8 R/WPD CFR LP Support - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrLpSupport - - Provisionable Default = 0x0 - - 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - - */ - unsigned int cfrLpSupport : 1; /* 1E.C475.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Link partner supports Cisco Fast Retrain - 0 = Link partner does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.7 R/WPD CFR Disable Timer - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrDisableTimer - - Provisionable Default = 0x0 - - 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - - */ - unsigned int cfrDisableTimer : 1; /* 1E.C475.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires cfr_disable timer - 0 = Local PHY does not require cfr_disable timer - */ - /*! \brief 1E.C475.6 R/WPD CFR Extended Maxwait - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrExtendedMaxwait - - Provisionable Default = 0x0 - - 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - - */ - unsigned int cfrExtendedMaxwait : 1; /* 1E.C475.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires extended maxwait - 0 = Local PHY does not require extended maxwait - */ - /*! \brief 1E.C475.5 R/WPD CFR THP - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrTHP - - Provisionable Default = 0x0 - - 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - - */ - unsigned int cfrTHP : 1; /* 1E.C475.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY requires local PHY to enable THP - 0 = Local PHY does not require local PHY to enable THP - */ - /*! \brief 1E.C475.4 R/WPD CFR Support - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.cfrSupport - - Provisionable Default = 0x0 - - 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - - */ - unsigned int cfrSupport : 1; /* 1E.C475.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Local PHY supports Cisco Fast Retrain - 0 = Local PHY does support Cisco Fast Retrain - */ - /*! \brief 1E.C475.3 R/WPD Deadlock Avoidance Enable - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.deadlockAvoidanceEnable - - Provisionable Default = 0x0 - - 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - - */ - unsigned int deadlockAvoidanceEnable : 1; /* 1E.C475.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = SPD with deadlock avoidance: PHY transmits autonegotiation pulses (FLPs) at a slower rate (~ 1 FLP/ 100ms) than specified by autonegotiation standard (~1 FLP / 8.25ms). Receiver is active and able to detect the pulses. - 0 = SPD without deadlock avoidance: PHY transmitter is shut down, no autonegotiation pulses are sent on the line but the receiver is active and able to detect the pulses - */ - /*! \brief 1E.C475.2 R/WPD Smart Power-Down Enable - AQ_GlobalReservedProvisioning_HHD.u5.bits_5.smartPower_downEnable - - Provisionable Default = 0x0 - - 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - - - Notes: - Smart power down (SPD) is the lowest power mode at which PHY is able to autonegotiate. SPD can be enabled with bit 1E.C475.2 */ - unsigned int smartPower_downEnable : 1; /* 1E.C475.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable smart power down mode - 0 = Smart power-down mode disabled - */ - unsigned int reserved1 : 2; - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Dummy union to fill space in the structure Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Dummy union to fill space in the structure Global Reserved Provisioning */ - union - { - struct - { - unsigned int reserved : 16; - } bits_7; - uint16_t word_7; - } u7; - /*! \brief Union for bit and word level access of word 8 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C478.F R/WPD DTE Enable - AQ_GlobalReservedProvisioning_HHD.u8.bits_8.dteEnable - - Provisionable Default = 0x0 - - 1 = Enable DTE - 0 = Disable DTE - - */ - unsigned int dteEnable : 1; /* 1E.C478.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable DTE - 0 = Disable DTE - */ - /*! \brief 1E.C478.E:B R/WPD DTE Drop Reporting Timer [3:0] - AQ_GlobalReservedProvisioning_HHD.u8.bits_8.dteDropReportingTimer - - Provisionable Default = 0x0 - - Number of seconds between loss of link partner filter and assertion of no-power-needed state, in 5 second increments (e.g. 0x4 = 20 seconds). - - - Notes: - These bits are used to set how long the PHY waits after it no longer detects the link partner filter before declaring that power is not needed. */ - unsigned int dteDropReportingTimer : 4; /* 1E.C478.E:B R/WPD Provisionable Default = 0x0 */ - /* Number of seconds between loss of link partner filter and assertion of no-power-needed state, in 5 second increments (e.g. 0x4 = 20 seconds). - */ - /*! \brief 1E.C478.A:0 R/WPD Reserved Provisioning 9 [A:0] - AQ_GlobalReservedProvisioning_HHD.u8.bits_8.reservedProvisioning_9 - - Provisionable Default = 0x000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_9 : 11; /* 1E.C478.A:0 R/WPD Provisionable Default = 0x000 */ - /* Reserved for future use - */ - } bits_8; - uint16_t word_8; - } u8; - /*! \brief Union for bit and word level access of word 9 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C479.F R/WPD Power Up Stall - AQ_GlobalReservedProvisioning_HHD.u9.bits_9.powerUpStall - - Provisionable Default = 0x0 - - 1 = Stall FW at Power Up - 0 = Unstall the FW - - - Notes: - This bit needs to be provisioned in Power Up Init for firmware to stall. */ - unsigned int powerUpStall : 1; /* 1E.C479.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Stall FW at Power Up - 0 = Unstall the FW - */ - /*! \brief 1E.C479.E:0 R/WPD Reserved Provisioning 10 [E:0] - AQ_GlobalReservedProvisioning_HHD.u9.bits_9.reservedProvisioning_10 - - Provisionable Default = 0x0000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_10 : 15; /* 1E.C479.E:0 R/WPD Provisionable Default = 0x0000 */ - /* Reserved for future use - */ - } bits_9; - uint16_t word_9; - } u9; - /*! \brief Union for bit and word level access of word 10 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C47A.F:B R/WPD Loopback Control [4:0] - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.loopbackControl - - Provisionable Default = 0x00 - - 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - - - Notes: - These bits, in conjunction with the chip configuration and the rate (Bits 1:0), select the loopback to configure for the chip. Setting one of these loopbacks provisions the chip for the specified loopback. Upon clearing the loopback, the chip returns to it's configuration prior to entering loopback (irregardless of whether other loopbacks were selected after the initial loopback). - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F. - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. - */ - unsigned int loopbackControl : 5; /* 1E.C47A.F:B R/WPD Provisionable Default = 0x00 */ - /* 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - */ - /*! \brief 1E.C47A.A:6 R/WPD Reserved Provisioning 11 [4:0] - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.reservedProvisioning_11 - - Provisionable Default = 0x00 - - Reserved for future use - - */ - unsigned int reservedProvisioning_11 : 5; /* 1E.C47A.A:6 R/WPD Provisionable Default = 0x00 */ - /* Reserved for future use - */ - /*! \brief 1E.C47A.5 R/WPD MDI Packet Generation - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.mdiPacketGeneration - - Provisionable Default = 0x0 - - 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - - - Notes: - Selecting this mode of operation causes the CRPAT packet generator in the PHY to output on the MDI interface at the selected rate. - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int mdiPacketGeneration : 1; /* 1E.C47A.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - */ - /*! \brief 1E.C47A.4 R/WPD Look-Aside Port Packet Generation - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.look_asidePortPacketGeneration - - Provisionable Default = 0x0 - - 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - - - Notes: - Selecting this mode of operation causes the CRPAT packet generator in the PHY to output on KR0. - - NOTE!! This only functions if KR1 (SERDES2) is selected as the system interface in (4.C441.F:E). - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int look_asidePortPacketGeneration : 1; /* 1E.C47A.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - */ - /*! \brief 1E.C47A.3 R/WPD System I/F Packet Generation - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.systemI_fPacketGeneration - - Provisionable Default = 0x0 - - 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - - - Notes: - Selecting this mode of operation causes the CRPAT packet generator in the PHY to output CRPAT packets on the selected 10G system interface (4.C441.F:E) - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int systemI_fPacketGeneration : 1; /* 1E.C47A.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - */ - /*! \brief 1E.C47A.2 R/WPD Reserved Provisioning 11a - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.reservedProvisioning_11a - - Provisionable Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedProvisioning_11a : 1; /* 1E.C47A.2 R/WPD Provisionable Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C47A.1:0 R/WPD Rate [1:0] - AQ_GlobalReservedProvisioning_HHD.u10.bits_10.rate - - Provisionable Default = 0x0 - - 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = reserved - - - Notes: - These bits select the rate for the loopback and packet generation. SERDES configuration, as well autonegotiation is controlled accordingly when a loopback is selected. For instance, if 100M system loopback on the network interface is selected, SGMII on the system interface is enabled to connect at 100M, and if passthrough is enabled 100BASE-TX will be the only advertised rate and will force a re-autonegotiation if not already connected at 100M. - - NOTE!! This is a processor intensive operation. Completion of this operation can be monitored via 1E.C831.F - - The controls in this register are identical to, and mirrored with, the controls in 4.C444. */ - unsigned int rate : 2; /* 1E.C47A.1:0 R/WPD Provisionable Default = 0x0 */ - /* 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = reserved - */ - } bits_10; - uint16_t word_10; - } u10; - /*! \brief Union for bit and word level access of word 11 of Global Reserved Provisioning */ - union - { - struct - { - /*! \brief 1E.C47B.F:2 R/WPD Reserved Provisioning 12 [D:0] - AQ_GlobalReservedProvisioning_HHD.u11.bits_11.reservedProvisioning_12 - - Provisionable Default = 0x0000 - - Reserved for future use - - */ - unsigned int reservedProvisioning_12 : 14; /* 1E.C47B.F:2 R/WPD Provisionable Default = 0x0000 */ - /* Reserved for future use - */ - /*! \brief 1E.C47B.1 R/WPD Enable MACSec - AQ_GlobalReservedProvisioning_HHD.u11.bits_11.enableMacsec - - Provisionable Default = 0x0 - - 1 = MACSec functionality is enabled - 0 = MACSec functionality is disabled - - - Notes: - If this bit is 1, the PTP/SEC block will be included in the data path, regardless of operating mode. */ - unsigned int enableMacsec : 1; /* 1E.C47B.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = MACSec functionality is enabled - 0 = MACSec functionality is disabled - */ - /*! \brief 1E.C47B.0 R/WPD Enable PTP - AQ_GlobalReservedProvisioning_HHD.u11.bits_11.enablePtp - - Provisionable Default = 0x0 - - 1 = PTP functionality is enabled - 0 = PTP functionality is disabled - - - Notes: - If this bit is 1, the PTP/SEC block will be included in the data path, regardless of operating mode. */ - unsigned int enablePtp : 1; /* 1E.C47B.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = PTP functionality is enabled - 0 = PTP functionality is disabled - */ - } bits_11; - uint16_t word_11; - } u11; -} AQ_GlobalReservedProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief PIF Mailbox Control: 1E.C47C */ -/* PIF Mailbox Control: 1E.C47C */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47C.F:0 R/WPDuP PIF Mailbox Address [F:0] - AQ_PifMailboxControl_HHD.u0.bits_0.pifMailboxAddress - - Provisionable Default = 0x0000 - - The least 16 bits of the PIF address to read or write. - - */ - unsigned int pifMailboxAddress : 16; /* 1E.C47C.F:0 R/WPDuP Provisionable Default = 0x0000 */ - /* The least 16 bits of the PIF address to read or write. - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47D.F:0 R/WPDuP PIF Mailbox Data [F:0] - AQ_PifMailboxControl_HHD.u1.bits_1.pifMailboxData - - Provisionable Default = 0x0000 - - The data to be written, or that had been read. - - */ - unsigned int pifMailboxData : 16; /* 1E.C47D.F:0 R/WPDuP Provisionable Default = 0x0000 */ - /* The data to be written, or that had been read. - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47E.F:C R/WPD Reserved PIF Mailbox Control 3 [3:0] - AQ_PifMailboxControl_HHD.u2.bits_2.reservedPifMailboxControl_3 - - Provisionable Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedPifMailboxControl_3 : 4; /* 1E.C47E.F:C R/WPD Provisionable Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C47E.B:8 R/WPDuP PIF Mailbox Command Type [3:0] - AQ_PifMailboxControl_HHD.u2.bits_2.pifMailboxCommandType - - Provisionable Default = 0x0 - - 0 = No Action - 1 = Read - 2 = Write - - - Notes: - System SW writes non-zero value to start a PIF command. */ - unsigned int pifMailboxCommandType : 4; /* 1E.C47E.B:8 R/WPDuP Provisionable Default = 0x0 */ - /* 0 = No Action - 1 = Read - 2 = Write - */ - /*! \brief 1E.C47E.7:0 R/WPDuP PIF Mailbox MMD [7:0] - AQ_PifMailboxControl_HHD.u2.bits_2.pifMailboxMMD - - Provisionable Default = 0x00 - - MMD (upper 8 bits) of the PID address to read or write. - - */ - unsigned int pifMailboxMMD : 8; /* 1E.C47E.7:0 R/WPDuP Provisionable Default = 0x00 */ - /* MMD (upper 8 bits) of the PID address to read or write. - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of PIF Mailbox Control */ - union - { - struct - { - /*! \brief 1E.C47F.F:4 R/WPD Reserved PIF Mailbox Control 4 [B:0] - AQ_PifMailboxControl_HHD.u3.bits_3.reservedPifMailboxControl_4 - - Provisionable Default = 0x000 - - Reserved for future use - - */ - unsigned int reservedPifMailboxControl_4 : 12; /* 1E.C47F.F:4 R/WPD Provisionable Default = 0x000 */ - /* Reserved for future use - */ - /*! \brief 1E.C47F.3:0 R/WPDuP PIF Mailbox Command Status [3:0] - AQ_PifMailboxControl_HHD.u3.bits_3.pifMailboxCommandStatus - - Provisionable Default = 0x0 - - 0 = Idle - 1 = Command completed - 2 = Command did not complete - - - Notes: - System SW should write 0 before writing Command Type to clear completion status */ - unsigned int pifMailboxCommandStatus : 4; /* 1E.C47F.3:0 R/WPDuP Provisionable Default = 0x0 */ - /* 0 = Idle - 1 = Command completed - 2 = Command did not complete - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_PifMailboxControl_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global SMBus 0 Provisioning: 1E.C485 */ -/* Global SMBus 0 Provisioning: 1E.C485 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global SMBus 0 Provisioning */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.C485.7:1 R/W SMB 0 Slave Address [7:1] - AQ_GlobalSmbus_0Provisioning_HHD.u0.bits_0.smb_0SlaveAddress - - Default = 0x00 - - SMB slave address configuration - - */ - unsigned int smb_0SlaveAddress : 7; /* 1E.C485.7:1 R/W Default = 0x00 */ - /* SMB slave address configuration - */ - unsigned int reserved1 : 1; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalSmbus_0Provisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global SMBus 1 Provisioning: 1E.C495 */ -/* Global SMBus 1 Provisioning: 1E.C495 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global SMBus 1 Provisioning */ - union - { - struct - { - unsigned int reserved0 : 8; - /*! \brief 1E.C495.7:1 R/W SMB 1 Slave Address [7:1] - AQ_GlobalSmbus_1Provisioning_HHD.u0.bits_0.smb_1SlaveAddress - - Default = 0x00 - - SMB slave address configuration - - */ - unsigned int smb_1SlaveAddress : 7; /* 1E.C495.7:1 R/W Default = 0x00 */ - /* SMB slave address configuration - */ - unsigned int reserved1 : 1; - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalSmbus_1Provisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global EEE Provisioning: 1E.C4A0 */ -/* Global EEE Provisioning: 1E.C4A0 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global EEE Provisioning */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C4A0.0 R/WPD EEE Mode - AQ_GlobalEeeProvisioning_HHD.u0.bits_0.eeeMode - - Provisionable Default = 0x0 - - 1 = EEE mode of operation - - - Notes: - EEE mode of operation (0=disable, 1=enable, default:0) */ - unsigned int eeeMode : 1; /* 1E.C4A0.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = EEE mode of operation - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalEeeProvisioning_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Status: 1E.C800 */ -/* Global Cable Diagnostic Status: 1E.C800 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Status */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C800.E:C RO Pair A Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairAStatus - - - - [F:D] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK - - Notes: - This register summarizes the worst impairment on Pair A. */ - unsigned int pairAStatus : 3; /* 1E.C800.E:C RO */ - /* [F:D] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair D - 010= Connected to Pair C - 001= Connected to Pair B - 000= OK */ - unsigned int reserved1 : 1; - /*! \brief 1E.C800.A:8 RO Pair B Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairBStatus - - - - [C:A] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK - - Notes: - This register summarizes the worst impairment on Pair B. */ - unsigned int pairBStatus : 3; /* 1E.C800.A:8 RO */ - /* [C:A] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair A - 010= Connected to Pair D - 001= Connected to Pair C - 000= OK */ - unsigned int reserved2 : 1; - /*! \brief 1E.C800.6:4 RO Pair C Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairCStatus - - - - [9:7] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK - - Notes: - This register summarizes the worst impairment on Pair C. */ - unsigned int pairCStatus : 3; /* 1E.C800.6:4 RO */ - /* [9:7] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair B - 010= Connected to Pair A - 001= Connected to Pair D - 000= OK */ - unsigned int reserved3 : 1; - /*! \brief 1E.C800.2:0 RO Pair D Status [2:0] - AQ_GlobalCableDiagnosticStatus_HHD.u0.bits_0.pairDStatus - - - - [6:4] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK - - Notes: - This register summarizes the worst impairment on Pair D. */ - unsigned int pairDStatus : 3; /* 1E.C800.2:0 RO */ - /* [6:4] - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 011= Connected to Pair C - 010= Connected to Pair B - 001= Connected to Pair A - 000= OK */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C801.F:8 RO Pair A Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u1.bits_1.pairAReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_1 : 8; /* 1E.C801.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair A */ - /*! \brief 1E.C801.7:0 RO Pair A Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u1.bits_1.pairAReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A - - Notes: - The distance to this reflection is given in See Global Reserved Status 1: Address 1E.C870 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairAReflection_2 : 8; /* 1E.C801.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair A */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C802.F:0 RO Impulse Response MSW [F:0] - AQ_GlobalCableDiagnosticStatus_HHD.u2.bits_2.impulseResponseMSW - - - - The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseMSW : 16; /* 1E.C802.F:0 RO */ - /* The MSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type in 1E.C470.E:D */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C803.F:8 RO Pair B Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u3.bits_3.pairBReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_1 : 8; /* 1E.C803.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair B */ - /*! \brief 1E.C803.7:0 RO Pair B Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u3.bits_3.pairBReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B - - Notes: - The distance to this reflection is given in See Global Reserved Status 2: Address 1E.C871 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairBReflection_2 : 8; /* 1E.C803.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair B */ - } bits_3; - uint16_t word_3; - } u3; - /*! \brief Union for bit and word level access of word 4 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C804.F:0 RO Impulse Response LSW [F:0] - AQ_GlobalCableDiagnosticStatus_HHD.u4.bits_4.impulseResponseLSW - - - - The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D - - Notes: - See 1E.C470 for more information */ - unsigned int impulseResponseLSW : 16; /* 1E.C804.F:0 RO */ - /* The LSW of the memory location that contains the start of the impulse response data for the Extended Diagnostic type specified in 1E.C470.E:D */ - } bits_4; - uint16_t word_4; - } u4; - /*! \brief Union for bit and word level access of word 5 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C805.F:8 RO Pair C Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u5.bits_5.pairCReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_1 : 8; /* 1E.C805.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair C */ - /*! \brief 1E.C805.7:0 RO Pair C Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u5.bits_5.pairCReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C - - Notes: - The distance to this reflection is given in See Global Reserved Status 3: Address 1E.C872 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairCReflection_2 : 8; /* 1E.C805.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair C */ - } bits_5; - uint16_t word_5; - } u5; - /*! \brief Union for bit and word level access of word 6 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C806.F:0 RO Reserved 1 [F:0] - AQ_GlobalCableDiagnosticStatus_HHD.u6.bits_6.reserved_1 - - - - Reserved for future use - */ - unsigned int reserved_1 : 16; /* 1E.C806.F:0 RO */ - /* Reserved for future use */ - } bits_6; - uint16_t word_6; - } u6; - /*! \brief Union for bit and word level access of word 7 of Global Cable Diagnostic Status */ - union - { - struct - { - /*! \brief 1E.C807.F:8 RO Pair D Reflection #1 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u7.bits_7.pairDReflection_1 - - - - The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_1 : 8; /* 1E.C807.F:8 RO */ - /* The distance in meters, accurate to 1m, of the first of the four worst reflections seen by the PHY on Pair D */ - /*! \brief 1E.C807.7:0 RO Pair D Reflection #2 [7:0] - AQ_GlobalCableDiagnosticStatus_HHD.u7.bits_7.pairDReflection_2 - - - - The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D - - Notes: - The distance to this reflection is given in See Global Reserved Status 4: Address 1E.C873 . A value of zero indicates that this reflection does not exist or was not computed. */ - unsigned int pairDReflection_2 : 8; /* 1E.C807.7:0 RO */ - /* The distance in meters, accurate to 1m, of the second of the four worst reflections seen by the PHY on Pair D */ - } bits_7; - uint16_t word_7; - } u7; -} AQ_GlobalCableDiagnosticStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Thermal Status: 1E.C820 */ -/* Global Thermal Status: 1E.C820 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Thermal Status */ - union - { - struct - { - /*! \brief 1E.C820.F:0 RO Temperature [F:0] - AQ_GlobalThermalStatus_HHD.u0.bits_0.temperature - - - - [F:0] of temperature - - - Notes: - 2's complement value with the LSB representing 1/256 of a degree Celsius. This corresponds to -40 degreesC = 0xD800. Default is 70 degreesC. This is a mirror of the XENPAK register 1.A060 - 1.A061. The mirror is performed in H/W. */ - unsigned int temperature : 16; /* 1E.C820.F:0 RO */ - /* [F:0] of temperature - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Thermal Status */ - union - { - struct - { - unsigned int reserved0 : 15; - /*! \brief 1E.C821.0 RO Temperature Ready - AQ_GlobalThermalStatus_HHD.u1.bits_1.temperatureReady - - - - 1 = Temperature measurement is valid - - - Notes: - This is a mirror of the XENPAK register 1.A06E. */ - unsigned int temperatureReady : 1; /* 1E.C821.0 RO */ - /* 1 = Temperature measurement is valid - */ - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalThermalStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global General Status: 1E.C830 */ -/* Global General Status: 1E.C830 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global General Status */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.C830.E RO High Temperature Failure State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.highTemperatureFailureState - - - - 1 = High temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.7 register. - - */ - unsigned int highTemperatureFailureState : 1; /* 1E.C830.E RO */ - /* 1 = High temperature failure threshold has been exceeded */ - /*! \brief 1E.C830.D RO Low Temperature Failure State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.lowTemperatureFailureState - - - - 1 = Low temperature failure threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A070.6 register. - - */ - unsigned int lowTemperatureFailureState : 1; /* 1E.C830.D RO */ - /* 1 = Low temperature failure threshold has been exceeded */ - /*! \brief 1E.C830.C RO High Temperature Warning State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.highTemperatureWarningState - - - - 1 = High temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.7 register. - - */ - unsigned int highTemperatureWarningState : 1; /* 1E.C830.C RO */ - /* 1 = High temperature warning threshold has been exceeded */ - /*! \brief 1E.C830.B RO Low Temperature Warning State - AQ_GlobalGeneralStatus_HHD.u0.bits_0.lowTemperatureWarningState - - - - 1 = Low temperature warning threshold has been exceeded - - Notes: - In XENPAK mode, F/W will copy this register to the 1.A074.6 register. - - */ - unsigned int lowTemperatureWarningState : 1; /* 1E.C830.B RO */ - /* 1 = Low temperature warning threshold has been exceeded */ - unsigned int reserved1 : 11; - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global General Status */ - union - { - struct - { - /*! \brief 1E.C831.F RO Processor Intensive MDIO Operation In- Progress - AQ_GlobalGeneralStatus_HHD.u1.bits_1.processorIntensiveMdioOperationIn_Progress - - - - 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - - - Notes: - This bit should may be used with certain processor-intensive MDIO commands (such as Loopbacks, Test Modes, Low power modes, Tx-Disable, Restart autonegotiation, Cable Diagnostics, etc.) that take longer than an MDIO cycle to complete. Upon receiving an MDIO command that involves the PHY's microprocessor, this bit is set, and when the command is completed, this bit is cleared. - - NOTE!!! This bit should be checked only after 1 ms of issuing a processor-intensive MDIO operation. - - The list of operations that set this bit are as follows: - - 1.0.0, PMA Loopback - 1.0.B, Low power mode - 1.9.4:0, Tx Disable - 1.84, 10G Test modes - 1.8000.5, XENPAK Control - 1.9000, XENPAK Rx Fault Enable - 1.9002, XENPAK Alarm Enable - 1.E400.F, External loopback - 3.0.B, Low power mode - 3.0.E, System PCS loopback - 3.C471.5, PRBS Test - 3.C471.6, PRBS Test - 3.E471.5, PRBS Test - 3.E471.6, PRBS Test - 4.0.B, Low power mode - 4.0.E, PHY-XS network loopback - 4.C440, Output clock control, Load SERDES parameters - 4.F802.E, System loopback - 4.C444.F:B, Loopback Control - 4.C444.4:2, Packet generation - 4.C445.C, SERDES calibration - 7.0.9, Restart autonegotiation - 1D.C280, 1G/100M Network loopback - 1D.C500, 1G System loopback - 1D.C501, 1G / 100M Test modes - 1E.C470.4, Cable diagnostics - 1E.C47A.F:B, Loopback Control - 1E.C47A.4:2, Packet generation */ - unsigned int processorIntensiveMdioOperationIn_Progress : 1; /* 1E.C831.F RO */ - /* 1 = PHY microprocessor is busy with a processor-intensive MDIO operation - 0 = Processor-intensive MDIO operation completed - */ - unsigned int reserved0 : 15; - } bits_1; - uint16_t word_1; - } u1; -} AQ_GlobalGeneralStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Pin Status: 1E.C840 */ -/* Global Pin Status: 1E.C840 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Pin Status */ - union - { - struct - { - unsigned int reserved0 : 1; - unsigned int reserved1 : 1; - /*! \brief 1E.C840.D RO DC_MASTER_N - AQ_GlobalPinStatus_HHD.u0.bits_0.dcMasterN - - - - Value of DC_MASTER_N pin: - - 0x1 = PHY Slave Daisy Chain Boot - 0x0 = PHY Master Daisy Chain Boot from FLASH - */ - unsigned int dcMasterN : 1; /* 1E.C840.D RO */ - /* Value of DC_MASTER_N pin: - - 0x1 = PHY Slave Daisy Chain Boot - 0x0 = PHY Master Daisy Chain Boot from FLASH */ - unsigned int reserved2 : 3; - /*! \brief 1E.C840.9 RO Package Connectivity - AQ_GlobalPinStatus_HHD.u0.bits_0.packageConnectivity - - - - Value of the package connection pin - - */ - unsigned int packageConnectivity : 1; /* 1E.C840.9 RO */ - /* Value of the package connection pin - */ - unsigned int reserved3 : 1; - /*! \brief 1E.C840.7 RO Tx Enable - AQ_GlobalPinStatus_HHD.u0.bits_0.txEnable - - - - Current Value of Tx Enable pin - - - Notes: - 0 = Disable Transmitter */ - unsigned int txEnable : 1; /* 1E.C840.7 RO */ - /* Current Value of Tx Enable pin - */ - unsigned int reserved4 : 1; - /*! \brief 1E.C840.5:0 RO LED Pullup State [5:0] - AQ_GlobalPinStatus_HHD.u0.bits_0.ledPullupState - - - - 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - - */ - unsigned int ledPullupState : 6; /* 1E.C840.5:0 RO */ - /* 1 = LED output pin is pulled high - 0 = LED output pin is pulled low - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalPinStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Daisy Chain Status: 1E.C842 */ -/* Global Daisy Chain Status: 1E.C842 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Daisy Chain Status */ - union - { - struct - { - /*! \brief 1E.C842.F:0 RO Rx Daisy Chain Calculated CRC [F:0] - AQ_GlobalDaisyChainStatus_HHD.u0.bits_0.rxDaisyChainCalculatedCrc - - - - Rx Daisy Chain Calculated CRC - - - Notes: - This is the calculated daisy chain CRC. */ - unsigned int rxDaisyChainCalculatedCrc : 16; /* 1E.C842.F:0 RO */ - /* Rx Daisy Chain Calculated CRC - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalDaisyChainStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Fault Message: 1E.C850 */ -/* Global Fault Message: 1E.C850 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Fault Message */ - union - { - struct - { - /*! \brief 1E.C850.F:0 RO Message [F:0] - AQ_GlobalFaultMessage_HHD.u0.bits_0.message - - - - Error code describing fault - - Notes: - Code 0x8001: Firmware not compatible with chip architecture. This fault occurs when firmware compiled for a different microprocessor core is loaded. - Code 0x8002: VCO calibration failed. This occurs when the main PLLs on chip fail to lock: this is not possible to trigger. - Code 0x8003: XAUI calibration failed. This occurs when the XAUI PLLs fail to lock: this is not possible to trigger. - Code 0x8005: Unexpected device ID. This occurs if the device ID programmed into the internal E-Fuse registers in not valid: this is not possible to trigger. - Code 0x8006: Computed checksum does not match expected checksum. This occurs when the FLASH checksum check performed at boot time fails. This only occurs when the system boots from FLASH. - Code 0x8007: Detected a bit error in static memory. To trigger, corrupt one of the static regions. - Code 0xC001: Illegal Instruction exception. This occurs when the processor attempts to execute an illegal instruction. To trigger this, write an illegal instruction to program memory. It's possible that the bit error check will trigger before the illegal instruction is executed. - Code 0xC002 Instruction Fetch Error. Internal physical address or a data error during instruction fetch: this is not possible to trigger. - Code 0xC003 Load Store Error. Internal physical address or data error during load store operation: this is not possible to trigger.. - Code 0xC004 Privileged Instruction. Attempt to execute a privileged operation without sufficient privilege: this is not possible to trigger. - Code 0xC005 Unaligned Load or Store. Attempt to load or store data at an address which cannot be handled due to alignment: this is not possible to trigger. - Code 0xC006 Instruction fetch from prohibited space: this is not possible to trigger. - Code 0xC007 Data load from prohibited space: this is not possible to trigger. - Code 0xC008 Data store into prohibited space: this is not possible to trigger. */ - unsigned int message : 16; /* 1E.C850.F:0 RO */ - /* Error code describing fault */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalFaultMessage_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Cable Diagnostic Impedance: 1E.C880 */ -/* Global Cable Diagnostic Impedance: 1E.C880 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C880.F RO Reserved 1 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_1 - - - - Reserved - - */ - unsigned int reserved_1 : 1; /* 1E.C880.F RO */ - /* Reserved - */ - /*! \brief 1E.C880.E:C RO Pair A Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_1 : 3; /* 1E.C880.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.B RO Reserved 2 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_2 - - - - Reserved - - */ - unsigned int reserved_2 : 1; /* 1E.C880.B RO */ - /* Reserved - */ - /*! \brief 1E.C880.A:8 RO Pair A Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_2 : 3; /* 1E.C880.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.7 RO Reserved 3 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_3 - - - - Reserved - - */ - unsigned int reserved_3 : 1; /* 1E.C880.7 RO */ - /* Reserved - */ - /*! \brief 1E.C880.6:4 RO Pair A Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_3 : 3; /* 1E.C880.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C880.3 RO Reserved 4 - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.reserved_4 - - - - Reserved - - */ - unsigned int reserved_4 : 1; /* 1E.C880.3 RO */ - /* Reserved - */ - /*! \brief 1E.C880.2:0 RO Pair A Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u0.bits_0.pairAReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair A. The corresponding length of this reflection from the PHY is given in See Global Power Control - Address 1E.21 */ - unsigned int pairAReflection_4 : 3; /* 1E.C880.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C881.F RO Reserved 5 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_5 - - - - Reserved - - */ - unsigned int reserved_5 : 1; /* 1E.C881.F RO */ - /* Reserved - */ - /*! \brief 1E.C881.E:C RO Pair B Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_1 : 3; /* 1E.C881.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.B RO Reserved 6 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_6 - - - - Reserved - - */ - unsigned int reserved_6 : 1; /* 1E.C881.B RO */ - /* Reserved - */ - /*! \brief 1E.C881.A:8 RO Pair B Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_2 : 3; /* 1E.C881.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.7 RO Reserved 7 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_7 - - - - Reserved - - */ - unsigned int reserved_7 : 1; /* 1E.C881.7 RO */ - /* Reserved - */ - /*! \brief 1E.C881.6:4 RO Pair B Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_3 : 3; /* 1E.C881.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C881.3 RO Reserved 8 - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.reserved_8 - - - - Reserved - - */ - unsigned int reserved_8 : 1; /* 1E.C881.3 RO */ - /* Reserved - */ - /*! \brief 1E.C881.2:0 RO Pair B Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u1.bits_1.pairBReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair B. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 2 - Address 1E.32 - 1E.33 */ - unsigned int pairBReflection_4 : 3; /* 1E.C881.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C882.F RO Reserved 9 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_9 - - - - Reserved - - */ - unsigned int reserved_9 : 1; /* 1E.C882.F RO */ - /* Reserved - */ - /*! \brief 1E.C882.E:C RO Pair C Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_1 : 3; /* 1E.C882.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.B RO Reserved 10 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_10 - - - - Reserved - - */ - unsigned int reserved_10 : 1; /* 1E.C882.B RO */ - /* Reserved - */ - /*! \brief 1E.C882.A:8 RO Pair C Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_2 : 3; /* 1E.C882.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.7 RO Reserved 11 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_11 - - - - Reserved - - */ - unsigned int reserved_11 : 1; /* 1E.C882.7 RO */ - /* Reserved - */ - /*! \brief 1E.C882.6:4 RO Pair C Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_3 : 3; /* 1E.C882.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C882.3 RO Reserved 12 - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.reserved_12 - - - - Reserved - - */ - unsigned int reserved_12 : 1; /* 1E.C882.3 RO */ - /* Reserved - */ - /*! \brief 1E.C882.2:0 RO Pair C Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u2.bits_2.pairCReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair C. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.33 */ - unsigned int pairCReflection_4 : 3; /* 1E.C882.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Cable Diagnostic Impedance */ - union - { - struct - { - /*! \brief 1E.C883.F RO Reserved 13 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_13 - - - - Reserved - - */ - unsigned int reserved_13 : 1; /* 1E.C883.F RO */ - /* Reserved - */ - /*! \brief 1E.C883.E:C RO Pair D Reflection #1 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_1 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the first worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_1 : 3; /* 1E.C883.E:C RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.B RO Reserved 14 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_14 - - - - Reserved - - */ - unsigned int reserved_14 : 1; /* 1E.C883.B RO */ - /* Reserved - */ - /*! \brief 1E.C883.A:8 RO Pair D Reflection #2 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_2 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the second worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_2 : 3; /* 1E.C883.A:8 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.7 RO Reserved 15 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_15 - - - - Reserved - - */ - unsigned int reserved_15 : 1; /* 1E.C883.7 RO */ - /* Reserved - */ - /*! \brief 1E.C883.6:4 RO Pair D Reflection #3 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_3 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the third worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_3 : 3; /* 1E.C883.6:4 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - /*! \brief 1E.C883.3 RO Reserved 16 - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.reserved_16 - - - - Reserved - - */ - unsigned int reserved_16 : 1; /* 1E.C883.3 RO */ - /* Reserved - */ - /*! \brief 1E.C883.2:0 RO Pair D Reflection #4 [2:0] - AQ_GlobalCableDiagnosticImpedance_HHD.u3.bits_3.pairDReflection_4 - - - - 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - - - Notes: - The impedance of the fourth worst reflection on Pair D. The corresponding length of this reflection from the PHY is given in See Global Cable Diagnostic Status 3 - Address 1E.34 - 1E.35 */ - unsigned int pairDReflection_4 : 3; /* 1E.C883.2:0 RO */ - /* 111 = Open Circuit (> 300W) - 110 = High Mismatch (> 115W) - 101 = Low Mismatch (< 85W) - 100 = Short Circuit (< 30W) - 0xx= No information available - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalCableDiagnosticImpedance_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Status: 1E.C884 */ -/* Global Status: 1E.C884 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Status */ - union - { - struct - { - /*! \brief 1E.C884.F:8 RO Reserved Status 0 [7:0] - AQ_GlobalStatus_HHD.u0.bits_0.reservedStatus_0 - - - - Reserved - - */ - unsigned int reservedStatus_0 : 8; /* 1E.C884.F:8 RO */ - /* Reserved - */ - /*! \brief 1E.C884.7:0 RO Cable Length [7:0] - AQ_GlobalStatus_HHD.u0.bits_0.cableLength - - - - The estimated length of the cable in meters - - - Notes: - The length of the cable shown here is estimated from the cable diagnostic engine and should be accurate to +/-1m. */ - unsigned int cableLength : 8; /* 1E.C884.7:0 RO */ - /* The estimated length of the cable in meters - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Reserved Status: 1E.C885 */ -/* Global Reserved Status: 1E.C885 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C885.F:A RO Nearly Seconds MSW[5:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.nearlySecondsMSW - - - - Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsMSW : 6; /* 1E.C885.F:A RO */ - /* Bits 16 to 21 of the 22 bit "Nearly Seconds" uptime counter. - */ - /*! \brief 1E.C885.9:8 ROSPD XENPAK NVR Status [1:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.xenpakNvrStatus - - Provisionable Default = 0x0 - - Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - - - Notes: - XENPAK register space is mirrored in NVR (SPI ROM). This register indicates the status of the last NVR operation. */ - unsigned int xenpakNvrStatus : 2; /* 1E.C885.9:8 ROSPD Provisionable Default = 0x0 */ - /* Status of XENPAK NVR: - 0: NVR not enabled - 1: Last NVR operation succeeded - 2: Last NVR operation failed - 3: Reserved - */ - /*! \brief 1E.C885.7:4 ROSPD Firmware Build ID [3:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.firmwareBuildID - - Provisionable Default = 0x0 - - Firmware Build ID - - - Notes: - Customers may receive multiple ROM images that differ only in their provisioning. This field is used to differentiate those images. This field is used in conjunction with the firmware major and minor revision numbers to uniquely identify ROM images. */ - unsigned int firmwareBuildID : 4; /* 1E.C885.7:4 ROSPD Provisionable Default = 0x0 */ - /* Firmware Build ID - */ - /*! \brief 1E.C885.3:0 ROSPD Provisioning ID [3:0] - AQ_GlobalReservedStatus_HHD.u0.bits_0.provisioningID - - Provisionable Default = 0x0 - - Provisioning ID - - - Notes: - Customers may receive multiple ROM images that differ only in their provisioning. This field is used to differentiate those images. This field is used in conjunction with the firmware major and minor revision numbers to uniquely identify ROM images. */ - unsigned int provisioningID : 4; /* 1E.C885.3:0 ROSPD Provisionable Default = 0x0 */ - /* Provisioning ID - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C886.F:0 RO Nearly Seconds LSW [F:0] - AQ_GlobalReservedStatus_HHD.u1.bits_1.nearlySecondsLSW - - - - Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter - - - Notes: - The "Nearly Seconds" counter is incremented every 1024 milliseconds. */ - unsigned int nearlySecondsLSW : 16; /* 1E.C886.F:0 RO */ - /* Bits 0 to 15 of the 22 bit "Nearly Seconds" uptime counter - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C887.F ROS DTE Status - AQ_GlobalReservedStatus_HHD.u2.bits_2.dteStatus - - Default = 0x0 - - 1 = Need power - 0 = Don't need power - - */ - unsigned int dteStatus : 1; /* 1E.C887.F ROS Default = 0x0 */ - /* 1 = Need power - 0 = Don't need power - */ - /*! \brief 1E.C887.E ROS Power Up Stall Status - AQ_GlobalReservedStatus_HHD.u2.bits_2.powerUpStallStatus - - Default = 0x0 - - 1 = FW is stalled at power up - 0 = Firmware is unstalled - - */ - unsigned int powerUpStallStatus : 1; /* 1E.C887.E ROS Default = 0x0 */ - /* 1 = FW is stalled at power up - 0 = Firmware is unstalled - */ - /*! \brief 1E.C887.D:0 RO Reserved Status 3 [D:0] - AQ_GlobalReservedStatus_HHD.u2.bits_2.reservedStatus_3 - - - - Reserved for future use - - */ - unsigned int reservedStatus_3 : 14; /* 1E.C887.D:0 RO */ - /* Reserved for future use - */ - } bits_2; - uint16_t word_2; - } u2; - /*! \brief Union for bit and word level access of word 3 of Global Reserved Status */ - union - { - struct - { - /*! \brief 1E.C888.F:B RO Loopback Status [4:0] - AQ_GlobalReservedStatus_HHD.u3.bits_3.loopbackStatus - - Default = 0x00 - - 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - - - Notes: - These bits, in conjunction with the chip configuration and the rate (Bits 1:0), report the selected loopback. - - */ - unsigned int loopbackStatus : 5; /* 1E.C888.F:B RO Default = 0x00 */ - /* 0x00 = No loopback - 0x01 = System Interface - System Loopback - 0x02 = System Interface - System Loopback with Passthrough - 0x03 = System Interface - Network Loopback - 0x04 = System Interface - Network Loopback with Passthrough - 0x05 = System Interface - Network Loopback with Passthrough and Merge - 0x06 = System Interface - Peer-to-peer loopback - 0x07 - 0x08 = Reserved - 0x09 = Network Interface - System Loopback - 0x0A = Network Interface - System Loopback with Passthrough - 0x0B = Network Interface - Network Loopback - 0x0C = Network Interface - Network Loopback with Passthrough - 0x0D = Network Interface - Peer-to-peer loopback - 0x0E - 0x0F = Reserved - 0x10 = Cross-connect System Loopback - 0x11 = Cross-connect Network Loopback - 0x12 - 0x13 = Reserved - 0x14 = Network Interface - System Loopback via Loopback Plug - 0x15 - 0x1F = Reserved - */ - /*! \brief 1E.C888.A:6 RO Reserved Status 4 [4:0] - AQ_GlobalReservedStatus_HHD.u3.bits_3.reservedStatus_4 - - Default = 0x00 - - Reserved for future use - - */ - unsigned int reservedStatus_4 : 5; /* 1E.C888.A:6 RO Default = 0x00 */ - /* Reserved for future use - */ - /*! \brief 1E.C888.5 RO MDI Packet Generation Status - AQ_GlobalReservedStatus_HHD.u3.bits_3.mdiPacketGenerationStatus - - Default = 0x0 - - 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - - - Notes: - Reports whether the CRPAT packet generator in the PHY outputs on the MDI interface at the selected rate. */ - unsigned int mdiPacketGenerationStatus : 1; /* 1E.C888.5 RO Default = 0x0 */ - /* 1 = CRPAT packet generation out MDI interface - 0 = No CRPAT packet generation out MDI interface - */ - /*! \brief 1E.C888.4 RO Look-Aside Port Packet Generation Status - AQ_GlobalReservedStatus_HHD.u3.bits_3.look_asidePortPacketGenerationStatus - - Default = 0x0 - - 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - - - Notes: - Reports whether the CRPAT packet generator in the PHY outputs on the KR0 interface at the selected rate. */ - unsigned int look_asidePortPacketGenerationStatus : 1; /* 1E.C888.4 RO Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G look-aside interface (KR0) - 0 = No CRPAT packet generation out 10G look-aside interface (KR0) - */ - /*! \brief 1E.C888.3 RO System I/F Packet Generation Status - AQ_GlobalReservedStatus_HHD.u3.bits_3.systemI_fPacketGenerationStatus - - Default = 0x0 - - 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - - - Notes: - Reports whether the CRPAT packet generator in the PHY outputs on the selected system interface at the selected rate. */ - unsigned int systemI_fPacketGenerationStatus : 1; /* 1E.C888.3 RO Default = 0x0 */ - /* 1 = CRPAT packet generation out 10G system interface - 0 = No CRPAT packet generation out 10G system interface - */ - /*! \brief 1E.C888.2 RO Reserved Status 4a - AQ_GlobalReservedStatus_HHD.u3.bits_3.reservedStatus_4a - - Default = 0x0 - - Reserved for future use - - */ - unsigned int reservedStatus_4a : 1; /* 1E.C888.2 RO Default = 0x0 */ - /* Reserved for future use - */ - /*! \brief 1E.C888.1:0 RO Rate [1:0] - AQ_GlobalReservedStatus_HHD.u3.bits_3.rate - - Default = 0x0 - - 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = invalid - - - Notes: - These bits report the selected rate for the loopback and packet generation. */ - unsigned int rate : 2; /* 1E.C888.1:0 RO Default = 0x0 */ - /* 0x3 = 10G - 0x2 = 1G - 0x1 = 100M - 0x0 = invalid - */ - } bits_3; - uint16_t word_3; - } u3; -} AQ_GlobalReservedStatus_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Alarms: 1E.CC00 */ -/* Global Alarms: 1E.CC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Alarms */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.CC00.E LH High Temperature Failure - AQ_GlobalAlarms_HHD.u0.bits_0.highTemperatureFailure - - - - 1 = High temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureFailure : 1; /* 1E.CC00.E LH */ - /* 1 = High temperature failure threshold has been exceeded - */ - /*! \brief 1E.CC00.D LH Low Temperature Failure - AQ_GlobalAlarms_HHD.u0.bits_0.lowTemperatureFailure - - - - 1 = Low temperature failure threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureFailure : 1; /* 1E.CC00.D LH */ - /* 1 = Low temperature failure threshold has been exceeded - */ - /*! \brief 1E.CC00.C LH High Temperature Warning - AQ_GlobalAlarms_HHD.u0.bits_0.highTemperatureWarning - - - - 1 = High temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int highTemperatureWarning : 1; /* 1E.CC00.C LH */ - /* 1 = High temperature warning threshold has been exceeded - */ - /*! \brief 1E.CC00.B LH Low Temperature Warning - AQ_GlobalAlarms_HHD.u0.bits_0.lowTemperatureWarning - - - - 1 = Low temperature warning threshold has been exceeded - - - Notes: - - - - - These bits mirror the matching bit in 1.A070 and 1.A074. These bits are driven by Bits E:B in See Global General Status 1: Address 1E.C830 . */ - unsigned int lowTemperatureWarning : 1; /* 1E.CC00.B LH */ - /* 1 = Low temperature warning threshold has been exceeded - */ - unsigned int reserved1 : 4; - /*! \brief 1E.CC00.6 LH Reset completed - AQ_GlobalAlarms_HHD.u0.bits_0.resetCompleted - - - - 1 = Chip wide reset completed - - Notes: - This bit is set by the microprocessor when it has completed it's initialization sequence. This bit is mirrored in 1.CC02.0 */ - unsigned int resetCompleted : 1; /* 1E.CC00.6 LH */ - /* 1 = Chip wide reset completed */ - unsigned int reserved2 : 1; - /*! \brief 1E.CC00.4 LH Device Fault - AQ_GlobalAlarms_HHD.u0.bits_0.deviceFault - - - - 1 = Fault - - Notes: - When set, a fault has been detected by the uP and the associated 16 bit error code is visible in See Global Configuration Fault Message: Address 1E.C850 */ - unsigned int deviceFault : 1; /* 1E.CC00.4 LH */ - /* 1 = Fault */ - /*! \brief 1E.CC00.3 LH Reserved Alarm A - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmA - - - - Reserved for future use - - */ - unsigned int reservedAlarmA : 1; /* 1E.CC00.3 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.2 LH Reserved Alarm B - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmB - - - - Reserved for future use - - */ - unsigned int reservedAlarmB : 1; /* 1E.CC00.2 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.1 LH Reserved Alarm C - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmC - - - - Reserved for future use - - */ - unsigned int reservedAlarmC : 1; /* 1E.CC00.1 LH */ - /* Reserved for future use - */ - /*! \brief 1E.CC00.0 LH Reserved Alarm D - AQ_GlobalAlarms_HHD.u0.bits_0.reservedAlarmD - - - - Reserved for future use - - */ - unsigned int reservedAlarmD : 1; /* 1E.CC00.0 LH */ - /* Reserved for future use - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Alarms */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.CC01.E LH Smart Power-Down Entered - AQ_GlobalAlarms_HHD.u1.bits_1.smartPower_downEntered - - - - 1 = Smart Power-Down State Entered - - - Notes: - When this bit is set, it indicates that the Smart Power-Down state was entered */ - unsigned int smartPower_downEntered : 1; /* 1E.CC01.E LH */ - /* 1 = Smart Power-Down State Entered - */ - /*! \brief 1E.CC01.D RO XENPAK Alarm - AQ_GlobalAlarms_HHD.u1.bits_1.xenpakAlarm - - - - 1 = XENPAK Alarm - - */ - unsigned int xenpakAlarm : 1; /* 1E.CC01.D RO */ - /* 1 = XENPAK Alarm - */ - /*! \brief 1E.CC01.C LH IP Phone Detect - AQ_GlobalAlarms_HHD.u1.bits_1.ipPhoneDetect - - - - 1 = IP Phone Detect - - - Notes: - Assertion of this bit means that the presence of an IP Phone has been detected. */ - unsigned int ipPhoneDetect : 1; /* 1E.CC01.C LH */ - /* 1 = IP Phone Detect - */ - /*! \brief 1E.CC01.B LH DTE Status Change - AQ_GlobalAlarms_HHD.u1.bits_1.dteStatusChange - - - - 1 = DTE status change - - - Notes: - Change in 1E.C887[F]. */ - unsigned int dteStatusChange : 1; /* 1E.CC01.B LH */ - /* 1 = DTE status change - */ - /*! \brief 1E.CC01.A:8 LH Reserved Alarms [2:0] - AQ_GlobalAlarms_HHD.u1.bits_1.reservedAlarms - - - - Reserved - - - */ - unsigned int reservedAlarms : 3; /* 1E.CC01.A:8 LH */ - /* Reserved - - */ - /*! \brief 1E.CC01.7 LH MDIO Command Handling Overflow - AQ_GlobalAlarms_HHD.u1.bits_1.mdioCommandHandlingOverflow - - - - 1 = PHY was issued more MDIO requests than it could service in it's request buffer - - - Notes: - Assertion of this bit means that more MDIO commands were issued than FW could handle. */ - unsigned int mdioCommandHandlingOverflow : 1; /* 1E.CC01.7 LH */ - /* 1 = PHY was issued more MDIO requests than it could service in it's request buffer - */ - unsigned int reserved1 : 6; - unsigned int reserved2 : 1; - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Alarms */ - union - { - struct - { - /*! \brief 1E.CC02.F LH NVR Operation Complete - AQ_GlobalAlarms_HHD.u2.bits_2.nvrOperationComplete - - - - 1 = NVR operation is complete - - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 . */ - unsigned int nvrOperationComplete : 1; /* 1E.CC02.F LH */ - /* 1 = NVR operation is complete - */ - /*! \brief 1E.CC02.E LH Mailbox Operation: Complete - AQ_GlobalAlarms_HHD.u2.bits_2.mailboxOperation_Complete - - - - 1 = Mailbox operation is complete - - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperation_Complete : 1; /* 1E.CC02.E LH */ - /* 1 = Mailbox operation is complete - */ - unsigned int reserved0 : 3; - /*! \brief 1E.CC02.A LH uP DRAM Parity Error - AQ_GlobalAlarms_HHD.u2.bits_2.upDramParityError - - - - 1 = Parity error detected in the uP DRAM - - */ - unsigned int upDramParityError : 1; /* 1E.CC02.A LH */ - /* 1 = Parity error detected in the uP DRAM - */ - /*! \brief 1E.CC02.9:8 LH uP IRAM Parity Error [1:0] - AQ_GlobalAlarms_HHD.u2.bits_2.upIramParityError - - - - 1 = Parity error detected in the uP IRAM - - - Notes: - Bit 0 indicates a parity error was detected in the uP IRAM but was corrected. - Bit 1 indicates a multiple parity errors were detected in the uP IRAM and could not be corrected. - The uP IRAM is protected with ECC. */ - unsigned int upIramParityError : 2; /* 1E.CC02.9:8 LH */ - /* 1 = Parity error detected in the uP IRAM - */ - unsigned int reserved1 : 2; - /*! \brief 1E.CC02.5 LRF Tx Enable State Change - AQ_GlobalAlarms_HHD.u2.bits_2.txEnableStateChange - - - - 1 = TX_EN pin has changed state - - */ - unsigned int txEnableStateChange : 1; /* 1E.CC02.5 LRF */ - /* 1 = TX_EN pin has changed state - */ - unsigned int reserved2 : 2; - /*! \brief 1E.CC02.2 LH MDIO MMD Error - AQ_GlobalAlarms_HHD.u2.bits_2.mdioMMD_Error - - - - 1 = Invalid MMD address detected - - */ - unsigned int mdioMMD_Error : 1; /* 1E.CC02.2 LH */ - /* 1 = Invalid MMD address detected - */ - /*! \brief 1E.CC02.1 LH MDIO Timeout Error - AQ_GlobalAlarms_HHD.u2.bits_2.mdioTimeoutError - - - - 1 = MDIO timeout detected - - */ - unsigned int mdioTimeoutError : 1; /* 1E.CC02.1 LH */ - /* 1 = MDIO timeout detected - */ - /*! \brief 1E.CC02.0 LH Watchdog Timer Alarm - AQ_GlobalAlarms_HHD.u2.bits_2.watchdogTimerAlarm - - - - 1 = Watchdog timer alarm - - */ - unsigned int watchdogTimerAlarm : 1; /* 1E.CC02.0 LH */ - /* 1 = Watchdog timer alarm - */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalAlarms_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Mask: 1E.D400 */ -/* Global Interrupt Mask: 1E.D400 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Mask */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.D400.E R/WPD High Temperature Failure Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.highTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureFailureMask : 1; /* 1E.D400.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.D R/WPD Low Temperature Failure Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.lowTemperatureFailureMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureFailureMask : 1; /* 1E.D400.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.C R/WPD High Temperature Warning Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.highTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int highTemperatureWarningMask : 1; /* 1E.D400.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.B R/WPD Low Temperature Warning Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.lowTemperatureWarningMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int lowTemperatureWarningMask : 1; /* 1E.D400.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved1 : 4; - /*! \brief 1E.D400.6 R/WPD Reset completed Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.resetCompletedMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int resetCompletedMask : 1; /* 1E.D400.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 1; - /*! \brief 1E.D400.4 R/WPD Device Fault Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.deviceFaultMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int deviceFaultMask : 1; /* 1E.D400.4 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D400.3 R/WPD Reserved Alarm A Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmAMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmAMask : 1; /* 1E.D400.3 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.2 R/WPD Reserved Alarm B Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmBMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmBMask : 1; /* 1E.D400.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.1 R/WPD Reserved Alarm C Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmCMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmCMask : 1; /* 1E.D400.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D400.0 R/WPD Reserved Alarm D Mask - AQ_GlobalInterruptMask_HHD.u0.bits_0.reservedAlarmDMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmDMask : 1; /* 1E.D400.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - } bits_0; - uint16_t word_0; - } u0; - /*! \brief Union for bit and word level access of word 1 of Global Interrupt Mask */ - union - { - struct - { - unsigned int reserved0 : 1; - /*! \brief 1E.D401.E R/WPD Smart Power-Down Entered Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.smartPower_downEnteredMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int smartPower_downEnteredMask : 1; /* 1E.D401.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.D R/WPD XENPAK Alarm Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.xenpakAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int xenpakAlarmMask : 1; /* 1E.D401.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D401.C R/WPD IP Phone Detect Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.ipPhoneDetectMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int ipPhoneDetectMask : 1; /* 1E.D401.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.B R/WPD DTE Status Change Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.dteStatusChangeMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int dteStatusChangeMask : 1; /* 1E.D401.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.A:8 R/WPD Reserved Alarms Mask [2:0] - AQ_GlobalInterruptMask_HHD.u1.bits_1.reservedAlarmsMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int reservedAlarmsMask : 3; /* 1E.D401.A:8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D401.7 R/WPD MDIO Command Handling Overflow Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.mdioCommandHandlingOverflowMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int mdioCommandHandlingOverflowMask : 1; /* 1E.D401.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved1 : 6; - /*! \brief 1E.D401.0 R/WPD Diagnostic Alarm Mask - AQ_GlobalInterruptMask_HHD.u1.bits_1.diagnosticAlarmMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int diagnosticAlarmMask : 1; /* 1E.D401.0 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - } bits_1; - uint16_t word_1; - } u1; - /*! \brief Union for bit and word level access of word 2 of Global Interrupt Mask */ - union - { - struct - { - /*! \brief 1E.D402.F R/WPD NVR Operation Complete Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.nvrOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - NVR interface is ready interrupt for registers See Global NVR Interface 1: Address 1E.100 - See Global NVR Provisioning Data MSW - Address 1E.17 */ - unsigned int nvrOperationCompleteMask : 1; /* 1E.D402.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.E R/WPD Mailbox Operation Complete Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.mailboxOperationCompleteMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - Notes: - Mailbox interface is ready interrupt for registers See Global Vendor Specific Control - Address 1E.C000 - See Global Vendor Specific Provisioning 5 - Address 1E.C404 */ - unsigned int mailboxOperationCompleteMask : 1; /* 1E.D402.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 3; - /*! \brief 1E.D402.A R/WPD uP DRAM Parity Error Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.upDramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upDramParityErrorMask : 1; /* 1E.D402.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - /*! \brief 1E.D402.9:8 R/WPD uP IRAM Parity Error Mask [1:0] - AQ_GlobalInterruptMask_HHD.u2.bits_2.upIramParityErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - - */ - unsigned int upIramParityErrorMask : 2; /* 1E.D402.9:8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int reserved1 : 2; - /*! \brief 1E.D402.5 R/WPD Tx Enable State Change Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.txEnableStateChangeMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int txEnableStateChangeMask : 1; /* 1E.D402.5 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved2 : 2; - /*! \brief 1E.D402.2 R/WPD MDIO MMD Error Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.mdioMMD_ErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioMMD_ErrorMask : 1; /* 1E.D402.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.1 R/WPD MDIO Timeout Error Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.mdioTimeoutErrorMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int mdioTimeoutErrorMask : 1; /* 1E.D402.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.D402.0 R/WPD Watchdog Timer Alarm Mask - AQ_GlobalInterruptMask_HHD.u2.bits_2.watchdogTimerAlarmMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int watchdogTimerAlarmMask : 1; /* 1E.D402.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_2; - uint16_t word_2; - } u2; -} AQ_GlobalInterruptMask_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/* Global Chip-Wide Standard Interrupt Flags: 1E.FC00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Standard Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC00.F RO PMA Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pmaStandardAlarm_1Interrupt - - - - 1 = Interrupt in PMA standard alarms 1 - - - Notes: - An interrupt was generated from bit 1.1.2. - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pmaStandardAlarm_1Interrupt : 1; /* 1E.FC00.F RO */ - /* 1 = Interrupt in PMA standard alarms 1 - */ - /*! \brief 1E.FC00.E RO PMA Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pmaStandardAlarm_2Interrupt - - - - 1 = Interrupt in PMA standard alarms 2 - - - Notes: - An interrupt was generated from either bit 1.8.B or 1.8.A. - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pmaStandardAlarm_2Interrupt : 1; /* 1E.FC00.E RO */ - /* 1 = Interrupt in PMA standard alarms 2 - */ - /*! \brief 1E.FC00.D RO PCS Standard Alarm 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pcsStandardAlarm_1Interrupt - - - - 1 = Interrupt in PCS standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int pcsStandardAlarm_1Interrupt : 1; /* 1E.FC00.D RO */ - /* 1 = Interrupt in PCS standard alarms 1 - */ - /*! \brief 1E.FC00.C RO PCS Standard Alarm 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pcsStandardAlarm_2Interrupt - - - - 1 = Interrupt in PCS standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int pcsStandardAlarm_2Interrupt : 1; /* 1E.FC00.C RO */ - /* 1 = Interrupt in PCS standard alarms 2 - */ - /*! \brief 1E.FC00.B RO PCS Standard Alarm 3 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.pcsStandardAlarm_3Interrupt - - - - 1 = Interrupt in PCS standard alarms 3 - - - Notes: - An interrupt was generated from status register ( See PCS 10GBASE-T Status 2 - Address 3.21 ) and the corresponding mask register. ( See PCS Standard Interrupt Mask 1 - Address 3.E021 ) */ - unsigned int pcsStandardAlarm_3Interrupt : 1; /* 1E.FC00.B RO */ - /* 1 = Interrupt in PCS standard alarms 3 - */ - /*! \brief 1E.FC00.A RO PHY XS Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.phyXS_StandardAlarms_1Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 1 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 2 - Address 4.A001 ) */ - unsigned int phyXS_StandardAlarms_1Interrupt : 1; /* 1E.FC00.A RO */ - /* 1 = Interrupt in PHY XS standard alarms 1 - */ - /*! \brief 1E.FC00.9 RO PHY XS Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.phyXS_StandardAlarms_2Interrupt - - - - 1 = Interrupt in PHY XS standard alarms 2 - - - Notes: - An interrupt was generated from the status register ( See PHY XS Standard Vendor Devices in Package - Address 4.8 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int phyXS_StandardAlarms_2Interrupt : 1; /* 1E.FC00.9 RO */ - /* 1 = Interrupt in PHY XS standard alarms 2 - */ - /*! \brief 1E.FC00.8 RO Autonegotiation Standard Alarms 1 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.autonegotiationStandardAlarms_1Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 1 - - - Notes: - An interrupt was generated from status register ( See PHY XS Standard Status 1 - Address 4.1 ) and the corresponding mask register. ( See Autonegotiation Standard LASI Interrupt Mask 1: Address 7.D000 ) */ - unsigned int autonegotiationStandardAlarms_1Interrupt : 1; /* 1E.FC00.8 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 1 - */ - /*! \brief 1E.FC00.7 RO Autonegotiation Standard Alarms 2 Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.autonegotiationStandardAlarms_2Interrupt - - - - 1 = Interrupt in Autonegotiation standard alarms 2 - - - Notes: - An interrupt was generated from status register ( See Autonegotiation 10GBASE-T Status Register - Address 7.21 ) and the corresponding mask register. ( See PHY XS Standard Transmit XAUI Rx Interrupt Mask 8 - Address 4.A008 ) */ - unsigned int autonegotiationStandardAlarms_2Interrupt : 1; /* 1E.FC00.7 RO */ - /* 1 = Interrupt in Autonegotiation standard alarms 2 - */ - /*! \brief 1E.FC00.6 RO GbE Standard Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.gbeStandardAlarmsInterrupt - - - - 1 = Interrupt in GbE standard alarms - - - Notes: - An interrupt was generated from the TGE core. */ - unsigned int gbeStandardAlarmsInterrupt : 1; /* 1E.FC00.6 RO */ - /* 1 = Interrupt in GbE standard alarms - */ - unsigned int reserved0 : 5; - /*! \brief 1E.FC00.0 RO All Vendor Alarms Interrupt - AQ_GlobalChip_wideStandardInterruptFlags_HHD.u0.bits_0.allVendorAlarmsInterrupt - - - - 1 = Interrupt in all vendor alarms - - - Notes: - An interrupt was generated from status register ( See Global Chip-Wide LASI Vendor Interrupt Flags: Address 1E.FC01 ) and the corresponding mask register. ( See Global Interrupt LASI Mask: Address 1E.FF01 ) */ - unsigned int allVendorAlarmsInterrupt : 1; /* 1E.FC00.0 RO */ - /* 1 = Interrupt in all vendor alarms - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideStandardInterruptFlags_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/* Global Chip-Wide Vendor Interrupt Flags: 1E.FC01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Chip-Wide Vendor Interrupt Flags */ - union - { - struct - { - /*! \brief 1E.FC01.F RO PMA Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.pmaVendorAlarmInterrupt - - - - 1 = Interrupt in PMA vendor specific alarm - - - Notes: - A PMA alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pmaVendorAlarmInterrupt : 1; /* 1E.FC01.F RO */ - /* 1 = Interrupt in PMA vendor specific alarm - */ - /*! \brief 1E.FC01.E RO PCS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.pcsVendorAlarmInterrupt - - - - 1 = Interrupt in PCS vendor specific alarm - - - Notes: - A PCS alarm was generated. ( See PHY XS Vendor Global Interrupt Flags 1- Address 4.F800 ) */ - unsigned int pcsVendorAlarmInterrupt : 1; /* 1E.FC01.E RO */ - /* 1 = Interrupt in PCS vendor specific alarm - */ - /*! \brief 1E.FC01.D RO PHY XS Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.phyXS_VendorAlarmInterrupt - - - - 1 = Interrupt in PHY XS vendor specific alarm - - - Notes: - A PHY XS alarm was generated. ( See PHY XS Vendor Global LASI Interrupt Flags 1: Address 4.FC00 ) */ - unsigned int phyXS_VendorAlarmInterrupt : 1; /* 1E.FC01.D RO */ - /* 1 = Interrupt in PHY XS vendor specific alarm - */ - /*! \brief 1E.FC01.C RO Autonegotiation Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.autonegotiationVendorAlarmInterrupt - - - - 1 = Interrupt in Autonegotiation vendor specific alarm - - - Notes: - An Autonegotiation alarm was generated. ( See Autonegotiation Vendor Global LASI Interrupt Flags 1: Address 7.FC00 ) */ - unsigned int autonegotiationVendorAlarmInterrupt : 1; /* 1E.FC01.C RO */ - /* 1 = Interrupt in Autonegotiation vendor specific alarm - */ - /*! \brief 1E.FC01.B RO GbE Vendor Alarm Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.gbeVendorAlarmInterrupt - - - - 1 = Interrupt in GbE vendor specific alarm - - - Notes: - A GbE alarm was generated. ( See GbE PHY Vendor Global LASI Interrupt Flags 1: Address 1D.FC00 ) */ - unsigned int gbeVendorAlarmInterrupt : 1; /* 1E.FC01.B RO */ - /* 1 = Interrupt in GbE vendor specific alarm - */ - unsigned int reserved0 : 8; - /*! \brief 1E.FC01.2 RO Global Alarms 1 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.globalAlarms_1Interrupt - - - - 1 = Interrupt in Global alarms 1 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 1 - Address 1E.CC00 ) and the corresponding mask register. ( See Global Vendor Interrupt Mask - Address 1E.D400 ) */ - unsigned int globalAlarms_1Interrupt : 1; /* 1E.FC01.2 RO */ - /* 1 = Interrupt in Global alarms 1 - */ - /*! \brief 1E.FC01.1 RO Global Alarms 2 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.globalAlarms_2Interrupt - - - - 1 = Interrupt in Global alarms 2 - - - Notes: - An interrupt was generated from status register ( See Global Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_2Interrupt : 1; /* 1E.FC01.1 RO */ - /* 1 = Interrupt in Global alarms 2 - */ - /*! \brief 1E.FC01.0 RO Global Alarms 3 Interrupt - AQ_GlobalChip_wideVendorInterruptFlags_HHD.u0.bits_0.globalAlarms_3Interrupt - - - - 1 = Interrupt in Global alarms 3 - - - Notes: - An interrupt was generated from status register ( See Global Vendor Alarms 2: Address 1E.CC01 ) and the corresponding mask register. ( See Global LASI Interrupt Mask 2: Address 1E.D401 ) */ - unsigned int globalAlarms_3Interrupt : 1; /* 1E.FC01.0 RO */ - /* 1 = Interrupt in Global alarms 3 - */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalChip_wideVendorInterruptFlags_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/* Global Interrupt Chip-Wide Standard Mask: 1E.FF00 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Standard Mask */ - union - { - struct - { - /*! \brief 1E.FF00.F R/WPD PMA Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pmaStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_1InterruptMask : 1; /* 1E.FF00.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.E R/WPD PMA Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pmaStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaStandardAlarm_2InterruptMask : 1; /* 1E.FF00.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.D R/WPD PCS Standard Alarm 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pcsStandardAlarm_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_1InterruptMask : 1; /* 1E.FF00.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.C R/WPD PCS Standard Alarm 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pcsStandardAlarm_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_2InterruptMask : 1; /* 1E.FF00.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.B R/WPD PCS Standard Alarm 3 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.pcsStandardAlarm_3InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsStandardAlarm_3InterruptMask : 1; /* 1E.FF00.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.A R/WPD PHY XS Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.phyXS_StandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_1InterruptMask : 1; /* 1E.FF00.A R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.9 R/WPD PHY XS Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.phyXS_StandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_StandardAlarms_2InterruptMask : 1; /* 1E.FF00.9 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.8 R/WPD Autonegotiation Standard Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.autonegotiationStandardAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_1InterruptMask : 1; /* 1E.FF00.8 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.7 R/WPD Autonegotiation Standard Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.autonegotiationStandardAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationStandardAlarms_2InterruptMask : 1; /* 1E.FF00.7 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF00.6 R/WPD Gbe Standard Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.gbeStandardAlarmsInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeStandardAlarmsInterruptMask : 1; /* 1E.FF00.6 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 5; - /*! \brief 1E.FF00.0 R/WPD All Vendor Alarms Interrupt Mask - AQ_GlobalInterruptChip_wideStandardMask_HHD.u0.bits_0.allVendorAlarmsInterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int allVendorAlarmsInterruptMask : 1; /* 1E.FF00.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideStandardMask_HHD; - - -/*---------------------------------------------------------------------------------*/ -/*! \brief Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/* Global Interrupt Chip-Wide Vendor Mask: 1E.FF01 */ -/*---------------------------------------------------------------------------------*/ -typedef struct -{ - /*! \brief Union for bit and word level access of word 0 of Global Interrupt Chip-Wide Vendor Mask */ - union - { - struct - { - /*! \brief 1E.FF01.F R/WPD PMA Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.pmaVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pmaVendorAlarmInterruptMask : 1; /* 1E.FF01.F R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.E R/WPD PCS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.pcsVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int pcsVendorAlarmInterruptMask : 1; /* 1E.FF01.E R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.D R/WPD PHY XS Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.phyXS_VendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int phyXS_VendorAlarmInterruptMask : 1; /* 1E.FF01.D R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.C R/WPD Autonegotiation Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.autonegotiationVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int autonegotiationVendorAlarmInterruptMask : 1; /* 1E.FF01.C R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.B R/WPD GbE Vendor Alarm Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.gbeVendorAlarmInterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int gbeVendorAlarmInterruptMask : 1; /* 1E.FF01.B R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - unsigned int reserved0 : 8; - /*! \brief 1E.FF01.2 R/WPD Global Alarms 1 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.globalAlarms_1InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_1InterruptMask : 1; /* 1E.FF01.2 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.1 R/WPD Global Alarms 2 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.globalAlarms_2InterruptMask - - Provisionable Default = 0x0 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_2InterruptMask : 1; /* 1E.FF01.1 R/WPD Provisionable Default = 0x0 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - /*! \brief 1E.FF01.0 R/WPD Global Alarms 3 Interrupt Mask - AQ_GlobalInterruptChip_wideVendorMask_HHD.u0.bits_0.globalAlarms_3InterruptMask - - Provisionable Default = 0x1 - - 1 = Enable interrupt generation - 0 = Disable interrupt generation - */ - unsigned int globalAlarms_3InterruptMask : 1; /* 1E.FF01.0 R/WPD Provisionable Default = 0x1 */ - /* 1 = Enable interrupt generation - 0 = Disable interrupt generation */ - } bits_0; - uint16_t word_0; - } u0; -} AQ_GlobalInterruptChip_wideVendorMask_HHD; - -#endif -/*@}*/ -/*@}*/ diff --git a/qca/aq-fw-download/src/mdioBootLoadCLD.c b/qca/aq-fw-download/src/mdioBootLoadCLD.c deleted file mode 100644 index a8e09d8c9..000000000 --- a/qca/aq-fw-download/src/mdioBootLoadCLD.c +++ /dev/null @@ -1,193 +0,0 @@ -/* mdioBootLoadCLD.c */ - -/************************************************************************************ -* Copyright (c) 2015 Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $File: //depot/icm/proj/Dena/rev1.0/c/Systems/tools/windows/flashUtilities/src/mdioBootLoadCLD.c $ -* -* $Revision: #12 $ -* -* $DateTime: 2014/05/19 15:34:49 $ -* -* $Author: joshd $ -* -* $Label: $ -* -************************************************************************************/ - -/*! \file -This file contains the main (int, char**) file for the mdioBootLoadCLD program, which burns a flash image into a target -Aquantia PHY using the AQ_API. This program calls the API function:

- - uint8_t AQ_API_WriteBootLoadImage (uint8_t PHY_ID, uint8_t *image, uint16_t *crc16)

- -to boot load a cld flash image into an Aquantia PHY */ - -/*! \addtogroup mdioBootLoad -@{ -*/ - - - -/*! \def DEBUG -Uncomment this to compile in debug mode. This sets the source to an arbitrary file, defined by DEBUG_FILENAME, -and an arbitrary PHY_ID, defined by DEBUG_PHY_ID. */ -/* #define DEBUG */ - -/*! The debug source file name */ -#define DEBUG_FILENAME "HelloWorld.cld" - -/*! The debug PHY ID */ -#define DEBUG_PHY_ID 0 - - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "AQ_API.h" -#include "AQ_PhyInterface.h" - -int sock; -char devname[7]; - -int sock_init() -{ - if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { - fprintf(stderr, "Error creating socket: %s\n", strerror(errno)); - return -1; - } - - return 0; -} - -int main ( int argc, char **argp) -{ - /* declare local variables */ - FILE *pFile; - uint8_t* image; - uint8_t byte; - unsigned int PHY_ID; - AQ_Retcode resultCode; - AQ_Retcode resultCodes[4]; - uint32_t i; - uint32_t imageSize; - char sourceFileName[1000]; - AQ_API_Port targetPort0; - AQ_API_Port* targetPorts[1]; - AQ_API_Port broadcastPort; - unsigned int provisioningAddresses[1] = {0}; - uint32_t reg1, reg2; - - targetPorts[0] = &targetPort0; - - if(argc < 4) { - fprintf (stderr, "enter file name/netdev name/phy address\n"); - return (101); - } - - /*Copy the file name from command line arg*/ - if (strlcpy (sourceFileName, argp[1], sizeof(sourceFileName)) >= sizeof(sourceFileName)) { - fprintf (stderr, "Filename: %s too long \n", argp[1]); - return (101); - } - /*Copy the interface name from command line arg*/ - strlcpy (devname, argp[2], sizeof(devname)); - /*Get PHY Address from command line arg*/ - PHY_ID = (unsigned int)strtoul(argp[3], NULL, 0); - - /* FIXME: set port and device type */ - targetPort0.device = AQ_DEVICE_HHD; - targetPort0.PHY_ID = PHY_ID; - - broadcastPort.device = AQ_DEVICE_HHD; - broadcastPort.PHY_ID = PHY_ID; - - /* open the source in binary read mode */ - pFile = fopen(sourceFileName, "rb"); - if (pFile == NULL) - { - fprintf (stderr, "Unable to open source file %s\n", sourceFileName); - return (101); - } - fseek (pFile, 0, SEEK_END); - imageSize = ftell (pFile); - - image = (uint8_t*) malloc (imageSize * sizeof(uint8_t)); - fseek (pFile, 0, SEEK_SET); - - /* load the file */ - for (i = 0; i < imageSize; i++) - { - byte = (uint8_t) fgetc (pFile); - image[i] = byte; - } - fclose(pFile); - - - if (sock_init() < 0) - { - fprintf (stderr, "Unable to initialize interface\n"); - return (200); - } - - /* Write in the Auantia phy scratch pad register, - * read back the same reg and match the values written. - */ - AQ_API_MDIO_Write(PHY_ID, 0x1e, 0x300, 0xdead); - AQ_API_MDIO_Write(PHY_ID, 0x1e, 0x301, 0xbeaf); - reg1 = AQ_API_MDIO_Read(PHY_ID, 0x1e, 0x300); - reg2 = AQ_API_MDIO_Read(PHY_ID, 0x1e, 0x301); - if(reg1 != 0xdead && reg2 != 0xbeaf) { - fprintf (stderr, "Scratchpad Read/Write test fail\n"); - return (101); - } - - /* call the boot-load function */ - resultCode = AQ_API_WriteBootLoadImage(targetPorts, 1, provisioningAddresses, resultCodes, &imageSize, image, PHY_ID, &broadcastPort); - - switch (resultCode) - { - case 0: - printf("Image load good - mailbox CRC-16 matches\n"); - free (image); - close(sock); - return 0; - - case 1: - fprintf (stderr, "CRC-16 on file is bad\n"); - free (image); - close(sock); - return 1; - - case 2: - fprintf (stderr, "CRC-16 check on image load failed (mailbox CRC-16 check)\n"); - free (image); - close(sock); - return 2; - - default: - fprintf (stderr, "Invalid return code\n"); - free (image); - close(sock); - } - return 12; -} -/*@}*/ diff --git a/qca/aq-fw-download/src/src/AQ_API.c b/qca/aq-fw-download/src/src/AQ_API.c deleted file mode 100644 index 89e73344f..000000000 --- a/qca/aq-fw-download/src/src/AQ_API.c +++ /dev/null @@ -1,1021 +0,0 @@ -/*AQ_API.c*/ - -/************************************************************************************ -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* Description: -* -* This file contains the code for all of the API functions defined in AQ_API.h -* -************************************************************************************/ - - -/*! \file -* This file contains the code for all of the API functions defined in AQ_API.h - */ - -#include -#include - -#include "AQ_API.h" -#include "AQ_User.h" -#include "AQ_RegMacro.h" -#include "AQ_PlatformRoutines.h" -#include "AQ_RegMaps.h" -#include "AQ_ReturnCodes.h" - -#ifdef AQ_VERBOSE - #include - #include -#endif - - -#ifndef AQ_TIME_T_EXISTS - #ifndef AQ_MDIO_READS_PER_SECOND - #error AQ_MDIO_READS_PER_SECOND in AQ_User.h must be defined, as AQ_TIME_T_EXISTS is currently undefined! - #endif -#endif - -#ifdef AQ_TIME_T_EXISTS - #include -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef AQ_ENABLE_UP_BUSY_CHECKS - #ifdef AQ_VERBOSE - #define AQ_API_UP_BUSY_PRINT_STATEMENT printf("uP-busy check timed out.\n"); - #else - #define AQ_API_UP_BUSY_PRINT_STATEMENT /* nothing */ - #endif - - #ifdef AQ_TIME_T_EXISTS - #define AQ_API_UP_BUSY_TIMEOUT (CLOCKS_PER_SEC / 10) - - #define AQ_API_DECLARE_UP_BUSY_VARS AQ_API_Variable(AQ_GlobalGeneralStatus) \ - uint16_t uPbusy; \ - clock_t startTime; \ - AQ_boolean uPBusyTimeoutOccurred = False; - - #define AQ_API_CHECK_UP_NOT_BUSY AQ_API_Wait(1, port); \ - startTime = clock(); \ - do \ - { \ - AQ_API_Get(port->PHY_ID, AQ_GlobalGeneralStatus, processorIntensiveMdioOperationIn_Progress, uPbusy); \ - if ((clock() - startTime) > AQ_API_UP_BUSY_TIMEOUT) \ - { \ - AQ_API_UP_BUSY_PRINT_STATEMENT \ - uPBusyTimeoutOccurred = True; \ - break; \ - } \ - } while (uPbusy != 0); - #else - #define AQ_API_UP_BUSY_MAX_CHECKS (AQ_MDIO_READS_PER_SECOND * 5) - - #define AQ_API_DECLARE_UP_BUSY_VARS AQ_API_Variable(AQ_GlobalGeneralStatus) \ - uint16_t uPbusy; \ - uint32_t numChecks; \ - AQ_boolean uPBusyTimeoutOccurred = False; - - #define AQ_API_CHECK_UP_NOT_BUSY AQ_API_Wait(1, port); \ - numChecks = 0; \ - do \ - { \ - AQ_API_Get(port->PHY_ID, AQ_GlobalGeneralStatus, processorIntensiveMdioOperationIn_Progress, uPbusy); \ - if (numChecks++ > AQ_API_UP_BUSY_MAX_CHECKS) \ - { \ - AQ_API_UP_BUSY_PRINT_STATEMENT \ - uPBusyTimeoutOccurred = True; \ - break; \ - } \ - } while (uPbusy != 0); - #endif - - /* If a uP busy timeout occurred, return the corresponding return code; otherwise, return - * retval. retval should be a return code defined in AQ_ReturnCodes. */ - #define AQ_API_RETURN_UP_BUSY(retval) return (uPBusyTimeoutOccurred ? AQ_RET_UP_BUSY_TIMEOUT : retval); - -#else - #define AQ_API_DECLARE_UP_BUSY_VARS /* nothing */ - #define AQ_API_CHECK_UP_NOT_BUSY /* nothing */ - #define AQ_API_RETURN_UP_BUSY(retval) return retval; -#endif - - -/*! FW image version string maximum length. */ -#define AQ_VERSION_STRING_SIZE 0x40 - -/*! The byte offset from top of DRAM to the FW image version string. */ -#define AQ_VERSION_STRING_BLOCK_OFFSET 0x0200 - -/*! The byte address, in processor memory, of the start of the IRAM segment. */ -#define AQ_IRAM_BASE_ADDRESS 0x40000000 - -/*! The byte address, in processor memory, of the start of the DRAM segment. */ -#define AQ_DRAM_BASE_ADDRESS 0x3FFE0000 - -/*! The byte offset from the top of the PHY image to the header content (HHD devices). */ -#define AQ_PHY_IMAGE_HEADER_CONTENT_OFFSET_HHD 0x300 - -/*! The byte offset from the top of the PHY image to the header content (APPIA devices). */ -#define AQ_PHY_IMAGE_HEADER_CONTENT_OFFSET_APPIA 0 - -/*! The offset, from the start of DRAM, where the provisioning block begins. */ -#define AQ_PHY_IMAGE_PROVTABLE_OFFSET 0x680 - -/*! The offset, from the start of DRAM, where the provisioning block's ending address is recorded. */ -#define AQ_PHY_IMAGE_PROVTABLE_TERM_OFFSET 0x028C - -/*! The size of the space alloted within the PHY image for the provisioning table. */ -#define AQ_PHY_IMAGE_PROVTABLE_MAXSIZE 0x800 - -/*! The maximum number of polling cycles ever required before the FLASH interface is ready. */ -#define AQ_FLASH_INTERFACE_MAX_POLL_COUNT 20 - -/*! The maximum number of ports that can be MDIO bootloaded at once. */ -#define AQ_MAX_NUM_PHY_IDS 48 - -/*! The maximum allowed number of times to poll for debug-trace-freeze acknowledgement. */ -#define AQ_MAX_FREEZE_CHECKS 2000 - -/*! The maximum size of the debug trace buffer. */ -#define AQ_MAX_TRACE_BUFFER_LENGTH 8192 - -/*! The maximum allowed number of times to poll for SERDES Rx eye measurement done. */ -#define AQ_SERDESEYE_MAX_DONE_CHECKS 50 - -/*! The maximum allowed number of times to poll for PIF mailbox status. */ -#define MAX_NUM_COMMAND_STATUS_POLLS 700 - -/* REGDOC_START */ - - -/********************************************************************************************************************** -* MDIO Boot Load -**********************************************************************************************************************/ - -const uint16_t AQ_CRC16Table[256] = {0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7, - 0x8108, 0x9129, 0xa14a, 0xb16b, 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef, - 0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6, - 0x9339, 0x8318, 0xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ff, 0xe3de, - 0x2462, 0x3443, 0x0420, 0x1401, 0x64e6, 0x74c7, 0x44a4, 0x5485, - 0xa56a, 0xb54b, 0x8528, 0x9509, 0xe5ee, 0xf5cf, 0xc5ac, 0xd58d, - 0x3653, 0x2672, 0x1611, 0x0630, 0x76d7, 0x66f6, 0x5695, 0x46b4, - 0xb75b, 0xa77a, 0x9719, 0x8738, 0xf7df, 0xe7fe, 0xd79d, 0xc7bc, - 0x48c4, 0x58e5, 0x6886, 0x78a7, 0x0840, 0x1861, 0x2802, 0x3823, - 0xc9cc, 0xd9ed, 0xe98e, 0xf9af, 0x8948, 0x9969, 0xa90a, 0xb92b, - 0x5af5, 0x4ad4, 0x7ab7, 0x6a96, 0x1a71, 0x0a50, 0x3a33, 0x2a12, - 0xdbfd, 0xcbdc, 0xfbbf, 0xeb9e, 0x9b79, 0x8b58, 0xbb3b, 0xab1a, - 0x6ca6, 0x7c87, 0x4ce4, 0x5cc5, 0x2c22, 0x3c03, 0x0c60, 0x1c41, - 0xedae, 0xfd8f, 0xcdec, 0xddcd, 0xad2a, 0xbd0b, 0x8d68, 0x9d49, - 0x7e97, 0x6eb6, 0x5ed5, 0x4ef4, 0x3e13, 0x2e32, 0x1e51, 0x0e70, - 0xff9f, 0xefbe, 0xdfdd, 0xcffc, 0xbf1b, 0xaf3a, 0x9f59, 0x8f78, - 0x9188, 0x81a9, 0xb1ca, 0xa1eb, 0xd10c, 0xc12d, 0xf14e, 0xe16f, - 0x1080, 0x00a1, 0x30c2, 0x20e3, 0x5004, 0x4025, 0x7046, 0x6067, - 0x83b9, 0x9398, 0xa3fb, 0xb3da, 0xc33d, 0xd31c, 0xe37f, 0xf35e, - 0x02b1, 0x1290, 0x22f3, 0x32d2, 0x4235, 0x5214, 0x6277, 0x7256, - 0xb5ea, 0xa5cb, 0x95a8, 0x8589, 0xf56e, 0xe54f, 0xd52c, 0xc50d, - 0x34e2, 0x24c3, 0x14a0, 0x0481, 0x7466, 0x6447, 0x5424, 0x4405, - 0xa7db, 0xb7fa, 0x8799, 0x97b8, 0xe75f, 0xf77e, 0xc71d, 0xd73c, - 0x26d3, 0x36f2, 0x0691, 0x16b0, 0x6657, 0x7676, 0x4615, 0x5634, - 0xd94c, 0xc96d, 0xf90e, 0xe92f, 0x99c8, 0x89e9, 0xb98a, 0xa9ab, - 0x5844, 0x4865, 0x7806, 0x6827, 0x18c0, 0x08e1, 0x3882, 0x28a3, - 0xcb7d, 0xdb5c, 0xeb3f, 0xfb1e, 0x8bf9, 0x9bd8, 0xabbb, 0xbb9a, - 0x4a75, 0x5a54, 0x6a37, 0x7a16, 0x0af1, 0x1ad0, 0x2ab3, 0x3a92, - 0xfd2e, 0xed0f, 0xdd6c, 0xcd4d, 0xbdaa, 0xad8b, 0x9de8, 0x8dc9, - 0x7c26, 0x6c07, 0x5c64, 0x4c45, 0x3ca2, 0x2c83, 0x1ce0, 0x0cc1, - 0xef1f, 0xff3e, 0xcf5d, 0xdf7c, 0xaf9b, 0xbfba, 0x8fd9, 0x9ff8, - 0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0}; - -/*! \addtogroup writingImages - @{ -*/ - -/*! Prepare the specified port for MDIO bootloading. Disables the daisy-chain, - * and explicitly sets the port's provisioningAddress. */ -void AQ_API_EnableMDIO_BootLoadMode -( - /*! The target PHY port.*/ - AQ_API_Port* port, - /*! The provisioning address to use when the FW starts and applies the - * bootloaded image's provisioned values. */ - unsigned int provisioningAddress -) -{ - AQ_API_Variable(AQ_GlobalNvrProvisioning) - - AQ_API_DeclareLocalStruct(AQ_GlobalReservedProvisioning, globalReservedProvisioning) - - - /* disable the daisy-chain */ - /* REGDOC: Read-Modify-Write bitfield (HHD/APPIA: 1E.C452.0) */ - AQ_API_Set(port->PHY_ID, AQ_GlobalNvrProvisioning, nvrDaisyChainDisable, 1); - - /* override the hop-count */ - AQ_API_AssignWordOfLocalStruct(globalReservedProvisioning, 1, - /* REGDOC: Read register (HHD/APPIA: 1E.C470 + 1) */ - AQ_API_ReadRegister(port->PHY_ID, AQ_GlobalReservedProvisioning, 1)); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C471.5:0) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalReservedProvisioning, globalReservedProvisioning, - daisy_chainHop_countOverrideValue, provisioningAddress); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C471.6) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalReservedProvisioning, globalReservedProvisioning, - enableDaisy_chainHop_countOverride, 1); - /* REGDOC: Write register (HHD/APPIA: 1E.C470 + 1) */ - AQ_API_WriteRegister(port->PHY_ID, AQ_GlobalReservedProvisioning, 1, - AQ_API_WordOfLocalStruct(globalReservedProvisioning, 1)); - - return; -} - - -/*! Prepare the specified port for MDIO bootloading, and set the temporary MDIO - * address to be used during the bootload process. Disables the daisy-chain, - * and explicitly sets the port's provisioningAddress. */ -void AQ_API_EnableGangLoadMode -( - /*! The target PHY port.*/ - AQ_API_Port* port, - /*! The provisioning address to use when the FW starts and applies the - * bootloaded image's provisioned values. */ - unsigned int provisioningAddress, - /*! The PHY's MDIO address will be changed to this value during the - * bootload process. */ - unsigned int gangLoadAddress -) -{ - /*AQ_API_Variable_DeviceRestricted(APPIA, AQ_GlobalGeneralProvisioning)*/ - AQ_API_Variable(AQ_GlobalGeneralProvisioning) - - - /* Get ready for MDIO bootloading. */ - AQ_API_EnableMDIO_BootLoadMode(port, provisioningAddress); - - /* Enable gangload mode. After doing this, the PHY will be - * addressable at the MDIO address indicated by gangLoadAddress. - * Now that the PHY is in gangload mode, MDIO reads are prohibited - * until AQ_API_DisableGangLoadMode is called. */ - if (AQ_DEVICE_APPIA == port->device) - { - /* REGDOC: Read-Modify-Write bitfield (APPIA: 1E.C440.8:4) */ - AQ_API_Set_DeviceRestricted(APPIA, port->PHY_ID, AQ_GlobalGeneralProvisioning, - gangLoadMdioAddress, gangLoadAddress); - } - else if (AQ_DEVICE_HHD == port->device) - { - /* REGDOC: Read-Modify-Write bitfield (HHD: 1E.C447.4:0) */ - AQ_API_Set_DeviceRestricted(HHD, port->PHY_ID, AQ_GlobalGeneralProvisioning, - mdioBroadcastAddressConfiguration, gangLoadAddress); - /* REGDOC: Read-Modify-Write bitfield (HHD: 1E.C441.E) */ - AQ_API_Set_DeviceRestricted(HHD, port->PHY_ID, AQ_GlobalGeneralProvisioning, - mdioBroadcastModeEnable, 1); - } - - return; -} - - -/*! Restore the PHY's MDIO address to the pin-specified value. Should be - * called when MDIO bootloading is complete, to return to normal MDIO - * addressing. - * This is a gang-load function, hence write-only! */ -void AQ_API_DisableGangLoadMode -( - /*! The target PHY port.*/ - AQ_API_Port* port, - /*! The value to write to of AQ_GlobalGeneralProvisioning.u1.word_1. */ - uint16_t origVal_GGP1 -) -{ - AQ_API_DeclareLocalStruct(AQ_GlobalGeneralProvisioning, globalGeneralProvisioning) - - - /* Restore the original value of globalGeneralProvisioning.u1, and set - * the MDIO address reset bit. This will cause the MDIO address to be - * reset to the value indicated by the pins. */ - AQ_API_AssignWordOfLocalStruct(globalGeneralProvisioning, 1, origVal_GGP1); - if (AQ_DEVICE_APPIA == port->device) - { - /* REGDOC: Assign to local representation of bitfield (APPIA: 1E.C441.2) */ - AQ_API_AssignBitfieldOfLocalStruct_DeviceRestricted(APPIA, AQ_GlobalGeneralProvisioning, - globalGeneralProvisioning, mdioAddressReset, 1); - } - else if (AQ_DEVICE_HHD == port->device) - { - /* REGDOC: Assign to local representation of bitfield (HHD: 1E.C441.E) */ - AQ_API_AssignBitfieldOfLocalStruct_DeviceRestricted(HHD, AQ_GlobalGeneralProvisioning, - globalGeneralProvisioning, mdioBroadcastModeEnable, 0); - } - /* REGDOC: Write register (HHD/APPIA: 1E.C440 + 1) */ - AQ_API_WriteRegister(port->PHY_ID, AQ_GlobalGeneralProvisioning, 1, - AQ_API_WordOfLocalStruct(globalGeneralProvisioning, 1)); - - /* The PHY has now exited gang-load mode. */ - return; -} - - -AQ_Retcode AQ_API_WriteBootLoadImageWithProvTable -( - AQ_API_Port** ports, - unsigned int numPorts, - unsigned int* provisioningAddresses, - AQ_Retcode* resultCodes, - uint32_t* imageSizePointer, - uint8_t* image, - uint8_t gangload_MDIO_address, - AQ_API_Port* gangloadPort, - uint32_t* provTableSizePointer, - uint8_t* provTableImage -) -{ - /*------------------------------------- NOTE!!!!!!!!!! ----------------------------------------------------------*/ - /* This function uses word level writes here as in gang-load mode we cannot do a read in a read-modify-write */ - /* operation */ - /*---------------------------------------------------------------------------------------------------------------*/ - - AQ_API_Variable_DeviceRestricted(APPIA, AQ_GlobalPinStatus) - - AQ_API_DeclareLocalStruct(AQ_GlobalControl, globalControl) - AQ_API_DeclareLocalStruct(AQ_GlobalMailboxInterface, globalMailboxInterface) - - AQ_API_Port* port; - uint32_t primaryHeaderPtr = 0x00000000; - uint32_t primaryIramPtr = 0x00000000; - uint32_t primaryDramPtr = 0x00000000; - uint32_t primaryIramSize = 0x00000000; - uint32_t primaryDramSize = 0x00000000; - uint32_t terminatorPtr = 0x00000000; - uint32_t phyImageHeaderContentOffset; - uint32_t i; - uint32_t j; - uint32_t imageSize; - uint32_t provTableImageSize = 0; - uint32_t bytePointer; - uint32_t byteSize; - uint32_t dWordSize; -#ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - uint32_t countPendingOps; /* A count of block MDIO operation pending... necessary to keep a count - in order to ensure we don't exceed the maximum pending operations. */ -#endif - uint16_t msw; - uint16_t lsw; - uint16_t crc16Calculated; - uint16_t provTableCrc16Calculated; - uint16_t fileCRC; - uint16_t provTableFileCRC; - uint16_t mailboxCRC; - uint16_t mailboxWrite; - uint16_t bootLoadMode; - uint16_t recordedGGP1Values[AQ_MAX_NUM_PHY_IDS]; /* When entering/exiting gangload mode, we record and restore - the AQ_GlobalGeneralProvisioning.u1 register values. */ - - - /* store the CRC-16 for the image, which is the last two bytes */ - imageSize = *imageSizePointer; - fileCRC = image[imageSize-2] << 8 | image[imageSize-1]; - - /*------------------------------------- Check the image integrity ------------------------------------------------*/ - crc16Calculated = 0x0000; - for (i = 0; i < imageSize-2; i++) - { - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ image[i]]; - } - - if (crc16Calculated != fileCRC) - { - #ifdef AQ_VERBOSE - printf ("CRC check failed on image file (expected 0x%X, found 0x%X)\n", - fileCRC, crc16Calculated); - #endif - for (j = 0; j < numPorts; j++) - { - /* Before returning, set ALL result codes to indicate "bad image". */ - resultCodes[j] = AQ_RET_FLASH_IMAGE_CORRUPT; - } - return AQ_RET_ERROR; - } -#ifdef AQ_VERBOSE - else - { - printf ("CRC check good on image file (0x%04X)\n", crc16Calculated); - } -#endif - - /*-------------------------------- Check the provisioning table image integrity ----------------------------------*/ - if (provTableSizePointer != NULL && provTableImage != NULL) - { - provTableImageSize = (*provTableSizePointer) - 2; - provTableFileCRC = provTableImage[provTableImageSize + 1] << 8 | - provTableImage[provTableImageSize]; - - provTableCrc16Calculated = 0x0000; - for (i = 0; i < provTableImageSize; i++) - { - provTableCrc16Calculated = ((provTableCrc16Calculated & 0xFF) << 8) ^ - AQ_CRC16Table[(provTableCrc16Calculated >> 8) ^ provTableImage[i]]; - } - - if (provTableCrc16Calculated != provTableFileCRC) - { - #ifdef AQ_VERBOSE - printf ("CRC check failed on provisioning table file (expected 0x%X, found 0x%X)\n", - provTableFileCRC, provTableCrc16Calculated); - #endif - for (j = 0; j < numPorts; j++) - { - /* Before returning, set ALL result codes to indicate "bad image". */ - resultCodes[j] = AQ_RET_FLASH_IMAGE_CORRUPT; - } - return AQ_RET_ERROR; - } - #ifdef AQ_VERBOSE - else - { - printf ("CRC check good on provisioning table file (0x%04X)\n", - provTableCrc16Calculated); - } - #endif - } - - /*------------------------ Check that all provisioning addresses are in the proper range. ------------------------*/ - for (j = 0; j < numPorts; j++) - { - if (provisioningAddresses[j] > 47) - { - #ifdef AQ_VERBOSE - printf ("Provisioning address out of range 0-47 (index %u: %d)\n", j, provisioningAddresses[j]); - #endif - for (j = 0; j < numPorts; j++) - { - /* Before returning, set ALL result codes to indicate "provisioning address out-of-range". */ - resultCodes[j] = AQ_RET_BOOTLOAD_PROVADDR_OOR; - } - return AQ_RET_ERROR; - } - } - - /*--------------------------- Store 1E.C441 values for later use. Enforce uniformity. ---------------------------*/ - for (j = 0; j < numPorts; j++) - { - /* Record the original value of AQ_GlobalGeneralProvisioning.u1.word_1, - * so that we can restore it later after exiting gangload mode. */ - port = ports[j]; - /* REGDOC: Read register (HHD/APPIA: 1E.C440 + 1) */ - recordedGGP1Values[j] = AQ_API_ReadRegister(port->PHY_ID, AQ_GlobalGeneralProvisioning, 1); - - /* If any of the PHYs' GGP1 values don't match the others, set the appropriate - * error code and return. */ - if (j > 0 && recordedGGP1Values[j] != recordedGGP1Values[0]) - { - #ifdef AQ_VERBOSE - printf ("Non-uniform value of 1E.C441 found (expected 0x%X, found 0x%X)\n", - recordedGGP1Values[0], recordedGGP1Values[j]); - #endif - for (j = 0; j < numPorts; j++) - { - /* Before returning, set ALL result codes to indicate "non-uniform GGP1 values". */ - resultCodes[j] = AQ_RET_BOOTLOAD_NONUNIFORM_REGVALS; - } - return AQ_RET_ERROR; - } - } - - /*--------------------------- Put each PHY into gangload mode at the specified address ---------------------------*/ - for (j = 0; j < numPorts; j++) - { - AQ_API_EnableGangLoadMode(ports[j], provisioningAddresses[j], gangload_MDIO_address); - } - /* Set up the port context for using device-restricted macros while in - * gangload mode. */ - port = gangloadPort; - - /*------------------------------------- Stall the uP ------------------------------------------------------------*/ - AQ_API_AssignWordOfLocalStruct(globalControl, 1, 0x0000); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.6) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStallOverride, 1); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.0) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStall, 1); - /* REGDOC: Write register (HHD/APPIA: 1E.C000 + 1) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalControl, 1, - AQ_API_WordOfLocalStruct(globalControl, 1)); - - /*------------------------------------- Initialize the mailbox write command -------------------------------------*/ - AQ_API_AssignWordOfLocalStruct(globalMailboxInterface, 0, 0x0000); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.0200.E) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalMailboxInterface, globalMailboxInterface, upMailboxWriteMode, 1); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.0200.F) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalMailboxInterface, globalMailboxInterface, upMailboxExecuteOperation, 1); - mailboxWrite = AQ_API_WordOfLocalStruct(globalMailboxInterface, 0); - - /*------------------------------------- Read the segment addresses and sizes -------------------------------------*/ - primaryHeaderPtr = (((image[0x9] & 0x0F) << 8) | image[0x8]) << 12; - - if (AQ_DEVICE_APPIA == port->device) - phyImageHeaderContentOffset = AQ_PHY_IMAGE_HEADER_CONTENT_OFFSET_APPIA; - else /* HHD */ - phyImageHeaderContentOffset = AQ_PHY_IMAGE_HEADER_CONTENT_OFFSET_HHD; - - primaryIramPtr = (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0x4 + 2] << 16) | - (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0x4 + 1] << 8) | - image[primaryHeaderPtr + phyImageHeaderContentOffset + 0x4]; - primaryIramSize = (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0x7 + 2] << 16) | - (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0x7 + 1] << 8) | - image[primaryHeaderPtr + phyImageHeaderContentOffset + 0x7]; - primaryDramPtr = (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0xA + 2] << 16) | - (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0xA + 1] << 8) | - image[primaryHeaderPtr + phyImageHeaderContentOffset + 0xA]; - primaryDramSize = (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0xD + 2] << 16) | - (image[primaryHeaderPtr + phyImageHeaderContentOffset + 0xD + 1] << 8) | - image[primaryHeaderPtr + phyImageHeaderContentOffset + 0xD]; - - if (AQ_DEVICE_HHD == port->device) - { - primaryIramPtr += primaryHeaderPtr; - primaryDramPtr += primaryHeaderPtr; - } - -#ifdef AQ_VERBOSE - printf ("\nSegment Addresses and Sizes as read from the PHY ROM image header:\n\n"); - printf ("Primary Iram Address: 0x%x\n", primaryIramPtr); - printf ("Primary Iram Size: 0x%x\n", primaryIramSize); - printf ("Primary Dram Address: 0x%x\n", primaryDramPtr); - printf ("Primary Dram Size: 0x%x\n\n", primaryDramSize); -#endif - - /*----------------------------- Merge the provisioning table into the main image ---------------------------------*/ - if (provTableSizePointer != NULL && provTableImage != NULL) - { - /* Locate the terminator of the built-in provisioning table */ - terminatorPtr = primaryDramPtr + - ((image[primaryDramPtr + AQ_PHY_IMAGE_PROVTABLE_TERM_OFFSET + 1] << 8) | - image[primaryDramPtr + AQ_PHY_IMAGE_PROVTABLE_TERM_OFFSET]); - - #ifdef AQ_VERBOSE - printf("Supplied Provisioning Table At Address: 0x%x\n\n", terminatorPtr); - #endif - - /* Check that the supplied provisioning table will fit within the alloted - * space. */ - if (terminatorPtr - (primaryDramPtr + AQ_PHY_IMAGE_PROVTABLE_OFFSET) + - provTableImageSize > AQ_PHY_IMAGE_PROVTABLE_MAXSIZE) - { - for (j = 0; j < numPorts; j++) - { - /* Before returning, set ALL result codes to indicate "provisioning - * table too large". */ - resultCodes[j] = AQ_RET_BOOTLOAD_PROVTABLE_TOO_LARGE; - } - return AQ_RET_ERROR; - } - - /* Write the supplied provisioning table into the image, starting at the - * terminator address. */ - for (i = 0; i < provTableImageSize; i++) - { - image[terminatorPtr + i] = provTableImage[i]; - } - } - - /*------------------------------------- Load IRAM and DRAM -------------------------------------------------------*/ - /* clear the mailbox CRC */ - AQ_API_AssignWordOfLocalStruct(globalMailboxInterface, 0, 0x0000); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.0200.C) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalMailboxInterface, globalMailboxInterface, resetUpMailboxCrc, 1); - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, - AQ_API_WordOfLocalStruct(globalMailboxInterface, 0)); - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, 0x0000); - - crc16Calculated = 0; /* This is to calculate what was written through the mailbox */ - - /* load the IRAM */ -#ifdef AQ_VERBOSE - printf ("\nLoading IRAM:\n\n"); -#endif - - /* dWord align the address: note the image addressing is byte based, but is properly aligned on dWord - boundaries, so the 2 LSbits of the block start are always zero. */ - msw = (uint16_t) (AQ_IRAM_BASE_ADDRESS >> 16); - AQ_API_AssignWordOfLocalStruct(globalMailboxInterface, 3, 0x0000); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.0203.1:0) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalMailboxInterface, globalMailboxInterface, - upMailboxAddressLSW , (AQ_IRAM_BASE_ADDRESS & 0xFFFF) >> 2); - lsw = AQ_API_WordOfLocalStruct(globalMailboxInterface, 3); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 2) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 2, msw); /* MSW */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 3) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 3, lsw); /* LSW */ - - - /* set block size so that there are from 0-3 bytes remaining */ - byteSize = primaryIramSize; - dWordSize = byteSize >> 2; - - bytePointer = primaryIramPtr; -#ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - countPendingOps = 0; -#endif - for (i = 0; i < dWordSize; i++) - { - /* write 4 bytes of data */ - lsw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - msw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - - #ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - AQ_API_BlockWriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - AQ_API_BlockWriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - AQ_API_BlockWriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - - countPendingOps += 3; - /* Check if we've filled our output buffer, and if so, flush. */ - if (countPendingOps >= AQ_API_MDIO_MaxBlockOperations() - 3 ) - { - AQ_API_MDIO_BlockOperationExecute (gangloadPort->PHY_ID); - countPendingOps = 0; - } - #else - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - #endif - - /* update the calculated CRC */ - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw & 0xFF)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw & 0xFF)]; - - #ifdef AQ_VERBOSE - if (i && ((i % 512) == 0)) printf(" Byte: %X:\n", i << 2); - #endif - } - -#ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - /* flush the output buffer one last time. */ - AQ_API_MDIO_BlockOperationExecute(gangloadPort->PHY_ID); - countPendingOps = 0; -#endif - - /* Note: this final write right-justifies non-dWord data in the final dWord */ - switch (byteSize & 0x3) - { - case 0x1: - /* write 1 byte of data */ - lsw = image[bytePointer++]; - msw = 0x0000; - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - - /* no polling */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - break; - - case 0x2: - /* write 2 bytes of data */ - lsw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - msw = 0x0000; - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - - /* no polling */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - break; - - case 0x3: - /* write 3 bytes of data */ - lsw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - msw = image[bytePointer++]; - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - - /* no polling */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - break; - } - - if (byteSize & 0x3) - { - /* update the calculated CRC */ - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw & 0xFF)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw & 0xFF)]; - } - - /* load the DRAM */ -#ifdef AQ_VERBOSE - printf ("\nCRC-16 after loading IRAM: 0x%X\n", crc16Calculated); - printf ("\nLoading DRAM:\n\n"); -#endif - - /* dWord align the address: note the image addressing is byte based, but is properly aligned on dWord - boundaries, so the 2 LSbits of the block start are always zero. */ - msw = (uint16_t) (AQ_DRAM_BASE_ADDRESS >> 16); - AQ_API_AssignWordOfLocalStruct(globalMailboxInterface, 3, 0x0000); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.0203.1:0) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalMailboxInterface, globalMailboxInterface, - upMailboxAddressLSW, (AQ_DRAM_BASE_ADDRESS & 0xFFFF) >> 2); - lsw = AQ_API_WordOfLocalStruct(globalMailboxInterface, 3); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 2) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 2, msw); /* MSW */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 3) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 3, lsw); /* LSW */ - - - /* set block size so that there are from 0-3 bytes remaining */ - byteSize = primaryDramSize; - dWordSize = byteSize >> 2; - - bytePointer = primaryDramPtr; - for (i = 0; i < dWordSize; i++) - { - /* write 4 bytes of data */ - lsw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - msw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - - #ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - AQ_API_BlockWriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - AQ_API_BlockWriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - AQ_API_BlockWriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - - countPendingOps += 3; - /* Check if we've filled our output buffer, and if so, flush. */ - if (countPendingOps >= AQ_API_MDIO_MaxBlockOperations() - 3 ) - { - AQ_API_MDIO_BlockOperationExecute (gangloadPort->PHY_ID); - countPendingOps = 0; - } - #else - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - #endif - - /* update the calculated CRC */ - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw & 0xFF)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw & 0xFF)]; - - #ifdef AQ_VERBOSE - if (i && ((i % 512) == 0)) printf(" Byte: %X:\n", i << 2); - #endif - } - -#ifdef AQ_PHY_SUPPORTS_BLOCK_READ_WRITE - /* flush the output buffer one last time. */ - AQ_API_MDIO_BlockOperationExecute(gangloadPort->PHY_ID); - countPendingOps = 0; -#endif - - /* Note: this final write right-justifies non-dWord data in the final dWord */ - switch (byteSize & 0x3) - { - case 0x1: - /* write 1 byte of data */ - lsw = image[bytePointer++]; - msw = 0x0000; - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - - /* no polling */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - break; - - case 0x2: - /* write 2 bytes of data */ - lsw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - msw = 0x0000; - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - - /* no polling */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - break; - - case 0x3: - /* write 3 bytes of data */ - lsw = (image[bytePointer+1] << 8) | image[bytePointer]; - bytePointer += 2; - msw = image[bytePointer++]; - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 4) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 4, msw); - /* REGDOC: Write register (HHD/APPIA: 1E.0200 + 5) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 5, lsw); - - /* no polling */ - /* REGDOC: Write register (HHD/APPIA: 1E.0200) */ - AQ_API_WriteRegister(gangloadPort->PHY_ID, AQ_GlobalMailboxInterface, 0, mailboxWrite); - break; - } - - if (byteSize & 0x3) - { - /* update the calculated CRC */ - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (msw & 0xFF)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw >> 8)]; - crc16Calculated = ((crc16Calculated & 0xFF) << 8) ^ AQ_CRC16Table[(crc16Calculated >> 8) ^ (lsw & 0xFF)]; - } - - /*------------------------------------- Exit gangload mode -------------------------------------------------------*/ - AQ_API_DisableGangLoadMode(gangloadPort, recordedGGP1Values[0]); - - /*------------------------------------- Check mailbox CRCs -------------------------------------------------------*/ - /* check to make sure the mailbox CRC matches the calculated CRC */ - /*foundMailboxCRCMismatch = False;*/ - for (j = 0; j < numPorts; j++) - { - /* REGDOC: Read register (HHD/APPIA: 1E.0200 + 1) */ - mailboxCRC = AQ_API_ReadRegister(ports[j]->PHY_ID,AQ_GlobalMailboxInterface, 1); - if (mailboxCRC != crc16Calculated) - { - #ifdef AQ_VERBOSE - printf("\n%uth port: Mailbox CRC-16 (0x%X) does not match calculated CRC-16 (0x%X)\n", - j, mailboxCRC, crc16Calculated); - #endif - /* Note that we can't just return here, because we still need to - * release the uPs for the other PHYs that might have been - * bootloaded successfully. */ - resultCodes[j] = AQ_RET_BOOTLOAD_CRC_MISMATCH; - } - #ifdef AQ_VERBOSE - else - { - printf("\n%uth port: Image load good - mailbox CRC-16 matches (0x%X)\n", - j, mailboxCRC); - resultCodes[j] = AQ_RET_OK; - } - #endif - } - - /*------------------------------------- Clear any resets ---------------------------------------------------------*/ - for (j = 0; j < numPorts; j++) - { - /* REGDOC: Write register (HHD/APPIA: 1E.0000) */ - AQ_API_WriteRegister(ports[j]->PHY_ID,AQ_GlobalStandardControl_1, 0, 0x0000); - } - - /*------------------------------------- Release the uP -----------------------------------------------------------*/ - AQ_API_AssignWordOfLocalStruct(globalControl, 1, 0x0000); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.6) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStallOverride, 1); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.0) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStall, 1); - for (j = 0; j < numPorts; j++) - { - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.F) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upReset, 0); - /* REGDOC: Write register (HHD/APPIA: 1E.C000 + 1) */ - AQ_API_WriteRegister(ports[j]->PHY_ID,AQ_GlobalControl, 1, - AQ_API_WordOfLocalStruct(globalControl, 1)); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.F) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upReset, 1); - /* REGDOC: Write register (HHD/APPIA: 1E.C000 + 1) */ - AQ_API_WriteRegister(ports[j]->PHY_ID,AQ_GlobalControl, 1, - AQ_API_WordOfLocalStruct(globalControl, 1)); - } - - /* Need to wait at least 100us. */ - AQ_API_Wait(1, ports[0]); - - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.F) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upReset, 0); - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.0) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStall, 0); - for (j = 0; j < numPorts; j++) - { - if (AQ_DEVICE_APPIA == port->device) - { - /* If the BOOT_LD pins are set to MDIO boot load mode, we can't clear the - * uP run stall override bit. If we did, the uP would stall. */ - /* REGDOC: Read bitfield (APPIA: 1E.C840.E:D) */ - AQ_API_Get_DeviceRestricted(APPIA, j, AQ_GlobalPinStatus, mdioBootLoad, bootLoadMode); - if (bootLoadMode == 0x1) - { - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.6) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStallOverride, 1); - } - else - { - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.6) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStallOverride, 0); - } - } - else - { - /* For post-APPIA devices, always set the uP stall override bit to - * smooth over any packaging differences WRT the boot load pin. */ - /* REGDOC: Assign to local representation of bitfield (HHD/APPIA: 1E.C001.6) */ - AQ_API_AssignBitfieldOfLocalStruct(AQ_GlobalControl, globalControl, upRunStallOverride, 1); - } - - /* REGDOC: Write register (HHD/APPIA: 1E.C000 + 1) */ - AQ_API_WriteRegister(ports[j]->PHY_ID,AQ_GlobalControl, 1, - AQ_API_WordOfLocalStruct(globalControl, 1)); - } - - /* NOTE!!! We can't re-enable the daisy-chain here, as this will overwrite the IRAM and DRAM with the FLASH contents*/ - - /* If any of the ports was not bootloaded successfully, return AQ_RET_ERROR */ - for (j = 0; j < numPorts; j++) - { - if (resultCodes[j] != AQ_RET_OK) - return AQ_RET_ERROR; - } - - /* All ports were bootloaded successfully. */ - return AQ_RET_OK; -} - - -AQ_Retcode AQ_API_WriteBootLoadImage -( - AQ_API_Port** ports, - unsigned int numPorts, - unsigned int* provisioningAddresses, - AQ_Retcode* resultCodes, - uint32_t* imageSizePointer, - uint8_t* image, - uint8_t gangload_MDIO_address, - AQ_API_Port* gangloadPort -) -{ - return AQ_API_WriteBootLoadImageWithProvTable(ports, numPorts, - provisioningAddresses, resultCodes, imageSizePointer, image, - gangload_MDIO_address, gangloadPort, NULL, NULL); -} - - -AQ_Retcode AQ_API_EnableDaisyChain -( - /*! The target PHY port.*/ - AQ_API_Port* port -) -{ - - /* declare local variables */ - AQ_API_Variable(AQ_GlobalNvrProvisioning) - AQ_API_Variable(AQ_GlobalReservedProvisioning) - - /* disable the hop-count override */ - /* REGDOC: Read-Modify-Write bitfield (HHD/APPIA: 1E.C471.6) */ - AQ_API_Set(port->PHY_ID, AQ_GlobalReservedProvisioning, enableDaisy_chainHop_countOverride, 0); - - /* enable the daisy-chain */ - /* REGDOC: Read-Modify-Write bitfield (HHD/APPIA: 1E.C452.0) */ - AQ_API_Set(port->PHY_ID, AQ_GlobalNvrProvisioning, nvrDaisyChainDisable, 0); - - return AQ_RET_OK; -} - -/*@}*/ - - -#ifdef __cplusplus -} -#endif diff --git a/qca/aq-fw-download/src/src/AQ_PhyInterface.c b/qca/aq-fw-download/src/src/AQ_PhyInterface.c deleted file mode 100644 index 6a8fce125..000000000 --- a/qca/aq-fw-download/src/src/AQ_PhyInterface.c +++ /dev/null @@ -1,141 +0,0 @@ -/* AQ_PhyInterface.c */ - -/************************************************************************************ -* Copyright (c) 2015, Aquantia -* -* Permission to use, copy, modify, and/or distribute this software for any -* purpose with or without fee is hereby granted, provided that the above -* copyright notice and this permission notice appear in all copies. -* -* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -* -* $Revision: #12 $ -* -* $DateTime: 2015/02/25 15:34:49 $ -* -* $Label: $ -* -************************************************************************************/ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include - -#include "AQ_PhyInterface.h" -#include "AQ_PlatformRoutines.h" - -#define MII_ADDR_C45 (0x8000) - -extern int sock; -extern char devname[7]; - -static struct ifreq ifr; - -/*! Provides generic synchronous PHY register write functionality. It is the - * responsibility of the system designer to provide the specific MDIO address - * pointer updates, etc. in order to accomplish this write operation. - * It will be assumed that the write has been completed by the time this - * function returns.*/ -void AQ_API_MDIO_Write( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID, - /*! The address of the MMD within the target PHY. */ - unsigned int MMD, - /*! The 16-bit address of the PHY register being written. */ - unsigned int address, - /*! The 16-bits of data to write to the specified PHY register. */ - unsigned int data) -{ - struct mii_ioctl_data mii; - - /* - * Frame the control structures - * and send the ioctl to kernel. - */ - memset(&ifr, 0, sizeof(ifr)); - strlcpy(ifr.ifr_name, devname, sizeof(ifr.ifr_name)); - memset(&mii, 0, sizeof(mii)); - memcpy(&mii, &ifr.ifr_data, sizeof(mii)); - mii.phy_id = MII_ADDR_C45 | PHY_ID << 5 | MMD; - mii.reg_num = address; - mii.val_in = data; - memcpy(&ifr.ifr_data, &mii, sizeof(mii)); - - if (ioctl(sock, SIOCSMIIREG, &ifr) < 0) { - fprintf(stderr, "SIOCSMIIREG on %s failed: %s\n", ifr.ifr_name, - strerror(errno)); - } - - return; -} - -/*! Provides generic synchronous PHY register read functionality. It is the - * responsibility of the system designer to provide the specific MDIO address - * pointer updates, etc. in order to accomplish this read operation.*/ -unsigned int AQ_API_MDIO_Read -( - /*! Uniquely identifies the port within the system. AQ_Port must be - * defined to a whatever data type is suitable for the platform.*/ - AQ_Port PHY_ID, - /*! The address of the MMD within the target PHY. */ - unsigned int MMD, - /*! The 16-bit address of the PHY register being read. */ - unsigned int address) -{ - struct mii_ioctl_data mii; - - /* - * Frame the control structures - * and send the ioctl to kernel. - */ - memset(&ifr, 0, sizeof(ifr)); - strlcpy(ifr.ifr_name, devname, sizeof(ifr.ifr_name)); - memset(&mii, 0, sizeof(mii)); - memcpy(&mii, &ifr.ifr_data, sizeof(mii)); - mii.phy_id = MII_ADDR_C45 | PHY_ID << 5 | MMD; - mii.reg_num = address; - memcpy(&ifr.ifr_data, &mii, sizeof(mii)); - - if (ioctl(sock, SIOCGMIIREG, &ifr) < 0) { - fprintf(stderr, "SIOCGMIIREG on %s failed: %s\n", ifr.ifr_name, - strerror(errno)); - return -1; - } else { - memcpy(&mii, &ifr.ifr_data, sizeof(mii)); - } - - - return mii.val_out; -} - -/*! Returns after at least milliseconds have elapsed. This must be implemented - * * in a platform-approriate way. AQ_API functions will call this function to - * * block for the specified period of time. If necessary, PHY register reads - * * may be performed on port to busy-wait. */ -void AQ_API_Wait( - uint32_t milliseconds, /*!< The delay in milliseconds */ - AQ_API_Port* port /*!< The PHY to use if delay reads are necessary*/ ) -{ - unsigned long long mirco = milliseconds *1000; - usleep(mirco); -} diff --git a/qca/nss-eip-firmware/Makefile b/qca/nss-eip-firmware/Makefile deleted file mode 100644 index a20c9afd6..000000000 --- a/qca/nss-eip-firmware/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=nss-eip-firmware -PKG_VERSION=2.5.7 -PKG_RELEASE:=$(AUTORELEASE) - -PKG_MAINTAINER:=Robert Marko - -include $(INCLUDE_DIR)/package.mk - -define Package/nss-eip-firmware - SECTION:=firmware - CATEGORY:=Firmware - TITLE:=NSS EIP-197 firmware - DEPENDS:=@(TARGET_ipq807x||TARGET_ipq60xx) -endef - -define Build/Compile - -endef - -define Package/nss-eip-firmware/install - $(INSTALL_DIR) $(1)/lib/firmware/ - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/ifpp.bin $(1)/lib/firmware/ifpp.bin - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/ipue.bin $(1)/lib/firmware/ipue.bin - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/ofpp.bin $(1)/lib/firmware/ofpp.bin - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/opue.bin $(1)/lib/firmware/opue.bin -endef - -$(eval $(call BuildPackage,nss-eip-firmware)) diff --git a/qca/nss-eip-firmware/src/.gitkeep b/qca/nss-eip-firmware/src/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/qca/nss-firmware/Makefile b/qca/nss-firmware/Makefile deleted file mode 100644 index eff44a8fb..000000000 --- a/qca/nss-firmware/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# -# Copyright (C) 2021 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=nss-firmware -PKG_SOURCE_DATE:=2022-05-16 -PKG_SOURCE_VERSION:=20c9a9b7e0ea2935b0a54f112104e433009312ca -PKG_MIRROR_HASH:=376b3605776f75bccb1da2b30dd522cc22d3f6b17dff6c954dd9b7222418d6c6 -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/quic/qca-sdk-nss-fw.git - -PKG_LICENSE_FILES:=LICENSE.md - -PKG_MAINTAINER:=Robert Marko - -include $(INCLUDE_DIR)/package.mk - -VERSION_PATH=$(PKG_BUILD_DIR)/QCA_Networking.SPF_11.5.0/CS - -define Package/nss-firmware-default - SECTION:=firmware - CATEGORY:=Firmware - URL:=$(PKG_SOURCE_URL) - DEPENDS:=@(TARGET_ipq807x||TARGET_ipq60xx) -endef - -define Package/nss-firmware-ipq6018 -$(Package/nss-firmware-default) - TITLE:=NSS firmware for IPQ6018 devices - NSS_ARCHIVE:=$(VERSION_PATH)/IPQ6018.ATH.11.4/BIN-NSS.CP.11.4.0.5-5-R.tar.bz2 -endef - -define Package/nss-firmware-ipq8074 -$(Package/nss-firmware-default) - TITLE:=NSS firmware for IPQ8074 devices - NSS_ARCHIVE:=$(VERSION_PATH)/IPQ8074.ATH.11.5.0/BIN-NSS.FW.12.0.r1-002-HK.R.tar.bz2 -endef - -define Build/Compile - -endef - -define Package/nss-firmware-ipq6018/install - mkdir -p $(PKG_BUILD_DIR)/IPQ6018 - $(TAR) -C $(PKG_BUILD_DIR)/IPQ6018 -xf $(NSS_ARCHIVE) --strip-components=1 - $(INSTALL_DIR) $(1)/lib/firmware/ - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/IPQ6018/retail_router0.bin \ - $(1)/lib/firmware/qca-nss0-retail.bin -endef - -define Package/nss-firmware-ipq8074/install - mkdir -p $(PKG_BUILD_DIR)/IPQ8074 - $(TAR) -C $(PKG_BUILD_DIR)/IPQ8074 -xf $(NSS_ARCHIVE) --strip-components=1 - $(INSTALL_DIR) $(1)/lib/firmware/ - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/IPQ8074/retail_router0.bin \ - $(1)/lib/firmware/qca-nss0-retail.bin - $(INSTALL_DATA) \ - $(PKG_BUILD_DIR)/IPQ8074/retail_router1.bin \ - $(1)/lib/firmware/qca-nss1-retail.bin -endef - -$(eval $(call BuildPackage,nss-firmware-ipq6018)) -$(eval $(call BuildPackage,nss-firmware-ipq8074)) diff --git a/qca/qca-nss-cfi/Makefile b/qca/qca-nss-cfi/Makefile deleted file mode 100644 index 64f7bd7ab..000000000 --- a/qca/qca-nss-cfi/Makefile +++ /dev/null @@ -1,71 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-nss-cfi -PKG_RELEASE:=1 - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2021-03-22 -PKG_SOURCE_URL:=https://source.codeaurora.org/quic/qsdk/oss/lklm/nss-cfi -PKG_SOURCE_VERSION:=73f2e5f5bf93cc244036ce5641faf9f859692cdf -PKG_MIRROR_HASH:=8c8edc9b8d8c68fdd14640152245013a93c123957b6b338c06f266f6c9db8cbd - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -# v1.0 is for Akronite -# v2.0 is for Hawkeye/Cypress/Maple -ifneq (, $(findstring $(BOARD), ipq50xx ipq60xx ipq807x)) - CFI_OCF_DIR:=ocf/v2.0 - CFI_CRYPTOAPI_DIR:=cryptoapi/v2.0 -else - CFI_CRYPTOAPI_DIR:=cryptoapi/v1.1 - CFI_OCF_DIR:=ocf/v1.0 - CFI_IPSEC_DIR:=ipsec/v1.0 -endif - -define KernelPackage/qca-nss-cfi-cryptoapi - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - DEPENDS:=@TARGET_ipq60xx +kmod-crypto-authenc +kmod-qca-nss-crypto - TITLE:=Kernel driver for NSS cfi - FILES:=$(PKG_BUILD_DIR)/$(CFI_CRYPTOAPI_DIR)/qca-nss-cfi-cryptoapi.ko - AUTOLOAD:=$(call AutoLoad,59,qca-nss-cfi-cryptoapi) -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/qca-nss-cfi - $(CP) $(PKG_BUILD_DIR)/$(CFI_CRYPTOAPI_DIR)/../exports/* $(1)/usr/include/qca-nss-cfi - $(CP) $(PKG_BUILD_DIR)/include/* $(1)/usr/include/qca-nss-cfi -endef - -define KernelPackage/qca-nss-cfi/Description -This package contains a NSS cfi driver for QCA chipset -endef - -EXTRA_CFLAGS+= \ - -DCONFIG_NSS_DEBUG_LEVEL=4 \ - -I$(LINUX_DIR)/crypto/ocf \ - -I$(STAGING_DIR)/usr/include/qca-nss-crypto \ - -I$(STAGING_DIR)/usr/include/crypto \ - -I$(STAGING_DIR)/usr/include/qca-nss-drv - -ifneq (, $(findstring $(BOARD), ipq50xx ipq60xx ipq807x)) -EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/qca-nss-clients -endif - -define Build/Compile - $(MAKE) -C "$(LINUX_DIR)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ - CFI_CRYPTOAPI_DIR=$(CFI_CRYPTOAPI_DIR) \ - CFI_IPSEC_DIR=$(CFI_IPSEC_DIR) \ - CFI_OCF_DIR=$(CFI_OCF_DIR) \ - $(KERNEL_MAKE_FLAGS) \ - M="$(PKG_BUILD_DIR)" \ - SoC="$(BOARD)_64" \ - "cryptoapi=y" \ - modules -endef - -$(eval $(call KernelPackage,qca-nss-cfi-cryptoapi)) diff --git a/qca/qca-nss-cfi/patches/100-remove-noise-logs.patch b/qca/qca-nss-cfi/patches/100-remove-noise-logs.patch deleted file mode 100644 index 085aeaf24..000000000 --- a/qca/qca-nss-cfi/patches/100-remove-noise-logs.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/cryptoapi/v2.0/nss_cryptoapi_ahash.c -+++ b/cryptoapi/v2.0/nss_cryptoapi_ahash.c -@@ -449,9 +449,12 @@ int nss_cryptoapi_ahash_digest(struct ahash_request *req) - int nss_cryptoapi_ahash_export(struct ahash_request *req, void *out) - { - struct nss_cryptoapi_ctx *ctx __attribute__((unused)) = crypto_tfm_ctx(req->base.tfm); -+ struct nss_cryptoapi_req_ctx *rctx = ahash_request_ctx(req); -+ struct nss_cryptoapi_req_ctx *state = out; -+ -+ *state = *rctx; - -- nss_cfi_warn("%px: ahash .export is not supported", ctx); -- return -ENOSYS; -+ return 0; - }; - - /* -@@ -464,7 +467,10 @@ int nss_cryptoapi_ahash_export(struct ahash_request *req, void *out) - int nss_cryptoapi_ahash_import(struct ahash_request *req, const void *in) - { - struct nss_cryptoapi_ctx *ctx __attribute__((unused)) = crypto_tfm_ctx(req->base.tfm); -+ struct nss_cryptoapi_req_ctx *rctx = ahash_request_ctx(req); -+ const struct nss_cryptoapi_req_ctx *state = in; -+ -+ *rctx = *state; - -- nss_cfi_warn("%px: ahash .import is not supported", ctx); -- return -ENOSYS; -+ return 0; - } diff --git a/qca/qca-nss-clients/Makefile b/qca/qca-nss-clients/Makefile deleted file mode 100644 index 274512780..000000000 --- a/qca/qca-nss-clients/Makefile +++ /dev/null @@ -1,102 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-nss-clients -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-clients.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2021-07-23 -PKG_SOURCE_VERSION:=ec7a57bed8914adcbd5bf95de1f0b630296489c1 -PKG_MIRROR_HASH:=b7413c5b20a341d3d7ea49c1b86ff92b4a8795aa7c64986ca820ba18205e332d - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -define KernelPackage/qca-nss-drv-pppoe - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - TITLE:=Kernel driver for NSS (connection manager) - PPPoE - DEPENDS:=@LINUX_5_10 @TARGET_ipq807x +kmod-qca-nss-drv +kmod-ppp +kmod-pppoe - FILES:=$(PKG_BUILD_DIR)/pppoe/qca-nss-pppoe.ko - AUTOLOAD:=$(call AutoLoad,51,qca-nss-pppoe) -endef - -define KernelPackage/qca-nss-drv-pppoe/Description -Kernel modules for NSS connection manager - Support for PPPoE -endef - -define KernelPackage/qca-nss-drv-bridge-mgr - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - TITLE:=Kernel driver for NSS bridge manager - DEPENDS:=@LINUX_5_10 @TARGET_ipq807x +kmod-qca-nss-drv +kmod-qca-nss-drv-vlan-mgr - FILES:=$(PKG_BUILD_DIR)/bridge/qca-nss-bridge-mgr.ko - AUTOLOAD:=$(call AutoLoad,51,qca-nss-bridge-mgr) -endef - -define KernelPackage/qca-nss-drv-bridge-mgr/Description -Kernel modules for NSS bridge manager -endef - -define KernelPackage/qca-nss-drv-vlan-mgr - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - TITLE:=Kernel driver for NSS vlan manager - DEPENDS:=@LINUX_5_10 @TARGET_ipq807x +kmod-qca-nss-drv - FILES:=$(PKG_BUILD_DIR)/vlan/qca-nss-vlan.ko - AUTOLOAD:=$(call AutoLoad,51,qca-nss-vlan) -endef - -define KernelPackage/qca-nss-drv-vlan-mgr/Description -Kernel modules for NSS vlan manager -endef - -EXTRA_CFLAGS+= \ - -I$(STAGING_DIR)/usr/include/qca-nss-drv \ - -I$(STAGING_DIR)/usr/include/qca-nss-crypto \ - -I$(STAGING_DIR)/usr/include/qca-nss-cfi \ - -I$(STAGING_DIR)/usr/include/qca-nss-gmac \ - -I$(STAGING_DIR)/usr/include/qca-ssdk \ - -I$(STAGING_DIR)/usr/include/qca-ssdk/fal \ - -I$(STAGING_DIR)/usr/include/nat46 - -ifneq ($(CONFIG_PACKAGE_kmod-qca-nss-drv-pppoe),) -NSS_CLIENTS_MAKE_OPTS+=pppoe=y -endif - -ifneq ($(CONFIG_PACKAGE_kmod-qca-nss-drv-bridge-mgr),) -NSS_CLIENTS_MAKE_OPTS+=bridge-mgr=y -#enable OVS bridge if ovsmgr is enabled -ifneq ($(CONFIG_PACKAGE_kmod-qca-ovsmgr),) -NSS_CLIENTS_MAKE_OPTS+= NSS_BRIDGE_MGR_OVS_ENABLE=y -EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/qca-ovsmgr -endif -endif - -ifneq ($(CONFIG_PACKAGE_kmod-qca-nss-drv-vlan-mgr),) -NSS_CLIENTS_MAKE_OPTS+=vlan-mgr=y -endif - -ifeq ($(CONFIG_TARGET_BOARD), "ipq807x") - SOC="ipq807x_64" -else ifeq ($(CONFIG_TARGET_BOARD), "ipq60xx") - SOC="ipq60xx_64" -endif - -define Build/Compile - $(MAKE) -C "$(LINUX_DIR)" $(strip $(NSS_CLIENTS_MAKE_OPTS)) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ - M="$(PKG_BUILD_DIR)" \ - EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ - SoC=$(SOC) \ - $(KERNEL_MAKE_FLAGS) \ - modules -endef - -$(eval $(call KernelPackage,qca-nss-drv-pppoe)) -$(eval $(call KernelPackage,qca-nss-drv-bridge-mgr)) -$(eval $(call KernelPackage,qca-nss-drv-vlan-mgr)) diff --git a/qca/qca-nss-clients/files/qca-nss-ipsec b/qca/qca-nss-clients/files/qca-nss-ipsec deleted file mode 100644 index 5f682c8e9..000000000 --- a/qca/qca-nss-clients/files/qca-nss-ipsec +++ /dev/null @@ -1,214 +0,0 @@ -#!/bin/sh /etc/rc.common -# -# Copyright (c) 2018-2019, 2021 The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -NSS_IPSEC_LOG_FILE=/tmp/.nss_ipsec_log -NSS_IPSEC_LOG_STR_ECM="ECM_Loaded" -NSS_IPSEC_OL_FILE=/tmp/qca_nss_ipsec_ol - -ecm_load () { - if [ ! -d /sys/module/ecm ]; then - /etc/init.d/qca-nss-ecm start - if [ -d /sys/module/ecm ]; then - echo ${NSS_IPSEC_LOG_STR_ECM} >> ${NSS_IPSEC_LOG_FILE} - fi - fi -} - -ecm_unload () { - if [ -f /tmp/.nss_ipsec_log ]; then - str=`grep ${NSS_IPSEC_LOG_STR_ECM} ${NSS_IPSEC_LOG_FILE}` - if [[ $str == ${NSS_IPSEC_LOG_STR_ECM} ]]; then - /etc/init.d/qca-nss-ecm stop - `sed 's/${NSS_IPSEC_LOG_STR_ECM}/ /g' $NSS_IPSEC_LOG_FILE > $NSS_IPSEC_LOG_FILE` - fi - fi -} - -ecm_disable() { - - if [ ! -d /sys/module/ecm ]; then - return; - fi - - echo 1 > /sys/kernel/debug/ecm/front_end_ipv4_stop - echo 1 > /sys/kernel/debug/ecm/front_end_ipv6_stop - echo 1 > /sys/kernel/debug/ecm/ecm_db/defunct_all - sleep 2 -} - -ecm_enable() { - if [ ! -d /sys/module/ecm ]; then - return; - fi - - echo 0 > /sys/kernel/debug/ecm/ecm_db/defunct_all - echo 0 > /sys/kernel/debug/ecm/front_end_ipv4_stop - echo 0 > /sys/kernel/debug/ecm/front_end_ipv6_stop -} - -kernel_version_check_5_4() { - major_ver=$(uname -r | awk -F '.' '{print $1}') - minor_ver=$(uname -r | awk -F '.' '{print $2}') - if [ $major_ver -lt 5 ] || ([ $major_ver -eq 5 ] && [ $minor_ver -lt 4 ] ) ; then - return 1 - else - return 0 - fi -} - -start_klips() { - if kernel_version_check_5_4 - then - echo "Kernel 5.4 doesn't support klips stack." - return $? - fi - - touch $NSS_IPSEC_OL_FILE - ecm_load - - local kernel_version=$(uname -r) - - insmod /lib/modules/${kernel_version}/qca-nss-ipsec-klips.ko - if [ "$?" -gt 0 ]; then - echo "Failed to load plugin. Please start ecm if not done already" - ecm_enable - rm $NSS_IPSEC_OL_FILE - return - fi - - /etc/init.d/ipsec start - sleep 2 - ipsec eroute - - ecm_enable -} - -stop_klips() { - if kernel_version_check_5_4 - then - echo "Kernel 5.4 doesn't support klips stack." - return $? - fi - - ecm_disable - - /etc/init.d/ipsec stop - rmmod qca-nss-ipsec-klips - rm $NSS_IPSEC_OL_FILE - - ecm_unload -} - -start_xfrm() { - touch $NSS_IPSEC_OL_FILE - ecm_load - - local kernel_version=$(uname -r) - - # load all NETKEY modules first. - for mod in xfrm_ipcomp ipcomp xfrm6_tunnel ipcomp6 xfrm6_mode_tunnel xfrm6_mode_beet xfrm6_mode_ro \ - xfrm6_mode_transport xfrm4_mode_transport xfrm4_mode_tunnel \ - xfrm4_tunnel xfrm4_mode_beet esp4 esp6 ah4 ah6 af_key - do - insmod $mod 2> /dev/null - done - - # Now load the xfrm plugin - insmod /lib/modules/${kernel_version}/qca-nss-ipsec-xfrm.ko - if [ "$?" -gt 0 ]; then - echo "Failed to load plugin. Please start ecm if not done already" - ecm_enable - rm $NSS_IPSEC_OL_FILE - return - fi - - /etc/init.d/ipsec start - sleep 2 - - ecm_enable -} - -stop_xfrm() { - ecm_disable - - #Shutdown Pluto first. Then only plugin can be removed. - plutopid=/var/run/pluto/pluto.pid - if [ -f $plutopid ]; then - pid=`cat $plutopid` - if [ ! -z "$pid" ]; then - ipsec whack --shutdown | grep -v "002"; - if [ -s $plutopid ]; then - echo "Attempt to shut Pluto down failed! Trying kill:" - kill $pid; - sleep 5; - fi - fi - rm -rf $plutopid - fi - ip xfrm state flush; - ip xfrm policy flush; - sleep 2 - - #Now we can remove the plugin - retries=5 - while [ -d /sys/module/qca_nss_ipsec_xfrm ] - do - rmmod qca-nss-ipsec-xfrm - if [ "$?" -eq 0 ]; then - rm $NSS_IPSEC_OL_FILE - break - fi - - if [ ${retries} -eq 0 ]; then - echo "Failed to unload qca-nss-ipsec-xfrm plugin!" - exit - fi - - echo "XFRM plugin unload failed; retrying ${retries} times" - sleep 1 - retries=`expr ${retries} - 1` - done - - /etc/init.d/ipsec stop - ecm_unload -} - -start() { - local protostack=`uci -q get ipsec.setup.protostack` - if [ "$protostack" = "klips" ]; then - start_klips - return $? - fi - - start_xfrm - return $? -} - -stop() { - local protostack=`uci -q get ipsec.setup.protostack` - if [ "$protostack" = "klips" ]; then - stop_klips - return $? - fi - - stop_xfrm - return $? -} - -restart() { - stop - start -} diff --git a/qca/qca-nss-clients/files/qca-nss-mirred.init b/qca/qca-nss-clients/files/qca-nss-mirred.init deleted file mode 100644 index 1f931f090..000000000 --- a/qca/qca-nss-clients/files/qca-nss-mirred.init +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh /etc/rc.common - -########################################################################### -# Copyright (c) 2019, The Linux Foundation. All rights reserved. -# Permission to use, copy, modify, and/or distribute this software for -# any purpose with or without fee is hereby granted, provided that the -# above copyright notice and this permission notice appear in all copies. -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT -# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -########################################################################### - -restart() { - rmmod act_nssmirred.ko - insmod act_nssmirred.ko -} - -start() { - insmod act_nssmirred.ko -} - -stop() { - rmmod act_nssmirred.ko -} diff --git a/qca/qca-nss-clients/files/qca-nss-ovpn.init b/qca/qca-nss-clients/files/qca-nss-ovpn.init deleted file mode 100644 index 622e295ee..000000000 --- a/qca/qca-nss-clients/files/qca-nss-ovpn.init +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh /etc/rc.common - -########################################################################### -# Copyright (c) 2019, The Linux Foundation. All rights reserved. -# Permission to use, copy, modify, and/or distribute this software for -# any purpose with or without fee is hereby granted, provided that the -# above copyright notice and this permission notice appear in all copies. -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT -# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -########################################################################### - -ecm_disable() { - if [ ! -d /sys/module/ecm ]; then - return - fi - - echo 1 > /sys/kernel/debug/ecm/front_end_ipv4_stop - echo 1 > /sys/kernel/debug/ecm/front_end_ipv6_stop - echo 1 > /sys/kernel/debug/ecm/ecm_db/defunct_all - sleep 2 -} - -ecm_enable() { - if [ ! -d /sys/module/ecm ]; then - return - fi - - echo 0 > /sys/kernel/debug/ecm/ecm_db/defunct_all - echo 0 > /sys/kernel/debug/ecm/front_end_ipv4_stop - echo 0 > /sys/kernel/debug/ecm/front_end_ipv6_stop -} - -restart() { - ecm_disable - - /etc/init.d/openvpn stop - rmmod qca-nss-ovpn-link - rmmod qca-nss-ovpn-mgr - - insmod qca-nss-ovpn-mgr - insmod qca-nss-ovpn-link - - if [ "$?" -gt 0 ]; then - echo "Failed to load plugin. Please start ecm if not done already" - ecm_enable - return - fi - - ecm_enable -} - -start() { - restart -} - -stop() { - ecm_disable - - /etc/init.d/openvpn stop - rmmod qca-nss-ovpn-link - rmmod qca-nss-ovpn-mgr - - ecm_enable -} diff --git a/qca/qca-nss-crypto/Makefile b/qca/qca-nss-crypto/Makefile deleted file mode 100644 index 5c1003b89..000000000 --- a/qca/qca-nss-crypto/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-nss-crypto -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-crypto.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2021-03-20 -PKG_SOURCE_VERSION:=2271a3a66f7e8284d42a9e787ddec6f24a1d2e15 -PKG_MIRROR_HASH:=afd2b746779bf9abb72dfb58c755acf54d1cb51085b879013dd0edf9ba98d3c9 - -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -ifeq ($(CONFIG_TARGET_BOARD), "ipq807x") - SOC="ipq807x_64" -else ifeq ($(CONFIG_TARGET_BOARD), "ipq60xx") - SOC="ipq60xx_64" -endif - -# v1.0 is for Akronite -# v2.0 is for Hawkeye/Cypress/Maple -ifneq (, $(findstring $(CONFIG_TARGET_BOARD), "ipq807x" "ipq60xx")) -NSS_CRYPTO_DIR:=v2.0 -else -NSS_CRYPTO_DIR:=v1.0 -endif - -define KernelPackage/qca-nss-crypto - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Cryptographic API modules - DEPENDS:=@(TARGET_ipq807x||TARGET_ipq60xx) +kmod-qca-nss-drv +nss-eip-firmware - TITLE:=Kernel driver for NSS crypto driver - FILES:=$(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/src/qca-nss-crypto.ko \ - $(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/tool/qca-nss-crypto-tool.ko - AUTOLOAD:=$(call AutoLoad,52,qca-nss-crypto) -endef - -define KernelPackage/qca-nss-crypto/Description -This package contains a NSS crypto driver for QCA chipset -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/qca-nss-crypto - $(CP) $(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/include/* $(1)/usr/include/qca-nss-crypto -endef - -EXTRA_CFLAGS+= \ - -DCONFIG_NSS_DEBUG_LEVEL=4 \ - -I$(STAGING_DIR)/usr/include/qca-nss-crypto \ - -I$(STAGING_DIR)/usr/include/qca-nss-drv \ - -I$(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/include \ - -I$(PKG_BUILD_DIR)/$(NSS_CRYPTO_DIR)/src - -define Build/Compile - +$(MAKE) -C "$(LINUX_DIR)" \ - CC="$(TARGET_CC)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ - M="$(PKG_BUILD_DIR)" \ - EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ - NSS_CRYPTO_DIR=$(NSS_CRYPTO_DIR) \ - SoC=$(SOC) \ - $(KERNEL_MAKE_FLAGS) \ - $(PKG_JOBS) \ - modules -endef - -$(eval $(call KernelPackage,qca-nss-crypto)) diff --git a/qca/qca-nss-crypto/patches/0001-nss-crypto-fix-SHA1-header-include.patch b/qca/qca-nss-crypto/patches/0001-nss-crypto-fix-SHA1-header-include.patch deleted file mode 100644 index 757b172ea..000000000 --- a/qca/qca-nss-crypto/patches/0001-nss-crypto-fix-SHA1-header-include.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 68b7776673aabc2f93bd75e73ef4b45a1ac561d9 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Sun, 13 Mar 2022 13:44:47 +0100 -Subject: [PATCH 1/3] nss-crypto: fix SHA1 header include - -SHA1 header has been merged to the generic SHA one, -and with that the cryptohash.h was dropped. - -So, fix include in kernels 5.8 and newer. - -Signed-off-by: Robert Marko ---- - v2.0/src/nss_crypto_hlos.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/v2.0/src/nss_crypto_hlos.h b/v2.0/src/nss_crypto_hlos.h -index 84740c2..e827f4f 100644 ---- a/v2.0/src/nss_crypto_hlos.h -+++ b/v2.0/src/nss_crypto_hlos.h -@@ -55,7 +55,9 @@ - #include - #include - #include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) - #include -+#endif - #include - #include - #include --- -2.35.1 - diff --git a/qca/qca-nss-crypto/patches/0002-nss-crypto-replace-ioremap_nocache-with-ioremap.patch b/qca/qca-nss-crypto/patches/0002-nss-crypto-replace-ioremap_nocache-with-ioremap.patch deleted file mode 100644 index 8c829c11e..000000000 --- a/qca/qca-nss-crypto/patches/0002-nss-crypto-replace-ioremap_nocache-with-ioremap.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 80393ab565e26d572de56b7502b069b0a944bd40 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Tue, 8 Jun 2021 22:14:34 +0200 -Subject: [PATCH 2/3] nss-crypto: replace ioremap_nocache() with ioremap - -ioremap_nocache() was dropped in kernel 5.5 as regular -ioremap() was exactly the same. - -So, simply replace all of the ioremap_nocache() calls -with ioremap(). - -Signed-off-by: Robert Marko ---- - v2.0/src/hal/ipq50xx/nss_crypto_ce5.c | 4 ++-- - v2.0/src/hal/ipq60xx/nss_crypto_eip197.c | 2 +- - v2.0/src/hal/ipq807x/nss_crypto_eip197.c | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/v2.0/src/hal/ipq50xx/nss_crypto_ce5.c b/v2.0/src/hal/ipq50xx/nss_crypto_ce5.c -index c89cd38..a7a46e0 100644 ---- a/v2.0/src/hal/ipq50xx/nss_crypto_ce5.c -+++ b/v2.0/src/hal/ipq50xx/nss_crypto_ce5.c -@@ -288,7 +288,7 @@ int nss_crypto_ce5_engine_init(struct platform_device *pdev, struct resource *cr - * remap the I/O addresses for crypto - */ - eng->crypto_paddr = crypto_res->start; -- eng->crypto_vaddr = ioremap_nocache(crypto_res->start, resource_size(crypto_res)); -+ eng->crypto_vaddr = ioremap(crypto_res->start, resource_size(crypto_res)); - if (!eng->crypto_vaddr) { - nss_crypto_warn("%px: unable to remap crypto_addr(0x%px)\n", node, (void *)eng->crypto_paddr); - nss_crypto_engine_free(eng); -@@ -299,7 +299,7 @@ int nss_crypto_ce5_engine_init(struct platform_device *pdev, struct resource *cr - * remap the I/O addresses for bam - */ - eng->dma_paddr = bam_res->start; -- eng->dma_vaddr = ioremap_nocache(bam_res->start, resource_size(bam_res)); -+ eng->dma_vaddr = ioremap(bam_res->start, resource_size(bam_res)); - if (!eng->dma_vaddr) { - iounmap(eng->crypto_vaddr); - nss_crypto_warn("%px: unable to remap dma_addr(0x%px)\n", node, (void *)eng->dma_paddr); -diff --git a/v2.0/src/hal/ipq60xx/nss_crypto_eip197.c b/v2.0/src/hal/ipq60xx/nss_crypto_eip197.c -index 8dfc35d..79649f9 100644 ---- a/v2.0/src/hal/ipq60xx/nss_crypto_eip197.c -+++ b/v2.0/src/hal/ipq60xx/nss_crypto_eip197.c -@@ -490,7 +490,7 @@ int nss_crypto_eip197_engine_init(struct platform_device *pdev, struct device_no - * remap the I/O addresses - */ - paddr = res->start + offset; -- vaddr = ioremap_nocache(paddr, resource_size(res)); -+ vaddr = ioremap(paddr, resource_size(res)); - if (!vaddr) { - nss_crypto_warn("%px: unable to remap crypto_addr(0x%px)\n", node, (void *)paddr); - return -EIO; -diff --git a/v2.0/src/hal/ipq807x/nss_crypto_eip197.c b/v2.0/src/hal/ipq807x/nss_crypto_eip197.c -index 632adca..5e2c146 100644 ---- a/v2.0/src/hal/ipq807x/nss_crypto_eip197.c -+++ b/v2.0/src/hal/ipq807x/nss_crypto_eip197.c -@@ -490,7 +490,7 @@ int nss_crypto_eip197_engine_init(struct platform_device *pdev, struct device_no - * remap the I/O addresses - */ - paddr = res->start + offset; -- vaddr = ioremap_nocache(paddr, resource_size(res)); -+ vaddr = ioremap(paddr, resource_size(res)); - if (!vaddr) { - nss_crypto_warn("%px: unable to remap crypto_addr(0x%px)\n", node, (void *)paddr); - return -EIO; --- -2.35.1 - diff --git a/qca/qca-nss-crypto/patches/0003-nss-crypto-fix-SHA-header-include-in-5.15.patch b/qca/qca-nss-crypto/patches/0003-nss-crypto-fix-SHA-header-include-in-5.15.patch deleted file mode 100644 index 311070d91..000000000 --- a/qca/qca-nss-crypto/patches/0003-nss-crypto-fix-SHA-header-include-in-5.15.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 4c0cc66cde0c4a30aa049b586af311501304e9ce Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Sun, 13 Mar 2022 13:47:24 +0100 -Subject: [PATCH 3/3] nss-crypto: fix SHA header include in 5.15 - -SHA header was split into SHA-1 and SHA-2 headers in kernel 5.11, so -fix the include for newer kernels. - -Signed-off-by: Robert Marko ---- - v2.0/src/nss_crypto_ctrl.c | 6 ++++++ - v2.0/src/nss_crypto_hlos.h | 4 ++++ - 2 files changed, 10 insertions(+) - -diff --git a/v2.0/src/nss_crypto_ctrl.c b/v2.0/src/nss_crypto_ctrl.c -index 72d1602..a462705 100644 ---- a/v2.0/src/nss_crypto_ctrl.c -+++ b/v2.0/src/nss_crypto_ctrl.c -@@ -38,7 +38,13 @@ - #include - #include - #include -+#include -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) - #include -+#else -+#include -+#include -+#endif - #include - #include - #include -diff --git a/v2.0/src/nss_crypto_hlos.h b/v2.0/src/nss_crypto_hlos.h -index e827f4f..5565472 100644 ---- a/v2.0/src/nss_crypto_hlos.h -+++ b/v2.0/src/nss_crypto_hlos.h -@@ -58,7 +58,11 @@ - #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) - #include - #endif -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) - #include -+#else -+#include -+#endif - #include - #include - #include --- -2.35.1 - diff --git a/qca/qca-nss-dp/Makefile b/qca/qca-nss-dp/Makefile deleted file mode 100644 index 17627674a..000000000 --- a/qca/qca-nss-dp/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-nss-dp -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-dp.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2022-04-30 -PKG_SOURCE_VERSION:=72e9ec4187414461cbcf6ccff100e8b5ebe5f40b -PKG_MIRROR_HASH:=805f16e59c75511132922f97740ebf6bf953845b0bbfd2089c4615456893bb37 - -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -define KernelPackage/qca-nss-dp - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - DEPENDS:=@(TARGET_ipq807x||TARGET_ipq60xx) +kmod-qca-ssdk-nohnat - TITLE:=Kernel driver for NSS data plane - FILES:=$(PKG_BUILD_DIR)/qca-nss-dp.ko - AUTOLOAD:=$(call AutoLoad,31,qca-nss-dp,1) -endef - -define KernelPackage/qca-nss-dp/Description -This package contains a NSS data plane driver for QCA chipset -endef - -define Build/InstallDev - mkdir -p $(1)/usr/include/qca-nss-dp - $(CP) $(PKG_BUILD_DIR)/exports/* $(1)/usr/include/qca-nss-dp/ -endef - -EXTRA_CFLAGS+= \ - -I$(STAGING_DIR)/usr/include/qca-ssdk - -NSS_DP_HAL_DIR:=$(PKG_BUILD_DIR)/hal -define Build/Configure - $(LN) $(NSS_DP_HAL_DIR)/soc_ops/$(CONFIG_TARGET_BOARD)/nss_$(CONFIG_TARGET_BOARD).h \ - $(PKG_BUILD_DIR)/exports/nss_dp_arch.h -endef - -define Build/Compile - +$(MAKE) -C "$(LINUX_DIR)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ - M="$(PKG_BUILD_DIR)" \ - EXTRA_CFLAGS="$(EXTRA_CFLAGS)" SoC="$(CONFIG_TARGET_BOARD)" \ - $(KERNEL_MAKE_FLAGS) \ - $(PKG_JOBS) \ - modules -endef - -$(eval $(call KernelPackage,qca-nss-dp)) diff --git a/qca/qca-nss-dp/patches/0001-edma_tx_rx-support-newer-kernels-time-stamping-API.patch b/qca/qca-nss-dp/patches/0001-edma_tx_rx-support-newer-kernels-time-stamping-API.patch deleted file mode 100644 index 1fed4ba8a..000000000 --- a/qca/qca-nss-dp/patches/0001-edma_tx_rx-support-newer-kernels-time-stamping-API.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 40979666b4371012405715ffa61ab5760fcdc6b3 Mon Sep 17 00:00:00 2001 -Message-Id: <40979666b4371012405715ffa61ab5760fcdc6b3.1620066716.git.baruch@tkos.co.il> -From: Baruch Siach -Date: Mon, 3 May 2021 20:07:36 +0300 -Subject: [PATCH 1/3] edma_tx_rx: support newer kernels time stamping API - ---- - hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - ---- a/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -@@ -227,10 +227,16 @@ void nss_phy_tstamp_rx_buf(__attribute__ - * set to the correct PTP class value by calling ptp_classify_raw - * in drv->rxtstamp function. - */ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)) - if (ndev && ndev->phydev && ndev->phydev->drv && - ndev->phydev->drv->rxtstamp) - if(ndev->phydev->drv->rxtstamp(ndev->phydev, skb, 0)) - return; -+#else -+ if (ndev && phy_has_rxtstamp(ndev->phydev)) -+ if (phy_rxtstamp(ndev->phydev, skb, 0)) -+ return; -+#endif - - netif_receive_skb(skb); - } -@@ -248,9 +254,14 @@ void nss_phy_tstamp_tx_buf(struct net_de - * set to the correct PTP class value by calling ptp_classify_raw - * in the drv->txtstamp function. - */ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)) - if (ndev && ndev->phydev && ndev->phydev->drv && - ndev->phydev->drv->txtstamp) - ndev->phydev->drv->txtstamp(ndev->phydev, skb, 0); -+#else -+ if (ndev && phy_has_txtstamp(ndev->phydev)) -+ phy_rxtstamp(ndev->phydev, skb, 0); -+#endif - } - EXPORT_SYMBOL(nss_phy_tstamp_tx_buf); - diff --git a/qca/qca-nss-dp/patches/0002-nss_dp_main-make-phy-mode-code-compatible-with-newer.patch b/qca/qca-nss-dp/patches/0002-nss_dp_main-make-phy-mode-code-compatible-with-newer.patch deleted file mode 100644 index 04adad86f..000000000 --- a/qca/qca-nss-dp/patches/0002-nss_dp_main-make-phy-mode-code-compatible-with-newer.patch +++ /dev/null @@ -1,48 +0,0 @@ -From cef7873a2d77df13ee702d902ed4e06b2248904b Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <40979666b4371012405715ffa61ab5760fcdc6b3.1620066716.git.baruch@tkos.co.il> -References: <40979666b4371012405715ffa61ab5760fcdc6b3.1620066716.git.baruch@tkos.co.il> -From: Baruch Siach -Date: Mon, 3 May 2021 20:17:22 +0300 -Subject: [PATCH 2/3] nss_dp_main: make phy mode code compatible with newer - kernels - ---- - include/nss_dp_dev.h | 4 ++-- - nss_dp_main.c | 4 ++++ - 2 files changed, 6 insertions(+), 2 deletions(-) - ---- a/include/nss_dp_dev.h -+++ b/include/nss_dp_dev.h -@@ -22,7 +22,7 @@ - #include - #include - #include --#include -+#include - #include - - #include "nss_dp_api_if.h" -@@ -99,7 +99,7 @@ struct nss_dp_dev { - /* Phy related stuff */ - struct phy_device *phydev; /* Phy device */ - struct mii_bus *miibus; /* MII bus */ -- uint32_t phy_mii_type; /* RGMII/SGMII/QSGMII */ -+ phy_interface_t phy_mii_type; /* RGMII/SGMII/QSGMII */ - uint32_t phy_mdio_addr; /* Mdio address */ - bool link_poll; /* Link polling enable? */ - uint32_t forced_speed; /* Forced speed? */ ---- a/nss_dp_main.c -+++ b/nss_dp_main.c -@@ -584,7 +584,11 @@ static int32_t nss_dp_of_get_pdata(struc - hal_pdata->netdev = netdev; - hal_pdata->macid = dp_priv->macid; - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)) - dp_priv->phy_mii_type = of_get_phy_mode(np); -+#else -+ of_get_phy_mode(np, &dp_priv->phy_mii_type); -+#endif - dp_priv->link_poll = of_property_read_bool(np, "qcom,link-poll"); - if (of_property_read_u32(np, "qcom,phy-mdio-addr", - &dp_priv->phy_mdio_addr) && dp_priv->link_poll) { diff --git a/qca/qca-nss-dp/patches/0003-Drop-_nocache-variants-of-ioremap.patch b/qca/qca-nss-dp/patches/0003-Drop-_nocache-variants-of-ioremap.patch deleted file mode 100644 index 18bd85c8c..000000000 --- a/qca/qca-nss-dp/patches/0003-Drop-_nocache-variants-of-ioremap.patch +++ /dev/null @@ -1,48 +0,0 @@ -From c8c52512ff48bee578901c381a42f027e79eadf9 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <40979666b4371012405715ffa61ab5760fcdc6b3.1620066716.git.baruch@tkos.co.il> -References: <40979666b4371012405715ffa61ab5760fcdc6b3.1620066716.git.baruch@tkos.co.il> -From: Baruch Siach -Date: Mon, 3 May 2021 20:20:29 +0300 -Subject: [PATCH 3/3] Drop _nocache variants of ioremap() - -Recent kernels removed them. ---- - hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c | 2 +- - hal/gmac_ops/qcom/qcom_if.c | 2 +- - hal/gmac_ops/syn/xgmac/syn_if.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - ---- a/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -@@ -279,7 +279,7 @@ int edma_init(void) - /* - * Remap register resource - */ -- edma_hw.reg_base = ioremap_nocache((edma_hw.reg_resource)->start, -+ edma_hw.reg_base = ioremap((edma_hw.reg_resource)->start, - resource_size(edma_hw.reg_resource)); - if (!edma_hw.reg_base) { - pr_warn("Unable to remap EDMA register memory.\n"); ---- a/hal/gmac_ops/qcom/qcom_if.c -+++ b/hal/gmac_ops/qcom/qcom_if.c -@@ -418,7 +418,7 @@ static void *qcom_init(struct nss_gmac_h - qhd->nghd.mac_id = gmacpdata->macid; - - /* Populate the mac base addresses */ -- qhd->nghd.mac_base = devm_ioremap_nocache(&dp_priv->pdev->dev, -+ qhd->nghd.mac_base = devm_ioremap(&dp_priv->pdev->dev, - res->start, resource_size(res)); - if (!qhd->nghd.mac_base) { - netdev_dbg(ndev, "ioremap fail.\n"); ---- a/hal/gmac_ops/syn/xgmac/syn_if.c -+++ b/hal/gmac_ops/syn/xgmac/syn_if.c -@@ -432,7 +432,7 @@ static void *syn_init(struct nss_gmac_ha - - /* Populate the mac base addresses */ - shd->nghd.mac_base = -- devm_ioremap_nocache(&dp_priv->pdev->dev, res->start, -+ devm_ioremap(&dp_priv->pdev->dev, res->start, - resource_size(res)); - if (!shd->nghd.mac_base) { - netdev_dbg(ndev, "ioremap fail.\n"); diff --git a/qca/qca-nss-dp/patches/0004-EDMA-Fix-NAPI-packet-counting.patch b/qca/qca-nss-dp/patches/0004-EDMA-Fix-NAPI-packet-counting.patch deleted file mode 100644 index f7653729a..000000000 --- a/qca/qca-nss-dp/patches/0004-EDMA-Fix-NAPI-packet-counting.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d74920e2a7c413ef40eed72f9cf287cf6fbd5fb8 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Thu, 20 May 2021 14:56:46 +0200 -Subject: [PATCH 1/2] EDMA: Fix NAPI packet counting - -There is a bug in the NAPI packet counting that will -cause NAPI over budget warnings. - -Signed-off-by: Baruch Siach -Signed-off-by: Robert Marko ---- - hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -@@ -459,12 +459,12 @@ int edma_napi(struct napi_struct *napi, - - for (i = 0; i < ehw->txcmpl_rings; i++) { - txcmpl_ring = &ehw->txcmpl_ring[i]; -- work_done += edma_clean_tx(ehw, txcmpl_ring); -+ edma_clean_tx(ehw, txcmpl_ring); - } - - for (i = 0; i < ehw->rxfill_rings; i++) { - rxfill_ring = &ehw->rxfill_ring[i]; -- work_done += edma_alloc_rx_buffer(ehw, rxfill_ring); -+ edma_alloc_rx_buffer(ehw, rxfill_ring); - } - - /* diff --git a/qca/qca-nss-dp/patches/0005-EDMA-Use-NAPI_POLL_WEIGHT-as-NAPI-weight.patch b/qca/qca-nss-dp/patches/0005-EDMA-Use-NAPI_POLL_WEIGHT-as-NAPI-weight.patch deleted file mode 100644 index 9c22fa790..000000000 --- a/qca/qca-nss-dp/patches/0005-EDMA-Use-NAPI_POLL_WEIGHT-as-NAPI-weight.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 44a30d94abcbb10aacc21db29be212518a6b1bf7 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Thu, 20 May 2021 14:57:46 +0200 -Subject: [PATCH] EDMA: Use NAPI_POLL_WEIGHT as NAPI weight - -Currently a weight of 100 is used by the EDMA, according -to upstream max of 64 should be used and that is used for -almost any driver. - -They also introduced NAPI_POLL_WEIGHT define which equals -to 64. - -So use NAPI_POLL_WEIGHT as the weight. - -Signed-off-by: Robert Marko ---- - hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c | 2 +- - hal/dp_ops/edma_dp/edma_v1/edma_data_plane.h | 1 - - 2 files changed, 1 insertion(+), 2 deletions(-) - ---- a/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -@@ -837,7 +837,7 @@ static int edma_register_netdevice(struc - */ - if (!edma_hw.napi_added) { - netif_napi_add(netdev, &edma_hw.napi, edma_napi, -- EDMA_NAPI_WORK); -+ NAPI_POLL_WEIGHT); - /* - * Register the interrupt handlers and enable interrupts - */ ---- a/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.h -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.h -@@ -26,7 +26,6 @@ - #define EDMA_RX_PREHDR_SIZE (sizeof(struct edma_rx_preheader)) - #define EDMA_TX_PREHDR_SIZE (sizeof(struct edma_tx_preheader)) - #define EDMA_RING_SIZE 128 --#define EDMA_NAPI_WORK 100 - #define EDMA_START_GMACS NSS_DP_HAL_START_IFNUM - #define EDMA_MAX_GMACS NSS_DP_HAL_MAX_PORTS - #define EDMA_TX_PKT_MIN_SIZE 33 /* IPQ807x EDMA needs a minimum packet size of 33 bytes */ diff --git a/qca/qca-nss-dp/patches/0006-NSS-DP-fix-of_get_mac_address.patch b/qca/qca-nss-dp/patches/0006-NSS-DP-fix-of_get_mac_address.patch deleted file mode 100644 index 1d7b49129..000000000 --- a/qca/qca-nss-dp/patches/0006-NSS-DP-fix-of_get_mac_address.patch +++ /dev/null @@ -1,46 +0,0 @@ -From cadeb62a42296563141d6954eec58e34ef86778d Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 13 Aug 2021 20:12:08 +0200 -Subject: [PATCH] NSS-DP: fix of_get_mac_address() - -Recently OpenWrt backported the updated of_get_mac_address() -function which returns and error code instead. - -So, patch the SSDK to use it and fix the compilation error. - -Signed-off-by: Robert Marko ---- - nss_dp_main.c | 13 ++++--------- - 1 file changed, 4 insertions(+), 9 deletions(-) - ---- a/nss_dp_main.c -+++ b/nss_dp_main.c -@@ -555,9 +555,10 @@ static int32_t nss_dp_of_get_pdata(struc - struct net_device *netdev, - struct nss_gmac_hal_platform_data *hal_pdata) - { -- uint8_t *maddr; -+ u8 maddr[ETH_ALEN]; - struct nss_dp_dev *dp_priv; - struct resource memres_devtree = {0}; -+ int ret; - - dp_priv = netdev_priv(netdev); - -@@ -600,14 +601,8 @@ static int32_t nss_dp_of_get_pdata(struc - of_property_read_u32(np, "qcom,forced-speed", &dp_priv->forced_speed); - of_property_read_u32(np, "qcom,forced-duplex", &dp_priv->forced_duplex); - -- maddr = (uint8_t *)of_get_mac_address(np); --#if (LINUX_VERSION_CODE > KERNEL_VERSION(5, 4, 0)) -- if (IS_ERR((void *)maddr)) { -- maddr = NULL; -- } --#endif -- -- if (maddr && is_valid_ether_addr(maddr)) { -+ ret = of_get_mac_address(np, maddr); -+ if (!ret && is_valid_ether_addr(maddr)) { - ether_addr_copy(netdev->dev_addr, maddr); - } else { - random_ether_addr(netdev->dev_addr); diff --git a/qca/qca-nss-dp/patches/0007-NSS-DP-implement-ethernet-IOCTL-s.patch b/qca/qca-nss-dp/patches/0007-NSS-DP-implement-ethernet-IOCTL-s.patch deleted file mode 100644 index 824f18634..000000000 --- a/qca/qca-nss-dp/patches/0007-NSS-DP-implement-ethernet-IOCTL-s.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 5da62ba19f554bf437752a44360fb5ae9f1a7f5e Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Tue, 8 Mar 2022 10:48:32 +0100 -Subject: [PATCH] NSS-DP: implement ethernet IOCTL-s - -Since kernel 5.15 ethernet/PHY related IOCTL-s have been split from the -generic IOCTL netdev op. -So, implement the new op instead of the generic one which is considered -for private IOCTL-s only now for 5.15+. - -Signed-off-by: Robert Marko ---- - nss_dp_main.c | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/nss_dp_main.c -+++ b/nss_dp_main.c -@@ -532,7 +532,11 @@ static const struct net_device_ops nss_d - .ndo_set_mac_address = nss_dp_set_mac_address, - .ndo_validate_addr = eth_validate_addr, - .ndo_change_mtu = nss_dp_change_mtu, -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)) - .ndo_do_ioctl = nss_dp_do_ioctl, -+#else -+ .ndo_eth_ioctl = nss_dp_do_ioctl, -+#endif - - #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)) - .ndo_bridge_setlink = switchdev_port_bridge_setlink, diff --git a/qca/qca-nss-dp/patches/0008-switchdev-remove-the-transaction-structure.patch b/qca/qca-nss-dp/patches/0008-switchdev-remove-the-transaction-structure.patch deleted file mode 100644 index 220be961a..000000000 --- a/qca/qca-nss-dp/patches/0008-switchdev-remove-the-transaction-structure.patch +++ /dev/null @@ -1,48 +0,0 @@ -From c9afdcdd2642485a6476906be9da2e811090fc7a Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 18 Mar 2022 18:06:03 +0100 -Subject: [PATCH] switchdev: remove the transaction structure - -Since 5.12 there is no transaction structure anymore, so drop it for -5.12 and newer. - -Signed-off-by: Robert Marko ---- - nss_dp_switchdev.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - ---- a/nss_dp_switchdev.c -+++ b/nss_dp_switchdev.c -@@ -279,13 +279,19 @@ void nss_dp_switchdev_setup(struct net_d - * Sets attributes - */ - static int nss_dp_port_attr_set(struct net_device *dev, -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)) - const struct switchdev_attr *attr, - struct switchdev_trans *trans) -+#else -+ const struct switchdev_attr *attr) -+#endif - { - struct nss_dp_dev *dp_priv = (struct nss_dp_dev *)netdev_priv(dev); - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)) - if (switchdev_trans_ph_prepare(trans)) - return 0; -+#endif - - switch (attr->id) { - case SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS: -@@ -309,8 +315,12 @@ static int nss_dp_switchdev_port_attr_se - { - int err; - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)) - err = nss_dp_port_attr_set(netdev, port_attr_info->attr, - port_attr_info->trans); -+#else -+ err = nss_dp_port_attr_set(netdev, port_attr_info->attr); -+#endif - - port_attr_info->handled = true; - return notifier_from_errno(err); diff --git a/qca/qca-nss-dp/patches/0009-switchdev-use-new-switchdev-flags.patch b/qca/qca-nss-dp/patches/0009-switchdev-use-new-switchdev-flags.patch deleted file mode 100644 index ecc84c174..000000000 --- a/qca/qca-nss-dp/patches/0009-switchdev-use-new-switchdev-flags.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f95868d54301c0f54e968ec9d978c9caa02ee425 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 18 Mar 2022 18:24:18 +0100 -Subject: [PATCH] switchdev: use new switchdev flags - -Since kernel 5.12 switched utilizes a new way of setting the flags by -using a dedicated structure with flags and mask. - -So fix using kernels 5.12 and later. - -Signed-off-by: Robert Marko ---- - include/nss_dp_dev.h | 7 +++++++ - nss_dp_switchdev.c | 2 +- - 2 files changed, 8 insertions(+), 1 deletion(-) - ---- a/include/nss_dp_dev.h -+++ b/include/nss_dp_dev.h -@@ -24,6 +24,9 @@ - #include - #include - #include -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 12, 0)) -+#include -+#endif - - #include "nss_dp_api_if.h" - #include "nss_dp_hal_if.h" -@@ -126,7 +129,11 @@ struct nss_dp_dev { - /* switchdev related attributes */ - #ifdef CONFIG_NET_SWITCHDEV - u8 stp_state; /* STP state of this physical port */ -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0)) - unsigned long brport_flags; /* bridge port flags */ -+#else -+ struct switchdev_brport_flags brport_flags; /* bridge port flags */ -+#endif - #endif - uint32_t rx_page_mode; /* page mode for Rx processing */ - uint32_t rx_jumbo_mru; /* Jumbo mru value for Rx processing */ ---- a/nss_dp_switchdev.c -+++ b/nss_dp_switchdev.c -@@ -296,7 +296,7 @@ static int nss_dp_port_attr_set(struct n - switch (attr->id) { - case SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS: - dp_priv->brport_flags = attr->u.brport_flags; -- netdev_dbg(dev, "set brport_flags %lu\n", attr->u.brport_flags); -+ netdev_dbg(dev, "set brport_flags %lu\n", attr->u.brport_flags.val); - return 0; - case SWITCHDEV_ATTR_ID_PORT_STP_STATE: - return nss_dp_stp_state_set(dp_priv, attr->u.stp_state); diff --git a/qca/qca-nss-dp/patches/0010-switchdev-fix-FDB-roaming.patch b/qca/qca-nss-dp/patches/0010-switchdev-fix-FDB-roaming.patch deleted file mode 100644 index 19395ac42..000000000 --- a/qca/qca-nss-dp/patches/0010-switchdev-fix-FDB-roaming.patch +++ /dev/null @@ -1,110 +0,0 @@ -From d16102cad769f430144ca8094d928762b445e9b0 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 18 Mar 2022 22:02:01 +0100 -Subject: [PATCH] switchdev: fix FDB roaming - -Try and solve the roaming issue by trying to replicate what NSS bridge -module is doing, but by utilizing switchdev FDB notifiers instead of -adding new notifiers to the bridge code. - -We register a new non-blocking switchdev notifier and simply wait for -notification, and then process the SWITCHDEV_FDB_DEL_TO_DEVICE -notifications. - -Those tell us that a certain FDB entry should be removed, then a VSI ID -is fetched for the physical PPE port and using that VSI ID and the -notification provided MAC adress existing FDB entry gets removed. - -Signed-off-by: Robert Marko ---- - nss_dp_switchdev.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 61 insertions(+) - ---- a/nss_dp_switchdev.c -+++ b/nss_dp_switchdev.c -@@ -24,6 +24,8 @@ - #include "nss_dp_dev.h" - #include "fal/fal_stp.h" - #include "fal/fal_ctrlpkt.h" -+#include "fal/fal_fdb.h" -+#include "ref/ref_vsi.h" - - #define NSS_DP_SWITCH_ID 0 - #define NSS_DP_SW_ETHTYPE_PID 0 /* PPE ethtype profile ID for slow protocols */ -@@ -348,10 +350,64 @@ static int nss_dp_switchdev_event(struct - return NOTIFY_DONE; - } - -+static int nss_dp_switchdev_fdb_del_event(struct net_device *netdev, -+ struct switchdev_notifier_fdb_info *fdb_info) -+{ -+ struct nss_dp_dev *dp_priv = (struct nss_dp_dev *)netdev_priv(netdev); -+ fal_fdb_entry_t entry; -+ a_uint32_t vsi_id; -+ sw_error_t rv; -+ -+ netdev_dbg(netdev, "FDB DEL %pM port %d\n", fdb_info->addr, dp_priv->macid); -+ -+ rv = ppe_port_vsi_get(NSS_DP_SWITCH_ID, dp_priv->macid, &vsi_id); -+ if (rv) { -+ netdev_err(netdev, "cannot get VSI ID for port %d\n", dp_priv->macid); -+ return notifier_from_errno(rv); -+ } -+ -+ memset(&entry, 0, sizeof(entry)); -+ memcpy(&entry.addr, fdb_info->addr, ETH_ALEN); -+ entry.fid = vsi_id; -+ -+ rv = fal_fdb_entry_del_bymac(NSS_DP_SWITCH_ID, &entry); -+ if (rv) { -+ netdev_err(netdev, "FDB entry delete failed with MAC %pM and fid %d\n", -+ &entry.addr, entry.fid); -+ return notifier_from_errno(rv); -+ } -+ -+ return notifier_from_errno(rv); -+} -+ -+static int nss_dp_fdb_switchdev_event(struct notifier_block *nb, -+ unsigned long event, void *ptr) -+{ -+ struct net_device *dev = switchdev_notifier_info_to_dev(ptr); -+ -+ /* -+ * Handle switchdev event only for physical devices -+ */ -+ if (!nss_dp_is_phy_dev(dev)) { -+ return NOTIFY_DONE; -+ } -+ -+ switch (event) { -+ case SWITCHDEV_FDB_DEL_TO_DEVICE: -+ return nss_dp_switchdev_fdb_del_event(dev, ptr); -+ } -+ -+ return NOTIFY_DONE; -+} -+ - static struct notifier_block nss_dp_switchdev_notifier = { - .notifier_call = nss_dp_switchdev_event, - }; - -+static struct notifier_block nss_dp_switchdev_fdb_notifier = { -+ .notifier_call = nss_dp_fdb_switchdev_event, -+}; -+ - static bool switch_init_done; - - /* -@@ -366,6 +422,11 @@ void nss_dp_switchdev_setup(struct net_d - return; - } - -+ err = register_switchdev_notifier(&nss_dp_switchdev_fdb_notifier); -+ if (err) { -+ netdev_dbg(dev, "%px:Failed to register switchdev FDB notifier\n", dev); -+ } -+ - err = register_switchdev_blocking_notifier(&nss_dp_switchdev_notifier); - if (err) { - netdev_dbg(dev, "%px:Failed to register switchdev notifier\n", dev); diff --git a/qca/qca-nss-dp/patches/0011-treewide-fix-confusing-printing-of-registered-netdev.patch b/qca/qca-nss-dp/patches/0011-treewide-fix-confusing-printing-of-registered-netdev.patch deleted file mode 100644 index 63fea1982..000000000 --- a/qca/qca-nss-dp/patches/0011-treewide-fix-confusing-printing-of-registered-netdev.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 7e4ae2d6285095794d73d2f2ce61404f61d4e633 Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Tue, 17 May 2022 15:55:36 +0200 -Subject: [PATCH 11/11] treewide: fix confusing printing of registered netdev - -Net core implementation changed and now printing the netdev name cause -confusing printing if done before register_netdev. Move the old printing -to dbg and add an additional info log right after register_netdev to -give the user some info on correct nss-dp probe. - -Signed-off-by: Ansuel Smith ---- - hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c | 4 ++-- - nss_dp_main.c | 3 +++ - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c b/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -index 0af39c2..1d748db 100644 ---- a/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_data_plane.c -@@ -822,8 +822,8 @@ static int edma_register_netdevice(struct net_device *netdev, uint32_t macid) - return -EINVAL; - } - -- netdev_info(netdev, "nss_dp_edma: Registering netdev %s(qcom-id:%d) with EDMA\n", -- netdev->name, macid); -+ netdev_dbg(netdev, "nss_dp_edma: Registering netdev %s(qcom-id:%d) with EDMA\n", -+ netdev->name, macid); - - /* - * We expect 'macid' to correspond to ports numbers on -diff --git a/nss_dp_main.c b/nss_dp_main.c -index c0ae9d6..441c300 100644 ---- a/nss_dp_main.c -+++ b/nss_dp_main.c -@@ -875,6 +875,9 @@ static int32_t nss_dp_probe(struct platform_device *pdev) - goto phy_setup_fail; - } - -+ netdev_info(netdev, "Registered netdev %s(qcom-id:%d)\n", -+ netdev->name, port_id); -+ - dp_global_ctx.nss_dp[dp_priv->macid - 1] = dp_priv; - dp_global_ctx.slowproto_acl_bm = 0; - --- -2.34.1 - diff --git a/qca/qca-nss-dp/patches/0012-gmac-syn-xgmac-silence-debug-log-on-probe.patch b/qca/qca-nss-dp/patches/0012-gmac-syn-xgmac-silence-debug-log-on-probe.patch deleted file mode 100644 index 2bc576ccb..000000000 --- a/qca/qca-nss-dp/patches/0012-gmac-syn-xgmac-silence-debug-log-on-probe.patch +++ /dev/null @@ -1,28 +0,0 @@ -From fee52ef165e9fab2fca15492677082fd8e9e891f Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Thu, 19 May 2022 23:40:24 +0200 -Subject: [PATCH 12/12] gmac: syn: xgmac: silence debug log on probe - -Silence debug log set as info in xgmac port probe. - -Signed-off-by: Ansuel Smith ---- - hal/gmac_ops/syn/xgmac/syn_if.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hal/gmac_ops/syn/xgmac/syn_if.c b/hal/gmac_ops/syn/xgmac/syn_if.c -index 1152f5c..bc2880d 100644 ---- a/hal/gmac_ops/syn/xgmac/syn_if.c -+++ b/hal/gmac_ops/syn/xgmac/syn_if.c -@@ -445,7 +445,7 @@ static void *syn_init(struct nss_gmac_hal_platform_data *gmacpdata) - - spin_lock_init(&shd->nghd.slock); - -- netdev_info(ndev, "ioremap OK.Size 0x%x Ndev base 0x%lx macbase 0x%px\n", -+ netdev_dbg(ndev, "ioremap OK.Size 0x%x Ndev base 0x%lx macbase 0x%px\n", - gmacpdata->reg_len, - ndev->base_addr, - shd->nghd.mac_base); --- -2.34.1 - diff --git a/qca/qca-nss-dp/patches/0013-nss_dp_main-Use-a-phy-handle-property-to-connect-to-.patch b/qca/qca-nss-dp/patches/0013-nss_dp_main-Use-a-phy-handle-property-to-connect-to-.patch deleted file mode 100644 index ea6993d75..000000000 --- a/qca/qca-nss-dp/patches/0013-nss_dp_main-Use-a-phy-handle-property-to-connect-to-.patch +++ /dev/null @@ -1,189 +0,0 @@ -From 8293a26ca56ee2e9a88e4efb5dcc7f647803cd8c Mon Sep 17 00:00:00 2001 -From: Alexandru Gagniuc -Date: Sun, 5 Jun 2022 21:45:09 -0500 -Subject: [PATCH] nss_dp_main: Use a 'phy-handle' property to connect to the - PHY - -The original method of connecting a PHY to the ethernet controller -requires the "qcom,link-poll", and "qcom,phy-mdio-addr" devicetree -properties. This is redundant. The PHY node already contains the MDIO -address, and attaching a PHY implies "link-poll". - -Allow using a "phy-handle" property. Remove the following properties, -as they are no longer used: - * "qcom,link-poll" - * "qcom,phy-mdio-addr" - * "mdio-bus" - * "qcom,forced-speed" - * "qcom,forced-duplex" - -Signed-off-by: Alexandru Gagniuc ---- - include/nss_dp_dev.h | 5 +-- - nss_dp_main.c | 91 +++++--------------------------------------- - 2 files changed, 10 insertions(+), 86 deletions(-) - -diff --git a/include/nss_dp_dev.h b/include/nss_dp_dev.h -index 19b3e78..63a857a 100644 ---- a/include/nss_dp_dev.h -+++ b/include/nss_dp_dev.h -@@ -100,13 +100,10 @@ struct nss_dp_dev { - unsigned long drv_flags; /* Driver specific feature flags */ - - /* Phy related stuff */ -+ struct device_node *phy_node; - struct phy_device *phydev; /* Phy device */ - struct mii_bus *miibus; /* MII bus */ - phy_interface_t phy_mii_type; /* RGMII/SGMII/QSGMII */ -- uint32_t phy_mdio_addr; /* Mdio address */ -- bool link_poll; /* Link polling enable? */ -- uint32_t forced_speed; /* Forced speed? */ -- uint32_t forced_duplex; /* Forced duplex? */ - uint32_t link_state; /* Current link state */ - uint32_t pause; /* Current flow control settings */ - -diff --git a/nss_dp_main.c b/nss_dp_main.c -index 441c300..a1e8627 100644 ---- a/nss_dp_main.c -+++ b/nss_dp_main.c -@@ -399,7 +399,7 @@ static int nss_dp_open(struct net_device *netdev) - - netif_start_queue(netdev); - -- if (!dp_priv->link_poll) { -+ if (!dp_priv->phydev) { - /* Notify data plane link is up */ - if (dp_priv->data_plane_ops->link_state(dp_priv->dpc, 1)) { - netdev_dbg(netdev, "Data plane set link failed\n"); -@@ -576,6 +576,8 @@ static int32_t nss_dp_of_get_pdata(struct device_node *np, - return -EFAULT; - } - -+ dp_priv->phy_node = of_parse_phandle(np, "phy-handle", 0); -+ - if (of_property_read_u32(np, "qcom,mactype", &hal_pdata->mactype)) { - pr_err("%s: error reading mactype\n", np->name); - return -EFAULT; -@@ -594,16 +596,6 @@ static int32_t nss_dp_of_get_pdata(struct device_node *np, - #else - of_get_phy_mode(np, &dp_priv->phy_mii_type); - #endif -- dp_priv->link_poll = of_property_read_bool(np, "qcom,link-poll"); -- if (of_property_read_u32(np, "qcom,phy-mdio-addr", -- &dp_priv->phy_mdio_addr) && dp_priv->link_poll) { -- pr_err("%s: mdio addr required if link polling is enabled\n", -- np->name); -- return -EFAULT; -- } -- -- of_property_read_u32(np, "qcom,forced-speed", &dp_priv->forced_speed); -- of_property_read_u32(np, "qcom,forced-duplex", &dp_priv->forced_duplex); - - ret = of_get_mac_address(np, maddr); - if (!ret && is_valid_ether_addr(maddr)) { -@@ -636,50 +628,6 @@ static int32_t nss_dp_of_get_pdata(struct device_node *np, - return 0; - } - --/* -- * nss_dp_mdio_attach() -- */ --static struct mii_bus *nss_dp_mdio_attach(struct platform_device *pdev) --{ -- struct device_node *mdio_node; -- struct platform_device *mdio_plat; -- struct ipq40xx_mdio_data *mdio_data; -- -- /* -- * Find mii_bus using "mdio-bus" handle. -- */ -- mdio_node = of_parse_phandle(pdev->dev.of_node, "mdio-bus", 0); -- if (mdio_node) { -- return of_mdio_find_bus(mdio_node); -- } -- -- mdio_node = of_find_compatible_node(NULL, NULL, "qcom,qca-mdio"); -- if (!mdio_node) { -- mdio_node = of_find_compatible_node(NULL, NULL, -- "qcom,ipq40xx-mdio"); -- if (!mdio_node) { -- dev_err(&pdev->dev, "cannot find mdio node by phandle\n"); -- return NULL; -- } -- } -- -- mdio_plat = of_find_device_by_node(mdio_node); -- if (!mdio_plat) { -- dev_err(&pdev->dev, "cannot find platform device from mdio node\n"); -- of_node_put(mdio_node); -- return NULL; -- } -- -- mdio_data = dev_get_drvdata(&mdio_plat->dev); -- if (!mdio_data) { -- dev_err(&pdev->dev, "cannot get mii bus reference from device data\n"); -- of_node_put(mdio_node); -- return NULL; -- } -- -- return mdio_data->mii_bus; --} -- - #ifdef CONFIG_NET_SWITCHDEV - /* - * nss_dp_is_phy_dev() -@@ -738,7 +686,6 @@ static int32_t nss_dp_probe(struct platform_device *pdev) - struct device_node *np = pdev->dev.of_node; - struct nss_gmac_hal_platform_data gmac_hal_pdata; - int32_t ret = 0; -- uint8_t phy_id[MII_BUS_ID_SIZE + 3]; - #if defined(NSS_DP_PPE_SUPPORT) - uint32_t vsi_id; - fal_port_t port_id; -@@ -813,37 +760,17 @@ static int32_t nss_dp_probe(struct platform_device *pdev) - - dp_priv->drv_flags |= NSS_DP_PRIV_FLAG(INIT_DONE); - -- if (dp_priv->link_poll) { -- dp_priv->miibus = nss_dp_mdio_attach(pdev); -- if (!dp_priv->miibus) { -- netdev_dbg(netdev, "failed to find miibus\n"); -- goto phy_setup_fail; -- } -- snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, -- dp_priv->miibus->id, dp_priv->phy_mdio_addr); -- -+ if (dp_priv->phy_node) { - SET_NETDEV_DEV(netdev, &pdev->dev); -- -- dp_priv->phydev = phy_connect(netdev, phy_id, -- &nss_dp_adjust_link, -- dp_priv->phy_mii_type); -+ dp_priv->phydev = of_phy_connect(netdev, dp_priv->phy_node, -+ &nss_dp_adjust_link, 0, -+ dp_priv->phy_mii_type); - if (IS_ERR(dp_priv->phydev)) { -- netdev_dbg(netdev, "failed to connect to phy device\n"); -+ dev_err(&pdev->dev, "Could not attach to PHY\n"); - goto phy_setup_fail; - } - --#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)) -- dp_priv->phydev->advertising |= -- (ADVERTISED_Pause | ADVERTISED_Asym_Pause); -- dp_priv->phydev->supported |= -- (SUPPORTED_Pause | SUPPORTED_Asym_Pause); --#else -- linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, dp_priv->phydev->advertising); -- linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, dp_priv->phydev->advertising); -- -- linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, dp_priv->phydev->supported); -- linkmode_set_bit(ETHTOOL_LINK_MODE_Asym_Pause_BIT, dp_priv->phydev->supported); --#endif -+ phy_attached_info(dp_priv->phydev); - } - - #if defined(NSS_DP_PPE_SUPPORT) --- -2.36.1 - diff --git a/qca/qca-nss-dp/patches/0014-nss-dp-edma-v1-switch-to-napi_gro_receive.patch b/qca/qca-nss-dp/patches/0014-nss-dp-edma-v1-switch-to-napi_gro_receive.patch deleted file mode 100644 index 3a437bd37..000000000 --- a/qca/qca-nss-dp/patches/0014-nss-dp-edma-v1-switch-to-napi_gro_receive.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 57b521e876986844dfe34457f39c62dc8100424d Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Thu, 23 Jun 2022 14:18:50 +0200 -Subject: [PATCH] nss-dp: edma-v1: switch to napi_gro_receive - -Utilize napi_gro_receive instead of plain netif_receive_skb on EDMA v1. -It provides significant performance improvements when testing with iperf3. - -Signed-off-by: Robert Marko ---- - Makefile | 2 +- - hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c | 4 ++++ - 2 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 8e81317..dcfa8ca 100644 ---- a/Makefile -+++ b/Makefile -@@ -25,7 +25,7 @@ qca-nss-dp-objs += hal/dp_ops/edma_dp/edma_v1/edma_cfg.o \ - hal/gmac_ops/qcom/qcom_if.o \ - hal/gmac_ops/syn/xgmac/syn_if.o - NSS_DP_INCLUDE += -I$(obj)/hal/dp_ops/edma_dp/edma_v1/include --ccflags-y += -DNSS_DP_PPE_SUPPORT -+ccflags-y += -DNSS_DP_PPE_SUPPORT -DNSS_DP_ENABLE_NAPI_GRO - endif - - ifeq ($(SoC),$(filter $(SoC),ipq807x)) -diff --git a/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c b/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -index 5780a30..6ee1451 100644 ---- a/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -+++ b/hal/dp_ops/edma_dp/edma_v1/edma_tx_rx.c -@@ -411,7 +411,11 @@ static uint32_t edma_clean_rx(struct edma_hw *ehw, - NSS_PTP_EVENT_SERVICE_CODE)) - nss_phy_tstamp_rx_buf(ndev, skb); - else -+#if defined(NSS_DP_ENABLE_NAPI_GRO) -+ napi_gro_receive(&ehw->napi, skb); -+#else - netif_receive_skb(skb); -+#endif - - next_rx_desc: - /* --- -2.36.1 - diff --git a/qca/qca-nss-drv/Makefile b/qca/qca-nss-drv/Makefile deleted file mode 100644 index 92616caaa..000000000 --- a/qca/qca-nss-drv/Makefile +++ /dev/null @@ -1,129 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-nss-drv -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-drv.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2022-03-07 -PKG_SOURCE_VERSION:=397c88cf184e0eb011dd44ad82c2dfae60ece1b4 -PKG_MIRROR_HASH:=a3bea305d85fcec3d77f9b40d06a71b65ccf3d8b98018d9c8c23d6ad95e6aedc - -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -NSS_CLIENTS_DIR:=$(TOPDIR)/qca/src/qca-nss-clients - -define KernelPackage/qca-nss-drv - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - DEPENDS:=@(TARGET_ipq807x||TARGET_ipq60xx) +kmod-qca-nss-dp - TITLE:=Kernel driver for NSS (core driver) - FILES:=$(PKG_BUILD_DIR)/qca-nss-drv.ko - AUTOLOAD:=$(call AutoLoad,32,qca-nss-drv) -endef - -define KernelPackage/qca-nss-drv/install - $(INSTALL_DIR) $(1)/lib/debug - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_DIR) $(1)/etc/sysctl.d - $(INSTALL_DIR) $(1)/etc/hotplug.d/firmware - $(INSTALL_DIR) $(1)/etc/config - - $(INSTALL_BIN) ./files/qca-nss-drv.debug $(1)/lib/debug/qca-nss-drv - $(INSTALL_BIN) ./files/qca-nss-drv.init $(1)/etc/init.d/qca-nss-drv - $(INSTALL_BIN) ./files/qca-nss-drv.sysctl $(1)/etc/sysctl.d/qca-nss-drv.conf - $(INSTALL_BIN) ./files/qca-nss-drv.hotplug $(1)/etc/hotplug.d/firmware/10-qca-nss-fw - $(INSTALL_BIN) ./files/qca-nss-drv.conf $(1)/etc/config/nss - -endef - -define KernelPackage/qca-nss-drv/Description -This package contains a NSS driver for QCA chipset -endef - -define Build/InstallDev - mkdir -p $(1)/usr/include/qca-nss-drv - $(CP) $(PKG_BUILD_DIR)/exports/* $(1)/usr/include/qca-nss-drv/ -endef - -EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/include/qca-nss-gmac \ - -I$(STAGING_DIR)/usr/include/qca-nss-dp \ - -I$(STAGING_DIR)/usr/include/qca-ssdk \ - -Wno-unused-variable - -ifneq (, $(findstring $(CONFIG_TARGET_BOARD), "ipq807x" "ipq60xx")) -EXTRA_CFLAGS+= -DNSS_MEM_PROFILE_MEDIUM -LOW_MEM_PROFILE_MAKE_OPTS=y -endif - -ifeq ($(CONFIG_KERNEL_SKB_FIXED_SIZE_2K),y) -EXTRA_CFLAGS+= -DNSS_SKB_FIXED_SIZE_2K -endif - -DRV_MAKE_OPTS:= -ifeq ($(LOW_MEM_PROFILE_MAKE_OPTS),y) -DRV_MAKE_OPTS+= \ - NSS_DRV_C2C_ENABLE=n \ - NSS_DRV_CAPWAP_ENABLE=n \ - NSS_DRV_CLMAP_ENABLE=n \ - NSS_DRV_CRYPTO_ENABLE=y \ - NSS_DRV_DTLS_ENABLE=n \ - NSS_DRV_GRE_ENABLE=n \ - NSS_DRV_GRE_REDIR_ENABLE=n \ - NSS_DRV_GRE_TUNNEL_ENABLE=n \ - NSS_DRV_IGS_ENABLE=n \ - NSS_DRV_IPSEC_ENABLE=n \ - NSS_DRV_LAG_ENABLE=n \ - NSS_DRV_L2TP_ENABLE=n \ - NSS_DRV_MAPT_ENABLE=n \ - NSS_DRV_OAM_ENABLE=n \ - NSS_DRV_PPTP_ENABLE=n \ - NSS_DRV_PORTID_ENABLE=n \ - NSS_DRV_PVXLAN_ENABLE=n \ - NSS_DRV_QRFS_ENABLE=n \ - NSS_DRV_QVPN_ENABLE=n \ - NSS_DRV_RMNET_ENABLE=n \ - NSS_DRV_SHAPER_ENABLE=n \ - NSS_DRV_SJACK_ENABLE=n \ - NSS_DRV_TLS_ENABLE=n \ - NSS_DRV_TRUSTSEC_ENABLE=n \ - NSS_DRV_TSTAMP_ENABLE=n \ - NSS_DRV_TUN6RD_ENABLE=n \ - NSS_DRV_TUNIPIP6_ENABLE=n \ - NSS_DRV_VXLAN_ENABLE=n \ - NSS_DRV_MATCH_ENABLE=n \ - NSS_DRV_MIRROR_ENABLE=n \ - NSS_DRV_PPPOE_ENABLE=n \ - NSS_DRV_VIRT_IF_ENABLE=n \ - NSS_DRV_VLAN_ENABLE=n \ - NSS_DRV_BRIDGE_ENABLE=n \ - NSS_DRV_WIFI_EXT_VDEV_ENABLE=n \ - NSS_DRV_WIFI_MESH_ENABLE=n -endif - -ifeq ($(CONFIG_TARGET_BOARD), "ipq807x") - SOC="ipq807x_64" -else ifeq ($(CONFIG_TARGET_BOARD), "ipq60xx") - SOC="ipq60xx_64" -endif - -define Build/Configure - $(LN) arch/nss_$(SOC).h $(PKG_BUILD_DIR)/exports/nss_arch.h -endef - -define Build/Compile - +$(MAKE) -C "$(LINUX_DIR)" $(strip $(DRV_MAKE_OPTS)) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ - M="$(PKG_BUILD_DIR)" \ - EXTRA_CFLAGS="$(EXTRA_CFLAGS)" SoC=$(SOC) \ - $(KERNEL_MAKE_FLAGS) \ - $(PKG_JOBS) \ - modules -endef - -$(eval $(call KernelPackage,qca-nss-drv)) diff --git a/qca/qca-nss-drv/files/qca-nss-drv.conf b/qca/qca-nss-drv/files/qca-nss-drv.conf deleted file mode 100644 index a8a1fbf40..000000000 --- a/qca/qca-nss-drv/files/qca-nss-drv.conf +++ /dev/null @@ -1,6 +0,0 @@ -config nss_firmware 'qca_nss_0' - -config nss_firmware 'qca_nss_1' - -config general - option enable_rps '1' diff --git a/qca/qca-nss-drv/files/qca-nss-drv.debug b/qca/qca-nss-drv/files/qca-nss-drv.debug deleted file mode 100644 index 5d435c3a7..000000000 --- a/qca/qca-nss-drv/files/qca-nss-drv.debug +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh /sbin/sysdebug -# -# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -log cat /sys/kernel/debug/qca-nss-drv/stats/pppoe -log cat /sys/kernel/debug/qca-nss-drv/stats/n2h -log cat /sys/kernel/debug/qca-nss-drv/stats/ipv6 -log cat /sys/kernel/debug/qca-nss-drv/stats/ipv4 -log cat /sys/kernel/debug/qca-nss-drv/stats/gmac -log cat /sys/kernel/debug/qca-nss-drv/stats/drv -log cat /sys/kernel/debug/qca-nss-drv/stats/wifi -log cat /sys/kernel/debug/qca-nss-drv/stats/wifi_if -log cat /sys/kernel/debug/qca-nss-drv/stats/eth_rx diff --git a/qca/qca-nss-drv/files/qca-nss-drv.hotplug b/qca/qca-nss-drv/files/qca-nss-drv.hotplug deleted file mode 100644 index 1e4813838..000000000 --- a/qca/qca-nss-drv/files/qca-nss-drv.hotplug +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -KERNEL=`uname -r` -case "${KERNEL}" in - 3.4*) - select_or_load=load_nss_fw - ;; - *) - select_or_load=select_nss_fw - ;; -esac - -load_nss_fw () { - ls -l $1 | awk ' { print $9,$5 } '> /dev/console - echo 1 > /sys/class/firmware/$DEVICENAME/loading - cat $1 > /sys/class/firmware/$DEVICENAME/data - echo 0 > /sys/class/firmware/$DEVICENAME/loading -} - -select_nss_fw () { - rm -f /lib/firmware/$DEVICENAME - ln -s $1 /lib/firmware/$DEVICENAME - ls -l /lib/firmware/$DEVICENAME | awk ' { print $9,$5 } '> /dev/console -} - -[ "$ACTION" != "add" ] && exit - -# dev name for UCI, since it doesn't let you use . or - -SDEVNAME=$(echo ${DEVICENAME} | sed s/[.-]/_/g) - -SELECTED_FW=$(uci get nss.${SDEVNAME}.firmware 2>/dev/null) -[ -e "${SELECTED_FW}" ] && { - $select_or_load ${SELECTED_FW} - exit -} - -case $DEVICENAME in - qca-nss0* | qca-nss.0*) - if [ -e /lib/firmware/qca-nss0-enterprise.bin ] ; then - $select_or_load /lib/firmware/qca-nss0-enterprise.bin - else - $select_or_load /lib/firmware/qca-nss0-retail.bin - fi - exit - ;; - qca-nss1* | qca-nss.1*) - if [ -e /lib/firmware/qca-nss1-enterprise.bin ] ; then - $select_or_load /lib/firmware/qca-nss1-enterprise.bin - else - $select_or_load /lib/firmware/qca-nss1-retail.bin - fi - exit - ;; -esac - diff --git a/qca/qca-nss-drv/files/qca-nss-drv.init b/qca/qca-nss-drv/files/qca-nss-drv.init deleted file mode 100644 index de12cb6d1..000000000 --- a/qca/qca-nss-drv/files/qca-nss-drv.init +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh /etc/rc.common -# -# Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -START=70 - -enable_rps() { - irq_nss_rps=`grep nss_queue1 /proc/interrupts | cut -d ':' -f 1 | tr -d ' '` - for entry in $irq_nss_rps - do - echo 2 > /proc/irq/$entry/smp_affinity - done - - irq_nss_rps=`grep nss_queue2 /proc/interrupts | cut -d ':' -f 1 | tr -d ' '` - for entry in $irq_nss_rps - do - echo 4 > /proc/irq/$entry/smp_affinity - done - - irq_nss_rps=`grep nss_queue3 /proc/interrupts | cut -d ':' -f 1 | tr -d ' '` - for entry in $irq_nss_rps - do - echo 8 > /proc/irq/$entry/smp_affinity - done - - # Enable NSS RPS - sysctl -w dev.nss.rps.enable=1 >/dev/null 2>/dev/null - -} - - -start() { - local rps_enabled="$(uci_get nss @general[0] enable_rps)" - if [ "$rps_enabled" -eq 1 ]; then - enable_rps - fi -} diff --git a/qca/qca-nss-drv/files/qca-nss-drv.sysctl b/qca/qca-nss-drv/files/qca-nss-drv.sysctl deleted file mode 100644 index fc36c33eb..000000000 --- a/qca/qca-nss-drv/files/qca-nss-drv.sysctl +++ /dev/null @@ -1,4 +0,0 @@ -# Default Number of connection configuration -dev.nss.ipv4cfg.ipv4_conn=4096 -dev.nss.ipv6cfg.ipv6_conn=4096 - diff --git a/qca/qca-nss-drv/patches/0001-core-add-5.10-kernel-to-version-check.patch b/qca/qca-nss-drv/patches/0001-core-add-5.10-kernel-to-version-check.patch deleted file mode 100644 index 3fea9b5ce..000000000 --- a/qca/qca-nss-drv/patches/0001-core-add-5.10-kernel-to-version-check.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 3885c752e12f74cad6c97888b797e5903ad1930d Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Thu, 13 May 2021 23:22:38 +0200 -Subject: [PATCH] core: add 5.10 kernel to version check - -NSS DRV has a kernel version check, so simply add -5.10 as supported. - -Signed-off-by: Robert Marko ---- - nss_core.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/nss_core.c -+++ b/nss_core.c -@@ -52,7 +52,8 @@ - (((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)))) || \ - (((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)))) || \ - (((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)))) || \ --(((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)))))) -+(((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)))) || \ -+(((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)))))) - #error "Check skb recycle code in this file to match Linux version" - #endif - diff --git a/qca/qca-nss-drv/patches/0002-nss-drv-replace-ioremap_nocache-with-ioremap.patch b/qca/qca-nss-drv/patches/0002-nss-drv-replace-ioremap_nocache-with-ioremap.patch deleted file mode 100644 index 89d650be1..000000000 --- a/qca/qca-nss-drv/patches/0002-nss-drv-replace-ioremap_nocache-with-ioremap.patch +++ /dev/null @@ -1,181 +0,0 @@ -From 0cffa7bb366a4e0ff5665d6fc2fa33c1437cb397 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Thu, 13 May 2021 23:33:18 +0200 -Subject: [PATCH 2/8] nss-drv: replace ioremap_nocache() with ioremap() - -ioremap_nocache() does not exist anymore. - -Signed-off-by: Robert Marko ---- - nss_hal/ipq50xx/nss_hal_pvt.c | 6 +++--- - nss_hal/ipq60xx/nss_hal_pvt.c | 8 ++++---- - nss_hal/ipq806x/nss_hal_pvt.c | 4 ++-- - nss_hal/ipq807x/nss_hal_pvt.c | 6 +++--- - nss_hal/nss_hal.c | 4 ++-- - nss_meminfo.c | 2 +- - nss_ppe.c | 2 +- - 7 files changed, 16 insertions(+), 16 deletions(-) - -diff --git a/nss_hal/ipq50xx/nss_hal_pvt.c b/nss_hal/ipq50xx/nss_hal_pvt.c -index 3d6dfd0..e3e4bd2 100644 ---- a/nss_hal/ipq50xx/nss_hal_pvt.c -+++ b/nss_hal/ipq50xx/nss_hal_pvt.c -@@ -184,13 +184,13 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - npd->nphys = res_nphys.start; - npd->qgic_phys = res_qgic_phys.start; - -- npd->nmap = ioremap_nocache(npd->nphys, resource_size(&res_nphys)); -+ npd->nmap = ioremap(npd->nphys, resource_size(&res_nphys)); - if (!npd->nmap) { - nss_info_always("%px: nss%d: ioremap() fail for nphys\n", nss_ctx, nss_ctx->id); - goto out; - } - -- npd->qgic_map = ioremap_nocache(npd->qgic_phys, resource_size(&res_qgic_phys)); -+ npd->qgic_map = ioremap(npd->qgic_phys, resource_size(&res_qgic_phys)); - if (!npd->qgic_map) { - nss_info_always("%px: nss%d: ioremap() fail for qgic map\n", nss_ctx, nss_ctx->id); - goto out; -@@ -348,7 +348,7 @@ static int __nss_hal_common_reset(struct platform_device *nss_dev) - - of_node_put(cmn); - -- nss_misc_reset = ioremap_nocache(res_nss_misc_reset.start, resource_size(&res_nss_misc_reset)); -+ nss_misc_reset = ioremap(res_nss_misc_reset.start, resource_size(&res_nss_misc_reset)); - if (!nss_misc_reset) { - pr_err("%px: ioremap fail for nss_misc_reset\n", nss_dev); - return -EFAULT; -diff --git a/nss_hal/ipq60xx/nss_hal_pvt.c b/nss_hal/ipq60xx/nss_hal_pvt.c -index 4c84cb9..e76ef6d 100644 ---- a/nss_hal/ipq60xx/nss_hal_pvt.c -+++ b/nss_hal/ipq60xx/nss_hal_pvt.c -@@ -207,13 +207,13 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - npd->nphys = res_nphys.start; - npd->qgic_phys = res_qgic_phys.start; - -- npd->nmap = ioremap_nocache(npd->nphys, resource_size(&res_nphys)); -+ npd->nmap = ioremap(npd->nphys, resource_size(&res_nphys)); - if (!npd->nmap) { - nss_info_always("%px: nss%d: ioremap() fail for nphys\n", nss_ctx, nss_ctx->id); - goto out; - } - -- npd->qgic_map = ioremap_nocache(npd->qgic_phys, resource_size(&res_qgic_phys)); -+ npd->qgic_map = ioremap(npd->qgic_phys, resource_size(&res_qgic_phys)); - if (!npd->qgic_map) { - nss_info_always("%px: nss%d: ioremap() fail for qgic map\n", nss_ctx, nss_ctx->id); - goto out; -@@ -433,13 +433,13 @@ static int __nss_hal_common_reset(struct platform_device *nss_dev) - - of_node_put(cmn); - -- nss_misc_reset = ioremap_nocache(res_nss_misc_reset.start, resource_size(&res_nss_misc_reset)); -+ nss_misc_reset = ioremap(res_nss_misc_reset.start, resource_size(&res_nss_misc_reset)); - if (!nss_misc_reset) { - pr_err("%px: ioremap fail for nss_misc_reset\n", nss_dev); - return -EFAULT; - } - -- nss_misc_reset_flag = ioremap_nocache(res_nss_misc_reset_flag.start, resource_size(&res_nss_misc_reset_flag)); -+ nss_misc_reset_flag = ioremap(res_nss_misc_reset_flag.start, resource_size(&res_nss_misc_reset_flag)); - if (!nss_misc_reset_flag) { - pr_err("%px: ioremap fail for nss_misc_reset_flag\n", nss_dev); - return -EFAULT; -diff --git a/nss_hal/ipq806x/nss_hal_pvt.c b/nss_hal/ipq806x/nss_hal_pvt.c -index b8733e0..52d63b0 100644 ---- a/nss_hal/ipq806x/nss_hal_pvt.c -+++ b/nss_hal/ipq806x/nss_hal_pvt.c -@@ -458,7 +458,7 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - npd->nphys = res_nphys.start; - npd->vphys = res_vphys.start; - -- npd->nmap = ioremap_nocache(npd->nphys, resource_size(&res_nphys)); -+ npd->nmap = ioremap(npd->nphys, resource_size(&res_nphys)); - if (!npd->nmap) { - nss_info_always("%px: nss%d: ioremap() fail for nphys\n", nss_ctx, nss_ctx->id); - goto out; -@@ -711,7 +711,7 @@ static int __nss_hal_common_reset(struct platform_device *nss_dev) - } - of_node_put(cmn); - -- fpb_base = ioremap_nocache(res_nss_fpb_base.start, resource_size(&res_nss_fpb_base)); -+ fpb_base = ioremap(res_nss_fpb_base.start, resource_size(&res_nss_fpb_base)); - if (!fpb_base) { - pr_err("%px: ioremap fail for nss_fpb_base\n", nss_dev); - return -EFAULT; -diff --git a/nss_hal/ipq807x/nss_hal_pvt.c b/nss_hal/ipq807x/nss_hal_pvt.c -index b95a23c..bb8f42f 100644 ---- a/nss_hal/ipq807x/nss_hal_pvt.c -+++ b/nss_hal/ipq807x/nss_hal_pvt.c -@@ -234,7 +234,7 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - npd->vphys = res_vphys.start; - npd->qgic_phys = res_qgic_phys.start; - -- npd->nmap = ioremap_nocache(npd->nphys, resource_size(&res_nphys)); -+ npd->nmap = ioremap(npd->nphys, resource_size(&res_nphys)); - if (!npd->nmap) { - nss_info_always("%px: nss%d: ioremap() fail for nphys\n", nss_ctx, nss_ctx->id); - goto out; -@@ -247,7 +247,7 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - goto out; - } - -- npd->qgic_map = ioremap_nocache(npd->qgic_phys, resource_size(&res_qgic_phys)); -+ npd->qgic_map = ioremap(npd->qgic_phys, resource_size(&res_qgic_phys)); - if (!npd->qgic_map) { - nss_info_always("%px: nss%d: ioremap() fail for qgic map\n", nss_ctx, nss_ctx->id); - goto out; -@@ -467,7 +467,7 @@ static int __nss_hal_common_reset(struct platform_device *nss_dev) - } - of_node_put(cmn); - -- nss_misc_reset = ioremap_nocache(res_nss_misc_reset.start, resource_size(&res_nss_misc_reset)); -+ nss_misc_reset = ioremap(res_nss_misc_reset.start, resource_size(&res_nss_misc_reset)); - if (!nss_misc_reset) { - pr_err("%px: ioremap fail for nss_misc_reset\n", nss_dev); - return -EFAULT; -diff --git a/nss_hal/nss_hal.c b/nss_hal/nss_hal.c -index d58bb57..57974c1 100644 ---- a/nss_hal/nss_hal.c -+++ b/nss_hal/nss_hal.c -@@ -78,9 +78,9 @@ int nss_hal_firmware_load(struct nss_ctx_instance *nss_ctx, struct platform_devi - return rc; - } - -- load_mem = ioremap_nocache(npd->load_addr, nss_fw->size); -+ load_mem = ioremap(npd->load_addr, nss_fw->size); - if (!load_mem) { -- nss_info_always("%px: ioremap_nocache failed: %x", nss_ctx, npd->load_addr); -+ nss_info_always("%px: ioremap failed: %x", nss_ctx, npd->load_addr); - release_firmware(nss_fw); - return rc; - } -diff --git a/nss_meminfo.c b/nss_meminfo.c -index e24e6be..2255eae 100644 ---- a/nss_meminfo.c -+++ b/nss_meminfo.c -@@ -728,7 +728,7 @@ bool nss_meminfo_init(struct nss_ctx_instance *nss_ctx) - /* - * meminfo_start is the label where the start address of meminfo map is stored. - */ -- meminfo_start = (uint32_t *)ioremap_nocache(nss_ctx->load + NSS_MEMINFO_MAP_START_OFFSET, -+ meminfo_start = (uint32_t *)ioremap(nss_ctx->load + NSS_MEMINFO_MAP_START_OFFSET, - NSS_MEMINFO_RESERVE_AREA_SIZE); - if (!meminfo_start) { - nss_info_always("%px: cannot remap meminfo start\n", nss_ctx); -diff --git a/nss_ppe.c b/nss_ppe.c -index 46ce217..644fc98 100644 ---- a/nss_ppe.c -+++ b/nss_ppe.c -@@ -357,7 +357,7 @@ void nss_ppe_init(void) - /* - * Get the PPE base address - */ -- ppe_pvt.ppe_base = ioremap_nocache(PPE_BASE_ADDR, PPE_REG_SIZE); -+ ppe_pvt.ppe_base = ioremap(PPE_BASE_ADDR, PPE_REG_SIZE); - if (!ppe_pvt.ppe_base) { - nss_warning("DRV can't get PPE base address\n"); - return; --- -2.34.1 - diff --git a/qca/qca-nss-drv/patches/0003-DMA-Fix-NULL-pointer-exceptions.patch b/qca/qca-nss-drv/patches/0003-DMA-Fix-NULL-pointer-exceptions.patch deleted file mode 100644 index 0c13a7887..000000000 --- a/qca/qca-nss-drv/patches/0003-DMA-Fix-NULL-pointer-exceptions.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 62e457f262aaa0db7113ad3ccbcb7ae49d4d7ea8 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Tue, 8 Jun 2021 23:24:43 +0200 -Subject: [PATCH] DMA: Fix NULL pointer exceptions - -There are multiple instances that pass NULL instead -of device to DMA functions. -That is incorrect and will cause kernel NULL pointer -exceptions. - -So, simply pass the device structure pointers. - -Signed-off-by: Robert Marko ---- - nss_core.c | 2 +- - nss_coredump.c | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - ---- a/nss_core.c -+++ b/nss_core.c -@@ -1617,7 +1617,7 @@ static int32_t nss_core_handle_cause_que - * - */ - if (unlikely((buffer_type == N2H_BUFFER_CRYPTO_RESP))) { -- dma_unmap_single(NULL, (desc->buffer + desc->payload_offs), desc->payload_len, DMA_FROM_DEVICE); -+ dma_unmap_single(nss_ctx->dev, (desc->buffer + desc->payload_offs), desc->payload_len, DMA_FROM_DEVICE); - goto consume; - } - ---- a/nss_coredump.c -+++ b/nss_coredump.c -@@ -154,7 +154,7 @@ void nss_fw_coredump_notify(struct nss_c - dma_addr = nss_own->meminfo_ctx.logbuffer_dma; - } - -- dma_sync_single_for_cpu(NULL, dma_addr, sizeof(struct nss_log_descriptor), DMA_FROM_DEVICE); -+ dma_sync_single_for_cpu(nss_own->dev, dma_addr, sizeof(struct nss_log_descriptor), DMA_FROM_DEVICE); - - /* - * If the current entry is smaller than or equal to the number of NSS_LOG_COREDUMP_LINE_NUM, -@@ -181,7 +181,7 @@ void nss_fw_coredump_notify(struct nss_c - - offset = (index * sizeof(struct nss_log_entry)) - + offsetof(struct nss_log_descriptor, log_ring_buffer); -- dma_sync_single_for_cpu(NULL, dma_addr + offset, -+ dma_sync_single_for_cpu(nss_own->dev, dma_addr + offset, - sizeof(struct nss_log_entry), DMA_FROM_DEVICE); - nss_info_always("%px: %s\n", nss_own, nle_print->message); - nle_print++; diff --git a/qca/qca-nss-drv/patches/0004-nss-drv-rework-NSS_CORE_DMA_CACHE_MAINT-ops.patch b/qca/qca-nss-drv/patches/0004-nss-drv-rework-NSS_CORE_DMA_CACHE_MAINT-ops.patch deleted file mode 100644 index 6ef442aad..000000000 --- a/qca/qca-nss-drv/patches/0004-nss-drv-rework-NSS_CORE_DMA_CACHE_MAINT-ops.patch +++ /dev/null @@ -1,573 +0,0 @@ -From 12cf63f66bfe509da6d845e5c716efd99dadf01e Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Tue, 5 Apr 2022 15:38:18 +0200 -Subject: [PATCH 4/8] nss-drv: rework NSS_CORE_DMA_CACHE_MAINT ops - -Rework NSS_CORE_DMA_CACHE_MAINT ops to use standard dma sync ops instead -of using the direct arch function. This permit to skip any hack/patch -needed for nss-drv to correctly compile on upstream kernel. - -We drop any NSS_CORE_DMA_CACHE_MAINT use in nss_core and we correctly -use the dma_sync_single_for_device we correctly dma addr using the new -DMA helper. -We drop sync for IOREMAP addr and we just leave a memory block. -We hope the nss_profiler is correctly ported. -We finally drop the NSS_CORE_DMA_CACHE_MAINT jus in case someone wants -to use it. - -Signed-off-by: Ansuel Smith ---- - nss_core.c | 136 +++++++++++++++++++++++++--------- - nss_core.h | 41 +++++----- - nss_hal/ipq806x/nss_hal_pvt.c | 5 +- - nss_hal/ipq807x/nss_hal_pvt.c | 5 +- - nss_meminfo.c | 5 +- - nss_profiler.c | 3 +- - 6 files changed, 127 insertions(+), 68 deletions(-) - -diff --git a/nss_core.c b/nss_core.c -index 23dc155..f9e6014 100644 ---- a/nss_core.c -+++ b/nss_core.c -@@ -1429,6 +1429,8 @@ static inline void nss_core_handle_empty_buffers(struct nss_ctx_instance *nss_ct - uint32_t count, uint32_t hlos_index, - uint16_t mask) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; -+ - while (count) { - /* - * Since we only return the primary skb, we have no way to unmap -@@ -1482,7 +1484,9 @@ next: - n2h_desc_ring->hlos_index = hlos_index; - if_map->n2h_hlos_index[NSS_IF_N2H_EMPTY_BUFFER_RETURN_QUEUE] = hlos_index; - -- NSS_CORE_DMA_CACHE_MAINT((void *)&if_map->n2h_hlos_index[NSS_IF_N2H_EMPTY_BUFFER_RETURN_QUEUE], sizeof(uint32_t), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, -+ n2h_hlos_index_to_dma(mem_ctx->if_map_dma, NSS_IF_N2H_EMPTY_BUFFER_RETURN_QUEUE), -+ sizeof(uint32_t), DMA_TO_DEVICE); - NSS_CORE_DSB(); - } - -@@ -1504,6 +1508,7 @@ static int32_t nss_core_handle_cause_queue(struct int_ctx_instance *int_ctx, uin - struct nss_ctx_instance *nss_ctx = int_ctx->nss_ctx; - struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - struct nss_if_mem_map *if_map = mem_ctx->if_map; -+ int dma_size; - - qid = nss_core_cause_to_queue(cause); - -@@ -1515,7 +1520,8 @@ static int32_t nss_core_handle_cause_queue(struct int_ctx_instance *int_ctx, uin - n2h_desc_ring = &nss_ctx->n2h_desc_ring[qid]; - desc_if = &n2h_desc_ring->desc_ring; - desc_ring = desc_if->desc; -- NSS_CORE_DMA_CACHE_MAINT((void *)&if_map->n2h_nss_index[qid], sizeof(uint32_t), DMA_FROM_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, n2h_nss_index_to_dma(mem_ctx->if_map_dma, qid), -+ sizeof(uint32_t), DMA_FROM_DEVICE); - NSS_CORE_DSB(); - nss_index = if_map->n2h_nss_index[qid]; - -@@ -1544,13 +1550,23 @@ static int32_t nss_core_handle_cause_queue(struct int_ctx_instance *int_ctx, uin - start = hlos_index; - end = (hlos_index + count) & mask; - if (end > start) { -- dmac_inv_range((void *)&desc_ring[start], (void *)&desc_ring[end] + sizeof(struct n2h_descriptor)); -+ dma_size = sizeof(struct n2h_descriptor) * (end - start + 1); -+ -+ dma_sync_single_for_device(nss_ctx->dev, n2h_desc_index_to_dma(if_map, qid, start), -+ dma_size, DMA_FROM_DEVICE); - } else { - /* - * We have wrapped around - */ -- dmac_inv_range((void *)&desc_ring[start], (void *)&desc_ring[mask] + sizeof(struct n2h_descriptor)); -- dmac_inv_range((void *)&desc_ring[0], (void *)&desc_ring[end] + sizeof(struct n2h_descriptor)); -+ dma_size = sizeof(struct n2h_descriptor) * (mask - start + 1); -+ -+ dma_sync_single_for_device(nss_ctx->dev, n2h_desc_index_to_dma(if_map, qid, start), -+ dma_size, DMA_FROM_DEVICE); -+ -+ dma_size = sizeof(struct n2h_descriptor) * (end + 1); -+ -+ dma_sync_single_for_device(nss_ctx->dev, n2h_desc_index_to_dma(if_map, qid, 0), dma_size, -+ DMA_FROM_DEVICE); - } - - /* -@@ -1679,7 +1695,8 @@ next: - n2h_desc_ring->hlos_index = hlos_index; - if_map->n2h_hlos_index[qid] = hlos_index; - -- NSS_CORE_DMA_CACHE_MAINT((void *)&if_map->n2h_hlos_index[qid], sizeof(uint32_t), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, n2h_hlos_index_to_dma(mem_ctx->if_map_dma, qid), -+ sizeof(uint32_t), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - return count; -@@ -1691,11 +1708,12 @@ next: - */ - static void nss_core_init_nss(struct nss_ctx_instance *nss_ctx, struct nss_if_mem_map *if_map) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - struct nss_top_instance *nss_top; - int ret; - int i; - -- NSS_CORE_DMA_CACHE_MAINT((void *)if_map, sizeof(*if_map), DMA_FROM_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, mem_ctx->if_map_dma, sizeof(*if_map), DMA_FROM_DEVICE); - NSS_CORE_DSB(); - - /* -@@ -1762,6 +1780,7 @@ static void nss_core_alloc_paged_buffers(struct nss_ctx_instance *nss_ctx, struc - uint16_t count, int16_t mask, int32_t hlos_index, uint32_t alloc_fail_count, - uint32_t buffer_type, uint32_t buffer_queue, uint32_t stats_index) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - struct sk_buff *nbuf; - struct page *npage; - struct hlos_h2n_desc_rings *h2n_desc_ring = &nss_ctx->h2n_desc_rings[buffer_queue]; -@@ -1831,7 +1850,9 @@ static void nss_core_alloc_paged_buffers(struct nss_ctx_instance *nss_ctx, struc - /* - * Flush the descriptor - */ -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, -+ h2n_desc_index_to_dma(if_map, buffer_queue, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - hlos_index = (hlos_index + 1) & (mask); - count--; -@@ -1845,7 +1866,8 @@ static void nss_core_alloc_paged_buffers(struct nss_ctx_instance *nss_ctx, struc - h2n_desc_ring->hlos_index = hlos_index; - if_map->h2n_hlos_index[buffer_queue] = hlos_index; - -- NSS_CORE_DMA_CACHE_MAINT(&if_map->h2n_hlos_index[buffer_queue], sizeof(uint32_t), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_hlos_index_to_dma(mem_ctx->if_map_dma, buffer_queue), -+ sizeof(uint32_t), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - NSS_PKT_STATS_INC(&nss_top->stats_drv[stats_index]); -@@ -1858,7 +1880,7 @@ static void nss_core_alloc_paged_buffers(struct nss_ctx_instance *nss_ctx, struc - static void nss_core_alloc_jumbo_mru_buffers(struct nss_ctx_instance *nss_ctx, struct nss_if_mem_map *if_map, - int jumbo_mru, uint16_t count, int16_t mask, int32_t hlos_index) - { -- -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - struct sk_buff *nbuf; - struct hlos_h2n_desc_rings *h2n_desc_ring = &nss_ctx->h2n_desc_rings[NSS_IF_H2N_EMPTY_BUFFER_QUEUE]; - struct h2n_desc_if_instance *desc_if = &h2n_desc_ring->desc_ring; -@@ -1905,7 +1927,9 @@ static void nss_core_alloc_jumbo_mru_buffers(struct nss_ctx_instance *nss_ctx, s - /* - * Flush the descriptor - */ -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, -+ h2n_desc_index_to_dma(if_map, NSS_IF_H2N_EMPTY_BUFFER_QUEUE, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - hlos_index = (hlos_index + 1) & (mask); - count--; -@@ -1919,7 +1943,8 @@ static void nss_core_alloc_jumbo_mru_buffers(struct nss_ctx_instance *nss_ctx, s - h2n_desc_ring->hlos_index = hlos_index; - if_map->h2n_hlos_index[NSS_IF_H2N_EMPTY_BUFFER_QUEUE] = hlos_index; - -- NSS_CORE_DMA_CACHE_MAINT(&if_map->h2n_hlos_index[NSS_IF_H2N_EMPTY_BUFFER_QUEUE], sizeof(uint32_t), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_hlos_index_to_dma(mem_ctx->if_map_dma, NSS_IF_H2N_EMPTY_BUFFER_QUEUE), -+ sizeof(uint32_t), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - NSS_PKT_STATS_INC(&nss_top->stats_drv[NSS_DRV_STATS_TX_EMPTY]); -@@ -1932,6 +1957,7 @@ static void nss_core_alloc_jumbo_mru_buffers(struct nss_ctx_instance *nss_ctx, s - static void nss_core_alloc_max_avail_size_buffers(struct nss_ctx_instance *nss_ctx, struct nss_if_mem_map *if_map, - uint16_t max_buf_size, uint16_t count, int16_t mask, int32_t hlos_index) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - struct hlos_h2n_desc_rings *h2n_desc_ring = &nss_ctx->h2n_desc_rings[NSS_IF_H2N_EMPTY_BUFFER_QUEUE]; - struct h2n_desc_if_instance *desc_if = &h2n_desc_ring->desc_ring; - struct h2n_descriptor *desc_ring = desc_if->desc; -@@ -1939,6 +1965,7 @@ static void nss_core_alloc_max_avail_size_buffers(struct nss_ctx_instance *nss_c - uint16_t payload_len = max_buf_size + NET_SKB_PAD; - uint16_t start = hlos_index; - uint16_t prev_hlos_index; -+ int dma_size; - - while (count) { - dma_addr_t buffer; -@@ -1991,13 +2018,26 @@ static void nss_core_alloc_max_avail_size_buffers(struct nss_ctx_instance *nss_c - * Flush the descriptors, including the descriptor at prev_hlos_index. - */ - if (prev_hlos_index > start) { -- dmac_clean_range((void *)&desc_ring[start], (void *)&desc_ring[prev_hlos_index] + sizeof(struct h2n_descriptor)); -+ dma_size = sizeof(struct h2n_descriptor) * (prev_hlos_index - start + 1); -+ -+ dma_sync_single_for_device(nss_ctx->dev, -+ h2n_desc_index_to_dma(if_map, NSS_IF_H2N_EMPTY_BUFFER_QUEUE, start), -+ dma_size, DMA_TO_DEVICE); - } else { - /* - * We have wrapped around - */ -- dmac_clean_range((void *)&desc_ring[start], (void *)&desc_ring[mask] + sizeof(struct h2n_descriptor)); -- dmac_clean_range((void *)&desc_ring[0], (void *)&desc_ring[prev_hlos_index] + sizeof(struct h2n_descriptor)); -+ dma_size = sizeof(struct h2n_descriptor) * (mask - start + 1); -+ -+ dma_sync_single_for_device(nss_ctx->dev, -+ h2n_desc_index_to_dma(if_map, NSS_IF_H2N_EMPTY_BUFFER_QUEUE, start), -+ dma_size, DMA_TO_DEVICE); -+ -+ dma_size = sizeof(struct h2n_descriptor) * (prev_hlos_index + 1); -+ -+ dma_sync_single_for_device(nss_ctx->dev, -+ h2n_desc_index_to_dma(if_map, NSS_IF_H2N_EMPTY_BUFFER_QUEUE, 0), -+ dma_size, DMA_TO_DEVICE); - } - - /* -@@ -2008,7 +2048,8 @@ static void nss_core_alloc_max_avail_size_buffers(struct nss_ctx_instance *nss_c - h2n_desc_ring->hlos_index = hlos_index; - if_map->h2n_hlos_index[NSS_IF_H2N_EMPTY_BUFFER_QUEUE] = hlos_index; - -- NSS_CORE_DMA_CACHE_MAINT(&if_map->h2n_hlos_index[NSS_IF_H2N_EMPTY_BUFFER_QUEUE], sizeof(uint32_t), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_hlos_index_to_dma(mem_ctx->if_map_dma, NSS_IF_H2N_EMPTY_BUFFER_QUEUE), -+ sizeof(uint32_t), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - NSS_PKT_STATS_INC(&nss_top->stats_drv[NSS_DRV_STATS_TX_EMPTY]); -@@ -2021,6 +2062,7 @@ static void nss_core_alloc_max_avail_size_buffers(struct nss_ctx_instance *nss_c - static inline void nss_core_handle_empty_buffer_sos(struct nss_ctx_instance *nss_ctx, - struct nss_if_mem_map *if_map, uint16_t max_buf_size) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - uint16_t count, size, mask; - int32_t nss_index, hlos_index; - struct hlos_h2n_desc_rings *h2n_desc_ring = &nss_ctx->h2n_desc_rings[NSS_IF_H2N_EMPTY_BUFFER_QUEUE]; -@@ -2031,7 +2073,8 @@ static inline void nss_core_handle_empty_buffer_sos(struct nss_ctx_instance *nss - /* - * Check how many empty buffers could be filled in queue - */ -- NSS_CORE_DMA_CACHE_MAINT(&if_map->h2n_nss_index[NSS_IF_H2N_EMPTY_BUFFER_QUEUE], sizeof(uint32_t), DMA_FROM_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_nss_index_to_dma(mem_ctx->if_map_dma, NSS_IF_H2N_EMPTY_BUFFER_QUEUE), -+ sizeof(uint32_t), DMA_FROM_DEVICE); - NSS_CORE_DSB(); - nss_index = if_map->h2n_nss_index[NSS_IF_H2N_EMPTY_BUFFER_QUEUE]; - -@@ -2076,6 +2119,7 @@ static inline void nss_core_handle_empty_buffer_sos(struct nss_ctx_instance *nss - static inline void nss_core_handle_paged_empty_buffer_sos(struct nss_ctx_instance *nss_ctx, - struct nss_if_mem_map *if_map, uint16_t max_buf_size) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; - uint16_t count, size, mask; - int32_t nss_index, hlos_index; - struct hlos_h2n_desc_rings *h2n_desc_ring = &nss_ctx->h2n_desc_rings[NSS_IF_H2N_EMPTY_PAGED_BUFFER_QUEUE]; -@@ -2083,7 +2127,8 @@ static inline void nss_core_handle_paged_empty_buffer_sos(struct nss_ctx_instanc - /* - * Check how many empty buffers could be filled in queue - */ -- NSS_CORE_DMA_CACHE_MAINT((void *)&if_map->h2n_nss_index[NSS_IF_H2N_EMPTY_PAGED_BUFFER_QUEUE], sizeof(uint32_t), DMA_FROM_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_nss_index_to_dma(mem_ctx->if_map_dma, NSS_IF_H2N_EMPTY_PAGED_BUFFER_QUEUE), -+ sizeof(uint32_t), DMA_FROM_DEVICE); - NSS_CORE_DSB(); - nss_index = if_map->h2n_nss_index[NSS_IF_H2N_EMPTY_PAGED_BUFFER_QUEUE]; - -@@ -2651,9 +2696,11 @@ void nss_skb_reuse(struct sk_buff *nbuf) - * Sends one skb to NSS FW - */ - static inline int32_t nss_core_send_buffer_simple_skb(struct nss_ctx_instance *nss_ctx, -- struct h2n_desc_if_instance *desc_if, uint32_t if_num, -- struct sk_buff *nbuf, uint16_t hlos_index, uint16_t flags, uint8_t buffer_type, uint16_t mss) -+ struct h2n_desc_if_instance *desc_if, uint32_t if_num, struct sk_buff *nbuf, -+ uint16_t qid, uint16_t hlos_index, uint16_t flags, uint8_t buffer_type, uint16_t mss) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; -+ struct nss_if_mem_map *if_map = mem_ctx->if_map; - struct h2n_descriptor *desc_ring = desc_if->desc; - struct h2n_descriptor *desc; - uint16_t bit_flags; -@@ -2707,7 +2754,8 @@ static inline int32_t nss_core_send_buffer_simple_skb(struct nss_ctx_instance *n - (nss_ptr_t)nbuf, (uint16_t)(nbuf->data - nbuf->head), nbuf->len, - sz, (uint32_t)nbuf->priority, mss, bit_flags); - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - /* - * We are done using the skb fields and can reuse it now -@@ -2731,7 +2779,8 @@ no_reuse: - (nss_ptr_t)nbuf, (uint16_t)(nbuf->data - nbuf->head), nbuf->len, - (uint16_t)skb_end_offset(nbuf), (uint32_t)nbuf->priority, mss, bit_flags); - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - NSS_PKT_STATS_INC(&nss_ctx->nss_top->stats_drv[NSS_DRV_STATS_TX_SIMPLE]); - return 1; -@@ -2745,9 +2794,11 @@ no_reuse: - * Used to differentiate from FRAGLIST - */ - static inline int32_t nss_core_send_buffer_nr_frags(struct nss_ctx_instance *nss_ctx, -- struct h2n_desc_if_instance *desc_if, uint32_t if_num, -- struct sk_buff *nbuf, uint16_t hlos_index, uint16_t flags, uint8_t buffer_type, uint16_t mss) -+ struct h2n_desc_if_instance *desc_if, uint32_t if_num, struct sk_buff *nbuf, -+ uint16_t qid, uint16_t hlos_index, uint16_t flags, uint8_t buffer_type, uint16_t mss) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; -+ struct nss_if_mem_map *if_map = mem_ctx->if_map; - struct h2n_descriptor *desc_ring = desc_if->desc; - struct h2n_descriptor *desc; - const skb_frag_t *frag; -@@ -2787,7 +2838,8 @@ static inline int32_t nss_core_send_buffer_nr_frags(struct nss_ctx_instance *nss - (nss_ptr_t)NULL, nbuf->data - nbuf->head, nbuf->len - nbuf->data_len, - skb_end_offset(nbuf), (uint32_t)nbuf->priority, mss, bit_flags | H2N_BIT_FLAG_FIRST_SEGMENT); - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - /* - * Now handle rest of the fragments. -@@ -2811,7 +2863,8 @@ static inline int32_t nss_core_send_buffer_nr_frags(struct nss_ctx_instance *nss - (nss_ptr_t)NULL, 0, skb_frag_size(frag), skb_frag_size(frag), - nbuf->priority, mss, bit_flags); - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - } - - /* -@@ -2827,7 +2880,8 @@ static inline int32_t nss_core_send_buffer_nr_frags(struct nss_ctx_instance *nss - desc->bit_flags &= ~(H2N_BIT_FLAG_DISCARD); - desc->opaque = (nss_ptr_t)nbuf; - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - NSS_PKT_STATS_INC(&nss_ctx->nss_top->stats_drv[NSS_DRV_STATS_TX_NR_FRAGS]); - return i+1; -@@ -2841,9 +2895,11 @@ static inline int32_t nss_core_send_buffer_nr_frags(struct nss_ctx_instance *nss - * Used to differentiate from FRAGS - */ - static inline int32_t nss_core_send_buffer_fraglist(struct nss_ctx_instance *nss_ctx, -- struct h2n_desc_if_instance *desc_if, uint32_t if_num, -- struct sk_buff *nbuf, uint16_t hlos_index, uint16_t flags, uint8_t buffer_type, uint16_t mss) -+ struct h2n_desc_if_instance *desc_if, uint32_t if_num, struct sk_buff *nbuf, -+ uint16_t qid, uint16_t hlos_index, uint16_t flags, uint8_t buffer_type, uint16_t mss) - { -+ struct nss_meminfo_ctx *mem_ctx = &nss_ctx->meminfo_ctx; -+ struct nss_if_mem_map *if_map = mem_ctx->if_map; - struct h2n_descriptor *desc_ring = desc_if->desc; - struct h2n_descriptor *desc; - dma_addr_t buffer; -@@ -2882,7 +2938,8 @@ static inline int32_t nss_core_send_buffer_fraglist(struct nss_ctx_instance *nss - (nss_ptr_t)nbuf, nbuf->data - nbuf->head, nbuf->len - nbuf->data_len, - skb_end_offset(nbuf), (uint32_t)nbuf->priority, mss, bit_flags | H2N_BIT_FLAG_FIRST_SEGMENT); - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - /* - * Walk the frag_list in nbuf -@@ -2935,7 +2992,8 @@ static inline int32_t nss_core_send_buffer_fraglist(struct nss_ctx_instance *nss - (nss_ptr_t)iter, iter->data - iter->head, iter->len - iter->data_len, - skb_end_offset(iter), iter->priority, mss, bit_flags); - -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - i++; - } -@@ -2954,7 +3012,8 @@ static inline int32_t nss_core_send_buffer_fraglist(struct nss_ctx_instance *nss - * Update bit flag for last descriptor. - */ - desc->bit_flags |= H2N_BIT_FLAG_LAST_SEGMENT; -- NSS_CORE_DMA_CACHE_MAINT((void *)desc, sizeof(*desc), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_desc_index_to_dma(if_map, qid, hlos_index), -+ sizeof(*desc), DMA_TO_DEVICE); - - NSS_PKT_STATS_INC(&nss_ctx->nss_top->stats_drv[NSS_DRV_STATS_TX_FRAGLIST]); - return i+1; -@@ -3025,8 +3084,10 @@ int32_t nss_core_send_buffer(struct nss_ctx_instance *nss_ctx, uint32_t if_num, - * We need to work out if there's sufficent space in our transmit descriptor - * ring to place all the segments of a nbuf. - */ -- NSS_CORE_DMA_CACHE_MAINT((void *)&if_map->h2n_nss_index[qid], sizeof(uint32_t), DMA_FROM_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_nss_index_to_dma(mem_ctx->if_map_dma, qid), -+ sizeof(uint32_t), DMA_FROM_DEVICE); - NSS_CORE_DSB(); -+ - nss_index = if_map->h2n_nss_index[qid]; - h2n_desc_ring->nss_index_local = nss_index; - count = ((nss_index - hlos_index - 1) + size) & (mask); -@@ -3095,13 +3156,13 @@ int32_t nss_core_send_buffer(struct nss_ctx_instance *nss_ctx, uint32_t if_num, - count = 0; - if (likely((segments == 0) || is_bounce)) { - count = nss_core_send_buffer_simple_skb(nss_ctx, desc_if, if_num, -- nbuf, hlos_index, flags, buffer_type, mss); -+ nbuf, qid, hlos_index, flags, buffer_type, mss); - } else if (skb_has_frag_list(nbuf)) { - count = nss_core_send_buffer_fraglist(nss_ctx, desc_if, if_num, -- nbuf, hlos_index, flags, buffer_type, mss); -+ nbuf, qid, hlos_index, flags, buffer_type, mss); - } else { - count = nss_core_send_buffer_nr_frags(nss_ctx, desc_if, if_num, -- nbuf, hlos_index, flags, buffer_type, mss); -+ nbuf, qid, hlos_index, flags, buffer_type, mss); - } - - if (unlikely(count <= 0)) { -@@ -3125,7 +3186,8 @@ int32_t nss_core_send_buffer(struct nss_ctx_instance *nss_ctx, uint32_t if_num, - h2n_desc_ring->hlos_index = hlos_index; - if_map->h2n_hlos_index[qid] = hlos_index; - -- NSS_CORE_DMA_CACHE_MAINT(&if_map->h2n_hlos_index[qid], sizeof(uint32_t), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, h2n_hlos_index_to_dma(mem_ctx->if_map_dma, qid), -+ sizeof(uint32_t), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - #ifdef CONFIG_DEBUG_KMEMLEAK -diff --git a/nss_core.h b/nss_core.h -index d7f62fe..7ddf6ce 100644 ---- a/nss_core.h -+++ b/nss_core.h -@@ -100,31 +100,30 @@ - #endif - - /* -- * Cache operation -+ * DMA Offset helper - */ --#define NSS_CORE_DSB() dsb(sy) --#define NSS_CORE_DMA_CACHE_MAINT(start, size, dir) nss_core_dma_cache_maint(start, size, dir) -+#define n2h_desc_index_offset(_index) sizeof(struct n2h_descriptor) * (_index) -+#define h2n_desc_index_offset(_index) sizeof(struct h2n_descriptor) * (_index) -+ -+#define n2h_desc_index_to_dma(_if_map_addr, _qid, _index) (_if_map_addr)->n2h_desc_if[(_qid)].desc_addr + n2h_desc_index_offset(_index) -+#define h2n_desc_index_to_dma(_if_map_addr, _qid, _index) (_if_map_addr)->h2n_desc_if[(_qid)].desc_addr + h2n_desc_index_offset(_index) -+ -+#define h2n_nss_index_offset offsetof(struct nss_if_mem_map, h2n_nss_index) -+#define n2h_nss_index_offset offsetof(struct nss_if_mem_map, n2h_nss_index) -+#define h2n_hlos_index_offset offsetof(struct nss_if_mem_map, h2n_hlos_index) -+#define n2h_hlos_index_offset offsetof(struct nss_if_mem_map, n2h_hlos_index) -+ -+#define h2n_nss_index_to_dma(_if_map_addr, _index) (_if_map_addr) + h2n_nss_index_offset + (sizeof(uint32_t) * (_index)) -+#define n2h_nss_index_to_dma(_if_map_addr, _index) (_if_map_addr) + n2h_nss_index_offset + (sizeof(uint32_t) * (_index)) -+#define h2n_hlos_index_to_dma(_if_map_addr, _index) (_if_map_addr) + h2n_hlos_index_offset + (sizeof(uint32_t) * (_index)) -+#define n2h_hlos_index_to_dma(_if_map_addr, _index) (_if_map_addr) + n2h_hlos_index_offset + (sizeof(uint32_t) * (_index)) - - /* -- * nss_core_dma_cache_maint() -- * Perform the appropriate cache op based on direction -+ * Cache operation - */ --static inline void nss_core_dma_cache_maint(void *start, uint32_t size, int direction) --{ -- switch (direction) { -- case DMA_FROM_DEVICE:/* invalidate only */ -- dmac_inv_range(start, start + size); -- break; -- case DMA_TO_DEVICE:/* writeback only */ -- dmac_clean_range(start, start + size); -- break; -- case DMA_BIDIRECTIONAL:/* writeback and invalidate */ -- dmac_flush_range(start, start + size); -- break; -- default: -- BUG(); -- } --} -+#define NSS_CORE_DSB() dsb(sy) -+#define NSS_CORE_DMA_CACHE_MAINT(dev, start, size, dir) BUILD_BUG_ON_MSG(1, \ -+ "NSS_CORE_DMA_CACHE_MAINT is deprecated. Fix the code to use correct dma_sync_* API") - - #define NSS_DEVICE_IF_START NSS_PHYSICAL_IF_START - -diff --git a/nss_hal/ipq806x/nss_hal_pvt.c b/nss_hal/ipq806x/nss_hal_pvt.c -index 52d63b0..5375087 100644 ---- a/nss_hal/ipq806x/nss_hal_pvt.c -+++ b/nss_hal/ipq806x/nss_hal_pvt.c -@@ -474,10 +474,9 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - /* - * Clear TCM memory used by this core - */ -- for (i = 0; i < resource_size(&res_vphys) ; i += 4) { -+ for (i = 0; i < resource_size(&res_vphys) ; i += 4) - nss_write_32(npd->vmap, i, 0); -- NSS_CORE_DMA_CACHE_MAINT((npd->vmap + i), 4, DMA_TO_DEVICE); -- } -+ - NSS_CORE_DSB(); - - /* -diff --git a/nss_hal/ipq807x/nss_hal_pvt.c b/nss_hal/ipq807x/nss_hal_pvt.c -index bb8f42f..733d7f1 100644 ---- a/nss_hal/ipq807x/nss_hal_pvt.c -+++ b/nss_hal/ipq807x/nss_hal_pvt.c -@@ -256,10 +256,9 @@ static struct nss_platform_data *__nss_hal_of_get_pdata(struct platform_device * - /* - * Clear TCM memory used by this core - */ -- for (i = 0; i < resource_size(&res_vphys) ; i += 4) { -+ for (i = 0; i < resource_size(&res_vphys) ; i += 4) - nss_write_32(npd->vmap, i, 0); -- NSS_CORE_DMA_CACHE_MAINT((npd->vmap + i), 4, DMA_TO_DEVICE); -- } -+ - NSS_CORE_DSB(); - - /* -diff --git a/nss_meminfo.c b/nss_meminfo.c -index 2255eae..d804524 100644 ---- a/nss_meminfo.c -+++ b/nss_meminfo.c -@@ -414,7 +414,6 @@ static bool nss_meminfo_init_block_lists(struct nss_ctx_instance *nss_ctx) - /* - * Flush the updated meminfo request. - */ -- NSS_CORE_DMA_CACHE_MAINT(r, sizeof(struct nss_meminfo_request), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - /* -@@ -538,7 +537,7 @@ static bool nss_meminfo_configure_n2h_h2n_rings(struct nss_ctx_instance *nss_ctx - * Bring a fresh copy of if_map from memory in order to read it correctly. - */ - if_map = mem_ctx->if_map; -- NSS_CORE_DMA_CACHE_MAINT((void *)if_map, sizeof(struct nss_if_mem_map), DMA_FROM_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, mem_ctx->if_map_dma, sizeof(struct nss_if_mem_map), DMA_FROM_DEVICE); - NSS_CORE_DSB(); - - if_map->n2h_rings = NSS_N2H_RING_COUNT; -@@ -576,7 +575,7 @@ static bool nss_meminfo_configure_n2h_h2n_rings(struct nss_ctx_instance *nss_ctx - /* - * Flush the updated nss_if_mem_map. - */ -- NSS_CORE_DMA_CACHE_MAINT((void *)if_map, sizeof(struct nss_if_mem_map), DMA_TO_DEVICE); -+ dma_sync_single_for_device(nss_ctx->dev, mem_ctx->if_map_dma, sizeof(struct nss_if_mem_map), DMA_TO_DEVICE); - NSS_CORE_DSB(); - - return true; -diff --git a/nss_profiler.c b/nss_profiler.c -index 5717ac3..aadc7c9 100755 ---- a/nss_profiler.c -+++ b/nss_profiler.c -@@ -199,11 +199,12 @@ EXPORT_SYMBOL(nss_profile_dma_deregister_cb); - struct nss_profile_sdma_ctrl *nss_profile_dma_get_ctrl(struct nss_ctx_instance *nss_ctx) - { - struct nss_profile_sdma_ctrl *ctrl = nss_ctx->meminfo_ctx.sdma_ctrl; -+ int size = offsetof(struct nss_profile_sdma_ctrl, cidx); - if (!ctrl) { - return ctrl; - } - -- dmac_inv_range(ctrl, &ctrl->cidx); -+ dma_sync_single_for_device(nss_ctx->dev, (dma_addr_t) ctrl, size, DMA_FROM_DEVICE); - dsb(sy); - return ctrl; - } --- -2.34.1 - diff --git a/qca/qca-nss-drv/patches/0005-nss-drv-add-support-for-kernel-5.15.patch b/qca/qca-nss-drv/patches/0005-nss-drv-add-support-for-kernel-5.15.patch deleted file mode 100644 index 0995e2a07..000000000 --- a/qca/qca-nss-drv/patches/0005-nss-drv-add-support-for-kernel-5.15.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 6e65f6daecb09463688eaea0a234018a728196b8 Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Tue, 5 Apr 2022 18:10:57 +0200 -Subject: [PATCH 5/8] nss-drv: add support for kernel 5.15 - -- Fix coredump panic notifier include change. -- Fix skb ZEROCOPY flag. -- Add skb reuse support for 5.15 kernel version. - -Signed-off-by: Ansuel Smith ---- - nss_core.c | 5 +++-- - nss_coredump.c | 4 ++++ - nss_hal/nss_hal.c | 1 + - 3 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/nss_core.c b/nss_core.c -index f9e6014..8cd1d4b 100644 ---- a/nss_core.c -+++ b/nss_core.c -@@ -53,7 +53,8 @@ - (((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)))) || \ - (((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)))) || \ - (((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)))) || \ --(((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)))))) -+(((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)))) || \ -+(((LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0)))))) - #error "Check skb recycle code in this file to match Linux version" - #endif - -@@ -2623,7 +2624,7 @@ static inline bool nss_core_skb_can_reuse(struct nss_ctx_instance *nss_ctx, - if (unlikely(irqs_disabled())) - return false; - -- if (unlikely(skb_shinfo(nbuf)->tx_flags & SKBTX_DEV_ZEROCOPY)) -+ if (unlikely(skb_shinfo(nbuf)->flags & SKBFL_ZEROCOPY_ENABLE)) - return false; - - if (unlikely(skb_is_nonlinear(nbuf))) -diff --git a/nss_coredump.c b/nss_coredump.c -index ecad659..3ecef7e 100644 ---- a/nss_coredump.c -+++ b/nss_coredump.c -@@ -23,7 +23,11 @@ - #include "nss_hal.h" - #include "nss_log.h" - #include -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0)) - #include /* for panic_notifier_list */ -+#else -+#include -+#endif - #include /* for time */ - #include "nss_tx_rx_common.h" - -diff --git a/nss_hal/nss_hal.c b/nss_hal/nss_hal.c -index 57974c1..d8c703b 100644 ---- a/nss_hal/nss_hal.c -+++ b/nss_hal/nss_hal.c -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include "nss_hal.h" - #include "nss_arch.h" --- -2.34.1 - diff --git a/qca/qca-nss-drv/patches/0005-nss-drv-use-standard-skb_skip_tc_classify-instead-of.patch b/qca/qca-nss-drv/patches/0005-nss-drv-use-standard-skb_skip_tc_classify-instead-of.patch deleted file mode 100644 index 6e8b4cdfd..000000000 --- a/qca/qca-nss-drv/patches/0005-nss-drv-use-standard-skb_skip_tc_classify-instead-of.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 4dd701916186803172a9f35e7e982a953613ad55 Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Mon, 11 Apr 2022 21:32:41 +0200 -Subject: [PATCH 5/9] nss-drv: use standard skb_skip_tc_classify instead of - custom api - -Use skb_skip_tc_classify to skip classify for packet handled by nss -instead of custom api. - -Signed-off-by: Ansuel Smith ---- - nss_core.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/nss_core.c b/nss_core.c -index f9e6014..6ab8038 100644 ---- a/nss_core.c -+++ b/nss_core.c -@@ -1075,7 +1075,7 @@ static inline void nss_core_set_skb_classify(struct sk_buff *nbuf) - #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)) - nbuf->tc_verd = SET_TC_NCLS_NSS(nbuf->tc_verd); - #else -- skb_set_tc_classify_offload(nbuf); -+ skb_skip_tc_classify(nbuf); - #endif - #endif - } --- -2.34.1 - diff --git a/qca/qca-nss-drv/patches/0008-Makefile-modularize-driver-even-more.patch b/qca/qca-nss-drv/patches/0008-Makefile-modularize-driver-even-more.patch deleted file mode 100644 index eb7f27d06..000000000 --- a/qca/qca-nss-drv/patches/0008-Makefile-modularize-driver-even-more.patch +++ /dev/null @@ -1,172 +0,0 @@ -From 895de8e4119afe3cbad2aa81566b1ebcb2b39dcd Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Tue, 17 May 2022 20:23:19 +0200 -Subject: [PATCH] Makefile: modularize driver even more - -Permit to disable even more module. - -Signed-off-by: Ansuel Smith ---- - Makefile | 56 ++++++++++++++++++++++++++++++++--------------- - nss_hal/nss_hal.c | 6 +++++ - nss_init.c | 4 ++++ - 3 files changed, 48 insertions(+), 18 deletions(-) - -diff --git a/Makefile b/Makefile -index f5c4b90..0194dbd 100644 ---- a/Makefile -+++ b/Makefile -@@ -39,35 +39,55 @@ qca-nss-drv-objs := \ - nss_pm.o \ - nss_profiler.o \ - nss_project.o \ -- nss_pppoe.o \ -- nss_pppoe_log.o \ -- nss_pppoe_stats.o \ -- nss_pppoe_strings.o \ - nss_rps.o \ - nss_stats.o \ - nss_strings.o \ - nss_tx_msg_sync.o \ - nss_unaligned.o \ - nss_unaligned_log.o \ -- nss_unaligned_stats.o \ -- nss_virt_if.o \ -- nss_virt_if_stats.o \ -- nss_vlan.o \ -- nss_vlan_log.o \ -- nss_wifi.o \ -- nss_wifi_log.o \ -- nss_wifi_stats.o \ -- nss_wifi_vdev.o \ -- nss_wifili.o \ -- nss_wifili_log.o \ -- nss_wifili_stats.o \ -- nss_wifili_strings.o \ -- nss_wifi_mac_db.o -+ nss_unaligned_stats.o - - # Base NSS data plane/HAL support - qca-nss-drv-objs += nss_data_plane/nss_data_plane_common.o - qca-nss-drv-objs += nss_hal/nss_hal.o - -+ifneq "$(NSS_DRV_PPPOE_ENABLE)" "n" -+ccflags-y += -DNSS_DRV_PPPOE_ENABLE -+qca-nss-drv-objs += \ -+ nss_pppoe.o \ -+ nss_pppoe_log.o \ -+ nss_pppoe_stats.o \ -+ nss_pppoe_strings.o -+endif -+ -+ifneq "$(NSS_DRV_VIRT_IF_ENABLE)" "n" -+ccflags-y += -DNSS_DRV_VIRT_IF_ENABLE -+qca-nss-drv-objs += \ -+ nss_virt_if.o \ -+ nss_virt_if_stats.o -+endif -+ -+ifneq "$(NSS_DRV_VLAN_ENABLE)" "n" -+ccflags-y += -DNSS_DRV_VLAN_ENABLE -+qca-nss-drv-objs += \ -+ nss_vlan.o \ -+ nss_vlan_log.o -+endif -+ -+ifneq "$(NSS_DRV_WIFI_ENABLE)" "n" -+ccflags-y += -DNSS_DRV_WIFI_ENABLE -+qca-nss-drv-objs += \ -+ nss_wifi.o \ -+ nss_wifi_log.o \ -+ nss_wifi_stats.o \ -+ nss_wifi_vdev.o \ -+ nss_wifili.o \ -+ nss_wifili_log.o \ -+ nss_wifili_stats.o \ -+ nss_wifili_strings.o \ -+ nss_wifi_mac_db.o -+endif -+ - ifneq "$(NSS_DRV_BRIDGE_ENABLE)" "n" - ccflags-y += -DNSS_DRV_BRIDGE_ENABLE - qca-nss-drv-objs += \ -diff --git a/nss_hal/nss_hal.c b/nss_hal/nss_hal.c -index 7e9a044..c0051e4 100644 ---- a/nss_hal/nss_hal.c -+++ b/nss_hal/nss_hal.c -@@ -460,10 +460,12 @@ int nss_hal_probe(struct platform_device *nss_dev) - } - #endif - -+#ifdef NSS_DRV_PPPOE_ENABLE - if (npd->pppoe_enabled == NSS_FEATURE_ENABLED) { - nss_top->pppoe_handler_id = nss_dev->id; - nss_pppoe_register_handler(); - } -+#endif - - #ifdef NSS_DRV_PPE_ENABLE - if (npd->ppe_enabled == NSS_FEATURE_ENABLED) { -@@ -558,6 +560,7 @@ int nss_hal_probe(struct platform_device *nss_dev) - } - #endif - -+#ifdef NSS_DRV_WIFI_ENABLE - if (npd->wifioffload_enabled == NSS_FEATURE_ENABLED) { - nss_top->wifi_handler_id = nss_dev->id; - nss_top->dynamic_interface_table[NSS_DYNAMIC_INTERFACE_TYPE_VAP] = nss_dev->id; -@@ -585,6 +588,7 @@ int nss_hal_probe(struct platform_device *nss_dev) - */ - nss_wifili_thread_scheme_db_init(nss_dev->id); - } -+#endif - - #ifdef NSS_DRV_OAM_ENABLE - if (npd->oam_enabled == NSS_FEATURE_ENABLED) { -@@ -601,11 +605,13 @@ int nss_hal_probe(struct platform_device *nss_dev) - } - #endif - -+#ifdef NSS_DRV_VLAN_ENABLE - if (npd->vlan_enabled == NSS_FEATURE_ENABLED) { - nss_top->vlan_handler_id = nss_dev->id; - nss_top->dynamic_interface_table[NSS_DYNAMIC_INTERFACE_TYPE_VLAN] = nss_dev->id; - nss_vlan_register_handler(); - } -+#endif - - #ifdef NSS_DRV_QVPN_ENABLE - #if defined(NSS_HAL_IPQ807x_SUPPORT) || defined(NSS_HAL_IPQ60XX_SUPPORT) -diff --git a/nss_init.c b/nss_init.c -index ebd2a12..40e9351 100644 ---- a/nss_init.c -+++ b/nss_init.c -@@ -775,10 +775,12 @@ static int __init nss_init(void) - */ - nss_project_register_sysctl(); - -+#ifdef NSS_DRV_PPPOE_ENABLE - /* - * Registering sysctl for pppoe specific config. - */ - nss_pppoe_register_sysctl(); -+#endif - - /* - * Setup Runtime Sample values -@@ -913,10 +915,12 @@ static void __exit nss_cleanup(void) - nss_c2c_tx_unregister_sysctl(); - #endif - -+#ifdef NSS_DRV_PPPOE_ENABLE - /* - * Unregister pppoe specific sysctl - */ - nss_pppoe_unregister_sysctl(); -+#endif - - /* - * Unregister ipv4/6 specific sysctl and free allocated to connection tables --- -2.34.1 - diff --git a/qca/qca-nss-ecm/Makefile b/qca/qca-nss-ecm/Makefile deleted file mode 100644 index ceedc1988..000000000 --- a/qca/qca-nss-ecm/Makefile +++ /dev/null @@ -1,97 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-nss-ecm -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-nss-ecm.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2021-06-15 -PKG_SOURCE_VERSION:=34267065855d32f33264dc3054efb0e8103d627b -PKG_MIRROR_HASH:=0917659d69c5f3e6067d6671b9393b4b2d6b6cd5a7bacf5e7d6cf842dc906eca - -PKG_BUILD_PARALLEL:=1 - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -define KernelPackage/qca-nss-ecm - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Support - DEPENDS:=@LINUX_5_10 @(TARGET_ipq807x||TARGET_ipq60xx) \ - +kmod-qca-nss-drv \ - +iptables-mod-extra \ - +kmod-ipt-conntrack \ - +kmod-ipt-physdev \ - +iptables-mod-physdev \ - +kmod-ppp \ - +kmod-pppoe - TITLE:=QCA NSS Enhanced Connection Manager (ECM) - FILES:=$(PKG_BUILD_DIR)/*.ko - KCONFIG:=CONFIG_BRIDGE_NETFILTER=y \ - CONFIG_NF_CONNTRACK_EVENTS=y \ - CONFIG_NF_CONNTRACK_CHAIN_EVENTS=n \ - CONFIG_NF_CONNTRACK_DSCPREMARK_EXT=n -endef - -define KernelPackage/qca-nss-ecm/Description -This package contains the QCA NSS Enhanced Connection Manager -endef - -define KernelPackage/qca-nss-ecm/install - $(INSTALL_DIR) $(1)/etc/firewall.d $(1)/etc/init.d $(1)/usr/bin $(1)/lib/netifd/offload $(1)/etc/config $(1)/etc/uci-defaults $(1)/etc/sysctl.d - $(INSTALL_DATA) ./files/qca-nss-ecm.firewall $(1)/etc/firewall.d/qca-nss-ecm - $(INSTALL_BIN) ./files/qca-nss-ecm.init $(1)/etc/init.d/qca-nss-ecm - $(INSTALL_BIN) ./files/ecm_dump.sh $(1)/usr/bin/ - $(INSTALL_BIN) ./files/on-demand-down $(1)/lib/netifd/offload/on-demand-down - $(INSTALL_DATA) ./files/qca-nss-ecm.uci $(1)/etc/config/ecm - $(INSTALL_DATA) ./files/qca-nss-ecm.defaults $(1)/etc/uci-defaults/99-qca-nss-ecm - $(INSTALL_BIN) ./files/qca-nss-ecm.sysctl $(1)/etc/sysctl.d/qca-nss-ecm.conf - echo 'net.netfilter.nf_conntrack_max=8192' >> $(1)/etc/sysctl.d/qca-nss-ecm.conf -endef - -EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include/qca-nss-drv - -ifneq (, $(findstring $(CONFIG_TARGET_BOARD), "ipq807x" "ipq60xx")) -ECM_MAKE_OPTS+= ECM_FRONT_END_NSS_ENABLE=y \ - ECM_CLASSIFIER_HYFI_ENABLE=n \ - ECM_MULTICAST_ENABLE=n \ - ECM_INTERFACE_IPSEC_ENABLE=n \ - ECM_INTERFACE_PPTP_ENABLE=n \ - ECM_INTERFACE_L2TPV2_ENABLE=n \ - ECM_INTERFACE_GRE_TAP_ENABLE=n \ - ECM_INTERFACE_GRE_TUN_ENABLE=n \ - ECM_INTERFACE_SIT_ENABLE=n \ - ECM_INTERFACE_TUNIPIP6_ENABLE=n \ - ECM_INTERFACE_RAWIP_ENABLE=n \ - ECM_INTERFACE_VLAN_ENABLE=n \ - ECM_CLASSIFIER_MARK_ENABLE=n \ - ECM_CLASSIFIER_DSCP_ENABLE=n \ - ECM_CLASSIFIER_PCC_ENABLE=n \ - ECM_BAND_STEERING_ENABLE=n \ - ECM_INTERFACE_PPPOE_ENABLE=y -endif - -ifeq ($(CONFIG_TARGET_BOARD), "ipq807x") - SOC="ipq807x_64" -else ifeq ($(CONFIG_TARGET_BOARD), "ipq60xx") - SOC="ipq60xx_64" -endif - -define Build/InstallDev - mkdir -p $(1)/usr/include/qca-nss-ecm - $(CP) $(PKG_BUILD_DIR)/exports/* $(1)/usr/include/qca-nss-ecm -endef - -define Build/Compile - +$(MAKE) -C "$(LINUX_DIR)" $(strip $(ECM_MAKE_OPTS)) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ - M="$(PKG_BUILD_DIR)" \ - EXTRA_CFLAGS="$(EXTRA_CFLAGS)" SoC=$(SOC) \ - $(KERNEL_MAKE_FLAGS) \ - $(PKG_JOBS) \ - modules -endef - -$(eval $(call KernelPackage,qca-nss-ecm)) diff --git a/qca/qca-nss-ecm/files/ecm_dump.sh b/qca/qca-nss-ecm/files/ecm_dump.sh deleted file mode 100644 index dbf7de753..000000000 --- a/qca/qca-nss-ecm/files/ecm_dump.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -ECM_MODULE=${1:-ecm_state} -MOUNT_ROOT=/dev/ecm - -# -# usage: ecm_dump.sh [module=ecm_db] -# -# with no parameters, ecm_dump.sh will attempt to mount the -# ecm_db state file and cat its contents. -# -# example with a parameter: ecm_dump.sh ecm_classifier_default -# -# this will cause ecm_dump to attempt to find and mount the state -# file for the ecm_classifier_default module, and if successful -# cat the contents. -# - -# this is one of the state files, which happens to be the -# last module started in ecm -ECM_STATE=/sys/kernel/debug/ecm/ecm_state/state_dev_major - -# tests to see if ECM is up and ready to receive commands. -# returns 0 if ECM is fully up and ready, else 1 -ecm_is_ready() { - if [ ! -e "${ECM_STATE}" ] - then - return 1 - fi - return 0 -} - -# -# module_state_mount(module_name) -# Mounts the state file of the module, if supported -# -module_state_mount() { - local module_name=$1 - local mount_dir=$2 - local state_file="/sys/kernel/debug/ecm/${module_name}/state_dev_major" - - if [ -e "${mount_dir}/${module_name}" ] - then - # already mounted - return 0 - fi - - #echo "Mount state file for $module_name ..." - if [ ! -e "$state_file" ] - then - #echo "... $module_name does not support state" - return 1 - fi - - local major="`cat $state_file`" - #echo "... Mounting state $state_file with major: $major" - mknod "${mount_dir}/${module_name}" c $major 0 -} - -# -# main -# -ecm_is_ready || { - #echo "ECM is not running" - exit 1 -} - -# all state files are mounted under MOUNT_ROOT, so make sure it exists -mkdir -p ${MOUNT_ROOT} - -# -# attempt to mount state files for the requested module and cat it -# if the mount succeeded -# -module_state_mount ${ECM_MODULE} ${MOUNT_ROOT} && { - cat ${MOUNT_ROOT}/${ECM_MODULE} - exit 0 -} - -exit 2 diff --git a/qca/qca-nss-ecm/files/on-demand-down b/qca/qca-nss-ecm/files/on-demand-down deleted file mode 100644 index 02d708e03..000000000 --- a/qca/qca-nss-ecm/files/on-demand-down +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# Copyright (c) 2016 The Linux Foundation. All rights reserved. - -[ -e "/sys/kernel/debug/ecm/ecm_db/defunct_all" ] && { - echo 1 > /sys/kernel/debug/ecm/ecm_db/defunct_all -} diff --git a/qca/qca-nss-ecm/files/qca-nss-ecm.defaults b/qca/qca-nss-ecm/files/qca-nss-ecm.defaults deleted file mode 100644 index 308e265c9..000000000 --- a/qca/qca-nss-ecm/files/qca-nss-ecm.defaults +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -uci -q batch << EOF - delete firewall.qcanssecm - set firewall.qcanssecm=include - set firewall.qcanssecm.type=script - set firewall.qcanssecm.path=/etc/firewall.d/qca-nss-ecm - set firewall.qcanssecm.family=any - set firewall.qcanssecm.reload=1 - commit firewall -EOF - -exit 0 diff --git a/qca/qca-nss-ecm/files/qca-nss-ecm.firewall b/qca/qca-nss-ecm/files/qca-nss-ecm.firewall deleted file mode 100644 index 24c64def2..000000000 --- a/qca/qca-nss-ecm/files/qca-nss-ecm.firewall +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -iptables -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT diff --git a/qca/qca-nss-ecm/files/qca-nss-ecm.init b/qca/qca-nss-ecm/files/qca-nss-ecm.init deleted file mode 100644 index e64f077bb..000000000 --- a/qca/qca-nss-ecm/files/qca-nss-ecm.init +++ /dev/null @@ -1,142 +0,0 @@ -#!/bin/sh /etc/rc.common -# -# Copyright (c) 2014, 2019-2020 The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -# The shebang above has an extra space intentially to avoid having -# openwrt build scripts automatically enable this package starting -# at boot. - -START=19 - -get_front_end_mode() { - config_load "ecm" - config_get front_end global acceleration_engine "auto" - - case $front_end in - auto) - echo '0' - ;; - nss) - echo '1' - ;; - sfe) - echo '2' - ;; - *) - echo 'uci_option_acceleration_engine is invalid' - esac -} - -support_bridge() { - #NSS support bridge acceleration - [ -d /sys/kernel/debug/ecm/ecm_nss_ipv4 ] && return 0 - #SFE doesn't support bridge acceleration - [ -d /sys/kernel/debug/ecm/ecm_sfe_ipv4 ] && return 1 -} - -load_sfe() { - local kernel_version=$(uname -r) - - [ -e "/lib/modules/$kernel_version/shortcut-fe.ko" ] && { - [ -d /sys/module/shortcut_fe ] || insmod shortcut-fe - } - - [ -e "/lib/modules/$kernel_version/shortcut-fe-ipv6.ko" ] && { - [ -d /sys/module/shortcut_fe_ipv6 ] || insmod shortcut-fe-ipv6 - } - - [ -e "/lib/modules/$kernel_version/shortcut-fe-drv.ko" ] && { - [ -d /sys/module/shortcut_fe_drv ] || insmod shortcut-fe-drv - } -} - -load_ecm() { - [ -d /sys/module/ecm ] || { - [ ! -e /proc/device-tree/MP_256 ] && load_sfe - insmod ecm front_end_selection=$(get_front_end_mode) - } - - support_bridge && { - sysctl -w net.bridge.bridge-nf-call-ip6tables=1 - sysctl -w net.bridge.bridge-nf-call-iptables=1 - } -} - -unload_ecm() { - sysctl -w net.bridge.bridge-nf-call-ip6tables=0 - sysctl -w net.bridge.bridge-nf-call-iptables=0 - - if [ -d /sys/module/ecm ]; then - # - # Stop ECM frontends - # - echo 1 > /sys/kernel/debug/ecm/front_end_ipv4_stop - echo 1 > /sys/kernel/debug/ecm/front_end_ipv6_stop - - # - # Defunct the connections - # - echo 1 > /sys/kernel/debug/ecm/ecm_db/defunct_all - sleep 5; - - rmmod ecm - sleep 1 - fi -} - -start() { - # If SFE CM is loaded, return. - if [ -d /sys/module/shortcut_fe_cm ]; then - echo "shortcut_fe CM is loaded, unload it first" - echo "cmd: /etc/init.d/shortcut_fe stop" - return - fi - - load_ecm - - # If the acceleration engine is NSS, enable wifi redirect. - [ -d /sys/kernel/debug/ecm/ecm_nss_ipv4 ] && sysctl -w dev.nss.general.redirect=1 - - support_bridge && { - if ([ -z "$(grep "net.bridge.bridge-nf-call-ip6tables=1" /etc/sysctl.d/qca-nss-ecm.conf)" ] && [ -z "$(grep "net.bridge.bridge-nf-call-iptables=1" /etc/sysctl.d/qca-nss-ecm.conf)" ]); then - echo 'net.bridge.bridge-nf-call-ip6tables=1' >> /etc/sysctl.d/qca-nss-ecm.conf - echo 'net.bridge.bridge-nf-call-iptables=1' >> /etc/sysctl.d/qca-nss-ecm.conf - fi - } - - if [ -d /sys/module/qca_ovsmgr ]; then - insmod ecm_ovs - fi - -} - -stop() { - # If ECM is already not loaded, just return. - if [ ! -d /sys/module/ecm ]; then - return - fi - - # If the acceleration engine is NSS, disable wifi redirect. - [ -d /sys/kernel/debug/ecm/ecm_nss_ipv4 ] && sysctl -w dev.nss.general.redirect=0 - - sed '/net.bridge.bridge-nf-call-ip6tables=1/d' -i /etc/sysctl.d/qca-nss-ecm.conf - sed '/net.bridge.bridge-nf-call-iptables=1/d' -i /etc/sysctl.d/qca-nss-ecm.conf - - if [ -d /sys/module/ecm_ovs ]; then - rmmod ecm_ovs - fi - - unload_ecm -} diff --git a/qca/qca-nss-ecm/files/qca-nss-ecm.sysctl b/qca/qca-nss-ecm/files/qca-nss-ecm.sysctl deleted file mode 100644 index 1a3d76b18..000000000 --- a/qca/qca-nss-ecm/files/qca-nss-ecm.sysctl +++ /dev/null @@ -1,2 +0,0 @@ -# nf_conntrack_tcp_no_window_check is 0 by default, set it to 1 -net.netfilter.nf_conntrack_tcp_no_window_check=1 diff --git a/qca/qca-nss-ecm/files/qca-nss-ecm.uci b/qca/qca-nss-ecm/files/qca-nss-ecm.uci deleted file mode 100644 index 4f2de6877..000000000 --- a/qca/qca-nss-ecm/files/qca-nss-ecm.uci +++ /dev/null @@ -1,2 +0,0 @@ -config ecm 'global' - option acceleration_engine 'auto' diff --git a/qca/qca-nss-ecm/patches/001-treewide-componentize-the-module-even-more.patch b/qca/qca-nss-ecm/patches/001-treewide-componentize-the-module-even-more.patch deleted file mode 100644 index 4e7932c9d..000000000 --- a/qca/qca-nss-ecm/patches/001-treewide-componentize-the-module-even-more.patch +++ /dev/null @@ -1,335 +0,0 @@ -From 73345c87b28a473b35b57e673f8de963c3d73da1 Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Wed, 19 May 2021 02:38:53 +0200 -Subject: [PATCH] treewide: componentize the module even more - -Signed-off-by: Ansuel Smith ---- - Makefile | 56 +++++++++++++++++++++++++------- - ecm_db/ecm_db_connection.c | 8 +++++ - ecm_db/ecm_db_node.c | 4 +++ - ecm_interface.c | 8 +++++ - frontends/ecm_front_end_common.c | 7 ++++ - 5 files changed, 72 insertions(+), 11 deletions(-) - ---- a/Makefile -+++ b/Makefile -@@ -82,10 +82,18 @@ ccflags-$(ECM_INTERFACE_BOND_ENABLE) += - # Define ECM_INTERFACE_PPPOE_ENABLE=y in order - # to enable support for PPPoE acceleration. - # ############################################################################# --ECM_INTERFACE_PPPOE_ENABLE=y -+ifndef $(ECM_INTERFACE_PPPOE_ENABLE) -+ ECM_INTERFACE_PPPOE_ENABLE=y -+endif - ccflags-$(ECM_INTERFACE_PPPOE_ENABLE) += -DECM_INTERFACE_PPPOE_ENABLE - - # ############################################################################# -+# Define ECM_INTERFACE_L2TPV2_PPTP_ENABLE=y in order -+# to enable support for l2tpv2 or PPTP detection. -+# ############################################################################# -+ccflags-$(ECM_INTERFACE_L2TPV2_PPTP_ENABLE) += -DECM_INTERFACE_L2TPV2_PPTP_ENABLE -+ -+# ############################################################################# - # Define ECM_INTERFACE_L2TPV2_ENABLE=y in order - # to enable support for l2tpv2 acceleration. - # ############################################################################# -@@ -118,6 +126,12 @@ ccflags-$(ECM_INTERFACE_PPP_ENABLE) += - - ccflags-$(ECM_INTERFACE_MAP_T_ENABLE) += -DECM_INTERFACE_MAP_T_ENABLE - - # ############################################################################# -+# Define ECM_INTERFACE_GRE_ENABLE=y in order -+# to enable support for GRE detection. -+# ############################################################################# -+ccflags-$(ECM_INTERFACE_GRE_ENABLE) += -DECM_INTERFACE_GRE_ENABLE -+ -+# ############################################################################# - # Define ECM_INTERFACE_GRE_TAP_ENABLE=y in order - # to enable support for GRE TAP interface. - # ############################################################################# -@@ -186,7 +200,9 @@ ccflags-$(ECM_INTERFACE_OVS_BRIDGE_ENABL - # ############################################################################# - # Define ECM_INTERFACE_VLAN_ENABLE=y in order to enable support for VLAN - # ############################################################################# --ECM_INTERFACE_VLAN_ENABLE=y -+ifndef $(ECM_INTERFACE_VLAN_ENABLE) -+ ECM_INTERFACE_VLAN_ENABLE=y -+endif - ccflags-$(ECM_INTERFACE_VLAN_ENABLE) += -DECM_INTERFACE_VLAN_ENABLE - - # ############################################################################# -@@ -228,7 +244,9 @@ ccflags-$(ECM_CLASSIFIER_OVS_ENABLE) += - # ############################################################################# - # Define ECM_CLASSIFIER_MARK_ENABLE=y in order to enable mark classifier. - # ############################################################################# --ECM_CLASSIFIER_MARK_ENABLE=y -+ifndef $(ECM_CLASSIFIER_MARK_ENABLE) -+ ECM_CLASSIFIER_MARK_ENABLE=y -+endif - ecm-$(ECM_CLASSIFIER_MARK_ENABLE) += ecm_classifier_mark.o - ccflags-$(ECM_CLASSIFIER_MARK_ENABLE) += -DECM_CLASSIFIER_MARK_ENABLE - -@@ -247,7 +265,9 @@ ccflags-$(ECM_CLASSIFIER_NL_ENABLE) += - - # ############################################################################# - # Define ECM_CLASSIFIER_DSCP_ENABLE=y in order to enable DSCP classifier. - # ############################################################################# --ECM_CLASSIFIER_DSCP_ENABLE=y -+ifndef $(ECM_CLASSIFIER_DSCP_ENABLE) -+ ECM_CLASSIFIER_DSCP_ENABLE=y -+endif - ecm-$(ECM_CLASSIFIER_DSCP_ENABLE) += ecm_classifier_dscp.o - ccflags-$(ECM_CLASSIFIER_DSCP_ENABLE) += -DECM_CLASSIFIER_DSCP_ENABLE - ccflags-$(ECM_CLASSIFIER_DSCP_IGS) += -DECM_CLASSIFIER_DSCP_IGS -@@ -274,7 +294,9 @@ endif - # the Parental Controls subsystem classifier in ECM. Currently disabled until - # customers require it / if they need to integrate their Parental Controls with it. - # ############################################################################# --ECM_CLASSIFIER_PCC_ENABLE=y -+ifndef $(ECM_CLASSIFIER_PCC_ENABLE) -+ ECM_CLASSIFIER_PCC_ENABLE=y -+endif - ecm-$(ECM_CLASSIFIER_PCC_ENABLE) += ecm_classifier_pcc.o - ccflags-$(ECM_CLASSIFIER_PCC_ENABLE) += -DECM_CLASSIFIER_PCC_ENABLE - -@@ -301,28 +323,36 @@ ccflags-$(ECM_NON_PORTED_SUPPORT_ENABLE) - # ############################################################################# - # Define ECM_STATE_OUTPUT_ENABLE=y to support XML state output - # ############################################################################# --ECM_STATE_OUTPUT_ENABLE=y -+ifndef $(ECM_STATE_OUTPUT_ENABLE) -+ ECM_STATE_OUTPUT_ENABLE=y -+endif - ecm-$(ECM_STATE_OUTPUT_ENABLE) += ecm_state.o - ccflags-$(ECM_STATE_OUTPUT_ENABLE) += -DECM_STATE_OUTPUT_ENABLE - - # ############################################################################# - # Define ECM_DB_ADVANCED_STATS_ENABLE to support XML state output - # ############################################################################# --ECM_DB_ADVANCED_STATS_ENABLE=y -+ifndef $(ECM_DB_ADVANCED_STATS_ENABLE) -+ ECM_DB_ADVANCED_STATS_ENABLE=y -+endif - ccflags-$(ECM_DB_ADVANCED_STATS_ENABLE) += -DECM_DB_ADVANCED_STATS_ENABLE - - # ############################################################################# - # Define ECM_DB_CONNECTION_CROSS_REFERENCING_ENABLE=y in order to enable - # the database to track relationships between objects. - # ############################################################################# --ECM_DB_CONNECTION_CROSS_REFERENCING_ENABLE=y -+ifndef $(ECM_DB_CONNECTION_CROSS_REFERENCING_ENABLE) -+ ECM_DB_CONNECTION_CROSS_REFERENCING_ENABLE=y -+endif - ccflags-$(ECM_DB_CONNECTION_CROSS_REFERENCING_ENABLE) += -DECM_DB_XREF_ENABLE - - # ############################################################################# - # Define ECM_TRACKER_DPI_SUPPORT_ENABLE=y in order to enable support for - # deep packet inspection and tracking of data with the trackers. - # ############################################################################# --ECM_TRACKER_DPI_SUPPORT_ENABLE=y -+ifndef $(ECM_TRACKER_DPI_SUPPORT_ENABLE) -+ ECM_TRACKER_DPI_SUPPORT_ENABLE=y -+endif - ccflags-$(ECM_TRACKER_DPI_SUPPORT_ENABLE) += -DECM_TRACKER_DPI_SUPPORT_ENABLE - - # ############################################################################# -@@ -330,14 +360,18 @@ ccflags-$(ECM_TRACKER_DPI_SUPPORT_ENABLE - # support for the database keeping lists of connections that are assigned - # on a per TYPE of classifier basis. - # ############################################################################# --ECM_DB_CLASSIFIER_TYPE_ASSIGNMENTS_TRACK_ENABLE=y -+ifndef $(ECM_DB_CLASSIFIER_TYPE_ASSIGNMENTS_TRACK_ENABLE) -+ ECM_DB_CLASSIFIER_TYPE_ASSIGNMENTS_TRACK_ENABLE=y -+endif - ccflags-$(ECM_DB_CLASSIFIER_TYPE_ASSIGNMENTS_TRACK_ENABLE) += -DECM_DB_CTA_TRACK_ENABLE - - # ############################################################################# - # Define ECM_BAND_STEERING_ENABLE=y in order to enable - # band steering feature. - # ############################################################################# --ECM_BAND_STEERING_ENABLE=y -+ifndef $(ECM_BAND_STEERING_ENABLE) -+ ECM_BAND_STEERING_ENABLE=y -+endif - ccflags-$(ECM_BAND_STEERING_ENABLE) += -DECM_BAND_STEERING_ENABLE - - # ############################################################################# ---- a/ecm_db/ecm_db_connection.c -+++ b/ecm_db/ecm_db_connection.c -@@ -430,7 +430,9 @@ EXPORT_SYMBOL(ecm_db_connection_make_def - */ - void ecm_db_connection_data_totals_update(struct ecm_db_connection_instance *ci, bool is_from, uint64_t size, uint64_t packets) - { -+#ifdef ECM_DB_ADVANCED_STATS_ENABLE - int32_t i; -+#endif - - DEBUG_CHECK_MAGIC(ci, ECM_DB_CONNECTION_INSTANCE_MAGIC, "%px: magic failed\n", ci); - -@@ -529,7 +531,9 @@ EXPORT_SYMBOL(ecm_db_connection_data_tot - */ - void ecm_db_connection_data_totals_update_dropped(struct ecm_db_connection_instance *ci, bool is_from, uint64_t size, uint64_t packets) - { -+#ifdef ECM_DB_ADVANCED_STATS_ENABLE - int32_t i; -+#endif - - DEBUG_CHECK_MAGIC(ci, ECM_DB_CONNECTION_INSTANCE_MAGIC, "%px: magic failed\n", ci); - -@@ -1508,6 +1512,7 @@ void ecm_db_connection_defunct_all(void) - } - EXPORT_SYMBOL(ecm_db_connection_defunct_all); - -+#ifdef ECM_INTERFACE_OVS_BRIDGE_ENABLE - /* - * ecm_db_connection_defunct_by_classifier() - * Make defunct based on masked fields -@@ -1667,6 +1672,7 @@ next_ci: - ECM_IP_ADDR_TO_OCTAL(dest_addr_mask), dest_port_mask, proto_mask, cnt); - } - } -+#endif - - /* - * ecm_db_connection_defunct_by_port() -@@ -1956,6 +1962,7 @@ struct ecm_db_node_instance *ecm_db_conn - } - EXPORT_SYMBOL(ecm_db_connection_node_get_and_ref); - -+#ifdef ECM_DB_XREF_ENABLE - /* - * ecm_db_connection_mapping_get_and_ref_next() - * Return reference to next connection in the mapping chain in the specified direction. -@@ -1997,6 +2004,7 @@ struct ecm_db_connection_instance *ecm_d - return nci; - } - EXPORT_SYMBOL(ecm_db_connection_iface_get_and_ref_next); -+#endif - - /* - * ecm_db_connection_mapping_get_and_ref() ---- a/ecm_db/ecm_db_node.c -+++ b/ecm_db/ecm_db_node.c -@@ -224,9 +224,11 @@ EXPORT_SYMBOL(ecm_db_node_get_and_ref_ne - */ - int ecm_db_node_deref(struct ecm_db_node_instance *ni) - { -+#ifdef ECM_DB_XREF_ENABLE - #if (DEBUG_LEVEL >= 1) - int dir; - #endif -+#endif - DEBUG_CHECK_MAGIC(ni, ECM_DB_NODE_INSTANCE_MAGIC, "%px: magic failed\n", ni); - - spin_lock_bh(&ecm_db_lock); -@@ -486,9 +488,11 @@ EXPORT_SYMBOL(ecm_db_node_iface_get_and_ - void ecm_db_node_add(struct ecm_db_node_instance *ni, struct ecm_db_iface_instance *ii, uint8_t *address, - ecm_db_node_final_callback_t final, void *arg) - { -+#ifdef ECM_DB_XREF_ENABLE - #if (DEBUG_LEVEL >= 1) - int dir; - #endif -+#endif - ecm_db_node_hash_t hash_index; - struct ecm_db_listener_instance *li; - ---- a/ecm_interface.c -+++ b/ecm_interface.c -@@ -1343,6 +1343,7 @@ struct neighbour *ecm_interface_ipv6_nei - */ - bool ecm_interface_is_pptp(struct sk_buff *skb, const struct net_device *out) - { -+#ifdef ECM_INTERFACE_PPTP_ENABLE - struct net_device *in; - - /* -@@ -1367,6 +1368,7 @@ bool ecm_interface_is_pptp(struct sk_buf - } - - dev_put(in); -+#endif - return false; - } - -@@ -1379,6 +1381,7 @@ bool ecm_interface_is_pptp(struct sk_buf - */ - bool ecm_interface_is_l2tp_packet_by_version(struct sk_buff *skb, const struct net_device *out, int ver) - { -+#ifdef ECM_INTERFACE_L2TPV2_PPTP_ENABLE - uint32_t flag = 0; - struct net_device *in; - -@@ -1411,6 +1414,7 @@ bool ecm_interface_is_l2tp_packet_by_ver - } - - dev_put(in); -+#endif - return false; - } - -@@ -1423,6 +1427,7 @@ bool ecm_interface_is_l2tp_packet_by_ver - */ - bool ecm_interface_is_l2tp_pptp(struct sk_buff *skb, const struct net_device *out) - { -+#ifdef ECM_INTERFACE_L2TPV2_PPTP_ENABLE - struct net_device *in; - - /* -@@ -1445,6 +1450,7 @@ bool ecm_interface_is_l2tp_pptp(struct s - } - - dev_put(in); -+#endif - return false; - } - -@@ -6630,6 +6636,7 @@ static void ecm_interface_regenerate_con - return; - } - -+#ifdef ECM_DB_XREF_ENABLE - for (dir = 0; dir < ECM_DB_OBJ_DIR_MAX; dir++) { - /* - * Re-generate all connections associated with this interface -@@ -6645,6 +6652,7 @@ static void ecm_interface_regenerate_con - ci[dir] = cin; - } - } -+#endif - - #ifdef ECM_MULTICAST_ENABLE - /* ---- a/frontends/ecm_front_end_common.c -+++ b/frontends/ecm_front_end_common.c -@@ -106,6 +106,7 @@ bool ecm_front_end_gre_proto_is_accel_al - struct nf_conntrack_tuple *tuple, - int ip_version) - { -+#ifdef ECM_INTERFACE_GRE_ENABLE - struct net_device *dev; - struct gre_base_hdr *greh; - -@@ -117,10 +118,12 @@ bool ecm_front_end_gre_proto_is_accel_al - /* - * Case 1: PPTP locally terminated - */ -+#ifdef ECM_INTERFACE_PPTP_ENABLE - if (ecm_interface_is_pptp(skb, outdev)) { - DEBUG_TRACE("%px: PPTP GRE locally terminated - allow acceleration\n", skb); - return true; - } -+#endif - - /* - * Case 2: PPTP pass through -@@ -223,6 +226,10 @@ bool ecm_front_end_gre_proto_is_accel_al - */ - DEBUG_TRACE("%px: GRE IPv%d pass through - allow acceleration\n", skb, ip_version); - return true; -+#else -+ DEBUG_TRACE("%px: GRE%d feature is disabled - do not allow acceleration\n", skb, ip_version); -+ return false; -+#endif - } - - #ifdef ECM_CLASSIFIER_DSCP_ENABLE diff --git a/qca/qca-nss-ecm/patches/100-kernel-5.10-support.patch b/qca/qca-nss-ecm/patches/100-kernel-5.10-support.patch deleted file mode 100644 index 3729dd3b9..000000000 --- a/qca/qca-nss-ecm/patches/100-kernel-5.10-support.patch +++ /dev/null @@ -1,831 +0,0 @@ -From e8b642c23af9146c973e828a7f4e0fb56cfc8d0b Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Sat, 15 May 2021 03:51:14 +0200 -Subject: [PATCH] add support for kernel 5.10 - -Signed-off-by: Ansuel Smith ---- - ecm_classifier_default.c | 24 +++--------- - ecm_classifier_dscp.c | 8 +--- - ecm_classifier_emesh.c | 16 ++------ - ecm_classifier_hyfi.c | 7 +--- - ecm_classifier_mark.c | 8 +--- - ecm_classifier_ovs.c | 8 +--- - ecm_classifier_pcc.c | 8 +--- - ecm_conntrack_notifier.c | 8 +--- - ecm_db/ecm_db_connection.c | 7 +--- - ecm_db/ecm_db_host.c | 7 +--- - ecm_db/ecm_db_iface.c | 7 +--- - ecm_db/ecm_db_mapping.c | 7 +--- - ecm_db/ecm_db_node.c | 7 +--- - ecm_interface.c | 4 +- - ecm_state.c | 14 ++----- - frontends/ecm_front_end_common.c | 4 +- - frontends/ecm_front_end_ipv4.c | 7 +--- - frontends/ecm_front_end_ipv6.c | 7 +--- - frontends/nss/ecm_nss_bond_notifier.c | 8 +--- - frontends/nss/ecm_nss_ipv4.c | 49 +++++++------------------ - frontends/nss/ecm_nss_ipv6.c | 49 +++++++------------------ - frontends/nss/ecm_nss_multicast_ipv4.c | 7 +--- - frontends/nss/ecm_nss_multicast_ipv6.c | 7 +--- - frontends/nss/ecm_nss_non_ported_ipv4.c | 7 +--- - frontends/nss/ecm_nss_non_ported_ipv6.c | 7 +--- - frontends/nss/ecm_nss_ported_ipv4.c | 8 +--- - frontends/nss/ecm_nss_ported_ipv6.c | 8 +--- - frontends/sfe/ecm_sfe_ipv4.c | 49 +++++++------------------ - frontends/sfe/ecm_sfe_ipv6.c | 49 +++++++------------------ - frontends/sfe/ecm_sfe_non_ported_ipv4.c | 7 +--- - frontends/sfe/ecm_sfe_non_ported_ipv6.c | 7 +--- - frontends/sfe/ecm_sfe_ported_ipv4.c | 8 +--- - frontends/sfe/ecm_sfe_ported_ipv6.c | 8 +--- - 33 files changed, 122 insertions(+), 314 deletions(-) - ---- a/ecm_classifier_default.c -+++ b/ecm_classifier_default.c -@@ -776,26 +776,14 @@ int ecm_classifier_default_init(struct d - return -1; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_default_dentry, -- (u32 *)&ecm_classifier_default_enabled)) { -- DEBUG_ERROR("Failed to create ecm deafult classifier enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_default_dentry); -- return -1; -- } -+ debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_default_dentry, -+ (u32 *)&ecm_classifier_default_enabled); - -- if (!debugfs_create_u32("accel_mode", S_IRUGO | S_IWUSR, ecm_classifier_default_dentry, -- (u32 *)&ecm_classifier_default_accel_mode)) { -- DEBUG_ERROR("Failed to create ecm deafult classifier accel_mode file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_default_dentry); -- return -1; -- } -+ debugfs_create_u32("accel_mode", S_IRUGO | S_IWUSR, ecm_classifier_default_dentry, -+ (u32 *)&ecm_classifier_default_accel_mode); - -- if (!debugfs_create_u32("accel_delay_pkts", S_IRUGO | S_IWUSR, ecm_classifier_default_dentry, -- (u32 *)&ecm_classifier_accel_delay_pkts)) { -- DEBUG_ERROR("Failed to create accel delay packet counts in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_default_dentry); -- return -1; -- } -+ debugfs_create_u32("accel_delay_pkts", S_IRUGO | S_IWUSR, ecm_classifier_default_dentry, -+ (u32 *)&ecm_classifier_accel_delay_pkts); - - return 0; - } ---- a/ecm_classifier_dscp.c -+++ b/ecm_classifier_dscp.c -@@ -747,12 +747,8 @@ int ecm_classifier_dscp_init(struct dent - return -1; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_dscp_dentry, -- (u32 *)&ecm_classifier_dscp_enabled)) { -- DEBUG_ERROR("Failed to create dscp enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_dscp_dentry); -- return -1; -- } -+ debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_dscp_dentry, -+ (u32 *)&ecm_classifier_dscp_enabled); - - return 0; - } ---- a/ecm_classifier_emesh.c -+++ b/ecm_classifier_emesh.c -@@ -974,19 +974,11 @@ int ecm_classifier_emesh_init(struct den - return -1; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_emesh_dentry, -- (u32 *)&ecm_classifier_emesh_enabled)) { -- DEBUG_ERROR("Failed to create ecm emesh classifier enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_emesh_dentry); -- return -1; -- } -+ debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_emesh_dentry, -+ (u32 *)&ecm_classifier_emesh_enabled); - -- if (!debugfs_create_u32("latency_config_enabled", S_IRUGO | S_IWUSR, ecm_classifier_emesh_dentry, -- (u32 *)&ecm_classifier_emesh_latency_config_enabled)) { -- DEBUG_ERROR("Failed to create ecm emesh classifier latency config enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_emesh_dentry); -- return -1; -- } -+ debugfs_create_u32("latency_config_enabled", S_IRUGO | S_IWUSR, ecm_classifier_emesh_dentry, -+ (u32 *)&ecm_classifier_emesh_latency_config_enabled); - - /* - * Register for service prioritization notification update. ---- a/ecm_classifier_hyfi.c -+++ b/ecm_classifier_hyfi.c -@@ -1099,11 +1099,8 @@ int ecm_classifier_hyfi_rules_init(struc - goto classifier_task_cleanup; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_hyfi_dentry, -- (u32 *)&ecm_classifier_hyfi_enabled)) { -- DEBUG_ERROR("Failed to create ecm hyfi classifier enabled file in debugfs\n"); -- goto classifier_task_cleanup; -- } -+ debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_hyfi_dentry, -+ (u32 *)&ecm_classifier_hyfi_enabled); - - if (!debugfs_create_file("cmd", S_IWUSR, ecm_classifier_hyfi_dentry, - NULL, &ecm_classifier_hyfi_cmd_fops)) { ---- a/ecm_classifier_mark.c -+++ b/ecm_classifier_mark.c -@@ -753,12 +753,8 @@ int ecm_classifier_mark_init(struct dent - return -1; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_mark_dentry, -- (u32 *)&ecm_classifier_mark_enabled)) { -- DEBUG_ERROR("Failed to create mark enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_mark_dentry); -- return -1; -- } -+ debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_mark_dentry, -+ (u32 *)&ecm_classifier_mark_enabled); - - return 0; - } ---- a/ecm_classifier_ovs.c -+++ b/ecm_classifier_ovs.c -@@ -2200,12 +2200,8 @@ int ecm_classifier_ovs_init(struct dentr - return -1; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_ovs_dentry, -- (u32 *)&ecm_classifier_ovs_enabled)) { -- DEBUG_ERROR("Failed to create ovs enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_ovs_dentry); -- return -1; -- } -+ debugfs_create_u32("enabled", S_IRUGO | S_IWUSR, ecm_classifier_ovs_dentry, -+ (u32 *)&ecm_classifier_ovs_enabled); - - return 0; - } ---- a/ecm_classifier_pcc.c -+++ b/ecm_classifier_pcc.c -@@ -1308,12 +1308,8 @@ int ecm_classifier_pcc_init(struct dentr - return -1; - } - -- if (!debugfs_create_u32("enabled", S_IRUGO, ecm_classifier_pcc_dentry, -- (u32 *)&ecm_classifier_pcc_enabled)) { -- DEBUG_ERROR("Failed to create pcc enabled file in debugfs\n"); -- debugfs_remove_recursive(ecm_classifier_pcc_dentry); -- return -1; -- } -+ debugfs_create_u32("enabled", S_IRUGO, ecm_classifier_pcc_dentry, -+ (u32 *)&ecm_classifier_pcc_enabled); - - return 0; - } ---- a/ecm_conntrack_notifier.c -+++ b/ecm_conntrack_notifier.c -@@ -414,12 +414,8 @@ int ecm_conntrack_notifier_init(struct d - return -1; - } - -- if (!debugfs_create_u32("stop", S_IRUGO | S_IWUSR, ecm_conntrack_notifier_dentry, -- (u32 *)&ecm_conntrack_notifier_stopped)) { -- DEBUG_ERROR("Failed to create ecm conntrack notifier stopped file in debugfs\n"); -- debugfs_remove_recursive(ecm_conntrack_notifier_dentry); -- return -1; -- } -+ debugfs_create_u32("stop", S_IRUGO | S_IWUSR, ecm_conntrack_notifier_dentry, -+ (u32 *)&ecm_conntrack_notifier_stopped); - - #ifdef CONFIG_NF_CONNTRACK_EVENTS - /* ---- a/ecm_db/ecm_db_connection.c -+++ b/ecm_db/ecm_db_connection.c -@@ -3642,11 +3642,8 @@ static struct file_operations ecm_db_con - */ - bool ecm_db_connection_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("connection_count", S_IRUGO, dentry, -- (u32 *)&ecm_db_connection_count)) { -- DEBUG_ERROR("Failed to create ecm db connection count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("connection_count", S_IRUGO, dentry, -+ (u32 *)&ecm_db_connection_count); - - if (!debugfs_create_file("connection_count_simple", S_IRUGO, dentry, - NULL, &ecm_db_connection_count_simple_fops)) { ---- a/ecm_db/ecm_db_host.c -+++ b/ecm_db/ecm_db_host.c -@@ -770,11 +770,8 @@ EXPORT_SYMBOL(ecm_db_host_alloc); - bool ecm_db_host_init(struct dentry *dentry) - { - -- if (!debugfs_create_u32("host_count", S_IRUGO, dentry, -- (u32 *)&ecm_db_host_count)) { -- DEBUG_ERROR("Failed to create ecm db host count file in debugfs\n"); -- return false;; -- } -+ debugfs_create_u32("host_count", S_IRUGO, dentry, -+ (u32 *)&ecm_db_host_count); - - ecm_db_host_table = vzalloc(sizeof(struct ecm_db_host_instance *) * ECM_DB_HOST_HASH_SLOTS); - if (!ecm_db_host_table) { ---- a/ecm_db/ecm_db_iface.c -+++ b/ecm_db/ecm_db_iface.c -@@ -3670,11 +3670,8 @@ EXPORT_SYMBOL(ecm_db_iface_alloc); - */ - bool ecm_db_iface_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("iface_count", S_IRUGO, dentry, -- (u32 *)&ecm_db_iface_count)) { -- DEBUG_ERROR("Failed to create ecm db iface count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("iface_count", S_IRUGO, dentry, -+ (u32 *)&ecm_db_iface_count); - - return true; - } ---- a/ecm_db/ecm_db_mapping.c -+++ b/ecm_db/ecm_db_mapping.c -@@ -806,11 +806,8 @@ EXPORT_SYMBOL(ecm_db_mapping_alloc); - */ - bool ecm_db_mapping_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("mapping_count", S_IRUGO, dentry, -- (u32 *)&ecm_db_mapping_count)) { -- DEBUG_ERROR("Failed to create ecm db mapping count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("mapping_count", S_IRUGO, dentry, -+ (u32 *)&ecm_db_mapping_count); - - ecm_db_mapping_table = vzalloc(sizeof(struct ecm_db_mapping_instance *) * ECM_DB_MAPPING_HASH_SLOTS); - if (!ecm_db_mapping_table) { ---- a/ecm_db/ecm_db_node.c -+++ b/ecm_db/ecm_db_node.c -@@ -1187,11 +1187,8 @@ keep_sni_conn: - */ - bool ecm_db_node_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("node_count", S_IRUGO, dentry, -- (u32 *)&ecm_db_node_count)) { -- DEBUG_ERROR("Failed to create ecm db node count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("node_count", S_IRUGO, dentry, -+ (u32 *)&ecm_db_node_count); - - ecm_db_node_table = vzalloc(sizeof(struct ecm_db_node_instance *) * ECM_DB_NODE_HASH_SLOTS); - if (!ecm_db_node_table) { ---- a/ecm_interface.c -+++ b/ecm_interface.c -@@ -332,7 +332,7 @@ static struct net_device *ecm_interface_ - struct net_device *dev; - - ECM_IP_ADDR_TO_NIN6_ADDR(addr6, addr); -- dev = (struct net_device *)ipv6_dev_find(&init_net, &addr6, 1); -+ dev = (struct net_device *)ipv6_dev_find_and_hold(&init_net, &addr6, 1); - return dev; - } - #endif -@@ -734,7 +734,7 @@ static bool ecm_interface_mac_addr_get_i - * Get the MAC address that corresponds to IP address given. - */ - ECM_IP_ADDR_TO_NIN6_ADDR(daddr, addr); -- local_dev = ipv6_dev_find(&init_net, &daddr, 1); -+ local_dev = ipv6_dev_find_and_hold(&init_net, &daddr, 1); - if (local_dev) { - DEBUG_TRACE("%pi6 is a local address\n", &daddr); - memcpy(mac_addr, dev->dev_addr, ETH_ALEN); ---- a/ecm_state.c -+++ b/ecm_state.c -@@ -899,17 +899,11 @@ int ecm_state_init(struct dentry *dentry - return -1; - } - -- if (!debugfs_create_u32("state_dev_major", S_IRUGO, ecm_state_dentry, -- (u32 *)&ecm_state_dev_major_id)) { -- DEBUG_ERROR("Failed to create ecm state dev major file in debugfs\n"); -- goto init_cleanup; -- } -+ debugfs_create_u32("state_dev_major", S_IRUGO, ecm_state_dentry, -+ (u32 *)&ecm_state_dev_major_id); - -- if (!debugfs_create_u32("state_file_output_mask", S_IRUGO | S_IWUSR, ecm_state_dentry, -- (u32 *)&ecm_state_file_output_mask)) { -- DEBUG_ERROR("Failed to create ecm state output mask file in debugfs\n"); -- goto init_cleanup; -- } -+ debugfs_create_u32("state_file_output_mask", S_IRUGO | S_IWUSR, ecm_state_dentry, -+ (u32 *)&ecm_state_file_output_mask); - - /* - * Register a char device that we will use to provide a dump of our state ---- a/frontends/ecm_front_end_common.c -+++ b/frontends/ecm_front_end_common.c -@@ -192,7 +192,7 @@ bool ecm_front_end_gre_proto_is_accel_al - return false; - } - } else { -- dev = ipv6_dev_find(&init_net, &(tuple->src.u3.in6), 1); -+ dev = ipv6_dev_find_and_hold(&init_net, &(tuple->src.u3.in6), 1); - if (dev) { - /* - * Source IP address is local -@@ -202,7 +202,7 @@ bool ecm_front_end_gre_proto_is_accel_al - return false; - } - -- dev = ipv6_dev_find(&init_net, &(tuple->dst.u3.in6), 1); -+ dev = ipv6_dev_find_and_hold(&init_net, &(tuple->dst.u3.in6), 1); - if (dev) { - /* - * Destination IP address is local ---- a/frontends/ecm_front_end_ipv4.c -+++ b/frontends/ecm_front_end_ipv4.c -@@ -376,11 +376,8 @@ void ecm_front_end_ipv4_stop(int num) - */ - int ecm_front_end_ipv4_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("front_end_ipv4_stop", S_IRUGO | S_IWUSR, dentry, -- (u32 *)&ecm_front_end_ipv4_stopped)) { -- DEBUG_ERROR("Failed to create ecm front end ipv4 stop file in debugfs\n"); -- return -1; -- } -+ debugfs_create_u32("front_end_ipv4_stop", S_IRUGO | S_IWUSR, dentry, -+ (u32 *)&ecm_front_end_ipv4_stopped); - - switch (ecm_front_end_type_get()) { - case ECM_FRONT_END_TYPE_NSS: ---- a/frontends/ecm_front_end_ipv6.c -+++ b/frontends/ecm_front_end_ipv6.c -@@ -255,11 +255,8 @@ void ecm_front_end_ipv6_stop(int num) - */ - int ecm_front_end_ipv6_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("front_end_ipv6_stop", S_IRUGO | S_IWUSR, dentry, -- (u32 *)&ecm_front_end_ipv6_stopped)) { -- DEBUG_ERROR("Failed to create ecm front end ipv6 stop file in debugfs\n"); -- return -1; -- } -+ debugfs_create_u32("front_end_ipv6_stop", S_IRUGO | S_IWUSR, dentry, -+ (u32 *)&ecm_front_end_ipv6_stopped); - - switch (ecm_front_end_type_get()) { - case ECM_FRONT_END_TYPE_NSS: ---- a/frontends/nss/ecm_nss_bond_notifier.c -+++ b/frontends/nss/ecm_nss_bond_notifier.c -@@ -240,12 +240,8 @@ int ecm_nss_bond_notifier_init(struct de - return -1; - } - -- if (!debugfs_create_u32("stop", S_IRUGO | S_IWUSR, ecm_nss_bond_notifier_dentry, -- (u32 *)&ecm_nss_bond_notifier_stopped)) { -- DEBUG_ERROR("Failed to create ecm bond notifier stopped file in debugfs\n"); -- debugfs_remove_recursive(ecm_nss_bond_notifier_dentry); -- return -1; -- } -+ debugfs_create_u32("stop", S_IRUGO | S_IWUSR, ecm_nss_bond_notifier_dentry, -+ (u32 *)&ecm_nss_bond_notifier_stopped); - - /* - * Register Link Aggregation callbacks with the bonding driver ---- a/frontends/nss/ecm_nss_ipv4.c -+++ b/frontends/nss/ecm_nss_ipv4.c -@@ -2802,41 +2802,23 @@ int ecm_nss_ipv4_init(struct dentry *den - return result; - } - -- if (!debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_no_action_limit_default)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 no_action_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_no_action_limit_default); - -- if (!debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_driver_fail_limit_default)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 driver_fail_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_driver_fail_limit_default); - -- if (!debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_nack_limit_default)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 nack_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_nack_limit_default); - -- if (!debugfs_create_u32("accelerated_count", S_IRUGO, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 accelerated_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("accelerated_count", S_IRUGO, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_accelerated_count); - -- if (!debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_pending_accel_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 pending_accel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_pending_accel_count); - -- if (!debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_pending_decel_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 pending_decel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_pending_decel_count); - - if (!debugfs_create_file("accel_limit_mode", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, - NULL, &ecm_nss_ipv4_accel_limit_mode_fops)) { -@@ -2867,11 +2849,8 @@ int ecm_nss_ipv4_init(struct dentry *den - goto task_cleanup; - } - -- if (!debugfs_create_u32("vlan_passthrough_set", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -- (u32 *)&ecm_nss_ipv4_vlan_passthrough_enable)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 vlan passthrough file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("vlan_passthrough_set", S_IRUGO | S_IWUSR, ecm_nss_ipv4_dentry, -+ (u32 *)&ecm_nss_ipv4_vlan_passthrough_enable); - - #ifdef ECM_NON_PORTED_SUPPORT_ENABLE - if (!ecm_nss_non_ported_ipv4_debugfs_init(ecm_nss_ipv4_dentry)) { ---- a/frontends/nss/ecm_nss_ipv6.c -+++ b/frontends/nss/ecm_nss_ipv6.c -@@ -2542,41 +2542,23 @@ int ecm_nss_ipv6_init(struct dentry *den - return result; - } - -- if (!debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_no_action_limit_default)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 no_action_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_no_action_limit_default); - -- if (!debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_driver_fail_limit_default)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 driver_fail_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_driver_fail_limit_default); - -- if (!debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_nack_limit_default)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 nack_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_nack_limit_default); - -- if (!debugfs_create_u32("accelerated_count", S_IRUGO, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 accelerated_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("accelerated_count", S_IRUGO, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_accelerated_count); - -- if (!debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_pending_accel_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 pending_accel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_pending_accel_count); - -- if (!debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_pending_decel_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 pending_decel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_pending_decel_count); - - if (!debugfs_create_file("accel_limit_mode", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, - NULL, &ecm_nss_ipv6_accel_limit_mode_fops)) { -@@ -2607,11 +2589,8 @@ int ecm_nss_ipv6_init(struct dentry *den - goto task_cleanup; - } - -- if (!debugfs_create_u32("vlan_passthrough_set", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -- (u32 *)&ecm_nss_ipv6_vlan_passthrough_enable)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 vlan passthrough file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("vlan_passthrough_set", S_IRUGO | S_IWUSR, ecm_nss_ipv6_dentry, -+ (u32 *)&ecm_nss_ipv6_vlan_passthrough_enable); - - #ifdef ECM_NON_PORTED_SUPPORT_ENABLE - if (!ecm_nss_non_ported_ipv6_debugfs_init(ecm_nss_ipv6_dentry)) { ---- a/frontends/nss/ecm_nss_multicast_ipv4.c -+++ b/frontends/nss/ecm_nss_multicast_ipv4.c -@@ -4139,11 +4139,8 @@ void ecm_nss_multicast_ipv4_stop(int num - */ - int ecm_nss_multicast_ipv4_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("ecm_nss_multicast_ipv4_stop", S_IRUGO | S_IWUSR, dentry, -- (u32 *)&ecm_front_end_ipv4_mc_stopped)) { -- DEBUG_ERROR("Failed to create ecm front end ipv4 mc stop file in debugfs\n"); -- return -1; -- } -+ debugfs_create_u32("ecm_nss_multicast_ipv4_stop", S_IRUGO | S_IWUSR, dentry, -+ (u32 *)&ecm_front_end_ipv4_mc_stopped); - - /* - * Register multicast update callback to MCS snooper ---- a/frontends/nss/ecm_nss_multicast_ipv6.c -+++ b/frontends/nss/ecm_nss_multicast_ipv6.c -@@ -3939,11 +3939,8 @@ void ecm_nss_multicast_ipv6_stop(int num - */ - int ecm_nss_multicast_ipv6_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("ecm_nss_multicast_ipv6_stop", S_IRUGO | S_IWUSR, dentry, -- (u32 *)&ecm_front_end_ipv6_mc_stopped)) { -- DEBUG_ERROR("Failed to create ecm front end ipv6 mc stop file in debugfs\n"); -- return -1; -- } -+ debugfs_create_u32("ecm_nss_multicast_ipv6_stop", S_IRUGO | S_IWUSR, dentry, -+ (u32 *)&ecm_front_end_ipv6_mc_stopped); - - /* - * Register multicast update callback to MCS snooper ---- a/frontends/nss/ecm_nss_non_ported_ipv4.c -+++ b/frontends/nss/ecm_nss_non_ported_ipv4.c -@@ -2615,11 +2615,8 @@ done: - */ - bool ecm_nss_non_ported_ipv4_debugfs_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -- (u32 *)&ecm_nss_non_ported_ipv4_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 non_ported_accelerated_count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -+ (u32 *)&ecm_nss_non_ported_ipv4_accelerated_count); - - return true; - } ---- a/frontends/nss/ecm_nss_non_ported_ipv6.c -+++ b/frontends/nss/ecm_nss_non_ported_ipv6.c -@@ -2329,11 +2329,8 @@ done: - */ - bool ecm_nss_non_ported_ipv6_debugfs_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -- (u32 *)&ecm_nss_non_ported_ipv6_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 non_ported_accelerated_count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -+ (u32 *)&ecm_nss_non_ported_ipv6_accelerated_count); - - return true; - } ---- a/frontends/nss/ecm_nss_ported_ipv4.c -+++ b/frontends/nss/ecm_nss_ported_ipv4.c -@@ -2944,12 +2944,8 @@ bool ecm_nss_ported_ipv4_debugfs_init(st - return false; - } - -- if (!debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -- &ecm_nss_ported_ipv4_accelerated_count[ECM_NSS_PORTED_IPV4_PROTO_TCP])) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 tcp_accelerated_count file in debugfs\n"); -- debugfs_remove(udp_dentry); -- return false; -- } -+ debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -+ &ecm_nss_ported_ipv4_accelerated_count[ECM_NSS_PORTED_IPV4_PROTO_TCP]); - - return true; - } ---- a/frontends/nss/ecm_nss_ported_ipv6.c -+++ b/frontends/nss/ecm_nss_ported_ipv6.c -@@ -2732,12 +2732,8 @@ bool ecm_nss_ported_ipv6_debugfs_init(st - return false; - } - -- if (!debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -- &ecm_nss_ported_ipv6_accelerated_count[ECM_NSS_PORTED_IPV6_PROTO_TCP])) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 tcp_accelerated_count file in debugfs\n"); -- debugfs_remove(udp_dentry); -- return false; -- } -+ debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -+ &ecm_nss_ported_ipv6_accelerated_count[ECM_NSS_PORTED_IPV6_PROTO_TCP]); - - return true; - } ---- a/frontends/sfe/ecm_sfe_ipv4.c -+++ b/frontends/sfe/ecm_sfe_ipv4.c -@@ -1808,48 +1808,27 @@ int ecm_sfe_ipv4_init(struct dentry *den - } - - #ifdef CONFIG_XFRM -- if (!debugfs_create_u32("reject_acceleration_for_ipsec", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_reject_acceleration_for_ipsec)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 reject_acceleration_for_ipsec file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("reject_acceleration_for_ipsec", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_reject_acceleration_for_ipsec); - #endif - -- if (!debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_no_action_limit_default)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 no_action_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_no_action_limit_default); - -- if (!debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_driver_fail_limit_default)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 driver_fail_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_driver_fail_limit_default); - -- if (!debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_nack_limit_default)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 nack_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_nack_limit_default); - -- if (!debugfs_create_u32("accelerated_count", S_IRUGO, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 accelerated_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("accelerated_count", S_IRUGO, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_accelerated_count); - -- if (!debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_pending_accel_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 pending_accel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_pending_accel_count); - -- if (!debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_sfe_ipv4_dentry, -- (u32 *)&ecm_sfe_ipv4_pending_decel_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 pending_decel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_sfe_ipv4_dentry, -+ (u32 *)&ecm_sfe_ipv4_pending_decel_count); - - if (!debugfs_create_file("accel_limit_mode", S_IRUGO | S_IWUSR, ecm_sfe_ipv4_dentry, - NULL, &ecm_sfe_ipv4_accel_limit_mode_fops)) { ---- a/frontends/sfe/ecm_sfe_ipv6.c -+++ b/frontends/sfe/ecm_sfe_ipv6.c -@@ -1532,48 +1532,27 @@ int ecm_sfe_ipv6_init(struct dentry *den - } - - #ifdef CONFIG_XFRM -- if (!debugfs_create_u32("reject_acceleration_for_ipsec", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_reject_acceleration_for_ipsec)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 reject_acceleration_for_ipsec file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("reject_acceleration_for_ipsec", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_reject_acceleration_for_ipsec); - #endif - -- if (!debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_no_action_limit_default)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 no_action_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("no_action_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_no_action_limit_default); - -- if (!debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_driver_fail_limit_default)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 driver_fail_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("driver_fail_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_driver_fail_limit_default); - -- if (!debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_nack_limit_default)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 nack_limit_default file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("nack_limit_default", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_nack_limit_default); - -- if (!debugfs_create_u32("accelerated_count", S_IRUGO, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 accelerated_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("accelerated_count", S_IRUGO, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_accelerated_count); - -- if (!debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_pending_accel_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 pending_accel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_accel_count", S_IRUGO, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_pending_accel_count); - -- if (!debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_sfe_ipv6_dentry, -- (u32 *)&ecm_sfe_ipv6_pending_decel_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 pending_decel_count file in debugfs\n"); -- goto task_cleanup; -- } -+ debugfs_create_u32("pending_decel_count", S_IRUGO, ecm_sfe_ipv6_dentry, -+ (u32 *)&ecm_sfe_ipv6_pending_decel_count); - - if (!debugfs_create_file("accel_limit_mode", S_IRUGO | S_IWUSR, ecm_sfe_ipv6_dentry, - NULL, &ecm_sfe_ipv6_accel_limit_mode_fops)) { ---- a/frontends/sfe/ecm_sfe_non_ported_ipv4.c -+++ b/frontends/sfe/ecm_sfe_non_ported_ipv4.c -@@ -2284,11 +2284,8 @@ done: - */ - bool ecm_sfe_non_ported_ipv4_debugfs_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -- (u32 *)&ecm_sfe_non_ported_ipv4_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 non_ported_accelerated_count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -+ (u32 *)&ecm_sfe_non_ported_ipv4_accelerated_count); - - return true; - } ---- a/frontends/sfe/ecm_sfe_non_ported_ipv6.c -+++ b/frontends/sfe/ecm_sfe_non_ported_ipv6.c -@@ -2083,11 +2083,8 @@ done: - */ - bool ecm_sfe_non_ported_ipv6_debugfs_init(struct dentry *dentry) - { -- if (!debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -- (u32 *)&ecm_sfe_non_ported_ipv6_accelerated_count)) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 non_ported_accelerated_count file in debugfs\n"); -- return false; -- } -+ debugfs_create_u32("non_ported_accelerated_count", S_IRUGO, dentry, -+ (u32 *)&ecm_sfe_non_ported_ipv6_accelerated_count); - - return true; - } ---- a/frontends/sfe/ecm_sfe_ported_ipv4.c -+++ b/frontends/sfe/ecm_sfe_ported_ipv4.c -@@ -2528,12 +2528,8 @@ bool ecm_sfe_ported_ipv4_debugfs_init(st - return false; - } - -- if (!debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -- &ecm_sfe_ported_ipv4_accelerated_count[ECM_SFE_PORTED_IPV4_PROTO_TCP])) { -- DEBUG_ERROR("Failed to create ecm sfe ipv4 tcp_accelerated_count file in debugfs\n"); -- debugfs_remove(udp_dentry); -- return false; -- } -+ debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -+ &ecm_sfe_ported_ipv4_accelerated_count[ECM_SFE_PORTED_IPV4_PROTO_TCP]); - - return true; - } ---- a/frontends/sfe/ecm_sfe_ported_ipv6.c -+++ b/frontends/sfe/ecm_sfe_ported_ipv6.c -@@ -2374,12 +2374,8 @@ bool ecm_sfe_ported_ipv6_debugfs_init(st - return false; - } - -- if (!debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -- &ecm_sfe_ported_ipv6_accelerated_count[ECM_SFE_PORTED_IPV6_PROTO_TCP])) { -- DEBUG_ERROR("Failed to create ecm sfe ipv6 tcp_accelerated_count file in debugfs\n"); -- debugfs_remove(udp_dentry); -- return false; -- } -+ debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, -+ &ecm_sfe_ported_ipv6_accelerated_count[ECM_SFE_PORTED_IPV6_PROTO_TCP]); - - return true; - } diff --git a/qca/qca-nss-ecm/patches/200-resolve-high-load.patch b/qca/qca-nss-ecm/patches/200-resolve-high-load.patch deleted file mode 100644 index 253b450a5..000000000 --- a/qca/qca-nss-ecm/patches/200-resolve-high-load.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 6924b71ed809b37fffd74d6428a8ca83e5919746 Mon Sep 17 00:00:00 2001 -From: Dirk Buchwalder -Date: Sun, 27 Jun 2021 16:52:39 +0200 -Subject: [PATCH] qca-nss-ecm: resolve the cpu high load regarding ecm - -If using ECM, cpu load goes up (around 1.0) and stucks there. -This is due to using uninterruptible sleep function, -the patch changes this to interruptible sleep function. - -Signed-off-by: Dirk Buchwalder ---- - frontends/nss/ecm_nss_ipv4.c | 4 ++-- - frontends/nss/ecm_nss_ipv6.c | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/frontends/nss/ecm_nss_ipv4.c b/frontends/nss/ecm_nss_ipv4.c -index e00553c..94b39cd 100644 ---- a/frontends/nss/ecm_nss_ipv4.c -+++ b/frontends/nss/ecm_nss_ipv4.c -@@ -2471,7 +2471,7 @@ static void ecm_nss_ipv4_stats_sync_req_work(struct work_struct *work) - } - spin_unlock_bh(&ecm_nss_ipv4_lock); - -- usleep_range(ECM_NSS_IPV4_STATS_SYNC_UDELAY - 100, ECM_NSS_IPV4_STATS_SYNC_UDELAY); -+ msleep_interruptible(ECM_NSS_IPV4_STATS_SYNC_UDELAY / 1000); - - /* - * If index is 0, we are starting a new round, but if we still have time remain -@@ -2485,7 +2485,7 @@ static void ecm_nss_ipv4_stats_sync_req_work(struct work_struct *work) - } - - if (time_after(ecm_nss_ipv4_next_req_time, current_jiffies)) { -- msleep(jiffies_to_msecs(ecm_nss_ipv4_next_req_time - current_jiffies)); -+ msleep_interruptible(jiffies_to_msecs(ecm_nss_ipv4_next_req_time - current_jiffies)); - } - ecm_nss_ipv4_roll_check_jiffies = jiffies; - ecm_nss_ipv4_next_req_time = ecm_nss_ipv4_roll_check_jiffies + ECM_NSS_IPV4_STATS_SYNC_PERIOD; -diff --git a/frontends/nss/ecm_nss_ipv6.c b/frontends/nss/ecm_nss_ipv6.c -index 82e739f..30af050 100644 ---- a/frontends/nss/ecm_nss_ipv6.c -+++ b/frontends/nss/ecm_nss_ipv6.c -@@ -2210,7 +2210,7 @@ static void ecm_nss_ipv6_stats_sync_req_work(struct work_struct *work) - } - spin_unlock_bh(&ecm_nss_ipv6_lock); - -- usleep_range(ECM_NSS_IPV6_STATS_SYNC_UDELAY - 100, ECM_NSS_IPV6_STATS_SYNC_UDELAY); -+ msleep_interruptible(ECM_NSS_IPV6_STATS_SYNC_UDELAY / 1000); - - /* - * If index is 0, we are starting a new round, but if we still have time remain -@@ -2224,7 +2224,7 @@ static void ecm_nss_ipv6_stats_sync_req_work(struct work_struct *work) - } - - if (time_after(ecm_nss_ipv6_next_req_time, current_jiffies)) { -- msleep(jiffies_to_msecs(ecm_nss_ipv6_next_req_time - current_jiffies)); -+ msleep_interruptible(jiffies_to_msecs(ecm_nss_ipv6_next_req_time - current_jiffies)); - } - ecm_nss_ipv6_roll_check_jiffies = jiffies; - ecm_nss_ipv6_next_req_time = ecm_nss_ipv6_roll_check_jiffies + ECM_NSS_IPV6_STATS_SYNC_PERIOD; --- -2.31.1 diff --git a/qca/qca-nss-ecm/patches/203-rework-nfct-notification.patch b/qca/qca-nss-ecm/patches/203-rework-nfct-notification.patch deleted file mode 100644 index 72005cd70..000000000 --- a/qca/qca-nss-ecm/patches/203-rework-nfct-notification.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/ecm_conntrack_notifier.c -+++ b/ecm_conntrack_notifier.c -@@ -421,7 +421,11 @@ int ecm_conntrack_notifier_init(struct d - /* - * Eventing subsystem is available so we register a notifier hook to get fast notifications of expired connections - */ -+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS -+ result = nf_conntrack_register_chain_notifier(&init_net, &ecm_conntrack_notifier); -+#else - result = nf_conntrack_register_notifier(&init_net, &ecm_conntrack_notifier); -+#endif - if (result < 0) { - DEBUG_ERROR("Can't register nf notifier hook.\n"); - debugfs_remove_recursive(ecm_conntrack_notifier_dentry); -@@ -439,7 +443,9 @@ EXPORT_SYMBOL(ecm_conntrack_notifier_ini - void ecm_conntrack_notifier_exit(void) - { - DEBUG_INFO("ECM Conntrack Notifier exit\n"); --#ifdef CONFIG_NF_CONNTRACK_EVENTS -+#ifdef CONFIG_NF_CONNTRACK_CHAIN_EVENTS -+ nf_conntrack_unregister_chain_notifier(&init_net, &ecm_conntrack_notifier); -+#else - nf_conntrack_unregister_notifier(&init_net, &ecm_conntrack_notifier); - #endif - /* diff --git a/qca/qca-nss-ecm/patches/204-More-compile-fixes.patch b/qca/qca-nss-ecm/patches/204-More-compile-fixes.patch deleted file mode 100644 index 63a83c193..000000000 --- a/qca/qca-nss-ecm/patches/204-More-compile-fixes.patch +++ /dev/null @@ -1,49 +0,0 @@ -From e6d701c0d454d841366c556b2ef07a5203ffb35d Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 21 May 2021 21:41:31 +0200 -Subject: [PATCH] More compile fixes - -More runtime compile fixes. - -Signed-off-by: Robert Marko ---- - frontends/nss/ecm_nss_ported_ipv4.c | 12 +++--------- - frontends/nss/ecm_nss_ported_ipv6.c | 12 +++--------- - 2 files changed, 6 insertions(+), 18 deletions(-) - ---- a/frontends/nss/ecm_nss_ported_ipv4.c -+++ b/frontends/nss/ecm_nss_ported_ipv4.c -@@ -2935,14 +2935,8 @@ done: - */ - bool ecm_nss_ported_ipv4_debugfs_init(struct dentry *dentry) - { -- struct dentry *udp_dentry; -- -- udp_dentry = debugfs_create_u32("udp_accelerated_count", S_IRUGO, dentry, -+ debugfs_create_u32("udp_accelerated_count", S_IRUGO, dentry, - &ecm_nss_ported_ipv4_accelerated_count[ECM_NSS_PORTED_IPV4_PROTO_UDP]); -- if (!udp_dentry) { -- DEBUG_ERROR("Failed to create ecm nss ipv4 udp_accelerated_count file in debugfs\n"); -- return false; -- } - - debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, - &ecm_nss_ported_ipv4_accelerated_count[ECM_NSS_PORTED_IPV4_PROTO_TCP]); ---- a/frontends/nss/ecm_nss_ported_ipv6.c -+++ b/frontends/nss/ecm_nss_ported_ipv6.c -@@ -2723,14 +2723,8 @@ done: - */ - bool ecm_nss_ported_ipv6_debugfs_init(struct dentry *dentry) - { -- struct dentry *udp_dentry; -- -- udp_dentry = debugfs_create_u32("udp_accelerated_count", S_IRUGO, dentry, -+ debugfs_create_u32("udp_accelerated_count", S_IRUGO, dentry, - &ecm_nss_ported_ipv6_accelerated_count[ECM_NSS_PORTED_IPV6_PROTO_UDP]); -- if (!udp_dentry) { -- DEBUG_ERROR("Failed to create ecm nss ipv6 udp_accelerated_count file in debugfs\n"); -- return false; -- } - - debugfs_create_u32("tcp_accelerated_count", S_IRUGO, dentry, - &ecm_nss_ported_ipv6_accelerated_count[ECM_NSS_PORTED_IPV6_PROTO_TCP]); diff --git a/qca/qca-nss-ecm/patches/205-resolve-high-load.patch b/qca/qca-nss-ecm/patches/205-resolve-high-load.patch deleted file mode 100644 index dd1ee13af..000000000 --- a/qca/qca-nss-ecm/patches/205-resolve-high-load.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 6924b71ed809b37fffd74d6428a8ca83e5919746 Mon Sep 17 00:00:00 2001 -From: Dirk Buchwalder -Date: Sun, 27 Jun 2021 16:52:39 +0200 -Subject: [PATCH] qca-nss-ecm: resolve the cpu high load regarding ecm - -If using ECM, cpu load goes up (around 1.0) and stucks there. -This is due to using uninterruptible sleep function, -the patch changes this to interruptible sleep function. - -Signed-off-by: Dirk Buchwalder buchwalder@posteo.de ---- - frontends/nss/ecm_nss_ipv4.c | 4 ++-- - frontends/nss/ecm_nss_ipv6.c | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - ---- a/frontends/nss/ecm_nss_ipv4.c -+++ b/frontends/nss/ecm_nss_ipv4.c -@@ -2471,7 +2471,7 @@ static void ecm_nss_ipv4_stats_sync_req_ - } - spin_unlock_bh(&ecm_nss_ipv4_lock); - -- usleep_range(ECM_NSS_IPV4_STATS_SYNC_UDELAY - 100, ECM_NSS_IPV4_STATS_SYNC_UDELAY); -+ msleep_interruptible(ECM_NSS_IPV4_STATS_SYNC_UDELAY / 1000); - - /* - * If index is 0, we are starting a new round, but if we still have time remain -@@ -2485,7 +2485,7 @@ static void ecm_nss_ipv4_stats_sync_req_ - } - - if (time_after(ecm_nss_ipv4_next_req_time, current_jiffies)) { -- msleep(jiffies_to_msecs(ecm_nss_ipv4_next_req_time - current_jiffies)); -+ msleep_interruptible(jiffies_to_msecs(ecm_nss_ipv4_next_req_time - current_jiffies)); - } - ecm_nss_ipv4_roll_check_jiffies = jiffies; - ecm_nss_ipv4_next_req_time = ecm_nss_ipv4_roll_check_jiffies + ECM_NSS_IPV4_STATS_SYNC_PERIOD; ---- a/frontends/nss/ecm_nss_ipv6.c -+++ b/frontends/nss/ecm_nss_ipv6.c -@@ -2210,7 +2210,7 @@ static void ecm_nss_ipv6_stats_sync_req_ - } - spin_unlock_bh(&ecm_nss_ipv6_lock); - -- usleep_range(ECM_NSS_IPV6_STATS_SYNC_UDELAY - 100, ECM_NSS_IPV6_STATS_SYNC_UDELAY); -+ msleep_interruptible(ECM_NSS_IPV6_STATS_SYNC_UDELAY / 1000); - - /* - * If index is 0, we are starting a new round, but if we still have time remain -@@ -2224,7 +2224,7 @@ static void ecm_nss_ipv6_stats_sync_req_ - } - - if (time_after(ecm_nss_ipv6_next_req_time, current_jiffies)) { -- msleep(jiffies_to_msecs(ecm_nss_ipv6_next_req_time - current_jiffies)); -+ msleep_interruptible(jiffies_to_msecs(ecm_nss_ipv6_next_req_time - current_jiffies)); - } - ecm_nss_ipv6_roll_check_jiffies = jiffies; - ecm_nss_ipv6_next_req_time = ecm_nss_ipv6_roll_check_jiffies + ECM_NSS_IPV6_STATS_SYNC_PERIOD; diff --git a/qca/qca-ssdk-shell/Makefile b/qca/qca-ssdk-shell/Makefile deleted file mode 100644 index f872e431e..000000000 --- a/qca/qca-ssdk-shell/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-ssdk-shell -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/ssdk-shell.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2022-03-16 -PKG_SOURCE_VERSION:=72a7dc725ae9ccbe7d99f451a6518e7c0dde4740 -PKG_MIRROR_HASH:=a591875ad05d7a6779cf9da575d890bc470889308f239c89a14721924420ac2b - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -define Package/qca-ssdk-shell - SECTION:=QCA - CATEGORY:=Utilities - TITLE:=Shell application for QCA SSDK -endef - - -define Package/qca-ssdk-shell/Description - This package contains a qca-ssdk shell application for QCA chipset -endef - -ifndef CONFIG_TOOLCHAIN_BIN_PATH -CONFIG_TOOLCHAIN_BIN_PATH=$(TOOLCHAIN_DIR)/bin -endif - -QCASSDK_CONFIG_OPTS+= TOOL_PATH=$(CONFIG_TOOLCHAIN_BIN_PATH) \ - SYS_PATH=$(LINUX_DIR) \ - TOOLPREFIX=$(TARGET_CROSS) \ - KVER=$(LINUX_VERSION) \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - ARCH=$(LINUX_KARCH) - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) $(strip $(QCASSDK_CONFIG_OPTS)) -endef - -define Package/qca-ssdk-shell/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/build/bin/ssdk_sh $(1)/usr/sbin/ -endef - - -$(eval $(call BuildPackage,qca-ssdk-shell)) diff --git a/qca/qca-ssdk/Makefile b/qca/qca-ssdk/Makefile deleted file mode 100644 index 5b1a7956f..000000000 --- a/qca/qca-ssdk/Makefile +++ /dev/null @@ -1,91 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=qca-ssdk -PKG_RELEASE:=$(AUTORELEASE) - -PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-ssdk.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_DATE:=2022-04-07 -PKG_SOURCE_VERSION:=62955de3c838028d3f72313eef99c57fa4babb71 -PKG_MIRROR_HASH:=84c7de6d1ce82fb15acebea0e44158695a33ed6f18335da32ec9f248dcb4b285 - -include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/package.mk - -define KernelPackage/qca-ssdk-nohnat - SECTION:=kernel - CATEGORY:=Kernel modules - SUBMENU:=Network Devices - TITLE:=Kernel driver for QCA SSDK - DEPENDS:=@(TARGET_ipq807x) - FILES:=$(PKG_BUILD_DIR)/build/bin/qca-ssdk.ko - AUTOLOAD:=$(call AutoLoad,30,qca-ssdk) -endef - -define KernelPackage/qca-ssdk-nohnat/Description -This package contains a qca-ssdk driver for QCA chipset -endef - -GCC_VERSION=$(shell echo "$(CONFIG_GCC_VERSION)" | sed 's/[^0-9.]*\([0-9.]*\).*/\1/') - -ifdef CONFIG_TOOLCHAIN_BIN_PATH -TOOLCHAIN_BIN_PATH=$(CONFIG_TOOLCHAIN_BIN_PATH) -else -TOOLCHAIN_BIN_PATH=$(TOOLCHAIN_DIR)/bin -endif - -MAKE_FLAGS+= \ - TARGET_NAME=$(CONFIG_TARGET_NAME) \ - TOOL_PATH=$(TOOLCHAIN_BIN_PATH) \ - SYS_PATH=$(LINUX_DIR) \ - TOOLPREFIX=$(TARGET_CROSS) \ - KVER=$(LINUX_VERSION) \ - ARCH=$(LINUX_KARCH) \ - TARGET_SUFFIX=$(CONFIG_TARGET_SUFFIX) \ - GCC_VERSION=$(GCC_VERSION) \ - EXTRA_CFLAGS=-fno-stack-protector -I$(STAGING_DIR)/usr/include \ - $(KERNEL_MAKE_FLAGS) - -ifneq (, $(findstring $(CONFIG_TARGET_BOARD), "ipq60xx" "ipq807x")) - MAKE_FLAGS+= PTP_FEATURE=disable SWCONFIG_FEATURE=disable -endif - -ifeq ($(CONFIG_TARGET_BOARD), "ipq807x") - MAKE_FLAGS+= CHIP_TYPE=HPPE -else ifeq ($(CONFIG_TARGET_BOARD), "ipq60xx") - MAKE_FLAGS+= CHIP_TYPE=CPPE -endif - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/qca-ssdk - $(INSTALL_DIR) $(1)/usr/include/qca-ssdk/api - $(INSTALL_DIR) $(1)/usr/include/qca-ssdk/ref - $(INSTALL_DIR) $(1)/usr/include/qca-ssdk/fal - $(INSTALL_DIR) $(1)/usr/include/qca-ssdk/sal - $(INSTALL_DIR) $(1)/usr/include/qca-ssdk/init - $(CP) -rf $(PKG_BUILD_DIR)/include/api/sw_ioctl.h $(1)/usr/include/qca-ssdk/api - if [ -f $(PKG_BUILD_DIR)/include/ref/ref_vsi.h ]; then \ - $(CP) -rf $(PKG_BUILD_DIR)/include/ref/ref_vsi.h $(1)/usr/include/qca-ssdk/ref/; \ - fi - if [ -f $(PKG_BUILD_DIR)/include/ref/ref_fdb.h ]; then \ - $(CP) -rf $(PKG_BUILD_DIR)/include/ref/ref_fdb.h $(1)/usr/include/qca-ssdk/ref/; \ - fi - if [ -f $(PKG_BUILD_DIR)/include/ref/ref_port_ctrl.h ]; then \ - $(CP) -rf $(PKG_BUILD_DIR)/include/ref/ref_port_ctrl.h $(1)/usr/include/qca-ssdk/ref/; \ - fi - if [ -f $(PKG_BUILD_DIR)/include/init/ssdk_init.h ]; then \ - $(CP) -rf $(PKG_BUILD_DIR)/include/init/ssdk_init.h $(1)/usr/include/qca-ssdk/init/; \ - fi - $(CP) -rf $(PKG_BUILD_DIR)/include/fal $(1)/usr/include/qca-ssdk - $(CP) -rf $(PKG_BUILD_DIR)/include/common/*.h $(1)/usr/include/qca-ssdk - $(CP) -rf $(PKG_BUILD_DIR)/include/sal/os/linux/*.h $(1)/usr/include/qca-ssdk - $(CP) -rf $(PKG_BUILD_DIR)/include/sal/os/*.h $(1)/usr/include/qca-ssdk - -endef - -define KernelPackage/qca-ssdk-nohnat/install - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/qca-ssdk $(1)/etc/init.d/qca-ssdk -endef - -$(eval $(call KernelPackage,qca-ssdk-nohnat)) diff --git a/qca/qca-ssdk/files/qca-ssdk b/qca/qca-ssdk/files/qca-ssdk deleted file mode 100644 index 389279c0c..000000000 --- a/qca/qca-ssdk/files/qca-ssdk +++ /dev/null @@ -1,206 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (c) 2018, The Linux Foundation. All rights reserved. -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# - -START=16 - -#!/bin/sh -ruletype="ip4 ip6" -side="wan lan" -qwan="1 3 2 0 5 7 6 4" -qlan="0 1 2 3 4 5 6 7" - -function create_war_acl_rules(){ - for lw in $side - do - #echo $lw - if [ "$lw" == "wan" ];then - listid=254 - queue=$qwan - portmap=0x20 - else - listid=255 - queue=$qlan - portmap=0x1e - fi - #echo $queue - #echo "creating list $listid" - ssdk_sh acl list create $listid 255 - ruleid=0 - for rt in $ruletype - do - for qid in $queue - do - cmd="ssdk_sh acl rule add $listid $ruleid 1 n 0 0" - #echo $cmd - if [ "$rt" == "ip4" ];then - cmd="$cmd ip4 n n n n n n n n n n n n n n n n n n n n n n n n n n n n n" - #echo $cmd - else - cmd="$cmd ip6 n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n" - #echo $cmd - fi - if [ $ruleid -le 3 ];then - #non-zero dscp - cmd="$cmd y 0x0 0xff" - elif [ $ruleid -le 7 ];then - #zero dscp - cmd="$cmd n" - elif [ $ruleid -le 11 ];then - #non-zero dscp - cmd="$cmd y 0x0 0xff" - else - #zero dscp - cmd="$cmd n" - fi - p=$((ruleid/2)) - cmd="$cmd y mask $((ruleid%2)) 0x1 y mask $((p%2)) 0x1 n n n n n n n n n n n n n n n y n n n n n n n y $qid n n 0 0 n n n n n n n n n n n n n n n n n n n n 0" - #echo $cmd - $cmd - ruleid=`expr $ruleid + 1` - done - done - ssdk_sh acl list bind $listid 0 1 $portmap - done -} - -function create_war_cosmap(){ - ssdk_sh cosmap pri2q set 0 0 - ssdk_sh cosmap pri2q set 1 0 - ssdk_sh cosmap pri2q set 2 0 - ssdk_sh cosmap pri2q set 3 0 - ssdk_sh cosmap pri2q set 4 1 - ssdk_sh cosmap pri2q set 5 1 - ssdk_sh cosmap pri2q set 6 1 - ssdk_sh cosmap pri2q set 7 1 - ssdk_sh cosmap pri2ehq set 0 0 - ssdk_sh cosmap pri2ehq set 1 0 - ssdk_sh cosmap pri2ehq set 2 0 - ssdk_sh cosmap pri2ehq set 3 0 - ssdk_sh cosmap pri2ehq set 4 1 - ssdk_sh cosmap pri2ehq set 5 1 - ssdk_sh cosmap pri2ehq set 6 1 - ssdk_sh cosmap pri2ehq set 7 1 -} - -function create_acl_byp_egstp_rules(){ - ssdk_sh debug module_func set servcode 0xf 0x0 0x0 - ssdk_sh servcode config set 1 n 0 0xfffefc7f 0xffbdff 0 0 0 0 0 0 - ssdk_sh debug module_func set servcode 0x0 0x0 0x0 - ssdk_sh acl list create 56 48 - ssdk_sh acl rule add 56 0 1 n 0 0 mac n n n n n y 01-80-c2-00-00-00 ff-ff-ff-ff-ff-ff n n n n n n n n n n n n n n n n n n n n n n n y n n n n n n n n n n 0 0 n n n n n n n n n n n n n y n n n n n n n n n n n n y n n n n n n n n n n n n 0 - ssdk_sh acl rule add 56 1 1 n 0 0 mac n n n n n n n yes 0x8809 0xffff n n n n n n n n n n n n n n n n n n n n n y n n n n n n n n n n 0 0 n n n n n n n n n n n n n y n n n n n n n n n n n n y n n n n n n n n n n n n 0 - ssdk_sh acl rule add 56 2 1 n 0 0 mac n n n n n n n yes 0x888e 0xffff n n n n n n n n n n n n n n n n n n n n n y n n n n n n n n n n 0 0 n n n n n n n n n n n n n y n n n n n n n n n n n n y n n n n n n n n n n n n 0 - ssdk_sh acl list bind 56 0 2 1 -} - -function delete_war_acl_rules(){ - for lw in $side - do - #echo $lw - if [ "$lw" == "wan" ];then - listid=254 - queue=$qwan - portmap=0x20 - else - listid=255 - queue=$qlan - portmap=0x1e - fi - ssdk_sh acl list unbind $listid 0 1 $portmap - for rt in $ruletype - do - for qid in $queue - do - cmd="ssdk_sh acl rule del $listid 0 1" - echo $cmd - $cmd - done - done - #echo "deleting list $listid" - ssdk_sh acl list destroy $listid - done -} - -function delete_war_cosmap(){ - ssdk_sh cosmap pri2q set 0 0 - ssdk_sh cosmap pri2q set 1 0 - ssdk_sh cosmap pri2q set 2 1 - ssdk_sh cosmap pri2q set 3 1 - ssdk_sh cosmap pri2q set 4 2 - ssdk_sh cosmap pri2q set 5 2 - ssdk_sh cosmap pri2q set 6 3 - ssdk_sh cosmap pri2q set 7 3 - ssdk_sh cosmap pri2ehq set 0 1 - ssdk_sh cosmap pri2ehq set 1 0 - ssdk_sh cosmap pri2ehq set 2 2 - ssdk_sh cosmap pri2ehq set 3 2 - ssdk_sh cosmap pri2ehq set 4 3 - ssdk_sh cosmap pri2ehq set 5 3 - ssdk_sh cosmap pri2ehq set 6 4 - ssdk_sh cosmap pri2ehq set 7 5 -} - -function delete_acl_byp_egstp_rules(){ - ssdk_sh debug module_func set servcode 0xf 0x0 0x0 - ssdk_sh servcode config set 1 n 0 0xfffefcff 0xffbfff 0 0 0 0 0 0 - ssdk_sh debug module_func set servcode 0x0 0x0 0x0 - ssdk_sh acl list unbind 56 0 2 1 - ssdk_sh acl rule del 56 0 1 - ssdk_sh acl rule del 56 1 1 - ssdk_sh acl rule del 56 2 1 - ssdk_sh acl list destroy 56 -} - -function edma_war_config_add(){ - create_war_cosmap - ssdk_sh acl status set enable - create_war_acl_rules -} - -function edma_war_config_del(){ - delete_war_acl_rules - delete_war_cosmap -} - -start() { - chip_ver=`ssdk_sh debug reg get 0 4 | grep Data | tr -d 'SSDK Init OK![Data]:'` - #The following commands should be uncommented to enable EDMA WAR - if [ "$chip_ver" = "0x1401" ]; then - #edma_war_config_add - echo '' - fi - #The following commands should be uncommented to add acl egress stp bypass rules - if [ "$chip_ver" = "0x1500" ] || [ "$chip_ver" = "0x1501" ]; then - #create_acl_byp_egstp_rules - echo '' - fi - echo starting -} - -stop() { - chip_ver=`ssdk_sh debug reg get 0 4 | grep Data | tr -d 'SSDK Init OK![Data]:'` - #The following commands should be uncommented to disable EDMA WAR - if [ "$chip_ver" = "0x1401" ]; then - #edma_war_config_del - echo '' - fi - #The following commands should be uncommented to delete acl egress stp bypass rules - if [ "$chip_ver" = "0x1500" ] || [ "$chip_ver" = "0x1501" ]; then - #delete_acl_byp_egstp_rules - echo '' - fi - echo stoping -} diff --git a/qca/qca-ssdk/patches/0001-SSDK-config-add-kernel-5.10.patch b/qca/qca-ssdk/patches/0001-SSDK-config-add-kernel-5.10.patch deleted file mode 100644 index 8ad541ebf..000000000 --- a/qca/qca-ssdk/patches/0001-SSDK-config-add-kernel-5.10.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 472c0c8132784608312c80c4b02c03ea7c132235 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Wed, 12 May 2021 13:41:12 +0200 -Subject: [PATCH] SSDK: config: add kernel 5.10 - -This is purely to identify it and be able to set -flags correctly. - -Signed-off-by: Robert Marko ---- - config | 6 +++++- - make/linux_opt.mk | 4 ++-- - 2 files changed, 7 insertions(+), 3 deletions(-) - ---- a/config -+++ b/config -@@ -22,6 +22,10 @@ ifeq ($(KVER),$(filter 5.4%,$(KVER))) - OS_VER=5_4 - endif - -+ifeq ($(KVER),$(filter 5.10%,$(KVER))) -+OS_VER=5_10 -+endif -+ - ifeq ($(KVER), 3.4.0) - OS_VER=3_4 - endif -@@ -123,7 +127,7 @@ endif - endif - - ifeq ($(ARCH), arm64) -- ifeq ($(KVER),$(filter 4.1% 4.4% 4.9% 5.4%,$(KVER))) -+ ifeq ($(KVER),$(filter 4.1% 4.4% 4.9% 5.4% 5.10%,$(KVER))) - CPU_CFLAG= -DMODULE -Os -pipe -march=armv8-a -mcpu=cortex-a53+crypto -fno-caller-saves -fno-strict-aliasing -Werror -fno-common -Wno-format-security -Wno-pointer-sign -Wno-unused-but-set-variable -Wno-error=unused-result -mcmodel=large - endif - endif ---- a/make/linux_opt.mk -+++ b/make/linux_opt.mk -@@ -388,7 +388,7 @@ ifeq (KSLIB, $(MODULE_TYPE)) - KASAN_SHADOW_SCALE_SHIFT := 3 - endif - -- ifeq (5_4, $(OS_VER)) -+ ifeq ($(OS_VER),$(filter 5_4 5_10, $(OS_VER))) - ifeq ($(ARCH), arm64) - KASAN_OPTION += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT) - endif -@@ -419,7 +419,7 @@ ifeq (KSLIB, $(MODULE_TYPE)) - - endif - -- ifeq ($(OS_VER),$(filter 4_4 5_4, $(OS_VER))) -+ ifeq ($(OS_VER),$(filter 4_4 5_4 5_10, $(OS_VER))) - MODULE_CFLAG += -DKVER34 - MODULE_CFLAG += -DKVER32 - MODULE_CFLAG += -DLNX26_22 diff --git a/qca/qca-ssdk/patches/0002-SSDK-replace-ioremap_nocache-with-ioremap.patch b/qca/qca-ssdk/patches/0002-SSDK-replace-ioremap_nocache-with-ioremap.patch deleted file mode 100644 index b293ad295..000000000 --- a/qca/qca-ssdk/patches/0002-SSDK-replace-ioremap_nocache-with-ioremap.patch +++ /dev/null @@ -1,102 +0,0 @@ -From 784f2cfdfaf3bdf44917924e157049230a0ef5f8 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Wed, 12 May 2021 13:45:45 +0200 -Subject: [PATCH] SSDK: replace ioremap_nocache with ioremap - -ioremap_nocache was dropped upstream, simply use the -generic variety. - -Signed-off-by: Robert Marko ---- - src/init/ssdk_clk.c | 10 +++++----- - src/init/ssdk_init.c | 2 +- - src/init/ssdk_plat.c | 6 +++--- - 3 files changed, 9 insertions(+), 9 deletions(-) - ---- a/src/init/ssdk_clk.c -+++ b/src/init/ssdk_clk.c -@@ -623,7 +623,7 @@ ssdk_mp_tcsr_get(a_uint32_t tcsr_offset, - { - void __iomem *tcsr_base = NULL; - -- tcsr_base = ioremap_nocache(TCSR_ETH_ADDR, TCSR_ETH_SIZE); -+ tcsr_base = ioremap(TCSR_ETH_ADDR, TCSR_ETH_SIZE); - if (!tcsr_base) - { - SSDK_ERROR("Failed to map tcsr eth address!\n"); -@@ -640,7 +640,7 @@ ssdk_mp_tcsr_set(a_uint32_t tcsr_offset, - { - void __iomem *tcsr_base = NULL; - -- tcsr_base = ioremap_nocache(TCSR_ETH_ADDR, TCSR_ETH_SIZE); -+ tcsr_base = ioremap(TCSR_ETH_ADDR, TCSR_ETH_SIZE); - if (!tcsr_base) - { - SSDK_ERROR("Failed to map tcsr eth address!\n"); -@@ -688,7 +688,7 @@ ssdk_mp_cmnblk_stable_check(void) - a_uint32_t reg_val; - int i, loops = 20; - -- pll_lock = ioremap_nocache(CMN_PLL_LOCKED_ADDR, CMN_PLL_LOCKED_SIZE); -+ pll_lock = ioremap(CMN_PLL_LOCKED_ADDR, CMN_PLL_LOCKED_SIZE); - if (!pll_lock) { - SSDK_ERROR("Failed to map CMN PLL LOCK register!\n"); - return A_FALSE; -@@ -745,7 +745,7 @@ static void ssdk_cmnblk_pll_src_set(enum - void __iomem *cmn_pll_src_base = NULL; - a_uint32_t reg_val; - -- cmn_pll_src_base = ioremap_nocache(CMN_BLK_PLL_SRC_ADDR, CMN_BLK_SIZE); -+ cmn_pll_src_base = ioremap(CMN_BLK_PLL_SRC_ADDR, CMN_BLK_SIZE); - if (!cmn_pll_src_base) { - SSDK_ERROR("Failed to map cmn pll source address!\n"); - return; -@@ -766,7 +766,7 @@ static void ssdk_cmnblk_init(enum cmnblk - void __iomem *gcc_pll_base = NULL; - a_uint32_t reg_val; - -- gcc_pll_base = ioremap_nocache(CMN_BLK_ADDR, CMN_BLK_SIZE); -+ gcc_pll_base = ioremap(CMN_BLK_ADDR, CMN_BLK_SIZE); - if (!gcc_pll_base) { - SSDK_ERROR("Failed to map gcc pll address!\n"); - return; ---- a/src/init/ssdk_init.c -+++ b/src/init/ssdk_init.c -@@ -2770,7 +2770,7 @@ static int ssdk_dess_mac_mode_init(a_uin - (a_uint8_t *)®_value, 4); - mdelay(10); - /*softreset psgmii, fixme*/ -- gcc_addr = ioremap_nocache(0x1812000, 0x200); -+ gcc_addr = ioremap(0x1812000, 0x200); - if (!gcc_addr) { - SSDK_ERROR("gcc map fail!\n"); - return 0; ---- a/src/init/ssdk_plat.c -+++ b/src/init/ssdk_plat.c -@@ -1312,7 +1312,7 @@ ssdk_plat_init(ssdk_init_cfg *cfg, a_uin - reg_mode = ssdk_uniphy_reg_access_mode_get(dev_id); - if(reg_mode == HSL_REG_LOCAL_BUS) { - ssdk_uniphy_reg_map_info_get(dev_id, &map); -- qca_phy_priv_global[dev_id]->uniphy_hw_addr = ioremap_nocache(map.base_addr, -+ qca_phy_priv_global[dev_id]->uniphy_hw_addr = ioremap(map.base_addr, - map.size); - if (!qca_phy_priv_global[dev_id]->uniphy_hw_addr) { - SSDK_ERROR("%s ioremap fail.", __func__); -@@ -1327,7 +1327,7 @@ ssdk_plat_init(ssdk_init_cfg *cfg, a_uin - reg_mode = ssdk_switch_reg_access_mode_get(dev_id); - if(reg_mode == HSL_REG_LOCAL_BUS) { - ssdk_switch_reg_map_info_get(dev_id, &map); -- qca_phy_priv_global[dev_id]->hw_addr = ioremap_nocache(map.base_addr, -+ qca_phy_priv_global[dev_id]->hw_addr = ioremap(map.base_addr, - map.size); - if (!qca_phy_priv_global[dev_id]->hw_addr) { - SSDK_ERROR("%s ioremap fail.", __func__); -@@ -1358,7 +1358,7 @@ ssdk_plat_init(ssdk_init_cfg *cfg, a_uin - return -1; - } - -- qca_phy_priv_global[dev_id]->psgmii_hw_addr = ioremap_nocache(map.base_addr, -+ qca_phy_priv_global[dev_id]->psgmii_hw_addr = ioremap(map.base_addr, - map.size); - if (!qca_phy_priv_global[dev_id]->psgmii_hw_addr) { - SSDK_ERROR("%s ioremap fail.", __func__); diff --git a/qca/qca-ssdk/patches/0004-platform-use-of_mdio_find_bus-to-get-MDIO-bus.patch b/qca/qca-ssdk/patches/0004-platform-use-of_mdio_find_bus-to-get-MDIO-bus.patch deleted file mode 100644 index 3bcbcccf6..000000000 --- a/qca/qca-ssdk/patches/0004-platform-use-of_mdio_find_bus-to-get-MDIO-bus.patch +++ /dev/null @@ -1,40 +0,0 @@ -From b6190ca46287d01a895c7cc14de30410c09ff1b8 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Wed, 12 May 2021 17:15:46 +0200 -Subject: [PATCH] SSDK: platform: use of_mdio_find_bus() to get MDIO bus - -Kernel has a generic of_mdio_find_bus() which can get the appropriate -MDIO bus based on the DT node. -So, drop the getting MDIO from platform data, which no longer works -in 5.4 and later and use of_mdio_find_bus(). - -Signed-off-by: Baruch Siach -Signed-off-by: Robert Marko ---- - src/init/ssdk_plat.c | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - ---- a/src/init/ssdk_plat.c -+++ b/src/init/ssdk_plat.c -@@ -551,7 +551,6 @@ static int miibus_get(a_uint32_t dev_id) - struct device_node *mdio_node = NULL; - struct device_node *switch_node = NULL; - struct platform_device *mdio_plat = NULL; -- struct ipq40xx_mdio_data *mdio_data = NULL; - struct qca_phy_priv *priv; - hsl_reg_mode reg_mode = HSL_REG_LOCAL_BUS; - priv = qca_phy_priv_global[dev_id]; -@@ -584,12 +583,7 @@ static int miibus_get(a_uint32_t dev_id) - - if(reg_mode == HSL_REG_LOCAL_BUS) - { -- mdio_data = dev_get_drvdata(&mdio_plat->dev); -- if (!mdio_data) { -- SSDK_ERROR("cannot get mdio_data reference from device data\n"); -- return 1; -- } -- priv->miibus = mdio_data->mii_bus; -+ priv->miibus = of_mdio_find_bus(mdio_node); - } - else - priv->miibus = dev_get_drvdata(&mdio_plat->dev); diff --git a/qca/qca-ssdk/patches/0005-SSDK-dts-fix-of_get_mac_address.patch b/qca/qca-ssdk/patches/0005-SSDK-dts-fix-of_get_mac_address.patch deleted file mode 100644 index 29be93128..000000000 --- a/qca/qca-ssdk/patches/0005-SSDK-dts-fix-of_get_mac_address.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f3a7b93137c1a6a1b8010b86296242178eed5d9e Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 13 Aug 2021 20:03:21 +0200 -Subject: [PATCH] SSDK: dts: fix of_get_mac_address() - -Recently OpenWrt backported the updated of_get_mac_address() -function which returns and error code instead. - -So, patch the SSDK to use it and fix the compilation error. - -Signed-off-by: Robert Marko ---- - src/init/ssdk_dts.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - ---- a/src/init/ssdk_dts.c -+++ b/src/init/ssdk_dts.c -@@ -779,8 +779,9 @@ static void ssdk_dt_parse_intf_mac(void) - { - struct device_node *dp_node = NULL; - a_uint32_t dp = 0; -- a_uint8_t *maddr = NULL; -+ u8 maddr[ETH_ALEN]; - char dp_name[8] = {0}; -+ int ret; - - for (dp = 1; dp <= SSDK_MAX_NR_ETH; dp++) { - snprintf(dp_name, sizeof(dp_name), "dp%d", dp); -@@ -788,11 +789,11 @@ static void ssdk_dt_parse_intf_mac(void) - if (!dp_node) { - continue; - } -- maddr = (a_uint8_t *)of_get_mac_address(dp_node); -+ ret = of_get_mac_address(dp_node, maddr); - #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)) - if (maddr && is_valid_ether_addr(maddr)) { - #else -- if (!IS_ERR(maddr) && is_valid_ether_addr(maddr)) { -+ if (!ret && is_valid_ether_addr(maddr)) { - #endif - ssdk_dt_global.num_intf_mac++; - ether_addr_copy(ssdk_dt_global.intf_mac[dp-1].uc, maddr); diff --git a/qca/qca-ssdk/patches/0006-SSDK-config-add-kernel-5.15.patch b/qca/qca-ssdk/patches/0006-SSDK-config-add-kernel-5.15.patch deleted file mode 100644 index a4e1b2782..000000000 --- a/qca/qca-ssdk/patches/0006-SSDK-config-add-kernel-5.15.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 599f19551dc8db3cb396e4c139a73bd72300ebf5 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 24 Dec 2021 19:39:02 +0100 -Subject: [PATCH] SSDK: config: add kernel 5.15 - -This is purely to identify it and be able to set -flags correctly. - -Signed-off-by: Robert Marko ---- - config | 6 +++++- - make/linux_opt.mk | 4 ++-- - 2 files changed, 7 insertions(+), 3 deletions(-) - ---- a/config -+++ b/config -@@ -26,6 +26,10 @@ ifeq ($(KVER),$(filter 5.10%,$(KVER))) - OS_VER=5_10 - endif - -+ifeq ($(KVER),$(filter 5.15%,$(KVER))) -+OS_VER=5_15 -+endif -+ - ifeq ($(KVER), 3.4.0) - OS_VER=3_4 - endif -@@ -127,7 +131,7 @@ endif - endif - - ifeq ($(ARCH), arm64) -- ifeq ($(KVER),$(filter 4.1% 4.4% 4.9% 5.4% 5.10%,$(KVER))) -+ ifeq ($(KVER),$(filter 4.1% 4.4% 4.9% 5.4% 5.10% 5.15%,$(KVER))) - CPU_CFLAG= -DMODULE -Os -pipe -march=armv8-a -mcpu=cortex-a53+crypto -fno-caller-saves -fno-strict-aliasing -Werror -fno-common -Wno-format-security -Wno-pointer-sign -Wno-unused-but-set-variable -Wno-error=unused-result -mcmodel=large - endif - endif ---- a/make/linux_opt.mk -+++ b/make/linux_opt.mk -@@ -388,7 +388,7 @@ ifeq (KSLIB, $(MODULE_TYPE)) - KASAN_SHADOW_SCALE_SHIFT := 3 - endif - -- ifeq ($(OS_VER),$(filter 5_4 5_10, $(OS_VER))) -+ ifeq ($(OS_VER),$(filter 5_4 5_10 5_15, $(OS_VER))) - ifeq ($(ARCH), arm64) - KASAN_OPTION += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT) - endif -@@ -419,7 +419,7 @@ ifeq (KSLIB, $(MODULE_TYPE)) - - endif - -- ifeq ($(OS_VER),$(filter 4_4 5_4 5_10, $(OS_VER))) -+ ifeq ($(OS_VER),$(filter 4_4 5_4 5_10 5_15, $(OS_VER))) - MODULE_CFLAG += -DKVER34 - MODULE_CFLAG += -DKVER32 - MODULE_CFLAG += -DLNX26_22 diff --git a/qca/qca-ssdk/patches/0007-qca8081-convert-to-5.11-IRQ-model.patch b/qca/qca-ssdk/patches/0007-qca8081-convert-to-5.11-IRQ-model.patch deleted file mode 100644 index b0c272b17..000000000 --- a/qca/qca-ssdk/patches/0007-qca8081-convert-to-5.11-IRQ-model.patch +++ /dev/null @@ -1,83 +0,0 @@ -From 25ff0ae02accadd7b05f1dae788505f833d5c019 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Fri, 24 Dec 2021 20:02:32 +0100 -Subject: [PATCH] qca8081: convert to 5.11 IRQ model - -Kernel 5.11 introduced new IRQ handling model for PHY-s, -so provide those if 5.11 or later is used. - -Signed-off-by: Robert Marko ---- - src/hsl/phy/qca808x.c | 46 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 46 insertions(+) - ---- a/src/hsl/phy/qca808x.c -+++ b/src/hsl/phy/qca808x.c -@@ -238,6 +238,7 @@ static int qca808x_config_intr(struct ph - return err; - } - -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)) - static int qca808x_ack_interrupt(struct phy_device *phydev) - { - int err; -@@ -257,6 +258,47 @@ static int qca808x_ack_interrupt(struct - - return (err < 0) ? err : 0; - } -+#endif -+ -+#if (LINUX_VERSION_CODE > KERNEL_VERSION(5, 11, 0)) -+static irqreturn_t qca808x_handle_interrupt(struct phy_device *phydev) -+{ -+ a_uint16_t irq_status, int_enabled; -+ a_uint32_t dev_id = 0, phy_id = 0; -+ qca808x_priv *priv = phydev->priv; -+ const struct qca808x_phy_info *pdata = priv->phy_info; -+ -+ if (!pdata) { -+ return SW_FAIL; -+ } -+ -+ dev_id = pdata->dev_id; -+ phy_id = pdata->phy_addr; -+ -+ irq_status = qca808x_phy_reg_read(dev_id, phy_id, -+ QCA808X_PHY_INTR_STATUS); -+ if (irq_status < 0) { -+ phy_error(phydev); -+ return IRQ_NONE; -+ } -+ -+ /* Read the current enabled interrupts */ -+ int_enabled = qca808x_phy_reg_read(dev_id, phy_id, -+ QCA808X_PHY_INTR_MASK); -+ if (int_enabled < 0) { -+ phy_error(phydev); -+ return IRQ_NONE; -+ } -+ -+ /* See if this was one of our enabled interrupts */ -+ if (!(irq_status & int_enabled)) -+ return IRQ_NONE; -+ -+ phy_trigger_machine(phydev); -+ -+ return IRQ_HANDLED; -+} -+#endif - - /* switch linux negtiation capability to fal avariable */ - #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)) -@@ -559,7 +601,11 @@ struct phy_driver qca808x_phy_driver = { - .config_intr = qca808x_config_intr, - .config_aneg = qca808x_config_aneg, - .aneg_done = qca808x_aneg_done, -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)) - .ack_interrupt = qca808x_ack_interrupt, -+#else -+ .handle_interrupt = qca808x_handle_interrupt, -+#endif - .read_status = qca808x_read_status, - .suspend = qca808x_suspend, - .resume = qca808x_resume, diff --git a/qca/qca-ssdk/patches/0008-qca807x-add-a-LED-quirk-for-Xiaomi-AX9000.patch b/qca/qca-ssdk/patches/0008-qca807x-add-a-LED-quirk-for-Xiaomi-AX9000.patch deleted file mode 100644 index 76f71be46..000000000 --- a/qca/qca-ssdk/patches/0008-qca807x-add-a-LED-quirk-for-Xiaomi-AX9000.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 86624624c2b593c57999780a3838e6a9fe40b30c Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Tue, 11 Jan 2022 00:28:42 +0100 -Subject: [PATCH] qca807x: add a LED quirk for Xiaomi AX9000 - -Xiaomi AX9000 has a single LED for each of 4 gigabit ethernet ports that -are connected to QCA8075, and that LED is connected to the 100M LED pin. - -So, by default it will only work when in 10 or 100Mbit mode, this is quite -annoying and makes no sense(If they have connected it to the 1000Mbit LED -pin then it would have worked for 10/100 by default as well). - -So, to solve this add a check for system compatible as we cant parse if -from DTS in any other way and set the 100M LED to blink on 1000Base-T -as well. - -Signed-off-by: Robert Marko ---- - include/hsl/phy/malibu_phy.h | 2 ++ - src/hsl/phy/malibu_phy.c | 11 +++++++++++ - 2 files changed, 13 insertions(+) - -diff --git a/include/hsl/phy/malibu_phy.h b/include/hsl/phy/malibu_phy.h -index b7354041..ec7a0621 100755 ---- a/include/hsl/phy/malibu_phy.h -+++ b/include/hsl/phy/malibu_phy.h -@@ -94,6 +94,7 @@ extern "C" - #define MALIBU_DAC_CTRL_MASK 0x380 - #define MALIBU_DAC_CTRL_VALUE 0x280 - #define MALIBU_LED_1000_CTRL1_100_10_MASK 0x30 -+#define MALIBU_LED_100_CTRL1_1000_MASK 0x40 - - #define MALIBU_PHY_EEE_ADV_100M 0x0002 - #define MALIBU_PHY_EEE_ADV_1000M 0x0004 -@@ -118,6 +119,7 @@ extern "C" - #define MALIBU_PHY_MMD7_EGRESS_COUNTER_HIGH 0x802d - #define MALIBU_PHY_MMD7_EGRESS_COUNTER_LOW 0x802e - #define MALIBU_PHY_MMD7_EGRESS_ERROR_COUNTER 0x802f -+#define MALIBU_PHY_MMD7_LED_100_CTRL1 0x8074 - #define MALIBU_PHY_MMD7_LED_1000_CTRL1 0x8076 - - -diff --git a/src/hsl/phy/malibu_phy.c b/src/hsl/phy/malibu_phy.c -index 1f4dba15..2bef9fa3 100644 ---- a/src/hsl/phy/malibu_phy.c -+++ b/src/hsl/phy/malibu_phy.c -@@ -12,6 +12,8 @@ - * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -+#include -+ - #include "sw.h" - #include "fal_port_ctrl.h" - #include "hsl_api.h" -@@ -2726,6 +2728,15 @@ malibu_phy_hw_init(a_uint32_t dev_id, a_uint32_t port_bmp) - led_status |= MALIBU_LED_1000_CTRL1_100_10_MASK; - malibu_phy_mmd_write(dev_id, phy_addr, MALIBU_PHY_MMD7_NUM, - MALIBU_PHY_MMD7_LED_1000_CTRL1, led_status); -+ if (of_machine_is_compatible("xiaomi,ax9000")) { -+ /* add 1000M link LED behavior for Xiaomi AX9000 */ -+ led_status = malibu_phy_mmd_read(dev_id, phy_addr, MALIBU_PHY_MMD7_NUM, -+ MALIBU_PHY_MMD7_LED_100_CTRL1); -+ led_status &= ~MALIBU_LED_100_CTRL1_1000_MASK; -+ led_status |= MALIBU_LED_100_CTRL1_1000_MASK; -+ malibu_phy_mmd_write(dev_id, phy_addr, MALIBU_PHY_MMD7_NUM, -+ MALIBU_PHY_MMD7_LED_100_CTRL1, led_status); -+ } - /*disable Extended next page*/ - phy_data = malibu_phy_reg_read(dev_id, phy_addr, MALIBU_AUTONEG_ADVERT); - phy_data &= ~MALIBU_EXTENDED_NEXT_PAGE_EN; --- -2.34.1 - diff --git a/qca/qca-ssdk/patches/0009-qca807x-add-a-LED-quirk-for-Xiaomi-AX3600.patch b/qca/qca-ssdk/patches/0009-qca807x-add-a-LED-quirk-for-Xiaomi-AX3600.patch deleted file mode 100644 index c31ea6da9..000000000 --- a/qca/qca-ssdk/patches/0009-qca807x-add-a-LED-quirk-for-Xiaomi-AX3600.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 913514b9177e77836f2c8d61fc498b54f54c6775 Mon Sep 17 00:00:00 2001 -From: Robert Marko -Date: Wed, 26 Jan 2022 14:47:33 +0100 -Subject: [PATCH] qca807x: add a LED quirk for Xiaomi AX3600 - -AX3600 requires the same LED quirk so that PHY LED-s will blink even -once Linux resets the PHY. - -So, just check for its compatible. - -Signed-off-by: Robert Marko ---- - src/hsl/phy/malibu_phy.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - ---- a/src/hsl/phy/malibu_phy.c -+++ b/src/hsl/phy/malibu_phy.c -@@ -2728,8 +2728,9 @@ malibu_phy_hw_init(a_uint32_t dev_id, a_ - led_status |= MALIBU_LED_1000_CTRL1_100_10_MASK; - malibu_phy_mmd_write(dev_id, phy_addr, MALIBU_PHY_MMD7_NUM, - MALIBU_PHY_MMD7_LED_1000_CTRL1, led_status); -- if (of_machine_is_compatible("xiaomi,ax9000")) { -- /* add 1000M link LED behavior for Xiaomi AX9000 */ -+ /* add 1000M link LED behavior for Xiaomi boards */ -+ if (of_machine_is_compatible("xiaomi,ax9000") || -+ of_machine_is_compatible("xiaomi,ax3600")) { - led_status = malibu_phy_mmd_read(dev_id, phy_addr, MALIBU_PHY_MMD7_NUM, - MALIBU_PHY_MMD7_LED_100_CTRL1); - led_status &= ~MALIBU_LED_100_CTRL1_1000_MASK; diff --git a/qca/qca-ssdk/patches/0012-include-fix-compilation-error-for-parse_uci_option.patch b/qca/qca-ssdk/patches/0012-include-fix-compilation-error-for-parse_uci_option.patch deleted file mode 100644 index 01b8deda9..000000000 --- a/qca/qca-ssdk/patches/0012-include-fix-compilation-error-for-parse_uci_option.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 8e3500df074625b3eb3a8ed4e8e0b1b116f13d0c Mon Sep 17 00:00:00 2001 -From: Ansuel Smith -Date: Sat, 7 May 2022 19:03:55 +0200 -Subject: [PATCH] include: fix compilation error for parse_uci_option - -Fix missing include for parse_uci_option - -Signed-off-by: Ansuel Smith ---- - include/ref/ref_uci.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/ref/ref_uci.h b/include/ref/ref_uci.h -index a42ea153..0906c5ba 100755 ---- a/include/ref/ref_uci.h -+++ b/include/ref/ref_uci.h -@@ -19,6 +19,7 @@ - extern "C" { - #endif /* __cplusplus */ - -+#include - - #if defined(IN_SWCONFIG) - int --- -2.34.1 -