#include <linux/usb.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <linux/device.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/types.h>
#include <linux/param.h>
#include <linux/rwsem.h>
#include <linux/mutex.h>
#include <linux/string.h>
#include <linux/stddef.h>
#include <linux/kref.h>
#include "sn9c102_config.h"
#include "sn9c102_sensor.h"
#include "sn9c102_devtable.h"
Go to the source code of this file.
|
enum | sn9c102_frame_state {
F_UNUSED,
F_QUEUED,
F_GRABBING,
F_DONE,
F_ERROR
} |
|
enum | sn9c102_dev_state { DEV_INITIALIZED = 0x01,
DEV_DISCONNECTED = 0x02,
DEV_MISCONFIGURED = 0x04
} |
|
enum | sn9c102_io_method { IO_NONE,
IO_READ,
IO_MMAP
} |
|
enum | sn9c102_stream_state { STREAM_OFF,
STREAM_INTERRUPT,
STREAM_ON
} |
|
Value:do { \
dev_err(&
cam->usbdev->dev,
fmt "\n", ## args); \
__func__, __LINE__ , ## args); \
} \
} while (0)
Definition at line 170 of file sn9c102.h.
Value:do { \
pr_info(
"sn9c102: " fmt "\n", ## args); \
pr_debug(
"sn9c102: [%s:%d] " fmt "\n", \
__func__, __LINE__ , ## args); \
} \
} while (0)
Definition at line 187 of file sn9c102.h.
#define PDBG |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
Value:dev_info(&
cam->usbdev->dev,
"[%s:%s:%d] " fmt "\n", __FILE__, __func__, \
__LINE__ , ## args)
Definition at line 204 of file sn9c102.h.
#define PDBGG |
( |
|
fmt, |
|
|
|
args... |
|
) |
| do {;} while(0) /* placeholder */ |
typedef char sn9c102_sof_header_t[62] |
- Enumerator:
DEV_INITIALIZED |
|
DEV_DISCONNECTED |
|
DEV_MISCONFIGURED |
|
Definition at line 62 of file sn9c102.h.
- Enumerator:
F_UNUSED |
|
F_QUEUED |
|
F_GRABBING |
|
F_DONE |
|
F_ERROR |
|
Definition at line 46 of file sn9c102.h.
- Enumerator:
STREAM_OFF |
|
STREAM_INTERRUPT |
|
STREAM_ON |
|
Definition at line 74 of file sn9c102.h.