Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mdio-mux.c File Reference
#include <linux/platform_device.h>
#include <linux/mdio-mux.h>
#include <linux/of_mdio.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/phy.h>

Go to the source code of this file.

Data Structures

struct  mdio_mux_parent_bus
 
struct  mdio_mux_child_bus
 

Macros

#define DRV_VERSION   "1.0"
 
#define DRV_DESCRIPTION   "MDIO bus multiplexer driver"
 

Functions

int mdio_mux_init (struct device *dev, int(*switch_fn)(int cur, int desired, void *data), void **mux_handle, void *data)
 
 EXPORT_SYMBOL_GPL (mdio_mux_init)
 
void mdio_mux_uninit (void *mux_handle)
 
 EXPORT_SYMBOL_GPL (mdio_mux_uninit)
 
 MODULE_DESCRIPTION (DRV_DESCRIPTION)
 
 MODULE_VERSION (DRV_VERSION)
 
 MODULE_AUTHOR ("David Daney")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRV_DESCRIPTION   "MDIO bus multiplexer driver"

Definition at line 17 of file mdio-mux.c.

#define DRV_VERSION   "1.0"

Definition at line 16 of file mdio-mux.c.

Function Documentation

EXPORT_SYMBOL_GPL ( mdio_mux_init  )
EXPORT_SYMBOL_GPL ( mdio_mux_uninit  )
int mdio_mux_init ( struct device dev,
int(*)(int cur, int desired, void *data switch_fn,
void **  mux_handle,
void data 
)

Definition at line 96 of file mdio-mux.c.

void mdio_mux_uninit ( void mux_handle)

Definition at line 182 of file mdio-mux.c.

MODULE_AUTHOR ( "David Daney"  )
MODULE_DESCRIPTION ( DRV_DESCRIPTION  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRV_VERSION  )