Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/usb/gspca/
Dgspca.h145 struct gspca_dev { struct
146 struct video_device vdev; /* !! must be the first item */
147 struct module *module; /* subdriver handling the device */
148 struct v4l2_device v4l2_dev;
149 struct usb_device *dev;
150 struct file *capt_file; /* file doing video capture */
153 struct input_dev *input_dev;
154 char phys[64]; /* physical device path */
157 struct cam cam; /* device information */
158 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()
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 …]
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 …]
Dsn9c2028.c33 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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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()
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 …]
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 …]
Dsn9c20x.c70 struct gspca_dev gspca_dev; member
909 static void reg_r(struct gspca_dev *gspca_dev, u16 reg, u16 length) in reg_r()
930 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, in reg_w()
953 static void reg_w1(struct gspca_dev *gspca_dev, u16 reg, const u8 value) in reg_w1()
958 static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buffer) in i2c_w()
980 static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val) in i2c_w1()
1001 static void i2c_w1_buf(struct gspca_dev *gspca_dev, in i2c_w1_buf()
1010 static void i2c_w2(struct gspca_dev *gspca_dev, u8 reg, u16 val) in i2c_w2()
1031 static void i2c_w2_buf(struct gspca_dev *gspca_dev, in i2c_w2_buf()
1040 static void i2c_r1(struct gspca_dev *gspca_dev, u8 reg, u8 *val) in i2c_r1()
[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 …]
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 …]
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 …]
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 …]
Dstv0680.c42 struct gspca_dev gspca_dev; /* !! must be the first item */ member
49 static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val, in stv_sndctrl()
86 static int stv0680_handle_error(struct gspca_dev *gspca_dev, int ret) in stv0680_handle_error()
94 static int stv0680_get_video_mode(struct gspca_dev *gspca_dev) in stv0680_get_video_mode()
108 static int stv0680_set_video_mode(struct gspca_dev *gspca_dev, u8 mode) in stv0680_set_video_mode()
135 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
245 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
251 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
273 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
280 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
[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()
1164 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status()
1189 static void sccb_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_write()
1200 static u8 sccb_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_read()
1215 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array()
1225 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array()
1241 static void set_led(struct gspca_dev *gspca_dev, int status) in set_led()
[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.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()
653 static void ov534_set_led(struct gspca_dev *gspca_dev, int status) in ov534_set_led()
678 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status()
702 static void sccb_reg_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_reg_write()
715 static u8 sccb_reg_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_reg_read()
730 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array()
740 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array()
755 static void set_frame_rate(struct gspca_dev *gspca_dev) in set_frame_rate()
[all …]
Dspca505.c34 struct gspca_dev gspca_dev; /* !! must be the first item */ member
547 static int reg_write(struct gspca_dev *gspca_dev, in reg_write()
566 static int reg_read(struct gspca_dev *gspca_dev, in reg_read()
585 static int write_vector(struct gspca_dev *gspca_dev, in write_vector()
601 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
619 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
631 static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) in setbrightness()
637 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
685 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
692 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
[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()
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 …]
Dkonica.c50 struct gspca_dev gspca_dev; /* !! must be the first item */ member
90 static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_w()
112 static void reg_r(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_r()
133 static void konica_stream_on(struct gspca_dev *gspca_dev) in konica_stream_on()
138 static void konica_stream_off(struct gspca_dev *gspca_dev) in konica_stream_off()
144 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
155 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
176 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
244 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
263 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in sd_isoc_irq() local
[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 …]
Detoms.c33 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 …]
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()
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 …]
Dtouptek.c147 struct gspca_dev gspca_dev; /* !! must be the first item */ member
195 static int val_reply(struct gspca_dev *gspca_dev, const char *reply, int rc) in val_reply()
212 static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_w()
236 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
245 static void setexposure(struct gspca_dev *gspca_dev, s32 val) in setexposure()
284 static void setggain(struct gspca_dev *gspca_dev, u16 global_gain) in setggain()
297 static void setbgain(struct gspca_dev *gspca_dev, in setbgain()
316 static void setrgain(struct gspca_dev *gspca_dev, in setrgain()
335 static void configure_wh(struct gspca_dev *gspca_dev) in configure_wh()
402 static void configure_encrypted(struct gspca_dev *gspca_dev) in configure_encrypted()
[all …]
Dspca501.c34 struct gspca_dev gspca_dev; /* !! must be the first item */ member
1759 static int reg_write(struct gspca_dev *gspca_dev, in reg_write()
1778 static int write_vector(struct gspca_dev *gspca_dev, const __u16 data[][3]) in write_vector()
1795 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness()
1800 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast()
1806 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors()
1811 static void setblue_balance(struct gspca_dev *gspca_dev, s32 val) in setblue_balance()
1816 static void setred_balance(struct gspca_dev *gspca_dev, s32 val) in setred_balance()
1822 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
1837 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
[all …]
Dpac207.c65 struct gspca_dev gspca_dev; /* !! must be the first item */ member
100 static void pac207_write_regs(struct gspca_dev *gspca_dev, u16 index, in pac207_write_regs()
122 static void pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) in pac207_write_reg()
140 static int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index) in pac207_read_reg()
163 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
193 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
208 static void setcontrol(struct gspca_dev *gspca_dev, u16 reg, u16 val) in setcontrol()
217 struct gspca_dev *gspca_dev = in sd_s_ctrl() local
259 static int sd_init_controls(struct gspca_dev *gspca_dev) in sd_init_controls()
290 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
[all …]
Dtv8532.c31 struct gspca_dev gspca_dev; /* !! must be the first item */ member
119 static void reg_w1(struct gspca_dev *gspca_dev, in reg_w1()
132 static void reg_w2(struct gspca_dev *gspca_dev, in reg_w2()
145 static void tv_8532WriteEEprom(struct gspca_dev *gspca_dev) in tv_8532WriteEEprom()
162 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
174 static void tv_8532_setReg(struct gspca_dev *gspca_dev) in tv_8532_setReg()
194 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
201 static void setexposure(struct gspca_dev *gspca_dev, s32 val) in setexposure()
208 static void setgain(struct gspca_dev *gspca_dev, s32 val) in setgain()
217 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
[all …]
Dbenq.c33 struct gspca_dev gspca_dev; /* !! must be the first item */ member
46 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
69 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
79 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
85 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
131 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN()
146 static void sd_pkt_scan(struct gspca_dev *gspca_dev, in sd_pkt_scan()
156 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in sd_isoc_irq() local
Dvicam.c48 struct gspca_dev gspca_dev; /* !! must be the first item */ member
82 static int vicam_control_msg(struct gspca_dev *gspca_dev, u8 request, in vicam_control_msg()
98 static int vicam_set_camera_power(struct gspca_dev *gspca_dev, int state) in vicam_set_camera_power()
115 static int vicam_read_frame(struct gspca_dev *gspca_dev, u8 *data, int size) in vicam_read_frame()
184 struct gspca_dev *gspca_dev = &sd->gspca_dev; in vicam_dostream() local
220 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
238 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
272 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
290 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
305 static int sd_init_controls(struct gspca_dev *gspca_dev) in sd_init_controls()
Ddtcs033.c34 static void reg_rw(struct gspca_dev *gspca_dev, in reg_rw()
59 static int reg_reqs(struct gspca_dev *gspca_dev, in reg_reqs()
112 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
126 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
136 static void dtcs033_pkt_scan(struct gspca_dev *gspca_dev, in dtcs033_pkt_scan()
159 static void dtcs033_setexposure(struct gspca_dev *gspca_dev, in dtcs033_setexposure()
189 struct gspca_dev gspca_dev;/* !! must be the first item */ member
200 struct gspca_dev *gspca_dev = in sd_s_ctrl() local
227 static int dtcs033_init_controls(struct gspca_dev *gspca_dev) in dtcs033_init_controls()
430 static int dtcs033_start(struct gspca_dev *gspca_dev) in dtcs033_start()
[all …]
Dsonixj.c36 struct gspca_dev gspca_dev; /* !! must be the first item */ member
1155 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
1181 static void reg_w1(struct gspca_dev *gspca_dev, in reg_w1()
1204 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
1236 static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val) in i2c_w1()
1277 static void i2c_w8(struct gspca_dev *gspca_dev, in i2c_w8()
1302 static void i2c_r(struct gspca_dev *gspca_dev, u8 reg, int len) in i2c_r()
1333 static void i2c_w_seq(struct gspca_dev *gspca_dev, in i2c_w_seq()
1347 static void hv7131r_probe(struct gspca_dev *gspca_dev) in hv7131r_probe()
1365 static void mi0360_probe(struct gspca_dev *gspca_dev) in mi0360_probe()
[all …]
Dnw80x.c37 struct gspca_dev gspca_dev; /* !! must be the first item */ member
1539 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
1570 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
1598 static void i2c_w(struct gspca_dev *gspca_dev, in i2c_w()
1624 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
1658 static void setgain(struct gspca_dev *gspca_dev, u8 val) in setgain()
1677 static void setexposure(struct gspca_dev *gspca_dev, s32 val) in setexposure()
1698 static void setautogain(struct gspca_dev *gspca_dev, s32 val) in setautogain()
1725 static int nw802_test_reg(struct gspca_dev *gspca_dev, in nw802_test_reg()
1739 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
[all …]
Dzc3xx.c40 struct gspca_dev gspca_dev; /* !! must be the first item */ member
5548 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r()
5570 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
5590 static u16 i2c_read(struct gspca_dev *gspca_dev, in i2c_read()
5609 static u8 i2c_write(struct gspca_dev *gspca_dev, in i2c_write()
5629 static void usb_exchange(struct gspca_dev *gspca_dev, in usb_exchange()
5662 static void setmatrix(struct gspca_dev *gspca_dev) in setmatrix()
5712 static void setsharpness(struct gspca_dev *gspca_dev, s32 val) in setsharpness()
5728 static void setcontrast(struct gspca_dev *gspca_dev, in setcontrast()
5785 static s32 getexposure(struct gspca_dev *gspca_dev) in getexposure()
[all …]
Dfinepix.c41 struct gspca_dev gspca_dev; /* !! must be the first item */ member
63 static int command(struct gspca_dev *gspca_dev, in command()
91 struct gspca_dev *gspca_dev = &dev->gspca_dev; in dostream() local
172 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
189 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
195 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
238 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
Dsq930x.c37 struct gspca_dev gspca_dev; /* !! must be the first item */ member
425 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
444 static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_w()
464 static void reg_wb(struct gspca_dev *gspca_dev, u16 value, u16 index, in reg_wb()
491 struct gspca_dev *gspca_dev = &sd->gspca_dev; in i2c_write() local
532 static void ucbus_write(struct gspca_dev *gspca_dev, in ucbus_write()
594 struct gspca_dev *gspca_dev = &sd->gspca_dev; in gpio_set() local
633 static void cmos_probe(struct gspca_dev *gspca_dev) in cmos_probe()
672 static void mt9v111_init(struct gspca_dev *gspca_dev) in mt9v111_init()
758 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 gain) in setexposure()
[all …]
Dov519.c65 struct gspca_dev gspca_dev; /* !! must be the first item */ member
2039 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in reg_w() local
2087 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in reg_r() local
2128 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in reg_r8() local
2182 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov518_reg_w32() local
2204 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov511_i2c_w() local
2238 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov511_i2c_r() local
2311 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov518_i2c_w() local
2338 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov518_i2c_r() local
2359 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ovfx2_i2c_w() local
[all …]
Dsonixb.c61 struct gspca_dev gspca_dev; /* !! must be the first item */ member
448 static void reg_r(struct gspca_dev *gspca_dev, in reg_r()
472 static void reg_w(struct gspca_dev *gspca_dev, in reg_w()
499 static void i2c_w(struct gspca_dev *gspca_dev, const u8 *buf) in i2c_w()
527 static void i2c_w_vector(struct gspca_dev *gspca_dev, in i2c_w_vector()
541 static void setbrightness(struct gspca_dev *gspca_dev) in setbrightness()
587 static void setgain(struct gspca_dev *gspca_dev) in setgain()
686 static void setexposure(struct gspca_dev *gspca_dev) in setexposure()
857 static void setfreq(struct gspca_dev *gspca_dev) in setfreq()
883 static void do_autogain(struct gspca_dev *gspca_dev) in do_autogain()
[all …]
Dsq905.c86 struct gspca_dev gspca_dev; /* !! must be the first item */ member
116 static int sq905_command(struct gspca_dev *gspca_dev, u16 index) in sq905_command()
149 static int sq905_ack_frame(struct gspca_dev *gspca_dev) in sq905_ack_frame()
172 sq905_read_data(struct gspca_dev *gspca_dev, u8 *data, int size, int need_lock) in sq905_read_data()
215 struct gspca_dev *gspca_dev = &dev->gspca_dev; in sq905_dostream() local
299 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
316 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
329 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
368 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
Dsq905c.c63 struct gspca_dev gspca_dev; /* !! must be the first item */ member
89 static int sq905c_command(struct gspca_dev *gspca_dev, u16 command, u16 index) in sq905c_command()
107 static int sq905c_read(struct gspca_dev *gspca_dev, u16 command, u16 index, in sq905c_read()
137 struct gspca_dev *gspca_dev = &dev->gspca_dev; in sq905c_dostream() local
205 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
245 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
258 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
268 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
Dtopro.c124 struct gspca_dev gspca_dev; /* !! must be the first item */ member
986 static void reg_w(struct gspca_dev *gspca_dev, u8 index, u8 value) in reg_w()
1004 static void reg_r(struct gspca_dev *gspca_dev, u8 index) in reg_r()
1021 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf()
1030 static int i2c_w(struct gspca_dev *gspca_dev, u8 index, u8 value) in i2c_w()
1048 static void i2c_w_buf(struct gspca_dev *gspca_dev, in i2c_w_buf()
1057 static int i2c_r(struct gspca_dev *gspca_dev, u8 index, int len) in i2c_r()
1080 static void bulk_w(struct gspca_dev *gspca_dev, in bulk_w()
1112 static int probe_6810(struct gspca_dev *gspca_dev) in probe_6810()
1191 static void cx0342_6810_init(struct gspca_dev *gspca_dev) in cx0342_6810_init()
[all …]
Dkinect.c61 struct gspca_dev gspca_dev; /* !! must be the first item */ member
133 static int send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, in send_cmd()
210 static int write_register(struct gspca_dev *gspca_dev, uint16_t reg, in write_register()
232 static int sd_config_video(struct gspca_dev *gspca_dev, in sd_config_video()
258 static int sd_config_depth(struct gspca_dev *gspca_dev, in sd_config_depth()
279 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
286 static int sd_start_video(struct gspca_dev *gspca_dev) in sd_start_video()
358 static int sd_start_depth(struct gspca_dev *gspca_dev) in sd_start_depth()
379 static void sd_stopN_video(struct gspca_dev *gspca_dev) in sd_stopN_video()
385 static void sd_stopN_depth(struct gspca_dev *gspca_dev) in sd_stopN_depth()
[all …]
Dcpia1.c365 struct gspca_dev gspca_dev; /* !! must be the first item */ member
409 static int cpia_usb_transferCmd(struct gspca_dev *gspca_dev, u8 *command) in cpia_usb_transferCmd()
448 static int do_command(struct gspca_dev *gspca_dev, u16 command, in do_command()
566 static int do_command_extended(struct gspca_dev *gspca_dev, u16 command, in do_command_extended()
624 static void reset_camera_params(struct gspca_dev *gspca_dev) in reset_camera_params()
703 static void printstatus(struct gspca_dev *gspca_dev, struct cam_params *params) in printstatus()
712 static int goto_low_power(struct gspca_dev *gspca_dev) in goto_low_power()
738 static int goto_high_power(struct gspca_dev *gspca_dev) in goto_high_power()
767 static int get_version_information(struct gspca_dev *gspca_dev) in get_version_information()
780 static int save_camera_state(struct gspca_dev *gspca_dev) in save_camera_state()
[all …]
Dw996Xcf.c235 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in w9968cf_smbus_read_ack() local
252 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in w9968cf_i2c_w() local
302 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in w9968cf_i2c_r() local
539 static void w9968cf_pkt_scan(struct gspca_dev *gspca_dev, in w9968cf_pkt_scan()
Dautogain_functions.c28 struct gspca_dev *gspca_dev, in gspca_expo_autogain()
110 struct gspca_dev *gspca_dev, in gspca_coarse_grained_expo_autogain()
Dsn9c2028.h27 static unsigned char *sn9c2028_find_sof(struct gspca_dev *gspca_dev, in sn9c2028_find_sof()
Dpac_common.h74 static unsigned char *pac_find_sof(struct gspca_dev *gspca_dev, u8 *sof_read, in pac_find_sof()
/linux-4.1.27/drivers/media/usb/gspca/gl860/
Dgl860.c63 struct gspca_dev *gspca_dev = in sd_s_ctrl() local
115 static int sd_init_controls(struct gspca_dev *gspca_dev) in sd_init_controls()
328 static int sd_config(struct gspca_dev *gspca_dev, in sd_config()
396 static int sd_init(struct gspca_dev *gspca_dev) in sd_init()
404 static int sd_isoc_init(struct gspca_dev *gspca_dev) in sd_isoc_init()
412 static int sd_start(struct gspca_dev *gspca_dev) in sd_start()
420 static void sd_stop0(struct gspca_dev *gspca_dev) in sd_stop0()
431 static void sd_pkt_scan(struct gspca_dev *gspca_dev, in sd_pkt_scan()
471 static void sd_callback(struct gspca_dev *gspca_dev) in sd_callback()
550 int gl860_RTx(struct gspca_dev *gspca_dev, in gl860_RTx()
[all …]
Dgl860-ov9655.c153 void ov9655_init_settings(struct gspca_dev *gspca_dev) in ov9655_init_settings()
187 static int ov9655_init_at_startup(struct gspca_dev *gspca_dev) in ov9655_init_at_startup()
197 static int ov9655_init_pre_alt(struct gspca_dev *gspca_dev) in ov9655_init_pre_alt()
211 static int ov9655_init_post_alt(struct gspca_dev *gspca_dev) in ov9655_init_post_alt()
290 static int ov9655_configure_alt(struct gspca_dev *gspca_dev) in ov9655_configure_alt()
306 static int ov9655_camera_settings(struct gspca_dev *gspca_dev) in ov9655_camera_settings()
332 static void ov9655_post_unset_alt(struct gspca_dev *gspca_dev) in ov9655_post_unset_alt()
Dgl860-ov2640.c183 void ov2640_init_settings(struct gspca_dev *gspca_dev) in ov2640_init_settings()
219 static void common(struct gspca_dev *gspca_dev) in common()
224 static int ov2640_init_at_startup(struct gspca_dev *gspca_dev) in ov2640_init_at_startup()
245 static int ov2640_init_pre_alt(struct gspca_dev *gspca_dev) in ov2640_init_pre_alt()
267 static int ov2640_init_post_alt(struct gspca_dev *gspca_dev) in ov2640_init_post_alt()
329 static int ov2640_configure_alt(struct gspca_dev *gspca_dev) in ov2640_configure_alt()
347 static int ov2640_camera_settings(struct gspca_dev *gspca_dev) in ov2640_camera_settings()
483 static void ov2640_post_unset_alt(struct gspca_dev *gspca_dev) in ov2640_post_unset_alt()
Dgl860-mi1320.c185 void mi1320_init_settings(struct gspca_dev *gspca_dev) in mi1320_init_settings()
222 static void common(struct gspca_dev *gspca_dev) in common()
248 static int mi1320_init_at_startup(struct gspca_dev *gspca_dev) in mi1320_init_at_startup()
260 static int mi1320_init_pre_alt(struct gspca_dev *gspca_dev) in mi1320_init_pre_alt()
287 static int mi1320_init_post_alt(struct gspca_dev *gspca_dev) in mi1320_init_post_alt()
294 static int mi1320_sensor_settings(struct gspca_dev *gspca_dev) in mi1320_sensor_settings()
331 static int mi1320_configure_alt(struct gspca_dev *gspca_dev) in mi1320_configure_alt()
348 static int mi1320_camera_settings(struct gspca_dev *gspca_dev) in mi1320_camera_settings()
530 static void mi1320_post_unset_alt(struct gspca_dev *gspca_dev) in mi1320_post_unset_alt()
Dgl860-mi2020.c363 void mi2020_init_settings(struct gspca_dev *gspca_dev) in mi2020_init_settings()
400 static void common(struct gspca_dev *gspca_dev) in common()
407 static int mi2020_init_at_startup(struct gspca_dev *gspca_dev) in mi2020_init_at_startup()
430 static int mi2020_init_pre_alt(struct gspca_dev *gspca_dev) in mi2020_init_pre_alt()
451 static int mi2020_init_post_alt(struct gspca_dev *gspca_dev) in mi2020_init_post_alt()
615 static int mi2020_configure_alt(struct gspca_dev *gspca_dev) in mi2020_configure_alt()
633 static int mi2020_camera_settings(struct gspca_dev *gspca_dev) in mi2020_camera_settings()
800 static void mi2020_post_unset_alt(struct gspca_dev *gspca_dev) in mi2020_post_unset_alt()
Dgl860.h61 struct gspca_dev gspca_dev; /* !! must be the first item */ member
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c45 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in stv06xx_write_bridge() local
67 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in stv06xx_read_bridge() local
116 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in stv06xx_write_sensor_bytes() local
146 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in stv06xx_write_sensor_words() local
178 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in stv06xx_read_sensor() local
251 static int stv06xx_init(struct gspca_dev *gspca_dev) in stv06xx_init()
271 static int stv06xx_init_controls(struct gspca_dev *gspca_dev) in stv06xx_init_controls()
282 static int stv06xx_start(struct gspca_dev *gspca_dev) in stv06xx_start()
318 static int stv06xx_isoc_init(struct gspca_dev *gspca_dev) in stv06xx_isoc_init()
331 static int stv06xx_isoc_nego(struct gspca_dev *gspca_dev) in stv06xx_isoc_nego()
[all …]
Dstv06xx_vv6410.c49 struct gspca_dev *gspca_dev = in vv6410_s_ctrl() local
134 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in vv6410_start() local
167 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in vv6410_stop() local
198 static int vv6410_set_hflip(struct gspca_dev *gspca_dev, __s32 val) in vv6410_set_hflip()
219 static int vv6410_set_vflip(struct gspca_dev *gspca_dev, __s32 val) in vv6410_set_vflip()
240 static int vv6410_set_analog_gain(struct gspca_dev *gspca_dev, __s32 val) in vv6410_set_analog_gain()
251 static int vv6410_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in vv6410_set_exposure()
Dstv06xx_pb0100.c90 struct gspca_dev *gspca_dev = in pb0100_s_ctrl() local
193 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in pb0100_start() local
243 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in pb0100_stop() local
330 static int pb0100_set_gain(struct gspca_dev *gspca_dev, __s32 val) in pb0100_set_gain()
349 static int pb0100_set_red_balance(struct gspca_dev *gspca_dev, __s32 val) in pb0100_set_red_balance()
367 static int pb0100_set_blue_balance(struct gspca_dev *gspca_dev, __s32 val) in pb0100_set_blue_balance()
385 static int pb0100_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in pb0100_set_exposure()
396 static int pb0100_set_autogain(struct gspca_dev *gspca_dev, __s32 val) in pb0100_set_autogain()
417 static int pb0100_set_autogain_target(struct gspca_dev *gspca_dev, __s32 val) in pb0100_set_autogain_target()
Dstv06xx_hdcs.c174 static int hdcs_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in hdcs_set_exposure()
281 static int hdcs_set_gain(struct gspca_dev *gspca_dev, __s32 val) in hdcs_set_gain()
338 struct gspca_dev *gspca_dev = in hdcs_s_ctrl() local
470 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in hdcs_start() local
479 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in hdcs_stop() local
Dstv06xx_st6422.c70 struct gspca_dev *gspca_dev = in st6422_s_ctrl() local
282 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in st6422_stop() local
Dstv06xx.h87 struct gspca_dev gspca_dev; member
/linux-4.1.27/drivers/media/usb/gspca/m5602/
Dm5602_core.c44 struct gspca_dev *gspca_dev = (struct gspca_dev *) sd; in m5602_read_bridge() local
66 struct gspca_dev *gspca_dev = (struct gspca_dev *) sd; in m5602_write_bridge() local
103 struct gspca_dev *gspca_dev = (struct gspca_dev *) sd; in m5602_read_sensor() local
153 struct gspca_dev *gspca_dev = (struct gspca_dev *) sd; in m5602_write_sensor() local
247 static int m5602_init(struct gspca_dev *gspca_dev) in m5602_init()
259 static int m5602_init_controls(struct gspca_dev *gspca_dev) in m5602_init_controls()
269 static int m5602_start_transfer(struct gspca_dev *gspca_dev) in m5602_start_transfer()
291 static void m5602_urb_complete(struct gspca_dev *gspca_dev, in m5602_urb_complete()
344 static void m5602_stop_transfer(struct gspca_dev *gspca_dev) in m5602_stop_transfer()
365 static int m5602_configure(struct gspca_dev *gspca_dev, in m5602_configure()
[all …]
Dm5602_ov9650.c150 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov9650_probe() local
272 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in ov9650_start() local
403 static int ov9650_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in ov9650_set_exposure()
431 static int ov9650_set_gain(struct gspca_dev *gspca_dev, __s32 val) in ov9650_set_gain()
459 static int ov9650_set_red_balance(struct gspca_dev *gspca_dev, __s32 val) in ov9650_set_red_balance()
472 static int ov9650_set_blue_balance(struct gspca_dev *gspca_dev, __s32 val) in ov9650_set_blue_balance()
485 static int ov9650_set_hvflip(struct gspca_dev *gspca_dev) in ov9650_set_hvflip()
510 static int ov9650_set_auto_exposure(struct gspca_dev *gspca_dev, in ov9650_set_auto_exposure()
529 static int ov9650_set_auto_white_balance(struct gspca_dev *gspca_dev, in ov9650_set_auto_white_balance()
548 static int ov9650_set_auto_gain(struct gspca_dev *gspca_dev, __s32 val) in ov9650_set_auto_gain()
[all …]
Dm5602_mt9m111.c59 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in mt9m111_probe() local
173 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in mt9m111_start() local
249 static int mt9m111_set_hvflip(struct gspca_dev *gspca_dev) in mt9m111_set_hvflip()
283 static int mt9m111_set_auto_white_balance(struct gspca_dev *gspca_dev, in mt9m111_set_auto_white_balance()
302 static int mt9m111_set_gain(struct gspca_dev *gspca_dev, __s32 val) in mt9m111_set_gain()
340 static int mt9m111_set_green_balance(struct gspca_dev *gspca_dev, __s32 val) in mt9m111_set_green_balance()
359 static int mt9m111_set_blue_balance(struct gspca_dev *gspca_dev, __s32 val) in mt9m111_set_blue_balance()
373 static int mt9m111_set_red_balance(struct gspca_dev *gspca_dev, __s32 val) in mt9m111_set_red_balance()
389 struct gspca_dev *gspca_dev = in mt9m111_s_ctrl() local
Dm5602_po1030.c58 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in po1030_probe() local
303 static int po1030_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in po1030_set_exposure()
329 static int po1030_set_gain(struct gspca_dev *gspca_dev, __s32 val) in po1030_set_gain()
342 static int po1030_set_hvflip(struct gspca_dev *gspca_dev) in po1030_set_hvflip()
362 static int po1030_set_red_balance(struct gspca_dev *gspca_dev, __s32 val) in po1030_set_red_balance()
375 static int po1030_set_blue_balance(struct gspca_dev *gspca_dev, __s32 val) in po1030_set_blue_balance()
389 static int po1030_set_green_balance(struct gspca_dev *gspca_dev, __s32 val) in po1030_set_green_balance()
407 static int po1030_set_auto_white_balance(struct gspca_dev *gspca_dev, in po1030_set_auto_white_balance()
424 static int po1030_set_auto_exposure(struct gspca_dev *gspca_dev, in po1030_set_auto_exposure()
448 struct gspca_dev *gspca_dev = in po1030_s_ctrl() local
Dm5602_s5k4aa.c148 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in s5k4aa_probe() local
219 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in s5k4aa_start() local
366 static int s5k4aa_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in s5k4aa_set_exposure()
386 static int s5k4aa_set_hvflip(struct gspca_dev *gspca_dev) in s5k4aa_set_hvflip()
438 static int s5k4aa_set_gain(struct gspca_dev *gspca_dev, __s32 val) in s5k4aa_set_gain()
455 static int s5k4aa_set_brightness(struct gspca_dev *gspca_dev, __s32 val) in s5k4aa_set_brightness()
470 static int s5k4aa_set_noise(struct gspca_dev *gspca_dev, __s32 val) in s5k4aa_set_noise()
487 struct gspca_dev *gspca_dev = in s5k4aa_s_ctrl() local
Dm5602_ov7660.c174 static int ov7660_set_gain(struct gspca_dev *gspca_dev, __s32 val) in ov7660_set_gain()
186 static int ov7660_set_auto_white_balance(struct gspca_dev *gspca_dev, in ov7660_set_auto_white_balance()
205 static int ov7660_set_auto_gain(struct gspca_dev *gspca_dev, __s32 val) in ov7660_set_auto_gain()
222 static int ov7660_set_auto_exposure(struct gspca_dev *gspca_dev, in ov7660_set_auto_exposure()
241 static int ov7660_set_hvflip(struct gspca_dev *gspca_dev) in ov7660_set_hvflip()
258 struct gspca_dev *gspca_dev = in ov7660_s_ctrl() local
Dm5602_s5k83a.c54 struct gspca_dev *gspca_dev = (struct gspca_dev *)sd; in s5k83a_probe() local
257 static int s5k83a_set_gain(struct gspca_dev *gspca_dev, __s32 val) in s5k83a_set_gain()
284 static int s5k83a_set_brightness(struct gspca_dev *gspca_dev, __s32 val) in s5k83a_set_brightness()
295 static int s5k83a_set_exposure(struct gspca_dev *gspca_dev, __s32 val) in s5k83a_set_exposure()
307 static int s5k83a_set_flip_real(struct gspca_dev *gspca_dev, in s5k83a_set_flip_real()
338 static int s5k83a_set_hvflip(struct gspca_dev *gspca_dev) in s5k83a_set_hvflip()
360 struct gspca_dev *gspca_dev = in s5k83a_s_ctrl() local
Dm5602_bridge.h134 struct gspca_dev gspca_dev; member