Lines Matching refs:cam_data
179 static void reset_camera_struct(struct cam_data *cam);
250 struct cam_data *cam = data; in cpia_read_proc()
561 struct cam_data *cam = data; in cpia_write_proc()
1289 static void create_proc_cpia_cam(struct cam_data *cam) in create_proc_cpia_cam()
1315 static void destroy_proc_cpia_cam(struct cam_data *cam) in destroy_proc_cpia_cam()
1411 static void set_vw_size(struct cam_data *cam) in set_vw_size()
1545 static int allocate_frame_buf(struct cam_data *cam) in allocate_frame_buf()
1559 static int free_frame_buf(struct cam_data *cam) in free_frame_buf()
1587 static int do_command(struct cam_data *cam, u16 command, u8 a, u8 b, u8 c, u8 d) in do_command()
1726 static int do_command_extended(struct cam_data *cam, u16 command, in do_command_extended()
1893 static int parse_picture(struct cam_data *cam, int size) in parse_picture()
2032 static inline int init_stream_cap(struct cam_data *cam) in init_stream_cap()
2039 static void dispatch_commands(struct cam_data *cam) in dispatch_commands()
2174 struct cam_data *cam = (struct cam_data *)data; in fetch_frame()
2285 static int capture_frame(struct cam_data *cam, struct video_mmap *vm) in capture_frame()
2316 static int goto_high_power(struct cam_data *cam) in goto_high_power()
2331 static int goto_low_power(struct cam_data *cam) in goto_low_power()
2345 static void save_camera_state(struct cam_data *cam) in save_camera_state()
2365 static void set_camera_state(struct cam_data *cam) in set_camera_state()
2424 static void get_version_information(struct cam_data *cam) in get_version_information()
2434 static int reset_camera(struct cam_data *cam) in reset_camera()
2519 struct cam_data *cam = dev->priv; in cpia_open()
2593 struct cam_data *cam = dev->priv; in cpia_close()
2645 struct cam_data *cam = dev->priv; in cpia_read()
2703 struct cam_data *cam = dev->priv; in cpia_do_ioctl()
3021 struct cam_data *cam = dev->priv; in cpia_mmap()
3087 static void reset_camera_struct(struct cam_data *cam) in reset_camera_struct()
3185 static void init_camera_struct(struct cam_data *cam, in init_camera_struct()
3191 memset(cam, 0, sizeof(struct cam_data)); in init_camera_struct()
3217 struct cam_data *cpia_register_camera(struct cpia_camera_ops *ops, void *lowlevel) in cpia_register_camera()
3219 struct cam_data *camera; in cpia_register_camera()
3221 if ((camera = kmalloc(sizeof(struct cam_data), GFP_KERNEL)) == NULL) in cpia_register_camera()
3270 void cpia_unregister_camera(struct cam_data *cam) in cpia_unregister_camera()