OpenNSL API Guide and Reference Manual
Macros
phyreg.h File Reference

Go to the source code of this file.

Macros

#define _SHR_PORT_PHY_CLAUSE45   0x00000004
 
#define _SHR_PORT_PHY_CLAUSE45_ADDR(_devad, _regad)
 
#define _SHR_PORT_PHY_I2C_DATA16   0x00000010
 
#define _SHR_PORT_PHY_I2C_DATA8   0x00000008
 
#define _SHR_PORT_PHY_INTERNAL   0x00000001
 
#define _SHR_PORT_PHY_NOMAP   0x00000002
 

Macro Definition Documentation

#define _SHR_PORT_PHY_CLAUSE45   0x00000004

Definition at line 31 of file phyreg.h.

#define _SHR_PORT_PHY_CLAUSE45_ADDR (   _devad,
  _regad 
)
Value:
((((_devad) & 0x3F) << 16) | \
((_regad) & 0xFFFF))

Definition at line 35 of file phyreg.h.

#define _SHR_PORT_PHY_I2C_DATA16   0x00000010

Definition at line 33 of file phyreg.h.

#define _SHR_PORT_PHY_I2C_DATA8   0x00000008

Definition at line 32 of file phyreg.h.

#define _SHR_PORT_PHY_INTERNAL   0x00000001

Definition at line 29 of file phyreg.h.

#define _SHR_PORT_PHY_NOMAP   0x00000002

Definition at line 30 of file phyreg.h.