17 #include <linux/kernel.h>
43 0x11, 0x22, 0x33, 0x44,
44 0xde, 0xad, 0xbe, 0xef,
45 0xde, 0xad, 0xfa, 0xce
48 unsigned int maxlen,
nbytes;
55 if ((len >= 14 &&
memcmp(&data[2], hdr, 12) == 0) ||
56 (len >= 15 &&
memcmp(&data[3], hdr, 12) == 0)) {
88 nbytes =
min(len, maxlen);
107 for (i = 0; i < urb->number_of_packets; ++
i) {
108 if (urb->iso_frame_desc[i].status < 0) {
111 urb->iso_frame_desc[i].status);
123 ret = isight_decode(&stream->
queue, buf,
124 urb->transfer_buffer +
125 urb->iso_frame_desc[i].offset,
126 urb->iso_frame_desc[i].actual_length);