Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcan_usb_core.c File Reference
#include <linux/init.h>
#include <linux/signal.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/usb.h>
#include <linux/can.h>
#include <linux/can/dev.h>
#include <linux/can/error.h>
#include "pcan_usb_core.h"

Go to the source code of this file.

Macros

#define DUMP_WIDTH   16
 

Functions

 MODULE_AUTHOR ("Stephane Grosjean <[email protected]>")
 
 MODULE_DESCRIPTION ("CAN driver for PEAK-System USB adapters")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DEVICE_TABLE (usb, peak_usb_table)
 
void pcan_dump_mem (char *prompt, void *p, int l)
 
void peak_usb_init_time_ref (struct peak_time_ref *time_ref, struct peak_usb_adapter *adapter)
 
void peak_usb_update_ts_now (struct peak_time_ref *time_ref, u32 ts_now)
 
void peak_usb_set_ts_now (struct peak_time_ref *time_ref, u32 ts_now)
 
void peak_usb_get_ts_tv (struct peak_time_ref *time_ref, u32 ts, struct timeval *tv)
 
void peak_usb_restart_complete (struct peak_usb_device *dev)
 
void peak_usb_async_complete (struct urb *urb)
 
 module_init (peak_usb_init)
 
 module_exit (peak_usb_exit)
 

Macro Definition Documentation

#define DUMP_WIDTH   16

Definition at line 55 of file pcan_usb_core.c.

Function Documentation

MODULE_AUTHOR ( "Stephane Grosjean <[email protected]>"  )
MODULE_DESCRIPTION ( "CAN driver for PEAK-System USB adapters"  )
MODULE_DEVICE_TABLE ( usb  ,
peak_usb_table   
)
module_exit ( peak_usb_exit  )
module_init ( peak_usb_init  )
MODULE_LICENSE ( "GPL v2 )
void pcan_dump_mem ( char prompt,
void p,
int  l 
)

Definition at line 56 of file pcan_usb_core.c.

void peak_usb_async_complete ( struct urb urb)

Definition at line 604 of file pcan_usb_core.c.

void peak_usb_get_ts_tv ( struct peak_time_ref time_ref,
u32  ts,
struct timeval tv 
)

Definition at line 144 of file pcan_usb_core.c.

void peak_usb_init_time_ref ( struct peak_time_ref time_ref,
struct peak_usb_adapter adapter 
)

Definition at line 67 of file pcan_usb_core.c.

void peak_usb_restart_complete ( struct peak_usb_device dev)

Definition at line 595 of file pcan_usb_core.c.

void peak_usb_set_ts_now ( struct peak_time_ref time_ref,
u32  ts_now 
)

Definition at line 112 of file pcan_usb_core.c.

void peak_usb_update_ts_now ( struct peak_time_ref time_ref,
u32  ts_now 
)

Definition at line 94 of file pcan_usb_core.c.