Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
lmc.h File Reference
#include "lmc_var.h"

Go to the source code of this file.

Functions

int lmc_probe (struct net_device *dev)
 
unsigned lmc_mii_readreg (lmc_softc_t *const sc, unsigned devaddr, unsigned regno)
 
void lmc_mii_writereg (lmc_softc_t *const sc, unsigned devaddr, unsigned regno, unsigned data)
 
void lmc_led_on (lmc_softc_t *const, u32)
 
void lmc_led_off (lmc_softc_t *const, u32)
 
void lmc_gpio_mkinput (lmc_softc_t *const sc, u32 bits)
 
void lmc_gpio_mkoutput (lmc_softc_t *const sc, u32 bits)
 
int lmc_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd)
 

Variables

lmc_media_t lmc_ds3_media
 
lmc_media_t lmc_ssi_media
 
lmc_media_t lmc_t1_media
 
lmc_media_t lmc_hssi_media
 

Function Documentation

void lmc_gpio_mkinput ( lmc_softc_t *const  sc,
u32  bits 
)

Definition at line 1910 of file lmc_main.c.

void lmc_gpio_mkoutput ( lmc_softc_t *const  sc,
u32  bits 
)

Definition at line 1918 of file lmc_main.c.

int lmc_ioctl ( struct net_device dev,
struct ifreq ifr,
int  cmd 
)

Definition at line 112 of file lmc_main.c.

void lmc_led_off ( lmc_softc_t const,
u32   
)

Definition at line 1939 of file lmc_main.c.

void lmc_led_on ( lmc_softc_t const,
u32   
)

Definition at line 1926 of file lmc_main.c.

unsigned lmc_mii_readreg ( lmc_softc_t *const  sc,
unsigned  devaddr,
unsigned  regno 
)

Definition at line 1741 of file lmc_main.c.

void lmc_mii_writereg ( lmc_softc_t *const  sc,
unsigned  devaddr,
unsigned  regno,
unsigned  data 
)

Definition at line 1783 of file lmc_main.c.

int lmc_probe ( struct net_device dev)

Variable Documentation

lmc_media_t lmc_ds3_media

Definition at line 97 of file lmc_media.c.

lmc_media_t lmc_hssi_media

Definition at line 112 of file lmc_media.c.

lmc_media_t lmc_ssi_media

Definition at line 127 of file lmc_media.c.

lmc_media_t lmc_t1_media

Definition at line 141 of file lmc_media.c.