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

#include <cphy.h>

Data Fields

void(* destroy )(struct cphy *)
 
int(* reset )(struct cphy *, int wait)
 
int(* interrupt_enable )(struct cphy *)
 
int(* interrupt_disable )(struct cphy *)
 
int(* interrupt_clear )(struct cphy *)
 
int(* interrupt_handler )(struct cphy *)
 
int(* autoneg_enable )(struct cphy *)
 
int(* autoneg_disable )(struct cphy *)
 
int(* autoneg_restart )(struct cphy *)
 
int(* advertise )(struct cphy *phy, unsigned int advertise_map)
 
int(* set_loopback )(struct cphy *, int on)
 
int(* set_speed_duplex )(struct cphy *phy, int speed, int duplex)
 
int(* get_link_status )(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc)
 
u32 mmds
 
int(* intr_enable )(struct cphy *phy)
 
int(* intr_disable )(struct cphy *phy)
 
int(* intr_clear )(struct cphy *phy)
 
int(* intr_handler )(struct cphy *phy)
 
int(* power_down )(struct cphy *phy, int enable)
 

Detailed Description

Definition at line 69 of file cphy.h.

Field Documentation

int(* advertise)(struct cphy *phy, unsigned int advertise_map)

Definition at line 82 of file cphy.h.

int(* autoneg_disable)(struct cphy *)

Definition at line 79 of file cphy.h.

int(* autoneg_enable)(struct cphy *phy)

Definition at line 78 of file cphy.h.

int(* autoneg_restart)(struct cphy *phy)

Definition at line 80 of file cphy.h.

void(* destroy)(struct cphy *)

Definition at line 70 of file cphy.h.

int(* get_link_status)(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc)

Definition at line 85 of file cphy.h.

int(* interrupt_clear)(struct cphy *)

Definition at line 75 of file cphy.h.

int(* interrupt_disable)(struct cphy *)

Definition at line 74 of file cphy.h.

int(* interrupt_enable)(struct cphy *)

Definition at line 73 of file cphy.h.

int(* interrupt_handler)(struct cphy *)

Definition at line 76 of file cphy.h.

int(* intr_clear)(struct cphy *phy)

Definition at line 524 of file common.h.

int(* intr_disable)(struct cphy *phy)

Definition at line 523 of file common.h.

int(* intr_enable)(struct cphy *phy)

Definition at line 522 of file common.h.

int(* intr_handler)(struct cphy *phy)

Definition at line 525 of file common.h.

u32 mmds

Definition at line 88 of file cphy.h.

int(* power_down)(struct cphy *phy, int enable)

Definition at line 535 of file common.h.

int(* reset)(struct cphy *phy, int wait)

Definition at line 71 of file cphy.h.

int(* set_loopback)(struct cphy *phy, int mmd, int dir, int enable)

Definition at line 83 of file cphy.h.

int(* set_speed_duplex)(struct cphy *phy, int speed, int duplex)

Definition at line 84 of file cphy.h.


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