Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Data Fields
mii_bus Struct Reference

#include <phy.h>

Public Types

enum  { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED }
 

Data Fields

const charname
 
char id [MII_BUS_ID_SIZE]
 
voidpriv
 
int(* read )(struct mii_bus *bus, int phy_id, int regnum)
 
int(* write )(struct mii_bus *bus, int phy_id, int regnum, u16 val)
 
int(* reset )(struct mii_bus *bus)
 
struct mutex mdio_lock
 
struct deviceparent
 
enum mii_bus:: { ... }  state
 
struct device dev
 
struct phy_devicephy_map [PHY_MAX_ADDR]
 
u32 phy_mask
 
intirq
 

Detailed Description

Definition at line 97 of file phy.h.

Member Enumeration Documentation

anonymous enum
Enumerator:
MDIOBUS_ALLOCATED 
MDIOBUS_REGISTERED 
MDIOBUS_UNREGISTERED 
MDIOBUS_RELEASED 

Definition at line 112 of file phy.h.

Field Documentation

Definition at line 118 of file phy.h.

Definition at line 99 of file phy.h.

int* irq

Definition at line 130 of file phy.h.

struct mutex mdio_lock

Definition at line 109 of file phy.h.

const char* name

Definition at line 98 of file phy.h.

struct device* parent

Definition at line 111 of file phy.h.

Definition at line 121 of file phy.h.

u32 phy_mask

Definition at line 124 of file phy.h.

Definition at line 100 of file phy.h.

int(* read)(struct mii_bus *bus, int phy_id, int regnum)

Definition at line 101 of file phy.h.

int(* reset)(struct mii_bus *bus)

Definition at line 103 of file phy.h.

enum { ... } state
int(* write)(struct mii_bus *bus, int phy_id, int regnum, u16 val)

Definition at line 102 of file phy.h.


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