Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
comedi_subdevice Struct Reference

#include <comedidev.h>

Data Fields

struct comedi_devicedevice
 
int type
 
int n_chan
 
int subdev_flags
 
int len_chanlist
 
voidprivate
 
struct comedi_asyncasync
 
voidlock
 
voidbusy
 
unsigned runflags
 
spinlock_t spin_lock
 
unsigned int io_bits
 
unsigned int maxdata
 
const unsigned intmaxdata_list
 
unsigned int flags
 
const unsigned intflaglist
 
unsigned int settling_time_0
 
struct comedi_lrangerange_table
 
struct comedi_lrange *constrange_table_list
 
unsigned intchanlist
 
int(* insn_read )(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)
 
int(* insn_write )(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)
 
int(* insn_bits )(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)
 
int(* insn_config )(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)
 
int(* do_cmd )(struct comedi_device *, struct comedi_subdevice *)
 
int(* do_cmdtest )(struct comedi_device *, struct comedi_subdevice *, struct comedi_cmd *)
 
int(* poll )(struct comedi_device *, struct comedi_subdevice *)
 
int(* cancel )(struct comedi_device *, struct comedi_subdevice *)
 
int(* buf_change )(struct comedi_device *dev, struct comedi_subdevice *s, unsigned long new_size)
 
void(* munge )(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int start_chan_index)
 
enum dma_data_direction async_dma_dir
 
unsigned int state
 
struct deviceclass_dev
 
int minor
 

Detailed Description

Definition at line 65 of file comedidev.h.

Field Documentation

Definition at line 74 of file comedidev.h.

enum dma_data_direction async_dma_dir

Definition at line 121 of file comedidev.h.

int(* buf_change)(struct comedi_device *dev, struct comedi_subdevice *s, unsigned long new_size)

Definition at line 115 of file comedidev.h.

void* busy

Definition at line 77 of file comedidev.h.

Definition at line 109 of file comedidev.h.

unsigned int* chanlist

Definition at line 94 of file comedidev.h.

struct device* class_dev

Definition at line 125 of file comedidev.h.

Definition at line 66 of file comedidev.h.

Definition at line 105 of file comedidev.h.

Definition at line 106 of file comedidev.h.

const unsigned int* flaglist

Definition at line 87 of file comedidev.h.

unsigned int flags

Definition at line 86 of file comedidev.h.

int(* insn_bits)(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)

Definition at line 100 of file comedidev.h.

int(* insn_config)(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)

Definition at line 102 of file comedidev.h.

int(* insn_read)(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)

Definition at line 96 of file comedidev.h.

int(* insn_write)(struct comedi_device *, struct comedi_subdevice *, struct comedi_insn *, unsigned int *)

Definition at line 98 of file comedidev.h.

unsigned int io_bits

Definition at line 81 of file comedidev.h.

int len_chanlist

Definition at line 70 of file comedidev.h.

void* lock

Definition at line 76 of file comedidev.h.

unsigned int maxdata

Definition at line 83 of file comedidev.h.

const unsigned int* maxdata_list

Definition at line 84 of file comedidev.h.

int minor

Definition at line 126 of file comedidev.h.

void(* munge)(struct comedi_device *dev, struct comedi_subdevice *s, void *data, unsigned int num_bytes, unsigned int start_chan_index)

Definition at line 118 of file comedidev.h.

int n_chan

Definition at line 68 of file comedidev.h.

Definition at line 108 of file comedidev.h.

void* private

Definition at line 72 of file comedidev.h.

struct comedi_lrange* range_table

Definition at line 91 of file comedidev.h.

struct comedi_lrange* const* range_table_list

Definition at line 92 of file comedidev.h.

unsigned runflags

Definition at line 78 of file comedidev.h.

unsigned int settling_time_0

Definition at line 89 of file comedidev.h.

spinlock_t spin_lock

Definition at line 79 of file comedidev.h.

unsigned int state

Definition at line 123 of file comedidev.h.

int subdev_flags

Definition at line 69 of file comedidev.h.

Definition at line 67 of file comedidev.h.


The documentation for this struct was generated from the following file: