Home
last modified time | relevance | path

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

123

/drivers/media/usb/gspca/
Dgspca.h146 struct gspca_dev { struct
147 struct video_device vdev; /* !! must be the first item */
148 struct module *module; /* subdriver handling the device */
149 struct v4l2_device v4l2_dev;
150 struct usb_device *dev;
151 struct file *capt_file; /* file doing video capture */
154 struct input_dev *input_dev;
155 char phys[64]; /* physical device path */
158 struct cam cam; /* device information */
159 const struct sd_desc *sd_desc; /* subdriver description */
[all …]
Dxirlink_cit.c55 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 …]
Dstk1135.c38 struct gspca_dev gspca_dev; /* !! must be the first item */ member
59 static u8 reg_r(struct gspca_dev *gspca_dev, u16 index) in reg_r()
85 static void reg_w(struct gspca_dev *gspca_dev, u16 index, u8 val) in reg_w()
107 static void reg_w_mask(struct gspca_dev *gspca_dev, u16 index, u8 val, u8 mask) in reg_w_mask()
114 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
122 static int stk1135_serial_wait_ready(struct gspca_dev *gspca_dev) in stk1135_serial_wait_ready()
139 static u8 sensor_read_8(struct gspca_dev *gspca_dev, u8 addr) in sensor_read_8()
153 static u16 sensor_read_16(struct gspca_dev *gspca_dev, u8 addr) in sensor_read_16()
159 static void sensor_write_8(struct gspca_dev *gspca_dev, u8 addr, u8 data) in sensor_write_8()
173 static void sensor_write_16(struct gspca_dev *gspca_dev, u8 addr, u16 data) in sensor_write_16()
[all …]
Dspca1528.c34 struct gspca_dev gspca_dev; /* !! must be the first item */ member
62 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
95 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
117 static void reg_wb(struct gspca_dev *gspca_dev, in reg_wb()
141 static void wait_status_0(struct gspca_dev *gspca_dev) in wait_status_0()
158 static void wait_status_1(struct gspca_dev *gspca_dev) in wait_status_1()
176 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness()
181 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast()
186 static void sethue(struct gspca_dev *gspca_dev, s32 val) in sethue()
191 static void setcolor(struct gspca_dev *gspca_dev, s32 val) in setcolor()
[all …]
Dgspca.c66 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 …]
Dsn9c2028.c33 struct gspca_dev gspca_dev; /* !! must be the first item */ member
72 static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_command()
94 static int sn9c2028_read1(struct gspca_dev *gspca_dev) in sn9c2028_read1()
111 static int sn9c2028_read4(struct gspca_dev *gspca_dev, u8 *reading) in sn9c2028_read4()
129 static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_long_command()
160 static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_short_command()
176 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
227 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
238 static int run_start_commands(struct gspca_dev *gspca_dev, in run_start_commands()
264 static void set_gain(struct gspca_dev *gspca_dev, s32 g) in set_gain()
[all …]
Dspca506.c34 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 …]
Dstk014.c36 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 …]
Dsn9c20x.c70 struct gspca_dev gspca_dev; member
916 static void reg_r(struct gspca_dev *gspca_dev, u16 reg, u16 length) in reg_r()
942 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, in reg_w()
965 static void reg_w1(struct gspca_dev *gspca_dev, u16 reg, const u8 value) in reg_w1()
970 static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer) in i2c_w()
992 static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val) in i2c_w1()
1013 static void i2c_w1_buf(struct gspca_dev *gspca_dev, in i2c_w1_buf()
1022 static void i2c_w2(struct gspca_dev *gspca_dev, u8 reg, u16 val) in i2c_w2()
1043 static void i2c_w2_buf(struct gspca_dev *gspca_dev, in i2c_w2_buf()
1052 static void i2c_r1(struct gspca_dev *gspca_dev, u8 reg, u8 *val) in i2c_r1()
[all …]
Dspca561.c38 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 …]
Dpac7302.c114 struct gspca_dev gspca_dev; /* !! must be the first item */ member
246 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
270 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
292 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq()
302 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page()
330 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var()
368 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
383 static void setbrightcont(struct gspca_dev *gspca_dev) in setbrightcont()
409 static void setcolors(struct gspca_dev *gspca_dev) in setcolors()
430 static void setwhitebalance(struct gspca_dev *gspca_dev) in setwhitebalance()
[all …]
Dsunplus.c37 struct gspca_dev gspca_dev; /* !! must be the first item */ member
247 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
284 static void reg_w_1(struct gspca_dev *gspca_dev, in reg_w_1()
309 static void reg_w_riv(struct gspca_dev *gspca_dev, in reg_w_riv()
331 static void write_vector(struct gspca_dev *gspca_dev, in write_vector()
340 static void setup_qtable(struct gspca_dev *gspca_dev, in setup_qtable()
354 static void spca504_acknowledged_command(struct gspca_dev *gspca_dev, in spca504_acknowledged_command()
367 static void spca504_read_info(struct gspca_dev *gspca_dev) in spca504_read_info()
386 static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, in spca504A_acknowledged_command()
415 static void spca504B_PollingDataReady(struct gspca_dev *gspca_dev) in spca504B_PollingDataReady()
[all …]
Dspca500.c37 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 …]
Dpac7311.c77 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 …]
Dmars.c37 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 …]
Dov534.c61 struct gspca_dev gspca_dev; /* !! must be the first item */ member
610 static void ov534_reg_write(struct gspca_dev *gspca_dev, u16 reg, u8 val) in ov534_reg_write()
631 static u8 ov534_reg_read(struct gspca_dev *gspca_dev, u16 reg) in ov534_reg_read()
658 static void ov534_set_led(struct gspca_dev *gspca_dev, int status) in ov534_set_led()
683 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status()
707 static void sccb_reg_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_reg_write()
720 static u8 sccb_reg_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_reg_read()
735 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array()
745 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array()
760 static void set_frame_rate(struct gspca_dev *gspca_dev) in set_frame_rate()
[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 …]
Dmr97310a.c87 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 …]
Dov534_9.c52 struct gspca_dev gspca_dev; /* !! must be the first item */ member
1119 static void reg_w_i(struct gspca_dev *gspca_dev, u16 reg, u8 val) in reg_w_i()
1138 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, u8 val) in reg_w()
1144 static u8 reg_r(struct gspca_dev *gspca_dev, u16 reg) in reg_r()
1165 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status()
1190 static void sccb_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_write()
1201 static u8 sccb_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_read()
1216 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array()
1226 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array()
1242 static void set_led(struct gspca_dev *gspca_dev, int status) in set_led()
[all …]
Dconex.c38 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 …]
Djeilinj.c59 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 …]
Dse401.c57 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()
126 static void se401_set_feature(struct gspca_dev *gspca_dev, in se401_set_feature()
146 static int se401_get_feature(struct gspca_dev *gspca_dev, u16 selector) in se401_get_feature()
173 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness()
179 static void setgain(struct gspca_dev *gspca_dev, s32 val) in setgain()
191 static void setexposure(struct gspca_dev *gspca_dev, s32 val, s32 freq) in setexposure()
221 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
328 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
[all …]
Dt613.c42 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 …]
Dvc032x.c35 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()
2929 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
2945 static void reg_w_i(struct gspca_dev *gspca_dev, in reg_w_i()
2965 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
2976 static u16 read_sensor_register(struct gspca_dev *gspca_dev, in read_sensor_register()
3012 static int vc032x_probe_sensor(struct gspca_dev *gspca_dev) in vc032x_probe_sensor()
3066 static void i2c_write(struct gspca_dev *gspca_dev, in i2c_write()
3097 static void put_tab_to_reg(struct gspca_dev *gspca_dev, in put_tab_to_reg()
3107 static void usb_exchange(struct gspca_dev *gspca_dev, in usb_exchange()
[all …]
Dspca508.c33 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 …]

123