Lines Matching refs:usb_buf
63 val, 0, gspca_dev->usb_buf, size, 500); in stv_sndctrl()
76 gspca_dev->usb_buf[0], gspca_dev->usb_buf[1]); in stv0680_handle_error()
83 memset(gspca_dev->usb_buf, 0, 8); in stv0680_get_video_mode()
84 gspca_dev->usb_buf[0] = 0x0f; in stv0680_get_video_mode()
91 return gspca_dev->usb_buf[0]; /* 01 = VGA, 03 = QVGA, 00 = CIF */ in stv0680_get_video_mode()
101 memset(gspca_dev->usb_buf, 0, 8); in stv0680_set_video_mode()
102 gspca_dev->usb_buf[0] = mode; in stv0680_set_video_mode()
134 gspca_dev->usb_buf[0] != 0x56 || gspca_dev->usb_buf[1] != 0x78) { in sd_config()
144 gspca_dev->usb_buf[7] != 0xa0 || gspca_dev->usb_buf[8] != 0x23) { in sd_config()
155 if (!(gspca_dev->usb_buf[7] & 0x09)) { in sd_config()
159 if (gspca_dev->usb_buf[7] & 0x01) in sd_config()
161 if (gspca_dev->usb_buf[7] & 0x02) in sd_config()
163 if (gspca_dev->usb_buf[7] & 0x04) in sd_config()
165 if (gspca_dev->usb_buf[7] & 0x08) in sd_config()
168 if (gspca_dev->usb_buf[7] & 0x01) in sd_config()
175 gspca_dev->usb_buf[0], gspca_dev->usb_buf[1]); in sd_config()
177 gspca_dev->usb_buf[2], gspca_dev->usb_buf[3]); in sd_config()
179 (gspca_dev->usb_buf[4]*16) + (gspca_dev->usb_buf[5]>>4)); in sd_config()
197 cam->bulk_size = (gspca_dev->usb_buf[0] << 24) | in sd_config()
198 (gspca_dev->usb_buf[1] << 16) | in sd_config()
199 (gspca_dev->usb_buf[2] << 8) | in sd_config()
200 (gspca_dev->usb_buf[3]); in sd_config()
201 sd->mode.width = (gspca_dev->usb_buf[4] << 8) | in sd_config()
202 (gspca_dev->usb_buf[5]); /* 322, 356, 644 */ in sd_config()
203 sd->mode.height = (gspca_dev->usb_buf[6] << 8) | in sd_config()
204 (gspca_dev->usb_buf[7]); /* 242, 292, 484 */ in sd_config()
222 gspca_dev->usb_buf[8] != 0x53 || gspca_dev->usb_buf[9] != 0x05) { in sd_config()