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

#include <smiapp-quirk.h>

Data Fields

int(* limits )(struct smiapp_sensor *sensor)
 
int(* post_poweron )(struct smiapp_sensor *sensor)
 
int(* pre_streamon )(struct smiapp_sensor *sensor)
 
int(* post_streamoff )(struct smiapp_sensor *sensor)
 
struct smia_regregs
 
unsigned long flags
 

Detailed Description

struct smiapp_quirk - quirks for sensors that deviate from SMIA++ standard

: Replace sensor->limits with values which can't be read from sensor registers. Called the first time the sensor is powered up. : Called always after the sensor has been fully powered on. : Called just before streaming is enabled. : Called right after stopping streaming.

Definition at line 39 of file smiapp-quirk.h.

Field Documentation

unsigned long flags

Definition at line 45 of file smiapp-quirk.h.

int(* limits)(struct smiapp_sensor *sensor)

Definition at line 40 of file smiapp-quirk.h.

int(* post_poweron)(struct smiapp_sensor *sensor)

Definition at line 41 of file smiapp-quirk.h.

int(* post_streamoff)(struct smiapp_sensor *sensor)

Definition at line 43 of file smiapp-quirk.h.

int(* pre_streamon)(struct smiapp_sensor *sensor)

Definition at line 42 of file smiapp-quirk.h.

Definition at line 44 of file smiapp-quirk.h.


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