/drivers/media/usb/gspca/ |
D | gspca.h | 139 struct gspca_dev { struct 140 struct video_device vdev; /* !! must be the first item */ 141 struct module *module; /* subdriver handling the device */ 142 struct v4l2_device v4l2_dev; 143 struct usb_device *dev; 144 struct file *capt_file; /* file doing video capture */ 147 struct input_dev *input_dev; 148 char phys[64]; /* physical device path */ 151 struct cam cam; /* device information */ 152 const struct sd_desc *sd_desc; /* subdriver description */ [all …]
|
D | xirlink_cit.c | 55 struct gspca_dev gspca_dev; /* !! must be the first item */ member 680 static int cit_write_reg(struct gspca_dev *gspca_dev, u16 value, u16 index) in cit_write_reg() 695 static int cit_read_reg(struct gspca_dev *gspca_dev, u16 index, int verbose) in cit_read_reg() 725 static void cit_send_FF_04_02(struct gspca_dev *gspca_dev) in cit_send_FF_04_02() 732 static void cit_send_00_04_06(struct gspca_dev *gspca_dev) in cit_send_00_04_06() 739 static void cit_send_x_00(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00() 745 static void cit_send_x_00_05(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00_05() 751 static void cit_send_x_00_05_02(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00_05_02() 759 static void cit_send_x_01_00_05(struct gspca_dev *gspca_dev, u16 x) in cit_send_x_01_00_05() 767 static void cit_send_x_00_05_02_01(struct gspca_dev *gspca_dev, u16 x) in cit_send_x_00_05_02_01() [all …]
|
D | spca1528.c | 34 struct gspca_dev gspca_dev; /* !! must be the first item */ member 62 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 90 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 112 static void reg_wb(struct gspca_dev *gspca_dev, in reg_wb() 136 static void wait_status_0(struct gspca_dev *gspca_dev) in wait_status_0() 153 static void wait_status_1(struct gspca_dev *gspca_dev) in wait_status_1() 171 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 176 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast() 181 static void sethue(struct gspca_dev *gspca_dev, s32 val) in sethue() 186 static void setcolor(struct gspca_dev *gspca_dev, s32 val) in setcolor() [all …]
|
D | gspca.c | 66 static void PDEBUG_MODE(struct gspca_dev *gspca_dev, int debug, char *txt, in PDEBUG_MODE() 121 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in int_irq() local 192 static int alloc_and_submit_int_urb(struct gspca_dev *gspca_dev, in alloc_and_submit_int_urb() 246 static void gspca_input_create_urb(struct gspca_dev *gspca_dev) in gspca_input_create_urb() 268 static void gspca_input_destroy_urb(struct gspca_dev *gspca_dev) in gspca_input_destroy_urb() 284 static inline void gspca_input_destroy_urb(struct gspca_dev *gspca_dev) in gspca_input_destroy_urb() 288 static inline void gspca_input_create_urb(struct gspca_dev *gspca_dev) in gspca_input_create_urb() 301 static void fill_frame(struct gspca_dev *gspca_dev, in fill_frame() 359 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in isoc_irq() local 372 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in bulk_irq() local [all …]
|
D | spca506.c | 34 struct gspca_dev gspca_dev; /* !! must be the first item */ member 77 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 104 static void spca506_Initi2c(struct gspca_dev *gspca_dev) in spca506_Initi2c() 109 static void spca506_WriteI2c(struct gspca_dev *gspca_dev, __u16 valeur, in spca506_WriteI2c() 123 static void spca506_SetNormeInput(struct gspca_dev *gspca_dev, in spca506_SetNormeInput() 164 static void spca506_GetNormeInput(struct gspca_dev *gspca_dev, in spca506_GetNormeInput() 176 static void spca506_Setsize(struct gspca_dev *gspca_dev, __u16 code, in spca506_Setsize() 208 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 220 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() 328 static int sd_start(struct gspca_dev *gspca_dev) in sd_start() [all …]
|
D | sn9c2028.c | 33 struct gspca_dev gspca_dev; /* !! must be the first item */ member 62 static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_command() 84 static int sn9c2028_read1(struct gspca_dev *gspca_dev) in sn9c2028_read1() 101 static int sn9c2028_read4(struct gspca_dev *gspca_dev, u8 *reading) in sn9c2028_read4() 119 static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_long_command() 150 static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_short_command() 166 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 214 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() 225 static int run_start_commands(struct gspca_dev *gspca_dev, in run_start_commands() 251 static int start_spy_cam(struct gspca_dev *gspca_dev) in start_spy_cam() [all …]
|
D | stk014.c | 36 struct gspca_dev gspca_dev; /* !! must be the first item */ member 54 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() 78 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 101 static void rcv_val(struct gspca_dev *gspca_dev, in rcv_val() 131 static void snd_val(struct gspca_dev *gspca_dev, in snd_val() 180 static void set_par(struct gspca_dev *gspca_dev, in set_par() 186 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 195 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast() 204 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() 213 static void setlightfreq(struct gspca_dev *gspca_dev, s32 val) in setlightfreq() [all …]
|
D | spca561.c | 38 struct gspca_dev gspca_dev; /* !! must be the first item */ member 288 static void reg_w_val(struct gspca_dev *gspca_dev, __u16 index, __u8 value) in reg_w_val() 302 static void write_vector(struct gspca_dev *gspca_dev, in write_vector() 315 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 327 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 338 static void i2c_write(struct gspca_dev *gspca_dev, __u16 value, __u16 reg) in i2c_write() 353 static int i2c_read(struct gspca_dev *gspca_dev, __u16 reg, __u8 mode) in i2c_read() 374 static void sensor_mapwrite(struct gspca_dev *gspca_dev, in sensor_mapwrite() 385 static void write_sensor_72a(struct gspca_dev *gspca_dev, in write_sensor_72a() 394 static void init_161rev12A(struct gspca_dev *gspca_dev) in init_161rev12A() [all …]
|
D | sunplus.c | 37 struct gspca_dev gspca_dev; /* !! must be the first item */ member 247 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 275 static void reg_w_1(struct gspca_dev *gspca_dev, in reg_w_1() 300 static void reg_w_riv(struct gspca_dev *gspca_dev, in reg_w_riv() 322 static void write_vector(struct gspca_dev *gspca_dev, in write_vector() 331 static void setup_qtable(struct gspca_dev *gspca_dev, in setup_qtable() 345 static void spca504_acknowledged_command(struct gspca_dev *gspca_dev, in spca504_acknowledged_command() 358 static void spca504_read_info(struct gspca_dev *gspca_dev) in spca504_read_info() 377 static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, in spca504A_acknowledged_command() 406 static void spca504B_PollingDataReady(struct gspca_dev *gspca_dev) in spca504B_PollingDataReady() [all …]
|
D | spca500.c | 37 struct gspca_dev gspca_dev; /* !! must be the first item */ member 318 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 330 static int reg_w(struct gspca_dev *gspca_dev, in reg_w() 347 static int reg_r_12(struct gspca_dev *gspca_dev, in reg_r_12() 375 static int reg_r_wait(struct gspca_dev *gspca_dev, in reg_r_wait() 389 static int write_vector(struct gspca_dev *gspca_dev, in write_vector() 403 static int spca50x_setup_qtable(struct gspca_dev *gspca_dev, in spca50x_setup_qtable() 427 static void spca500_ping310(struct gspca_dev *gspca_dev) in spca500_ping310() 434 static void spca500_clksmart310_init(struct gspca_dev *gspca_dev) in spca500_clksmart310_init() 458 static void spca500_setmode(struct gspca_dev *gspca_dev, in spca500_setmode() [all …]
|
D | pac7311.c | 77 struct gspca_dev gspca_dev; /* !! must be the first item */ member 164 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 188 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 210 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq() 220 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page() 248 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var() 286 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 298 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast() 306 static void setgain(struct gspca_dev *gspca_dev, s32 val) in setgain() 316 static void setexposure(struct gspca_dev *gspca_dev, s32 val) in setexposure() [all …]
|
D | pac7302.c | 115 struct gspca_dev gspca_dev; /* !! must be the first item */ member 247 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 271 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 293 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq() 303 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page() 331 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var() 369 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 384 static void setbrightcont(struct gspca_dev *gspca_dev) in setbrightcont() 410 static void setcolors(struct gspca_dev *gspca_dev) in setcolors() 431 static void setwhitebalance(struct gspca_dev *gspca_dev) in setwhitebalance() [all …]
|
D | mars.c | 37 struct gspca_dev gspca_dev; /* !! must be the first item */ member 81 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 102 static void mi_w(struct gspca_dev *gspca_dev, in mi_w() 114 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 121 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() 129 static void setgamma(struct gspca_dev *gspca_dev, s32 val) in setgamma() 136 static void setsharpness(struct gspca_dev *gspca_dev, s32 val) in setsharpness() 143 static void setilluminators(struct gspca_dev *gspca_dev, bool top, bool bottom) in setilluminators() 158 struct gspca_dev *gspca_dev = in mars_s_ctrl() local 203 static int sd_init_controls(struct gspca_dev *gspca_dev) in sd_init_controls() [all …]
|
D | sn9c20x.c | 71 struct gspca_dev gspca_dev; member 926 static void reg_r(struct gspca_dev *gspca_dev, u16 reg, u16 length) in reg_r() 947 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, in reg_w() 970 static void reg_w1(struct gspca_dev *gspca_dev, u16 reg, const u8 value) in reg_w1() 975 static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer) in i2c_w() 997 static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val) in i2c_w1() 1018 static void i2c_w1_buf(struct gspca_dev *gspca_dev, in i2c_w1_buf() 1027 static void i2c_w2(struct gspca_dev *gspca_dev, u8 reg, u16 val) in i2c_w2() 1048 static void i2c_w2_buf(struct gspca_dev *gspca_dev, in i2c_w2_buf() 1057 static void i2c_r1(struct gspca_dev *gspca_dev, u8 reg, u8 *val) in i2c_r1() [all …]
|
D | ov534_9.c | 52 struct gspca_dev gspca_dev; /* !! must be the first item */ member 850 static void reg_w_i(struct gspca_dev *gspca_dev, u16 reg, u8 val) in reg_w_i() 869 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, u8 val) in reg_w() 875 static u8 reg_r(struct gspca_dev *gspca_dev, u16 reg) in reg_r() 895 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status() 920 static void sccb_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_write() 931 static u8 sccb_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_read() 946 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array() 956 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array() 972 static void set_led(struct gspca_dev *gspca_dev, int status) in set_led() [all …]
|
D | jl2005bcd.c | 43 struct gspca_dev gspca_dev; /* !! must be the first item */ member 88 static int jl2005c_write2(struct gspca_dev *gspca_dev, unsigned char *command) in jl2005c_write2() 103 static int jl2005c_read1(struct gspca_dev *gspca_dev) in jl2005c_read1() 117 static int jl2005c_read_reg(struct gspca_dev *gspca_dev, unsigned char reg) in jl2005c_read_reg() 133 static int jl2005c_start_new_frame(struct gspca_dev *gspca_dev) in jl2005c_start_new_frame() 161 static int jl2005c_write_reg(struct gspca_dev *gspca_dev, unsigned char reg, in jl2005c_write_reg() 177 static int jl2005c_get_firmware_id(struct gspca_dev *gspca_dev) in jl2005c_get_firmware_id() 208 (struct gspca_dev *gspca_dev) in jl2005c_stream_start_vga_lg() 231 static int jl2005c_stream_start_vga_small(struct gspca_dev *gspca_dev) in jl2005c_stream_start_vga_small() 254 static int jl2005c_stream_start_cif_lg(struct gspca_dev *gspca_dev) in jl2005c_stream_start_cif_lg() [all …]
|
D | ov534.c | 59 struct gspca_dev gspca_dev; /* !! must be the first item */ member 608 static void ov534_reg_write(struct gspca_dev *gspca_dev, u16 reg, u8 val) in ov534_reg_write() 629 static u8 ov534_reg_read(struct gspca_dev *gspca_dev, u16 reg) in ov534_reg_read() 651 static void ov534_set_led(struct gspca_dev *gspca_dev, int status) in ov534_set_led() 676 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status() 700 static void sccb_reg_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_reg_write() 713 static u8 sccb_reg_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_reg_read() 728 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array() 738 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array() 753 static void set_frame_rate(struct gspca_dev *gspca_dev) in set_frame_rate() [all …]
|
D | mr97310a.c | 87 struct gspca_dev gspca_dev; /* !! must be the first item */ member 137 static int mr_write(struct gspca_dev *gspca_dev, int len) in mr_write() 151 static int mr_read(struct gspca_dev *gspca_dev, int len) in mr_read() 164 static int sensor_write_reg(struct gspca_dev *gspca_dev, u8 reg, u8 flags, in sensor_write_reg() 175 static int sensor_write_regs(struct gspca_dev *gspca_dev, in sensor_write_regs() 190 static int sensor_write1(struct gspca_dev *gspca_dev, u8 reg, u8 data) in sensor_write1() 215 static int cam_get_response16(struct gspca_dev *gspca_dev, u8 reg, int verbose) in cam_get_response16() 237 static int zero_the_pointer(struct gspca_dev *gspca_dev) in zero_the_pointer() 321 static int stream_start(struct gspca_dev *gspca_dev) in stream_start() 328 static void stream_stop(struct gspca_dev *gspca_dev) in stream_stop() [all …]
|
D | conex.c | 38 struct gspca_dev gspca_dev; /* !! must be the first item */ member 70 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 93 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val() 108 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 205 static void cx11646_fw(struct gspca_dev*gspca_dev) in cx11646_fw() 243 static void cx_sensor(struct gspca_dev*gspca_dev) in cx_sensor() 325 static void cx11646_initsize(struct gspca_dev *gspca_dev) in cx11646_initsize() 594 static void cx11646_jpegInit(struct gspca_dev*gspca_dev) in cx11646_jpegInit() 622 static void cx11646_jpeg(struct gspca_dev*gspca_dev) in cx11646_jpeg() 726 static void cx11646_init1(struct gspca_dev *gspca_dev) in cx11646_init1() [all …]
|
D | jeilinj.c | 59 struct gspca_dev gspca_dev; /* !! must be the first item */ member 99 static void jlj_write2(struct gspca_dev *gspca_dev, unsigned char *command) in jlj_write2() 117 static void jlj_read1(struct gspca_dev *gspca_dev, unsigned char *response) in jlj_read1() 134 static void setfreq(struct gspca_dev *gspca_dev, s32 val) in setfreq() 147 static void setcamquality(struct gspca_dev *gspca_dev, s32 val) in setcamquality() 164 static void setautogain(struct gspca_dev *gspca_dev, s32 val) in setautogain() 177 static void setred(struct gspca_dev *gspca_dev, s32 val) in setred() 190 static void setgreen(struct gspca_dev *gspca_dev, s32 val) in setgreen() 203 static void setblue(struct gspca_dev *gspca_dev, s32 val) in setblue() 216 static int jlj_start(struct gspca_dev *gspca_dev) in jlj_start() [all …]
|
D | se401.c | 57 struct gspca_dev gspca_dev; /* !! must be the first item */ member 76 static void se401_write_req(struct gspca_dev *gspca_dev, u16 req, u16 value, in se401_write_req() 96 static void se401_read_req(struct gspca_dev *gspca_dev, u16 req, int silent) in se401_read_req() 121 static void se401_set_feature(struct gspca_dev *gspca_dev, in se401_set_feature() 141 static int se401_get_feature(struct gspca_dev *gspca_dev, u16 selector) in se401_get_feature() 168 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 174 static void setgain(struct gspca_dev *gspca_dev, s32 val) in setgain() 186 static void setexposure(struct gspca_dev *gspca_dev, s32 val, s32 freq) in setexposure() 216 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 323 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() [all …]
|
D | spca508.c | 33 struct gspca_dev gspca_dev; /* !! must be the first item */ member 1244 static int reg_write(struct gspca_dev *gspca_dev, u16 index, u16 value) in reg_write() 1263 static int reg_read(struct gspca_dev *gspca_dev, in reg_read() 1286 static int ssi_w(struct gspca_dev *gspca_dev, in ssi_w() 1327 static int write_vector(struct gspca_dev *gspca_dev, in write_vector() 1350 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 1392 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() 1397 static int sd_start(struct gspca_dev *gspca_dev) in sd_start() 1418 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN() 1424 static void sd_pkt_scan(struct gspca_dev *gspca_dev, in sd_pkt_scan() [all …]
|
D | t613.c | 42 struct gspca_dev gspca_dev; /* !! must be the first item */ member 306 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() 319 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 330 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 360 static void reg_w_ixbuf(struct gspca_dev *gspca_dev, in reg_w_ixbuf() 391 static void om6802_sensor_init(struct gspca_dev *gspca_dev) in om6802_sensor_init() 450 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 461 static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) in setbrightness() 475 static void setcontrast(struct gspca_dev *gspca_dev, s32 contrast) in setcontrast() 487 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() [all …]
|
D | vc032x.c | 35 struct gspca_dev gspca_dev; /* !! must be the first item */ member 2903 static void reg_r_i(struct gspca_dev *gspca_dev, in reg_r_i() 2924 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 2940 static void reg_w_i(struct gspca_dev *gspca_dev, in reg_w_i() 2960 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 2971 static u16 read_sensor_register(struct gspca_dev *gspca_dev, in read_sensor_register() 3007 static int vc032x_probe_sensor(struct gspca_dev *gspca_dev) in vc032x_probe_sensor() 3061 static void i2c_write(struct gspca_dev *gspca_dev, in i2c_write() 3092 static void put_tab_to_reg(struct gspca_dev *gspca_dev, in put_tab_to_reg() 3102 static void usb_exchange(struct gspca_dev *gspca_dev, in usb_exchange() [all …]
|
D | etoms.c | 33 struct gspca_dev gspca_dev; /* !! must be the first item */ member 160 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 181 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val() 196 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 217 static int i2c_w(struct gspca_dev *gspca_dev, in i2c_w() 238 static int i2c_r(struct gspca_dev *gspca_dev, in i2c_r() 253 static int Et_WaitStatus(struct gspca_dev *gspca_dev) in Et_WaitStatus() 265 static int et_video(struct gspca_dev *gspca_dev, in et_video() 279 static void Et_init2(struct gspca_dev *gspca_dev) in Et_init2() 392 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() [all …]
|