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

#include <mcam-core.h>

Data Fields

struct i2c_adapteri2c_adapter
 
unsigned char __iomemregs
 
spinlock_t dev_lock
 
struct devicedev
 
unsigned int chip_id
 
short int clock_speed
 
short int use_smbus
 
enum mcam_buffer_mode buffer_mode
 
void(* plat_power_up )(struct mcam_camera *cam)
 
void(* plat_power_down )(struct mcam_camera *cam)
 
struct v4l2_device v4l2_dev
 
enum mcam_state state
 
unsigned long flags
 
int users
 
struct video_device vdev
 
struct v4l2_subdevsensor
 
unsigned short sensor_addr
 
struct vb2_queue vb_queue
 
struct list_head buffers
 
unsigned int nbufs
 
int next_buf
 
unsigned int sequence
 
unsigned int buf_seq [MAX_DMA_BUFS]
 
struct mcam_vb_buffervb_bufs [MAX_DMA_BUFS]
 
struct vb2_alloc_ctx * vb_alloc_ctx
 
void(* dma_setup )(struct mcam_camera *cam)
 
void(* frame_complete )(struct mcam_camera *cam, int frame)
 
u32 sensor_type
 
struct v4l2_pix_format pix_format
 
enum v4l2_mbus_pixelcode mbus_code
 
struct mutex s_mutex
 

Detailed Description

Definition at line 83 of file mcam-core.h.

Field Documentation

unsigned int buf_seq[MAX_DMA_BUFS]

Definition at line 133 of file mcam-core.h.

enum mcam_buffer_mode buffer_mode

Definition at line 95 of file mcam-core.h.

struct list_head buffers

Definition at line 120 of file mcam-core.h.

unsigned int chip_id

Definition at line 92 of file mcam-core.h.

short int clock_speed

Definition at line 93 of file mcam-core.h.

struct device* dev

Definition at line 91 of file mcam-core.h.

spinlock_t dev_lock

Definition at line 90 of file mcam-core.h.

void(* dma_setup)(struct mcam_camera *cam)

Definition at line 140 of file mcam-core.h.

unsigned long flags

Definition at line 108 of file mcam-core.h.

void(* frame_complete)(struct mcam_camera *cam, int frame)

Definition at line 141 of file mcam-core.h.

Definition at line 88 of file mcam-core.h.

enum v4l2_mbus_pixelcode mbus_code

Definition at line 146 of file mcam-core.h.

unsigned int nbufs

Definition at line 122 of file mcam-core.h.

int next_buf

Definition at line 123 of file mcam-core.h.

struct v4l2_pix_format pix_format

Definition at line 145 of file mcam-core.h.

void(* plat_power_down)(struct mcam_camera *cam)

Definition at line 100 of file mcam-core.h.

void(* plat_power_up)(struct mcam_camera *cam)

Definition at line 99 of file mcam-core.h.

unsigned char __iomem* regs

Definition at line 89 of file mcam-core.h.

struct mutex s_mutex

Definition at line 149 of file mcam-core.h.

Definition at line 115 of file mcam-core.h.

unsigned short sensor_addr

Definition at line 116 of file mcam-core.h.

u32 sensor_type

Definition at line 144 of file mcam-core.h.

unsigned int sequence

Definition at line 132 of file mcam-core.h.

Definition at line 107 of file mcam-core.h.

short int use_smbus

Definition at line 94 of file mcam-core.h.

int users

Definition at line 109 of file mcam-core.h.

struct v4l2_device v4l2_dev

Definition at line 106 of file mcam-core.h.

struct vb2_alloc_ctx* vb_alloc_ctx

Definition at line 137 of file mcam-core.h.

Definition at line 136 of file mcam-core.h.

struct vb2_queue vb_queue

Definition at line 119 of file mcam-core.h.

Definition at line 114 of file mcam-core.h.


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