Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
bfin_can.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/platform_device.h>
#include <linux/can/dev.h>
#include <linux/can/error.h>
#include <asm/bfin_can.h>
#include <asm/portmux.h>

Go to the source code of this file.

Data Structures

struct  bfin_can_priv
 

Macros

#define DRV_NAME   "bfin_can"
 
#define BFIN_CAN_TIMEOUT   100
 
#define TX_ECHO_SKB_MAX   1
 
#define bfin_can_suspend   NULL
 
#define bfin_can_resume   NULL
 

Functions

irqreturn_t bfin_can_interrupt (int irq, void *dev_id)
 
struct net_devicealloc_bfin_candev (void)
 
 module_platform_driver (bfin_can_driver)
 
 MODULE_AUTHOR ("Barry Song <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Blackfin on-chip CAN netdevice driver")
 

Macro Definition Documentation

#define bfin_can_resume   NULL

Definition at line 675 of file bfin_can.c.

#define bfin_can_suspend   NULL

Definition at line 674 of file bfin_can.c.

#define BFIN_CAN_TIMEOUT   100

Definition at line 28 of file bfin_can.c.

#define DRV_NAME   "bfin_can"

Definition at line 27 of file bfin_can.c.

#define TX_ECHO_SKB_MAX   1

Definition at line 29 of file bfin_can.c.

Function Documentation

struct net_device* alloc_bfin_candev ( void  )
read

Definition at line 507 of file bfin_can.c.

irqreturn_t bfin_can_interrupt ( int  irq,
void dev_id 
)

Definition at line 415 of file bfin_can.c.

MODULE_AUTHOR ( "Barry Song <[email protected]>"  )
MODULE_DESCRIPTION ( "Blackfin on-chip CAN netdevice driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( bfin_can_driver  )