Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ll_temac_main.c File Reference
#include <linux/delay.h>
#include <linux/etherdevice.h>
#include <linux/init.h>
#include <linux/mii.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_mdio.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/phy.h>
#include <linux/in.h>
#include <linux/io.h>
#include <linux/ip.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include "ll_temac.h"

Go to the source code of this file.

Data Structures

struct  temac_option
 

Macros

#define TX_BD_NUM   64
 
#define RX_BD_NUM   128
 

Functions

u32 temac_ior (struct temac_local *lp, int offset)
 
void temac_iow (struct temac_local *lp, int offset, u32 value)
 
int temac_indirect_busywait (struct temac_local *lp)
 
u32 temac_indirect_in32 (struct temac_local *lp, int reg)
 
void temac_indirect_out32 (struct temac_local *lp, int reg, u32 value)
 
void temac_adjust_link (struct net_device *ndev)
 
 MODULE_DEVICE_TABLE (of, temac_of_match)
 
 module_platform_driver (temac_of_driver)
 
 MODULE_DESCRIPTION ("Xilinx LL_TEMAC Ethernet driver")
 
 MODULE_AUTHOR ("Yoshio Kashiwagi")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct temac_option temac_options []
 

Macro Definition Documentation

#define RX_BD_NUM   128

Definition at line 57 of file ll_temac_main.c.

#define TX_BD_NUM   64

Definition at line 56 of file ll_temac_main.c.

Function Documentation

MODULE_AUTHOR ( "Yoshio Kashiwagi"  )
MODULE_DESCRIPTION ( "Xilinx LL_TEMAC Ethernet driver )
MODULE_DEVICE_TABLE ( of  ,
temac_of_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( temac_of_driver  )
void temac_adjust_link ( struct net_device ndev)

Definition at line 593 of file ll_temac_main.c.

int temac_indirect_busywait ( struct temac_local lp)

Definition at line 73 of file ll_temac_main.c.

u32 temac_indirect_in32 ( struct temac_local lp,
int  reg 
)

temac_indirect_in32

lp->indirect_mutex must be held when calling this function

Definition at line 92 of file ll_temac_main.c.

void temac_indirect_out32 ( struct temac_local lp,
int  reg,
u32  value 
)

temac_indirect_out32

lp->indirect_mutex must be held when calling this function

Definition at line 111 of file ll_temac_main.c.

u32 temac_ior ( struct temac_local lp,
int  offset 
)

Definition at line 63 of file ll_temac_main.c.

void temac_iow ( struct temac_local lp,
int  offset,
u32  value 
)

Definition at line 68 of file ll_temac_main.c.

Variable Documentation

struct temac_option temac_options[]