Lines Matching refs:w9968cf_device
390 static void w9968cf_proc_create_dev(struct w9968cf_device*);
391 static void w9968cf_proc_destroy_dev(struct w9968cf_device*);
397 static int w9968cf_start_transfer(struct w9968cf_device*);
398 static int w9968cf_stop_transfer(struct w9968cf_device*);
400 static int w9968cf_write_reg(struct w9968cf_device*, u16 value, u16 index);
401 static int w9968cf_read_reg(struct w9968cf_device*, u16 index);
402 static int w9968cf_write_fsb(struct w9968cf_device*, u16* data);
403 static int w9968cf_write_sb(struct w9968cf_device*, u16 value);
404 static int w9968cf_read_sb(struct w9968cf_device*);
405 static int w9968cf_upload_quantizationtables(struct w9968cf_device*);
408 static int w9968cf_smbus_start(struct w9968cf_device*);
409 static int w9968cf_smbus_stop(struct w9968cf_device*);
410 static int w9968cf_smbus_write_byte(struct w9968cf_device*, u8 v);
411 static int w9968cf_smbus_read_byte(struct w9968cf_device*, u8* v);
412 static int w9968cf_smbus_write_ack(struct w9968cf_device*);
413 static int w9968cf_smbus_read_ack(struct w9968cf_device*);
414 static int w9968cf_smbus_refresh_bus(struct w9968cf_device*);
415 static int w9968cf_i2c_adap_read_byte(struct w9968cf_device* cam,
417 static int w9968cf_i2c_adap_read_byte_data(struct w9968cf_device*, u16 address,
419 static int w9968cf_i2c_adap_write_byte(struct w9968cf_device*,
421 static int w9968cf_i2c_adap_fastwrite_byte_data(struct w9968cf_device*,
426 static int w9968cf_i2c_init(struct w9968cf_device*);
442 static void w9968cf_deallocate_memory(struct w9968cf_device*);
443 static int w9968cf_allocate_memory(struct w9968cf_device*);
444 static inline unsigned long w9968cf_get_max_bufsize(struct w9968cf_device*);
447 static int w9968cf_sensor_set_control(struct w9968cf_device*,int cid,int val);
448 static int w9968cf_sensor_get_control(struct w9968cf_device*,int cid,int *val);
449 static int w9968cf_sensor_cmd(struct w9968cf_device*,
451 static int w9968cf_sensor_init(struct w9968cf_device*);
452 static int w9968cf_sensor_update_settings(struct w9968cf_device*);
453 static int w9968cf_sensor_get_picture(struct w9968cf_device*);
454 static int w9968cf_sensor_update_picture(struct w9968cf_device*,
458 static void w9968cf_configure_camera(struct w9968cf_device*,struct usb_device*,
461 static int w9968cf_turn_on_led(struct w9968cf_device*);
462 static int w9968cf_init_chip(struct w9968cf_device*);
463 static int w9968cf_set_picture(struct w9968cf_device*, struct video_picture);
464 static int w9968cf_set_window(struct w9968cf_device*, struct video_window);
468 static int w9968cf_postprocess_frame(struct w9968cf_device*,
470 static int w9968cf_adjust_window_size(struct w9968cf_device*, u16* w, u16* h);
471 static void w9968cf_init_framelist(struct w9968cf_device*);
472 static void w9968cf_push_frame(struct w9968cf_device*, u8 f_num);
473 static void w9968cf_pop_frame(struct w9968cf_device*,struct w9968cf_frame_t**);
474 static void w9968cf_release_resources(struct w9968cf_device*);
656 static inline unsigned long w9968cf_get_max_bufsize(struct w9968cf_device* cam) in w9968cf_get_max_bufsize()
667 static void w9968cf_deallocate_memory(struct w9968cf_device* cam) in w9968cf_deallocate_memory()
707 static int w9968cf_allocate_memory(struct w9968cf_device* cam) in w9968cf_allocate_memory()
800 struct w9968cf_device* cam; in w9968cf_proc_read_global()
822 cam = list_entry(ptr, struct w9968cf_device, v4llist); in w9968cf_proc_read_global()
851 struct w9968cf_device* cam = (struct w9968cf_device* )data; in w9968cf_proc_read_dev()
937 static void w9968cf_proc_create_dev(struct w9968cf_device* cam) in w9968cf_proc_create_dev()
959 static void w9968cf_proc_destroy_dev(struct w9968cf_device* cam) in w9968cf_proc_destroy_dev()
1038 struct w9968cf_device* cam = (struct w9968cf_device*)urb->context; in w9968cf_urb_complete()
1161 static int w9968cf_start_transfer(struct w9968cf_device* cam) in w9968cf_start_transfer()
1262 static int w9968cf_stop_transfer(struct w9968cf_device* cam) in w9968cf_stop_transfer()
1307 static int w9968cf_write_reg(struct w9968cf_device* cam, u16 value, u16 index) in w9968cf_write_reg()
1329 static int w9968cf_read_reg(struct w9968cf_device* cam, u16 index) in w9968cf_read_reg()
1352 static int w9968cf_write_fsb(struct w9968cf_device* cam, u16* data) in w9968cf_write_fsb()
1376 static int w9968cf_write_sb(struct w9968cf_device* cam, u16 value) in w9968cf_write_sb()
1391 static int w9968cf_read_sb(struct w9968cf_device* cam) in w9968cf_read_sb()
1407 static int w9968cf_upload_quantizationtables(struct w9968cf_device* cam) in w9968cf_upload_quantizationtables()
1435 static int w9968cf_smbus_start(struct w9968cf_device* cam) in w9968cf_smbus_start()
1446 static int w9968cf_smbus_stop(struct w9968cf_device* cam) in w9968cf_smbus_stop()
1457 static int w9968cf_smbus_write_byte(struct w9968cf_device* cam, u8 v) in w9968cf_smbus_write_byte()
1477 static int w9968cf_smbus_read_byte(struct w9968cf_device* cam, u8* v) in w9968cf_smbus_read_byte()
1494 static int w9968cf_smbus_write_ack(struct w9968cf_device* cam) in w9968cf_smbus_write_ack()
1506 static int w9968cf_smbus_read_ack(struct w9968cf_device* cam) in w9968cf_smbus_read_ack()
1525 static int w9968cf_smbus_refresh_bus(struct w9968cf_device* cam) in w9968cf_smbus_refresh_bus()
1542 w9968cf_i2c_adap_fastwrite_byte_data(struct w9968cf_device* cam, in w9968cf_i2c_adap_fastwrite_byte_data()
1611 w9968cf_i2c_adap_read_byte_data(struct w9968cf_device* cam, in w9968cf_i2c_adap_read_byte_data()
1651 w9968cf_i2c_adap_read_byte(struct w9968cf_device* cam, in w9968cf_i2c_adap_read_byte()
1682 w9968cf_i2c_adap_write_byte(struct w9968cf_device* cam, in w9968cf_i2c_adap_write_byte()
1700 struct w9968cf_device* cam = adapter->data; in w9968cf_i2c_smbus_xfer()
1763 struct w9968cf_device* cam = client->adapter->data; in w9968cf_i2c_attach_inform()
1789 struct w9968cf_device* cam = client->adapter->data; in w9968cf_i2c_detach_inform()
1822 static int w9968cf_i2c_init(struct w9968cf_device* cam) in w9968cf_i2c_init()
1868 static int w9968cf_turn_on_led(struct w9968cf_device* cam) in w9968cf_turn_on_led()
1893 static int w9968cf_init_chip(struct w9968cf_device* cam) in w9968cf_init_chip()
1943 w9968cf_set_picture(struct w9968cf_device* cam, struct video_picture pict) in w9968cf_set_picture()
2039 w9968cf_set_window(struct w9968cf_device* cam, struct video_window win) in w9968cf_set_window()
2247 w9968cf_adjust_window_size(struct w9968cf_device* cam, u16* width, u16* height) in w9968cf_adjust_window_size()
2278 static void w9968cf_init_framelist(struct w9968cf_device* cam) in w9968cf_init_framelist()
2294 static void w9968cf_push_frame(struct w9968cf_device* cam, u8 f_num) in w9968cf_push_frame()
2317 w9968cf_pop_frame(struct w9968cf_device* cam, struct w9968cf_frame_t** framep) in w9968cf_pop_frame()
2341 w9968cf_postprocess_frame(struct w9968cf_device* cam, in w9968cf_postprocess_frame()
2406 w9968cf_sensor_set_control(struct w9968cf_device* cam, int cid, int val) in w9968cf_sensor_set_control()
2421 w9968cf_sensor_get_control(struct w9968cf_device* cam, int cid, int* val) in w9968cf_sensor_get_control()
2437 w9968cf_sensor_cmd(struct w9968cf_device* cam, unsigned int cmd, void* arg) in w9968cf_sensor_cmd()
2455 static int w9968cf_sensor_update_settings(struct w9968cf_device* cam) in w9968cf_sensor_update_settings()
2504 static int w9968cf_sensor_get_picture(struct w9968cf_device* cam) in w9968cf_sensor_get_picture()
2543 w9968cf_sensor_update_picture(struct w9968cf_device* cam, in w9968cf_sensor_update_picture()
2607 static int w9968cf_sensor_init(struct w9968cf_device* cam) in w9968cf_sensor_init()
2682 w9968cf_configure_camera(struct w9968cf_device* cam, in w9968cf_configure_camera()
2901 static void w9968cf_release_resources(struct w9968cf_device* cam) in w9968cf_release_resources()
2930 struct w9968cf_device* cam; in w9968cf_open()
2933 cam = (struct w9968cf_device*)video_get_drvdata(video_devdata(filp)); in w9968cf_open()
3003 struct w9968cf_device* cam; in w9968cf_release()
3005 cam = (struct w9968cf_device*)video_get_drvdata(video_devdata(filp)); in w9968cf_release()
3033 struct w9968cf_device* cam; in w9968cf_read()
3037 cam = (struct w9968cf_device*)video_get_drvdata(video_devdata(filp)); in w9968cf_read()
3102 struct w9968cf_device* cam = (struct w9968cf_device*) in w9968cf_mmap()
3143 struct w9968cf_device* cam; in w9968cf_ioctl()
3146 cam = (struct w9968cf_device*)video_get_drvdata(video_devdata(filp)); in w9968cf_ioctl()
3174 struct w9968cf_device* cam; in w9968cf_v4l_ioctl()
3188 cam = (struct w9968cf_device*)video_get_drvdata(video_devdata(filp)); in w9968cf_v4l_ioctl()
3731 struct w9968cf_device* cam; in w9968cf_usb_probe()
3770 cam = (struct w9968cf_device*) in w9968cf_usb_probe()
3771 kmalloc(sizeof(struct w9968cf_device), GFP_KERNEL); in w9968cf_usb_probe()
3775 sizeof(struct w9968cf_device)) in w9968cf_usb_probe()
3870 struct w9968cf_device* cam = (struct w9968cf_device*)drv_context; in w9968cf_usb_disconnect()