/linux-6.12.1/drivers/media/usb/gspca/ |
D | gspca.h | 31 #define gspca_dbg(gspca_dev, level, fmt, ...) \ argument 35 #define gspca_err(gspca_dev, fmt, ...) \ argument 154 struct gspca_dev { struct 155 struct video_device vdev; /* !! must be the first item */ 156 struct module *module; /* subdriver handling the device */ 157 struct v4l2_device v4l2_dev; 158 struct usb_device *dev; 161 struct input_dev *input_dev; 162 char phys[64]; /* physical device path */ 165 struct cam cam; /* device information */ [all …]
|
D | xirlink_cit.c | 41 struct gspca_dev gspca_dev; /* !! must be the first item */ member 666 static int cit_write_reg(struct gspca_dev *gspca_dev, u16 value, u16 index) in cit_write_reg() 681 static int cit_read_reg(struct gspca_dev *gspca_dev, u16 index, int verbose) in cit_read_reg() 712 static void cit_send_FF_04_02(struct gspca_dev *gspca_dev) in cit_send_FF_04_02() 719 static void cit_send_00_04_06(struct gspca_dev *gspca_dev) in cit_send_00_04_06() 726 static void cit_send_x_00(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00() 732 static void cit_send_x_00_05(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00_05() 738 static void cit_send_x_00_05_02(struct gspca_dev *gspca_dev, unsigned short x) in cit_send_x_00_05_02() 746 static void cit_send_x_01_00_05(struct gspca_dev *gspca_dev, u16 x) in cit_send_x_01_00_05() 754 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 | stk1135.c | 25 struct gspca_dev gspca_dev; /* !! must be the first item */ member 46 static u8 reg_r(struct gspca_dev *gspca_dev, u16 index) in reg_r() 73 static void reg_w(struct gspca_dev *gspca_dev, u16 index, u8 val) in reg_w() 95 static void reg_w_mask(struct gspca_dev *gspca_dev, u16 index, u8 val, u8 mask) in reg_w_mask() 102 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 110 static int stk1135_serial_wait_ready(struct gspca_dev *gspca_dev) in stk1135_serial_wait_ready() 127 static u8 sensor_read_8(struct gspca_dev *gspca_dev, u8 addr) in sensor_read_8() 141 static u16 sensor_read_16(struct gspca_dev *gspca_dev, u8 addr) in sensor_read_16() 147 static void sensor_write_8(struct gspca_dev *gspca_dev, u8 addr, u8 data) in sensor_write_8() 161 static void sensor_write_16(struct gspca_dev *gspca_dev, u8 addr, u16 data) in sensor_write_16() [all …]
|
D | spca1528.c | 21 struct gspca_dev gspca_dev; /* !! must be the first item */ member 49 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 82 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 104 static void reg_wb(struct gspca_dev *gspca_dev, in reg_wb() 129 static void wait_status_0(struct gspca_dev *gspca_dev) in wait_status_0() 146 static void wait_status_1(struct gspca_dev *gspca_dev) in wait_status_1() 164 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 169 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast() 174 static void sethue(struct gspca_dev *gspca_dev, s32 val) in sethue() 179 static void setcolor(struct gspca_dev *gspca_dev, s32 val) in setcolor() [all …]
|
D | gspca.c | 53 static void PDEBUG_MODE(struct gspca_dev *gspca_dev, int debug, char *txt, in PDEBUG_MODE() 82 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in int_irq() local 154 static int alloc_and_submit_int_urb(struct gspca_dev *gspca_dev, in alloc_and_submit_int_urb() 208 static void gspca_input_create_urb(struct gspca_dev *gspca_dev) in gspca_input_create_urb() 230 static void gspca_input_destroy_urb(struct gspca_dev *gspca_dev) in gspca_input_destroy_urb() 246 static inline void gspca_input_destroy_urb(struct gspca_dev *gspca_dev) in gspca_input_destroy_urb() 250 static inline void gspca_input_create_urb(struct gspca_dev *gspca_dev) in gspca_input_create_urb() 263 static void fill_frame(struct gspca_dev *gspca_dev, in fill_frame() 323 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in isoc_irq() local 336 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in bulk_irq() local [all …]
|
D | sn9c2028.c | 20 struct gspca_dev gspca_dev; /* !! must be the first item */ member 59 static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_command() 82 static int sn9c2028_read1(struct gspca_dev *gspca_dev) in sn9c2028_read1() 100 static int sn9c2028_read4(struct gspca_dev *gspca_dev, u8 *reading) in sn9c2028_read4() 118 static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_long_command() 149 static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_short_command() 165 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 216 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() 227 static int run_start_commands(struct gspca_dev *gspca_dev, in run_start_commands() 253 static void set_gain(struct gspca_dev *gspca_dev, s32 g) in set_gain() [all …]
|
D | spca506.c | 21 struct gspca_dev gspca_dev; /* !! must be the first item */ member 64 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 91 static void spca506_Initi2c(struct gspca_dev *gspca_dev) in spca506_Initi2c() 96 static void spca506_WriteI2c(struct gspca_dev *gspca_dev, __u16 valeur, in spca506_WriteI2c() 110 static void spca506_SetNormeInput(struct gspca_dev *gspca_dev, in spca506_SetNormeInput() 152 static void spca506_GetNormeInput(struct gspca_dev *gspca_dev, in spca506_GetNormeInput() 165 static void spca506_Setsize(struct gspca_dev *gspca_dev, __u16 code, in spca506_Setsize() 197 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 209 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() 317 static int sd_start(struct gspca_dev *gspca_dev) in sd_start() [all …]
|
D | stk014.c | 23 struct gspca_dev gspca_dev; /* !! must be the first item */ member 41 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() 65 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 88 static void rcv_val(struct gspca_dev *gspca_dev, in rcv_val() 118 static void snd_val(struct gspca_dev *gspca_dev, in snd_val() 167 static void set_par(struct gspca_dev *gspca_dev, in set_par() 173 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 182 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast() 191 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() 200 static void setlightfreq(struct gspca_dev *gspca_dev, s32 val) in setlightfreq() [all …]
|
D | sunplus.c | 24 struct gspca_dev gspca_dev; /* !! must be the first item */ member 234 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 271 static void reg_w_1(struct gspca_dev *gspca_dev, in reg_w_1() 296 static void reg_w_riv(struct gspca_dev *gspca_dev, in reg_w_riv() 318 static void write_vector(struct gspca_dev *gspca_dev, in write_vector() 327 static void setup_qtable(struct gspca_dev *gspca_dev, in setup_qtable() 341 static void spca504_acknowledged_command(struct gspca_dev *gspca_dev, in spca504_acknowledged_command() 356 static void spca504_read_info(struct gspca_dev *gspca_dev) in spca504_read_info() 374 static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, in spca504A_acknowledged_command() 403 static void spca504B_PollingDataReady(struct gspca_dev *gspca_dev) in spca504B_PollingDataReady() [all …]
|
D | pac7302.c | 100 struct gspca_dev gspca_dev; /* !! must be the first item */ member 232 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 256 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 278 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq() 288 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page() 316 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var() 354 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 369 static void setbrightcont(struct gspca_dev *gspca_dev) in setbrightcont() 395 static void setcolors(struct gspca_dev *gspca_dev) in setcolors() 416 static void setwhitebalance(struct gspca_dev *gspca_dev) in setwhitebalance() [all …]
|
D | spca561.c | 25 struct gspca_dev gspca_dev; /* !! must be the first item */ member 275 static void reg_w_val(struct gspca_dev *gspca_dev, __u16 index, __u8 value) in reg_w_val() 290 static void write_vector(struct gspca_dev *gspca_dev, in write_vector() 303 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 315 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 326 static void i2c_write(struct gspca_dev *gspca_dev, __u16 value, __u16 reg) in i2c_write() 341 static int i2c_read(struct gspca_dev *gspca_dev, __u16 reg, __u8 mode) in i2c_read() 362 static void sensor_mapwrite(struct gspca_dev *gspca_dev, in sensor_mapwrite() 373 static void write_sensor_72a(struct gspca_dev *gspca_dev, in write_sensor_72a() 382 static void init_161rev12A(struct gspca_dev *gspca_dev) in init_161rev12A() [all …]
|
D | spca500.c | 23 struct gspca_dev gspca_dev; /* !! must be the first item */ member 304 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 316 static int reg_w(struct gspca_dev *gspca_dev, in reg_w() 334 static int reg_r_12(struct gspca_dev *gspca_dev, in reg_r_12() 362 static int reg_r_wait(struct gspca_dev *gspca_dev, in reg_r_wait() 376 static int write_vector(struct gspca_dev *gspca_dev, in write_vector() 390 static int spca50x_setup_qtable(struct gspca_dev *gspca_dev, in spca50x_setup_qtable() 414 static void spca500_ping310(struct gspca_dev *gspca_dev) in spca500_ping310() 421 static void spca500_clksmart310_init(struct gspca_dev *gspca_dev) in spca500_clksmart310_init() 445 static void spca500_setmode(struct gspca_dev *gspca_dev, in spca500_setmode() [all …]
|
D | pac7311.c | 64 struct gspca_dev gspca_dev; /* !! must be the first item */ member 151 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 175 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 197 static void reg_w_seq(struct gspca_dev *gspca_dev, in reg_w_seq() 207 static void reg_w_page(struct gspca_dev *gspca_dev, in reg_w_page() 235 static void reg_w_var(struct gspca_dev *gspca_dev, in reg_w_var() 273 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 285 static void setcontrast(struct gspca_dev *gspca_dev, s32 val) in setcontrast() 293 static void setgain(struct gspca_dev *gspca_dev, s32 val) in setgain() 303 static void setexposure(struct gspca_dev *gspca_dev, s32 val) in setexposure() [all …]
|
D | sn9c20x.c | 57 struct gspca_dev gspca_dev; member 904 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 …]
|
D | mars.c | 24 struct gspca_dev gspca_dev; /* !! must be the first item */ member 68 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 89 static void mi_w(struct gspca_dev *gspca_dev, in mi_w() 101 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 108 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() 116 static void setgamma(struct gspca_dev *gspca_dev, s32 val) in setgamma() 123 static void setsharpness(struct gspca_dev *gspca_dev, s32 val) in setsharpness() 130 static void setilluminators(struct gspca_dev *gspca_dev, bool top, bool bottom) in setilluminators() 145 struct gspca_dev *gspca_dev = in mars_s_ctrl() local 190 static int sd_init_controls(struct gspca_dev *gspca_dev) in sd_init_controls() [all …]
|
D | ov534.c | 49 struct gspca_dev gspca_dev; /* !! must be the first item */ member 658 static void ov534_reg_write(struct gspca_dev *gspca_dev, u16 reg, u8 val) in ov534_reg_write() 679 static u8 ov534_reg_read(struct gspca_dev *gspca_dev, u16 reg) in ov534_reg_read() 707 static void ov534_set_led(struct gspca_dev *gspca_dev, int status) in ov534_set_led() 732 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status() 756 static void sccb_reg_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_reg_write() 769 static u8 sccb_reg_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_reg_read() 784 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array() 794 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array() 809 static void set_frame_rate(struct gspca_dev *gspca_dev) in set_frame_rate() [all …]
|
D | jl2005bcd.c | 30 struct gspca_dev gspca_dev; /* !! must be the first item */ member 74 static int jl2005c_write2(struct gspca_dev *gspca_dev, unsigned char *command) in jl2005c_write2() 89 static int jl2005c_read1(struct gspca_dev *gspca_dev) in jl2005c_read1() 103 static int jl2005c_read_reg(struct gspca_dev *gspca_dev, unsigned char reg) in jl2005c_read_reg() 119 static int jl2005c_start_new_frame(struct gspca_dev *gspca_dev) in jl2005c_start_new_frame() 148 static int jl2005c_write_reg(struct gspca_dev *gspca_dev, unsigned char reg, in jl2005c_write_reg() 164 static int jl2005c_get_firmware_id(struct gspca_dev *gspca_dev) in jl2005c_get_firmware_id() 198 (struct gspca_dev *gspca_dev) in jl2005c_stream_start_vga_lg() 221 static int jl2005c_stream_start_vga_small(struct gspca_dev *gspca_dev) in jl2005c_stream_start_vga_small() 244 static int jl2005c_stream_start_cif_lg(struct gspca_dev *gspca_dev) in jl2005c_stream_start_cif_lg() [all …]
|
D | mr97310a.c | 73 struct gspca_dev gspca_dev; /* !! must be the first item */ member 123 static int mr_write(struct gspca_dev *gspca_dev, int len) in mr_write() 137 static int mr_read(struct gspca_dev *gspca_dev, int len) in mr_read() 150 static int sensor_write_reg(struct gspca_dev *gspca_dev, u8 reg, u8 flags, in sensor_write_reg() 161 static int sensor_write_regs(struct gspca_dev *gspca_dev, in sensor_write_regs() 176 static int sensor_write1(struct gspca_dev *gspca_dev, u8 reg, u8 data) in sensor_write1() 201 static int cam_get_response16(struct gspca_dev *gspca_dev, u8 reg, int verbose) in cam_get_response16() 224 static int zero_the_pointer(struct gspca_dev *gspca_dev) in zero_the_pointer() 307 static int stream_start(struct gspca_dev *gspca_dev) in stream_start() 314 static void stream_stop(struct gspca_dev *gspca_dev) in stream_stop() [all …]
|
D | ov534_9.c | 39 struct gspca_dev gspca_dev; /* !! must be the first item */ member 1106 static void reg_w_i(struct gspca_dev *gspca_dev, u16 reg, u8 val) in reg_w_i() 1125 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, u8 val) in reg_w() 1131 static u8 reg_r(struct gspca_dev *gspca_dev, u16 reg) in reg_r() 1153 static int sccb_check_status(struct gspca_dev *gspca_dev) in sccb_check_status() 1178 static void sccb_write(struct gspca_dev *gspca_dev, u8 reg, u8 val) in sccb_write() 1189 static u8 sccb_read(struct gspca_dev *gspca_dev, u16 reg) in sccb_read() 1204 static void reg_w_array(struct gspca_dev *gspca_dev, in reg_w_array() 1214 static void sccb_w_array(struct gspca_dev *gspca_dev, in sccb_w_array() 1230 static void set_led(struct gspca_dev *gspca_dev, int status) in set_led() [all …]
|
D | jeilinj.c | 46 struct gspca_dev gspca_dev; /* !! must be the first item */ member 86 static void jlj_write2(struct gspca_dev *gspca_dev, unsigned char *command) in jlj_write2() 104 static void jlj_read1(struct gspca_dev *gspca_dev, unsigned char *response) in jlj_read1() 121 static void setfreq(struct gspca_dev *gspca_dev, s32 val) in setfreq() 134 static void setcamquality(struct gspca_dev *gspca_dev, s32 val) in setcamquality() 151 static void setautogain(struct gspca_dev *gspca_dev, s32 val) in setautogain() 164 static void setred(struct gspca_dev *gspca_dev, s32 val) in setred() 177 static void setgreen(struct gspca_dev *gspca_dev, s32 val) in setgreen() 190 static void setblue(struct gspca_dev *gspca_dev, s32 val) in setblue() 203 static int jlj_start(struct gspca_dev *gspca_dev) in jlj_start() [all …]
|
D | conex.c | 25 struct gspca_dev gspca_dev; /* !! must be the first item */ member 57 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 80 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val() 95 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 193 static void cx11646_fw(struct gspca_dev*gspca_dev) in cx11646_fw() 231 static void cx_sensor(struct gspca_dev*gspca_dev) in cx_sensor() 313 static void cx11646_initsize(struct gspca_dev *gspca_dev) in cx11646_initsize() 582 static void cx11646_jpegInit(struct gspca_dev*gspca_dev) in cx11646_jpegInit() 610 static void cx11646_jpeg(struct gspca_dev*gspca_dev) in cx11646_jpeg() 714 static void cx11646_init1(struct gspca_dev *gspca_dev) in cx11646_init1() [all …]
|
D | se401.c | 43 struct gspca_dev gspca_dev; /* !! must be the first item */ member 62 static void se401_write_req(struct gspca_dev *gspca_dev, u16 req, u16 value, in se401_write_req() 82 static void se401_read_req(struct gspca_dev *gspca_dev, u16 req, int silent) in se401_read_req() 112 static void se401_set_feature(struct gspca_dev *gspca_dev, in se401_set_feature() 132 static int se401_get_feature(struct gspca_dev *gspca_dev, u16 selector) in se401_get_feature() 159 static void setbrightness(struct gspca_dev *gspca_dev, s32 val) in setbrightness() 165 static void setgain(struct gspca_dev *gspca_dev, s32 val) in setgain() 177 static void setexposure(struct gspca_dev *gspca_dev, s32 val, s32 freq) in setexposure() 207 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 314 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() [all …]
|
D | t613.c | 29 struct gspca_dev gspca_dev; /* !! must be the first item */ member 293 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() 306 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 317 static void reg_w_buf(struct gspca_dev *gspca_dev, in reg_w_buf() 347 static void reg_w_ixbuf(struct gspca_dev *gspca_dev, in reg_w_ixbuf() 378 static void om6802_sensor_init(struct gspca_dev *gspca_dev) in om6802_sensor_init() 437 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 448 static void setbrightness(struct gspca_dev *gspca_dev, s32 brightness) in setbrightness() 462 static void setcontrast(struct gspca_dev *gspca_dev, s32 contrast) in setcontrast() 474 static void setcolors(struct gspca_dev *gspca_dev, s32 val) in setcolors() [all …]
|
D | vc032x.c | 22 struct gspca_dev gspca_dev; /* !! must be the first item */ member 2890 static void reg_r_i(struct gspca_dev *gspca_dev, in reg_r_i() 2916 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() 2933 static void reg_w_i(struct gspca_dev *gspca_dev, in reg_w_i() 2953 static void reg_w(struct gspca_dev *gspca_dev, in reg_w() 2964 static u16 read_sensor_register(struct gspca_dev *gspca_dev, in read_sensor_register() 3000 static int vc032x_probe_sensor(struct gspca_dev *gspca_dev) in vc032x_probe_sensor() 3055 static void i2c_write(struct gspca_dev *gspca_dev, in i2c_write() 3087 static void put_tab_to_reg(struct gspca_dev *gspca_dev, in put_tab_to_reg() 3097 static void usb_exchange(struct gspca_dev *gspca_dev, in usb_exchange() [all …]
|
D | spca508.c | 20 struct gspca_dev gspca_dev; /* !! must be the first item */ member 1231 static int reg_write(struct gspca_dev *gspca_dev, u16 index, u16 value) in reg_write() 1250 static int reg_read(struct gspca_dev *gspca_dev, in reg_read() 1273 static int ssi_w(struct gspca_dev *gspca_dev, in ssi_w() 1315 static int write_vector(struct gspca_dev *gspca_dev, in write_vector() 1338 static int sd_config(struct gspca_dev *gspca_dev, in sd_config() 1383 static int sd_init(struct gspca_dev *gspca_dev) in sd_init() 1388 static int sd_start(struct gspca_dev *gspca_dev) in sd_start() 1409 static void sd_stopN(struct gspca_dev *gspca_dev) in sd_stopN() 1415 static void sd_pkt_scan(struct gspca_dev *gspca_dev, in sd_pkt_scan() [all …]
|