Linux Kernel
3.7.1
|
#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_reg * | regs |
unsigned long | flags |
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.
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.