Home
last modified time | relevance | path

Searched defs:gspca_dev (Results 1 – 25 of 68) sorted by relevance

123

/linux-3.4.99/drivers/media/video/gspca/
Dxirlink_cit.c55 struct gspca_dev gspca_dev; /* !! must be the first item */ member
796 static int cit_write_reg(struct gspca_dev *gspca_dev, u16 value, u16 index) in cit_write_reg()
811 static int cit_read_reg(struct gspca_dev *gspca_dev, u16 index, int verbose) in cit_read_reg()
841 static void cit_send_FF_04_02(struct gspca_dev *gspca_dev) in cit_send_FF_04_02()
848 static void cit_send_00_04_06(struct gspca_dev *gspca_dev) in cit_send_00_04_06()
855 static void cit_send_x_00(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00()
861 static void cit_send_x_00_05(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00_05()
867 static void cit_send_x_00_05_02(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00_05_02()
875 static void cit_send_x_01_00_05(struct gspca_dev *gspca_dev, u16 x) in cit_send_x_01_00_05()
883 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 …]
Dgspca.h158 struct gspca_dev { struct
159 struct video_device vdev; /* !! must be the first item */
160 struct module *module; /* subdriver handling the device */
161 struct usb_device *dev;
162 struct file *capt_file; /* file doing video capture */
164 struct input_dev *input_dev;
165 char phys[64]; /* physical device path */
168 struct cam cam; /* device information */
169 const struct sd_desc *sd_desc; /* subdriver description */
170 unsigned ctrl_dis; /* disabled controls (bit map) */
[all …]
Dspca1528.c34 struct gspca_dev gspca_dev; /* !! must be the first item */ member
153 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
181 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
203 static void reg_wb(struct gspca_dev *gspca_dev, in reg_wb()
227 static void wait_status_0(struct gspca_dev *gspca_dev) in wait_status_0()
244 static void wait_status_1(struct gspca_dev *gspca_dev) in wait_status_1()
262 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
269 static void setcontrast(struct gspca_dev *gspca_dev) in setcontrast()
276 static void sethue(struct gspca_dev *gspca_dev) in sethue()
283 static void setcolor(struct gspca_dev *gspca_dev) in setcolor()
[all …]
Dspca506.c34 struct gspca_dev gspca_dev; /* !! must be the first item */ member
150 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
177 static void spca506_Initi2c(struct gspca_dev *gspca_dev) in spca506_Initi2c()
182 static void spca506_WriteI2c(struct gspca_dev *gspca_dev, __u16 valeur, in spca506_WriteI2c()
196 static void spca506_SetNormeInput(struct gspca_dev *gspca_dev, in spca506_SetNormeInput()
237 static void spca506_GetNormeInput(struct gspca_dev *gspca_dev, in spca506_GetNormeInput()
249 static void spca506_Setsize(struct gspca_dev *gspca_dev, __u16 code, in spca506_Setsize()
281 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
298 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
406 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
[all …]
Dt613.c44 struct gspca_dev gspca_dev; /* !! must be the first item */ member
539 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r()
552 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
563 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
593 static void reg_w_ixbuf(struct gspca_dev *gspca_dev, in reg_w_ixbuf()
624 static void om6802_sensor_init(struct gspca_dev *gspca_dev) in om6802_sensor_init()
683 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
711 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
728 static void setcontrast(struct gspca_dev *gspca_dev) in setcontrast()
742 static void setcolors(struct gspca_dev *gspca_dev) in setcolors()
[all …]
Dpac7311.c65 struct gspca_dev gspca_dev; /* !! must be the first item */ member
264 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
288 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
310 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq()
320 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page()
348 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var()
387 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
409 static void setcontrast(struct gspca_dev *gspca_dev) in setcontrast()
419 static void setgain(struct gspca_dev *gspca_dev) in setgain()
436 static void setexposure(struct gspca_dev *gspca_dev) in setexposure()
[all …]
Dsn9c2028.c33 struct gspca_dev gspca_dev; /* !! must be the first item */ member
66 static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_command()
88 static int sn9c2028_read1(struct gspca_dev *gspca_dev) in sn9c2028_read1()
105 static int sn9c2028_read4(struct gspca_dev *gspca_dev, u8 *reading) in sn9c2028_read4()
123 static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_long_command()
154 static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_short_command()
170 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
218 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
229 static int run_start_commands(struct gspca_dev *gspca_dev, in run_start_commands()
255 static int start_spy_cam(struct gspca_dev *gspca_dev) in start_spy_cam()
[all …]
Dmars.c46 struct gspca_dev gspca_dev; /* !! must be the first item */ member
168 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
189 static void mi_w(struct gspca_dev *gspca_dev, in mi_w()
201 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
210 static void setcolors(struct gspca_dev *gspca_dev) in setcolors()
222 static void setgamma(struct gspca_dev *gspca_dev) in setgamma()
231 static void setsharpness(struct gspca_dev *gspca_dev) in setsharpness()
240 static void setilluminators(struct gspca_dev *gspca_dev) in setilluminators()
255 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
270 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
[all …]
Dsunplus.c35 struct gspca_dev gspca_dev; /* !! must be the first item */ member
321 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
351 static void reg_w_1(struct gspca_dev *gspca_dev, in reg_w_1()
376 static void reg_w_riv(struct gspca_dev *gspca_dev, in reg_w_riv()
398 static void write_vector(struct gspca_dev *gspca_dev, in write_vector()
407 static void setup_qtable(struct gspca_dev *gspca_dev, in setup_qtable()
421 static void spca504_acknowledged_command(struct gspca_dev *gspca_dev, in spca504_acknowledged_command()
435 static void spca504_read_info(struct gspca_dev *gspca_dev) in spca504_read_info()
452 static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, in spca504A_acknowledged_command()
481 static void spca504B_PollingDataReady(struct gspca_dev *gspca_dev) in spca504B_PollingDataReady()
[all …]
Dgspca.c121 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
418 void gspca_frame_add(struct gspca_dev *gspca_dev, in gspca_frame_add()
[all …]
Dvc032x.c35 struct gspca_dev gspca_dev; /* !! must be the first item */ member
3157 static void reg_r_i(struct gspca_dev *gspca_dev, in reg_r_i()
3178 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
3199 static void reg_w_i(struct gspca_dev *gspca_dev, in reg_w_i()
3219 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
3232 static u16 read_sensor_register(struct gspca_dev *gspca_dev, in read_sensor_register()
3268 static int vc032x_probe_sensor(struct gspca_dev *gspca_dev) in vc032x_probe_sensor()
3323 static void i2c_write(struct gspca_dev *gspca_dev, in i2c_write()
3356 static void put_tab_to_reg(struct gspca_dev *gspca_dev, in put_tab_to_reg()
3366 static void usb_exchange(struct gspca_dev *gspca_dev, in usb_exchange()
[all …]
Dconex.c36 struct gspca_dev gspca_dev; /* !! must be the first item */ member
126 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
150 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val()
165 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
263 static void cx11646_fw(struct gspca_dev*gspca_dev) in cx11646_fw()
301 static void cx_sensor(struct gspca_dev*gspca_dev) in cx_sensor()
383 static void cx11646_initsize(struct gspca_dev *gspca_dev) in cx11646_initsize()
652 static void cx11646_jpegInit(struct gspca_dev*gspca_dev) in cx11646_jpegInit()
680 static void cx11646_jpeg(struct gspca_dev*gspca_dev) in cx11646_jpeg()
784 static void cx11646_init1(struct gspca_dev *gspca_dev) in cx11646_init1()
[all …]
Dspca500.c35 struct gspca_dev gspca_dev; /* !! must be the first item */ member
377 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
389 static int reg_w(struct gspca_dev *gspca_dev, in reg_w()
406 static int reg_r_12(struct gspca_dev *gspca_dev, in reg_r_12()
434 static int reg_r_wait(struct gspca_dev *gspca_dev, in reg_r_wait()
448 static int write_vector(struct gspca_dev *gspca_dev, in write_vector()
462 static int spca50x_setup_qtable(struct gspca_dev *gspca_dev, in spca50x_setup_qtable()
486 static void spca500_ping310(struct gspca_dev *gspca_dev) in spca500_ping310()
493 static void spca500_clksmart310_init(struct gspca_dev *gspca_dev) in spca500_clksmart310_init()
517 static void spca500_setmode(struct gspca_dev *gspca_dev, in spca500_setmode()
[all …]
Dmr97310a.c86 struct gspca_dev gspca_dev; /* !! must be the first item */ member
264 static int mr_write(struct gspca_dev *gspca_dev, int len) in mr_write()
278 static int mr_read(struct gspca_dev *gspca_dev, int len) in mr_read()
291 static int sensor_write_reg(struct gspca_dev *gspca_dev, u8 reg, u8 flags, in sensor_write_reg()
302 static int sensor_write_regs(struct gspca_dev *gspca_dev, in sensor_write_regs()
317 static int sensor_write1(struct gspca_dev *gspca_dev, u8 reg, u8 data) in sensor_write1()
342 static int cam_get_response16(struct gspca_dev *gspca_dev, u8 reg, int verbose) in cam_get_response16()
364 static int zero_the_pointer(struct gspca_dev *gspca_dev) in zero_the_pointer()
448 static int stream_start(struct gspca_dev *gspca_dev) in stream_start()
455 static void stream_stop(struct gspca_dev *gspca_dev) in stream_stop()
[all …]
Dspca561.c36 struct gspca_dev gspca_dev; /* !! must be the first item */ member
323 static void write_vector(struct gspca_dev *gspca_dev, in write_vector()
337 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
349 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
360 static void i2c_write(struct gspca_dev *gspca_dev, __u16 value, __u16 reg) in i2c_write()
375 static int i2c_read(struct gspca_dev *gspca_dev, __u16 reg, __u8 mode) in i2c_read()
396 static void sensor_mapwrite(struct gspca_dev *gspca_dev, in sensor_mapwrite()
407 static void write_sensor_72a(struct gspca_dev *gspca_dev, in write_sensor_72a()
416 static void init_161rev12A(struct gspca_dev *gspca_dev) in init_161rev12A()
426 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
[all …]
Dsn9c20x.c88 struct gspca_dev gspca_dev; member
1090 static void reg_r(struct gspca_dev *gspca_dev, u16 reg, u16 length) in reg_r()
1111 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, in reg_w()
1134 static void reg_w1(struct gspca_dev *gspca_dev, u16 reg, const u8 value) in reg_w1()
1139 static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer) in i2c_w()
1161 static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val) in i2c_w1()
1182 static void i2c_w1_buf(struct gspca_dev *gspca_dev, in i2c_w1_buf()
1191 static void i2c_w2(struct gspca_dev *gspca_dev, u8 reg, u16 val) in i2c_w2()
1212 static void i2c_w2_buf(struct gspca_dev *gspca_dev, in i2c_w2_buf()
1221 static void i2c_r1(struct gspca_dev *gspca_dev, u8 reg, u8 *val) in i2c_r1()
[all …]
Dstk014.c43 struct gspca_dev gspca_dev; /* !! must be the first item */ member
126 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r()
150 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
173 static void rcv_val(struct gspca_dev *gspca_dev, in rcv_val()
203 static void snd_val(struct gspca_dev *gspca_dev, in snd_val()
252 static void set_par(struct gspca_dev *gspca_dev, in set_par()
258 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
268 static void setcontrast(struct gspca_dev *gspca_dev) in setcontrast()
278 static void setcolors(struct gspca_dev *gspca_dev) in setcolors()
288 static void setlightfreq(struct gspca_dev *gspca_dev) in setlightfreq()
[all …]
Dpac207.c57 struct gspca_dev gspca_dev; /* !! must be the first item */ member
170 static int pac207_write_regs(struct gspca_dev *gspca_dev, u16 index, in pac207_write_regs()
190 static int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) in pac207_write_reg()
205 static int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index) in pac207_read_reg()
224 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
259 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
271 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
314 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
324 static void pac207_do_auto_gain(struct gspca_dev *gspca_dev) in pac207_do_auto_gain()
340 static void sd_pkt_scan(struct gspca_dev *gspca_dev, in sd_pkt_scan()
[all …]
Dpac7302.c94 struct gspca_dev gspca_dev; /* !! must be the first item */ member
370 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
394 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
416 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq()
426 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page()
454 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var()
495 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
513 static void setbrightcont(struct gspca_dev *gspca_dev) in setbrightcont()
540 static void setcolors(struct gspca_dev *gspca_dev) in setcolors()
560 static void setwhitebalance(struct gspca_dev *gspca_dev) in setwhitebalance()
[all …]
Dspca501.c34 struct gspca_dev gspca_dev; /* !! must be the first item */ member
1862 static int write_vector(struct gspca_dev *gspca_dev, in write_vector()
1881 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
1888 static void setcontrast(struct gspca_dev *gspca_dev) in setcontrast()
1898 static void setcolors(struct gspca_dev *gspca_dev) in setcolors()
1905 static void setblue_balance(struct gspca_dev *gspca_dev) in setblue_balance()
1912 static void setred_balance(struct gspca_dev *gspca_dev) in setred_balance()
1920 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
1938 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
1966 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
[all …]
Dkonica.c50 struct gspca_dev gspca_dev; /* !! must be the first item */ member
189 static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_w()
210 static void reg_r(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_r()
231 static void konica_stream_on(struct gspca_dev *gspca_dev) in konica_stream_on()
236 static void konica_stream_off(struct gspca_dev *gspca_dev) in konica_stream_off()
242 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
261 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
275 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
349 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
368 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in sd_isoc_irq() local
[all …]
Dov534.c73 struct gspca_dev gspca_dev; /* !! must be the first item */ member
764 static void ov534_reg_write(struct gspca_dev *gspca_dev, u16 reg, u8 val) in ov534_reg_write()
785 static u8 ov534_reg_read(struct gspca_dev *gspca_dev, u16 reg) in ov534_reg_read()
807 static void ov534_set_led(struct gspca_dev *gspca_dev, int status) in ov534_set_led()
832 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status()
855 static void sccb_reg_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_reg_write()
868 static u8 sccb_reg_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_reg_read()
883 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array()
893 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array()
908 static void set_frame_rate(struct gspca_dev *gspca_dev) in set_frame_rate()
[all …]
Detoms.c33 struct gspca_dev gspca_dev; /* !! must be the first item */ member
233 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
255 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val()
270 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
292 static int i2c_w(struct gspca_dev *gspca_dev, in i2c_w()
313 static int i2c_r(struct gspca_dev *gspca_dev, in i2c_r()
328 static int Et_WaitStatus(struct gspca_dev *gspca_dev) in Et_WaitStatus()
340 static int et_video(struct gspca_dev *gspca_dev, in et_video()
354 static void Et_init2(struct gspca_dev *gspca_dev) in Et_init2()
467 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
[all …]
Djl2005bcd.c43 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 …]
Dstv0680.c42 struct gspca_dev gspca_dev; /* !! must be the first item */ member
53 static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val, in stv_sndctrl()
90 static int stv0680_handle_error(struct gspca_dev *gspca_dev, int ret) in stv0680_handle_error()
98 static int stv0680_get_video_mode(struct gspca_dev *gspca_dev) in stv0680_get_video_mode()
112 static int stv0680_set_video_mode(struct gspca_dev *gspca_dev, u8 mode) in stv0680_set_video_mode()
139 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
249 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
255 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
277 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
284 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
[all …]

123