Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
netio_mdio_addr_t Union Reference

#include <netio_intf.h>

Data Fields

struct {
   unsigned int   reg:16
 
   unsigned int   phy:5
 
   unsigned int   dev:5
 
bits
 
uint64_t addr
 

Detailed Description

NetIO MDIO address type. Retrieved or provided using the NETIO_MDIO address passed to netio_get() or netio_set().

Definition at line 2956 of file netio_intf.h.

Field Documentation

uint64_t addr

Value to pass to netio_get() or netio_set().

Definition at line 2968 of file netio_intf.h.

struct { ... } bits

Container for bitfields.

unsigned int dev

Which MDIO device to access within that PHY. Applicable for clause 45 access only; ignored for clause 22 access.

Definition at line 2963 of file netio_intf.h.

unsigned int phy

Which MDIO PHY to access.

Definition at line 2962 of file netio_intf.h.

unsigned int reg

MDIO register offset. For clause 22 access, must be less than 32.

Definition at line 2960 of file netio_intf.h.


The documentation for this union was generated from the following file: