Lines Matching +full:0 +full:x83
39 if (gspca_dev->usb_err < 0) in reg_w()
41 ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), in reg_w()
42 0x02, in reg_w()
47 0, in reg_w()
49 if (ret < 0) { in reg_w()
62 return 0; in sd_config()
68 return 0; in sd_init()
77 /* create 4 URBs - 2 on endpoint 0x83 and 2 on 0x082 */ in sd_start()
83 for (n = 0; n < 4; n++) { in sd_start()
101 n & 1 ? 0x82 : 0x83); in sd_start()
107 for (i = 0; i < SD_NPKT; i++) { in sd_start()
120 reg_w(gspca_dev, 0x003c, 0x0003); in sd_stopN()
121 reg_w(gspca_dev, 0x003c, 0x0004); in sd_stopN()
122 reg_w(gspca_dev, 0x003c, 0x0005); in sd_stopN()
123 reg_w(gspca_dev, 0x003c, 0x0006); in sd_stopN()
124 reg_w(gspca_dev, 0x003c, 0x0007); in sd_stopN()
149 if (urb->status != 0) { in sd_isoc_irq()
160 /* if this is a control URN (ep 0x83), wait */ in sd_isoc_irq()
161 if (urb == gspca_dev->urb[0] || urb == gspca_dev->urb[2]) in sd_isoc_irq()
166 urb0 = gspca_dev->urb[0]; in sd_isoc_irq()
169 for (i = 0; i < urb->number_of_packets; i++) { in sd_isoc_irq()
181 if (st == 0) in sd_isoc_irq()
192 * (0x83 and 0x82). in sd_isoc_irq()
193 * Image pieces in URBs of ep 0x83 are continuated in URBs of in sd_isoc_irq()
194 * ep 0x82 of the same index. in sd_isoc_irq()
195 * The packets in the URBs of endpoint 0x83 start with: in sd_isoc_irq()
208 if (data[0] == 0x80 && (data[1] & 0xfe) == 0xba) { in sd_isoc_irq()
212 NULL, 0); in sd_isoc_irq()
215 } else if (data[0] == 0x04 && (data[1] & 0xfe) == 0xba) { in sd_isoc_irq()
230 if (st < 0) in sd_isoc_irq()
231 pr_err("usb_submit_urb(0) ret %d\n", st); in sd_isoc_irq()
233 if (st < 0) in sd_isoc_irq()
249 {USB_DEVICE(0x04a5, 0x3035)},