Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
c_can.h File Reference

Go to the source code of this file.

Data Structures

struct  c_can_priv
 

Enumerations

enum  reg {
  C_CAN_CTRL_REG = 0, C_CAN_CTRL_EX_REG, C_CAN_STS_REG, C_CAN_ERR_CNT_REG,
  C_CAN_BTR_REG, C_CAN_INT_REG, C_CAN_TEST_REG, C_CAN_BRPEXT_REG,
  C_CAN_IF1_COMREQ_REG, C_CAN_IF1_COMMSK_REG, C_CAN_IF1_MASK1_REG, C_CAN_IF1_MASK2_REG,
  C_CAN_IF1_ARB1_REG, C_CAN_IF1_ARB2_REG, C_CAN_IF1_MSGCTRL_REG, C_CAN_IF1_DATA1_REG,
  C_CAN_IF1_DATA2_REG, C_CAN_IF1_DATA3_REG, C_CAN_IF1_DATA4_REG, C_CAN_IF2_COMREQ_REG,
  C_CAN_IF2_COMMSK_REG, C_CAN_IF2_MASK1_REG, C_CAN_IF2_MASK2_REG, C_CAN_IF2_ARB1_REG,
  C_CAN_IF2_ARB2_REG, C_CAN_IF2_MSGCTRL_REG, C_CAN_IF2_DATA1_REG, C_CAN_IF2_DATA2_REG,
  C_CAN_IF2_DATA3_REG, C_CAN_IF2_DATA4_REG, C_CAN_TXRQST1_REG, C_CAN_TXRQST2_REG,
  C_CAN_NEWDAT1_REG, C_CAN_NEWDAT2_REG, C_CAN_INTPND1_REG, C_CAN_INTPND2_REG,
  C_CAN_MSGVAL1_REG, C_CAN_MSGVAL2_REG
}
 
enum  c_can_dev_id { BOSCH_C_CAN_PLATFORM, BOSCH_C_CAN, BOSCH_D_CAN }
 

Functions

struct net_devicealloc_c_can_dev (void)
 
void free_c_can_dev (struct net_device *dev)
 
int register_c_can_dev (struct net_device *dev)
 
void unregister_c_can_dev (struct net_device *dev)
 

Enumeration Type Documentation

Enumerator:
BOSCH_C_CAN_PLATFORM 
BOSCH_C_CAN 
BOSCH_D_CAN 

Definition at line 147 of file c_can.h.

enum endif endif endm macro abort rept rept notcond elseif else error Unsupported inc macro argument endif pushsection a align abort popsection endr endm macro abort endm macro reg = r0
Enumerator:
C_CAN_CTRL_REG 
C_CAN_CTRL_EX_REG 
C_CAN_STS_REG 
C_CAN_ERR_CNT_REG 
C_CAN_BTR_REG 
C_CAN_INT_REG 
C_CAN_TEST_REG 
C_CAN_BRPEXT_REG 
C_CAN_IF1_COMREQ_REG 
C_CAN_IF1_COMMSK_REG 
C_CAN_IF1_MASK1_REG 
C_CAN_IF1_MASK2_REG 
C_CAN_IF1_ARB1_REG 
C_CAN_IF1_ARB2_REG 
C_CAN_IF1_MSGCTRL_REG 
C_CAN_IF1_DATA1_REG 
C_CAN_IF1_DATA2_REG 
C_CAN_IF1_DATA3_REG 
C_CAN_IF1_DATA4_REG 
C_CAN_IF2_COMREQ_REG 
C_CAN_IF2_COMMSK_REG 
C_CAN_IF2_MASK1_REG 
C_CAN_IF2_MASK2_REG 
C_CAN_IF2_ARB1_REG 
C_CAN_IF2_ARB2_REG 
C_CAN_IF2_MSGCTRL_REG 
C_CAN_IF2_DATA1_REG 
C_CAN_IF2_DATA2_REG 
C_CAN_IF2_DATA3_REG 
C_CAN_IF2_DATA4_REG 
C_CAN_TXRQST1_REG 
C_CAN_TXRQST2_REG 
C_CAN_NEWDAT1_REG 
C_CAN_NEWDAT2_REG 
C_CAN_INTPND1_REG 
C_CAN_INTPND2_REG 
C_CAN_MSGVAL1_REG 
C_CAN_MSGVAL2_REG 

Definition at line 25 of file c_can.h.

Function Documentation

struct net_device* alloc_c_can_dev ( void  )
read

Definition at line 1139 of file c_can.c.

void free_c_can_dev ( struct net_device dev)

Definition at line 1234 of file c_can.c.

int register_c_can_dev ( struct net_device dev)

Definition at line 1246 of file c_can.c.

void unregister_c_can_dev ( struct net_device dev)

Definition at line 1264 of file c_can.c.