Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
skel.c File Reference
#include "../comedidev.h"
#include <linux/pci.h>
#include "comedi_fc.h"

Go to the source code of this file.

Data Structures

struct  skel_board
 
struct  skel_private
 

Macros

#define SKEL_SIZE   0
 
#define SKEL_START_AI_CONV   0
 
#define SKEL_AI_READ   0
 
#define PCI_VENDOR_ID_SKEL   0xdafe
 
#define thisboard   ((const struct skel_board *)dev->board_ptr)
 
#define devpriv   ((struct skel_private *)dev->private)
 
#define TIMEOUT   100
 
#define MAX_SPEED   10000 /* in nanoseconds */
 
#define MIN_SPEED   1000000000 /* in nanoseconds */
 

Functions

 MODULE_DEVICE_TABLE (pci, skel_pci_table)
 
 module_init (driver_skel_init_module)
 
 module_exit (driver_skel_cleanup_module)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define devpriv   ((struct skel_private *)dev->private)

Definition at line 152 of file skel.c.

#define MAX_SPEED   10000 /* in nanoseconds */
#define MIN_SPEED   1000000000 /* in nanoseconds */
#define PCI_VENDOR_ID_SKEL   0xdafe

Definition at line 119 of file skel.c.

#define SKEL_AI_READ   0

Definition at line 86 of file skel.c.

#define SKEL_SIZE   0

Definition at line 83 of file skel.c.

#define SKEL_START_AI_CONV   0

Definition at line 85 of file skel.c.

#define thisboard   ((const struct skel_board *)dev->board_ptr)

Definition at line 131 of file skel.c.

#define TIMEOUT   100

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
skel_pci_table   
)
module_exit ( driver_skel_cleanup_module  )
module_init ( driver_skel_init_module  )
MODULE_LICENSE ( "GPL"  )