RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs
grethgbit-regs.h File Reference

This header file defines the GRETH_GBIT register block interface. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  grethgbit
 This structure defines the GRETH_GBIT register block memory map. More...
 

Macros

#define GRETHGBIT_CR_EA   0x80000000U
 
#define GRETHGBIT_CR_BS_SHIFT   28
 
#define GRETHGBIT_CR_BS_MASK   0x70000000U
 
#define GRETHGBIT_CR_BS_GET(_reg)
 
#define GRETHGBIT_CR_BS_SET(_reg, _val)
 
#define GRETHGBIT_CR_BS(_val)
 
#define GRETHGBIT_CR_GA   0x8000000U
 
#define GRETHGBIT_CR_MA   0x4000000U
 
#define GRETHGBIT_CR_MC   0x2000000U
 
#define GRETHGBIT_CR_ED   0x4000U
 
#define GRETHGBIT_CR_RD   0x2000U
 
#define GRETHGBIT_CR_DD   0x1000U
 
#define GRETHGBIT_CR_ME   0x800U
 
#define GRETHGBIT_CR_PI   0x400U
 
#define GRETHGBIT_CR_BM   0x200U
 
#define GRETHGBIT_CR_GB   0x100U
 
#define GRETHGBIT_CR_SP   0x80U
 
#define GRETHGBIT_CR_RS   0x40U
 
#define GRETHGBIT_CR_PM   0x20U
 
#define GRETHGBIT_CR_FD   0x10U
 
#define GRETHGBIT_CR_RI   0x8U
 
#define GRETHGBIT_CR_TI   0x4U
 
#define GRETHGBIT_CR_RE   0x2U
 
#define GRETHGBIT_CR_TE   0x1U
 
#define GRETHGBIT_SR_PS   0x100U
 
#define GRETHGBIT_SR_IA   0x80U
 
#define GRETHGBIT_SR_TS   0x40U
 
#define GRETHGBIT_SR_TA   0x20U
 
#define GRETHGBIT_SR_RA   0x10U
 
#define GRETHGBIT_SR_TI   0x8U
 
#define GRETHGBIT_SR_RI   0x4U
 
#define GRETHGBIT_SR_TE   0x2U
 
#define GRETHGBIT_SR_RE   0x1U
 
#define GRETHGBIT_MACMSB_MSB_SHIFT   0
 
#define GRETHGBIT_MACMSB_MSB_MASK   0xffffU
 
#define GRETHGBIT_MACMSB_MSB_GET(_reg)
 
#define GRETHGBIT_MACMSB_MSB_SET(_reg, _val)
 
#define GRETHGBIT_MACMSB_MSB(_val)
 
#define GRETHGBIT_MACLSB_LSB_SHIFT   0
 
#define GRETHGBIT_MACLSB_LSB_MASK   0xffffffffU
 
#define GRETHGBIT_MACLSB_LSB_GET(_reg)
 
#define GRETHGBIT_MACLSB_LSB_SET(_reg, _val)
 
#define GRETHGBIT_MACLSB_LSB(_val)
 
#define GRETHGBIT_MDIO_DATA_SHIFT   16
 
#define GRETHGBIT_MDIO_DATA_MASK   0xffff0000U
 
#define GRETHGBIT_MDIO_DATA_GET(_reg)
 
#define GRETHGBIT_MDIO_DATA_SET(_reg, _val)
 
#define GRETHGBIT_MDIO_DATA(_val)
 
#define GRETHGBIT_MDIO_PHYADDR_SHIFT   11
 
#define GRETHGBIT_MDIO_PHYADDR_MASK   0xf800U
 
#define GRETHGBIT_MDIO_PHYADDR_GET(_reg)
 
#define GRETHGBIT_MDIO_PHYADDR_SET(_reg, _val)
 
#define GRETHGBIT_MDIO_PHYADDR(_val)
 
#define GRETHGBIT_MDIO_REGADDR_SHIFT   6
 
#define GRETHGBIT_MDIO_REGADDR_MASK   0x7c0U
 
#define GRETHGBIT_MDIO_REGADDR_GET(_reg)
 
#define GRETHGBIT_MDIO_REGADDR_SET(_reg, _val)
 
#define GRETHGBIT_MDIO_REGADDR(_val)
 
#define GRETHGBIT_MDIO_BU   0x8U
 
#define GRETHGBIT_MDIO_LF   0x4U
 
#define GRETHGBIT_MDIO_RD   0x2U
 
#define GRETHGBIT_MDIO_WR   0x1U
 
#define GRETHGBIT_TDTBA_BASEADDR_SHIFT   10
 
#define GRETHGBIT_TDTBA_BASEADDR_MASK   0xfffffc00U
 
#define GRETHGBIT_TDTBA_BASEADDR_GET(_reg)
 
#define GRETHGBIT_TDTBA_BASEADDR_SET(_reg, _val)
 
#define GRETHGBIT_TDTBA_BASEADDR(_val)
 
#define GRETHGBIT_TDTBA_DESCPNT_SHIFT   3
 
#define GRETHGBIT_TDTBA_DESCPNT_MASK   0x3f8U
 
#define GRETHGBIT_TDTBA_DESCPNT_GET(_reg)
 
#define GRETHGBIT_TDTBA_DESCPNT_SET(_reg, _val)
 
#define GRETHGBIT_TDTBA_DESCPNT(_val)
 
#define GRETHGBIT_RDTBA_BASEADDR_SHIFT   10
 
#define GRETHGBIT_RDTBA_BASEADDR_MASK   0xfffffc00U
 
#define GRETHGBIT_RDTBA_BASEADDR_GET(_reg)
 
#define GRETHGBIT_RDTBA_BASEADDR_SET(_reg, _val)
 
#define GRETHGBIT_RDTBA_BASEADDR(_val)
 
#define GRETHGBIT_RDTBA_DESCPNT_SHIFT   3
 
#define GRETHGBIT_RDTBA_DESCPNT_MASK   0x3f8U
 
#define GRETHGBIT_RDTBA_DESCPNT_GET(_reg)
 
#define GRETHGBIT_RDTBA_DESCPNT_SET(_reg, _val)
 
#define GRETHGBIT_RDTBA_DESCPNT(_val)
 
#define GRETHGBIT_EDCLMACMSB_MSB_SHIFT   0
 
#define GRETHGBIT_EDCLMACMSB_MSB_MASK   0xffffU
 
#define GRETHGBIT_EDCLMACMSB_MSB_GET(_reg)
 
#define GRETHGBIT_EDCLMACMSB_MSB_SET(_reg, _val)
 
#define GRETHGBIT_EDCLMACMSB_MSB(_val)
 
#define GRETHGBIT_EDCLMACLSB_LSB_SHIFT   0
 
#define GRETHGBIT_EDCLMACLSB_LSB_MASK   0xffffffffU
 
#define GRETHGBIT_EDCLMACLSB_LSB_GET(_reg)
 
#define GRETHGBIT_EDCLMACLSB_LSB_SET(_reg, _val)
 
#define GRETHGBIT_EDCLMACLSB_LSB(_val)
 

Typedefs

typedef struct grethgbit grethgbit
 This structure defines the GRETH_GBIT register block memory map.
 

Detailed Description

This header file defines the GRETH_GBIT register block interface.