Home
last modified time | relevance | path

Searched refs:usb_buf (Results 1 – 18 of 18) sorted by relevance

/linux-4.19.296/drivers/media/usb/gspca/
Dstv0680.c73 val, 0, gspca_dev->usb_buf, size, 500); in stv_sndctrl()
86 gspca_dev->usb_buf[0], gspca_dev->usb_buf[1]); in stv0680_handle_error()
93 memset(gspca_dev->usb_buf, 0, 8); in stv0680_get_video_mode()
94 gspca_dev->usb_buf[0] = 0x0f; in stv0680_get_video_mode()
101 return gspca_dev->usb_buf[0]; /* 01 = VGA, 03 = QVGA, 00 = CIF */ in stv0680_get_video_mode()
111 memset(gspca_dev->usb_buf, 0, 8); in stv0680_set_video_mode()
112 gspca_dev->usb_buf[0] = mode; in stv0680_set_video_mode()
144 gspca_dev->usb_buf[0] != 0x56 || gspca_dev->usb_buf[1] != 0x78) { in sd_config()
154 gspca_dev->usb_buf[7] != 0xa0 || gspca_dev->usb_buf[8] != 0x23) { in sd_config()
165 if (!(gspca_dev->usb_buf[7] & 0x09)) { in sd_config()
[all …]
Dmr97310a.c138 gspca_dev->usb_buf, len, NULL, 500); in mr_write()
141 gspca_dev->usb_buf[0], rc); in mr_write()
152 gspca_dev->usb_buf, len, NULL, 500); in mr_read()
155 gspca_dev->usb_buf[0], rc); in mr_read()
162 gspca_dev->usb_buf[0] = 0x1f; in sensor_write_reg()
163 gspca_dev->usb_buf[1] = flags; in sensor_write_reg()
164 gspca_dev->usb_buf[2] = reg; in sensor_write_reg()
165 memcpy(gspca_dev->usb_buf + 3, data, len); in sensor_write_reg()
214 gspca_dev->usb_buf[0] = reg; in cam_get_response16()
226 gspca_dev->usb_buf[0], in cam_get_response16()
[all …]
Dnw80x.c1551 memcpy(gspca_dev->usb_buf, data, len); in reg_w()
1557 gspca_dev->usb_buf, in reg_w()
1580 gspca_dev->usb_buf, len, 500); in reg_r()
1588 memset(gspca_dev->usb_buf, 0, USB_BUF_SZ); in reg_r()
1593 index, gspca_dev->usb_buf[0]); in reg_r()
1596 index, gspca_dev->usb_buf[0], in reg_r()
1597 gspca_dev->usb_buf[1]); in reg_r()
1620 if (gspca_dev->usb_buf[0] == 0) in i2c_w()
1712 if (gspca_dev->usb_buf[0] & 0x04) { /* if AE_FULL_FRM */ in setautogain()
1716 w = (gspca_dev->usb_buf[1] << 8) + gspca_dev->usb_buf[0] in setautogain()
[all …]
Djl2005bcd.c87 memcpy(gspca_dev->usb_buf, command, 2); in jl2005c_write2()
90 gspca_dev->usb_buf, 2, NULL, 500); in jl2005c_write2()
93 gspca_dev->usb_buf[0], retval); in jl2005c_write2()
104 gspca_dev->usb_buf, 1, NULL, 500); in jl2005c_read1()
107 gspca_dev->usb_buf[0], retval); in jl2005c_read1()
146 frame_brightness = gspca_dev->usb_buf[0]; in jl2005c_start_new_frame()
153 gspca_dev->usb_buf[0]); in jl2005c_start_new_frame()
184 gspca_dev->usb_buf[0]); in jl2005c_get_firmware_id()
192 sd->firmware_id[i] = gspca_dev->usb_buf[0]; in jl2005c_get_firmware_id()
Dtopro.c1015 0, index, gspca_dev->usb_buf, 1, 500); in reg_r()
1043 if (gspca_dev->usb_buf[0] == 0) in i2c_w()
1067 v = gspca_dev->usb_buf[0]; in i2c_r()
1072 v |= (gspca_dev->usb_buf[0] << 8); in i2c_r()
1075 if (gspca_dev->usb_buf[0] == 0) in i2c_r()
1094 gspca_dev->usb_buf[0] = tag; in bulk_w()
1095 memcpy(&gspca_dev->usb_buf[1], data, count); in bulk_w()
1098 gspca_dev->usb_buf, count + 1, in bulk_w()
1119 gpio = gspca_dev->usb_buf[0]; in probe_6810()
4056 gspca_dbg(gspca_dev, D_PROBE, "gpio: %02x\n", gspca_dev->usb_buf[0]); in sd_init()
[all …]
Dsn9c2028.c76 memcpy(gspca_dev->usb_buf, command, 6); in sn9c2028_command()
81 2, 0, gspca_dev->usb_buf, 6, 500); in sn9c2028_command()
84 gspca_dev->usb_buf[0], rc); in sn9c2028_command()
99 1, 0, gspca_dev->usb_buf, 1, 500); in sn9c2028_read1()
105 gspca_dev->usb_buf[0]); in sn9c2028_read1()
106 return gspca_dev->usb_buf[0]; in sn9c2028_read1()
116 4, 0, gspca_dev->usb_buf, 4, 500); in sn9c2028_read4()
121 memcpy(reading, gspca_dev->usb_buf, 4); in sn9c2028_read4()
Dspca508.c1270 gspca_dev->usb_buf, 1, in reg_read()
1273 index, gspca_dev->usb_buf[0]); in reg_read()
1278 return gspca_dev->usb_buf[0]; in reg_read()
1309 if (gspca_dev->usb_buf[0] == 0) in ssi_w()
1313 gspca_dev->usb_buf[0]); in ssi_w()
Dvc032x.c2913 index, gspca_dev->usb_buf, len, in reg_r_i()
2922 memset(gspca_dev->usb_buf, 0, USB_BUF_SZ); in reg_r_i()
2936 gspca_dev->usb_buf[0]); in reg_r()
2939 req, index, 3, gspca_dev->usb_buf); in reg_r()
2980 if (!(gspca_dev->usb_buf[0] & 0x02)) { in read_sensor_register()
2981 pr_err("I2c Bus Busy Wait %02x\n", gspca_dev->usb_buf[0]); in read_sensor_register()
2989 if (gspca_dev->usb_buf[0] == 0x00) in read_sensor_register()
2995 ldata = gspca_dev->usb_buf[0]; in read_sensor_register()
2997 mdata = gspca_dev->usb_buf[0]; in read_sensor_register()
2999 hdata = gspca_dev->usb_buf[0]; in read_sensor_register()
[all …]
Dtv8532.c118 gspca_dev->usb_buf[0] = value; in reg_w1()
124 index, gspca_dev->usb_buf, 1, 500); in reg_w1()
131 gspca_dev->usb_buf[0] = value; in reg_w2()
132 gspca_dev->usb_buf[1] = value >> 8; in reg_w2()
138 index, gspca_dev->usb_buf, 2, 500); in reg_w2()
Dfinepix.c66 memcpy(gspca_dev->usb_buf, order_values[order], 12); in command()
71 USB_RECIP_INTERFACE, 0, 0, gspca_dev->usb_buf, in command()
Dstk1135.c67 gspca_dev->usb_buf, 1, in reg_r()
71 index, gspca_dev->usb_buf[0]); in reg_r()
78 return gspca_dev->usb_buf[0]; in reg_r()
Dgspca.h179 __u8 *usb_buf; /* buffer for USB exchanges */ member
Dxirlink_cit.c694 __u8 *buf = gspca_dev->usb_buf; in cit_read_reg()
2949 new_button_state = !gspca_dev->usb_buf[0]; in cit_check_button()
/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-usb.c257 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_get_register()
259 retval = si470x_get_report(radio, radio->usb_buf, REGISTER_REPORT_SIZE); in si470x_get_register()
262 radio->registers[regnr] = get_unaligned_be16(&radio->usb_buf[1]); in si470x_get_register()
275 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_set_register()
276 put_unaligned_be16(radio->registers[regnr], &radio->usb_buf[1]); in si470x_set_register()
278 retval = si470x_set_report(radio, radio->usb_buf, REGISTER_REPORT_SIZE); in si470x_set_register()
297 radio->usb_buf[0] = ENTIRE_REPORT; in si470x_get_all_registers()
299 retval = si470x_get_report(radio, radio->usb_buf, ENTIRE_REPORT_SIZE); in si470x_get_all_registers()
304 &radio->usb_buf[regnr * RADIO_REGISTER_SIZE + 1]); in si470x_get_all_registers()
323 radio->usb_buf[0] = LED_REPORT; in si470x_set_led_state()
[all …]
Dradio-si470x.h177 char *usb_buf; member
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Dau6610.c28 u8 *usb_buf; in au6610_usb_msg() local
34 usb_buf = kmalloc(6, GFP_KERNEL); in au6610_usb_msg()
35 if (!usb_buf) in au6610_usb_msg()
55 usb_buf, 6, AU6610_USB_TIMEOUT); in au6610_usb_msg()
59 usb_buf, 6); in au6610_usb_msg()
68 rbuf[0] = usb_buf[4]; in au6610_usb_msg()
71 kfree(usb_buf); in au6610_usb_msg()
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c43 __u8 *buf = sd->gspca_dev.usb_buf; in stv06xx_write_bridge()
65 __u8 *buf = sd->gspca_dev.usb_buf; in stv06xx_read_bridge()
98 __u8 *buf = sd->gspca_dev.usb_buf; in stv06xx_write_sensor_finish()
114 __u8 *buf = sd->gspca_dev.usb_buf; in stv06xx_write_sensor_bytes()
145 __u8 *buf = sd->gspca_dev.usb_buf; in stv06xx_write_sensor_words()
178 __u8 *buf = sd->gspca_dev.usb_buf; in stv06xx_read_sensor()
/linux-4.19.296/drivers/media/usb/gspca/m5602/
Dm5602_core.c61 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_read_bridge()
83 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_write_bridge()
170 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_write_sensor()
287 __u8 *buf = sd->gspca_dev.usb_buf; in m5602_start_transfer()