Searched refs:actual_length (Results 1 - 25 of 139) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Dnavman.c60 urb->actual_length, data);
63 if (tty && urb->actual_length) {
64 tty_buffer_request_room(tty, urb->actual_length);
65 tty_insert_flip_string(tty, data, urb->actual_length);
H A Dsafe_serial.c167 unsigned char length = urb->actual_length;
178 dbg ("safe_read_bulk_callback length: %d", port->read_urb->actual_length);
183 for (i = 0; i < port->read_urb->actual_length; i++) {
196 int actual_length = data[length - 2] >> 2; local
198 if (actual_length <= (length - 2)) {
200 info ("%s - actual: %d", __FUNCTION__, actual_length);
202 for (i = 0; i < actual_length; i++) {
208 actual_length, length);
H A Daircable.c491 urb->actual_length,urb->transfer_buffer);
494 if (tty && urb->actual_length) {
495 if (urb->actual_length <= 2) {
498 urb->actual_length);
504 remaining = urb->actual_length;
505 no_packages = urb->actual_length / (HCI_COMPLETE_FRAME);
507 if (urb->actual_length % HCI_COMPLETE_FRAME != 0)
H A Dcyberjack.c316 usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data);
319 if( (urb->actual_length==4) && (data[0]==0x01) ) {
371 usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data);
382 if (urb->actual_length) {
383 tty_buffer_request_room(tty, urb->actual_length);
384 tty_insert_flip_string(tty, data, urb->actual_length);
391 priv->rdtodo-=urb->actual_length;
401 if( todo /* || (urb->actual_length==port->bulk_in_endpointAddress)*/ ) {
H A Dgeneric.c275 if (tty && urb->actual_length) {
276 tty_buffer_request_room(tty, urb->actual_length);
277 tty_insert_flip_string(tty, urb->transfer_buffer, urb->actual_length);
309 usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data);
312 if (urb->actual_length) {
H A Dkl5kusb105.c630 if (urb->actual_length == 0) {
634 } else if (urb->actual_length <= 2) {
636 urb->actual_length);
638 urb->actual_length, data);
644 urb->actual_length, data);
646 if (bytes_sent + 2 > urb->actual_length) {
649 bytes_sent+2, urb->actual_length);
651 bytes_sent = urb->actual_length - 2;
H A Dipw.c173 usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data);
176 if (tty && urb->actual_length) {
177 tty_buffer_request_room(tty, urb->actual_length);
178 tty_insert_flip_string(tty, data, urb->actual_length);
H A Dempeg.c356 usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data);
360 if (urb->actual_length) {
361 tty_buffer_request_room(tty, urb->actual_length);
362 tty_insert_flip_string(tty, data, urb->actual_length);
364 bytes_in += urb->actual_length;
H A Dkeyspan.c433 if (urb->actual_length) {
440 for (i = 1; i < urb->actual_length ; ++i) {
446 for (i = 0; i + 1 < urb->actual_length; i += 2) {
518 if (urb->actual_length != 9) {
519 dbg("%s - %d byte report??", __FUNCTION__, urb->actual_length);
596 if (urb->actual_length) {
597 for (i = 0; i < urb->actual_length ; ++i) {
651 if (urb->actual_length != sizeof(struct keyspan_usa28_portStatusMessage)) {
652 dbg("%s - bad length %d", __FUNCTION__, urb->actual_length);
744 if (urb->actual_length !
[all...]
H A Dpl2303.c918 unsigned int actual_length)
941 if (actual_length < length)
955 unsigned int actual_length = urb->actual_length; local
978 urb->actual_length, urb->transfer_buffer);
980 pl2303_update_line_status(port, data, actual_length);
1029 urb->actual_length, data);
1051 if (tty && urb->actual_length) {
1052 tty_buffer_request_room(tty, urb->actual_length + 1);
1056 for (i = 0; i < urb->actual_length;
916 pl2303_update_line_status(struct usb_serial_port *port, unsigned char *data, unsigned int actual_length) argument
[all...]
H A Dgarmin_gps.c276 char *data, unsigned int actual_length)
280 if (tty && actual_length) {
283 __FUNCTION__, actual_length, data);
285 tty_buffer_request_room(tty, actual_length);
286 tty_insert_flip_string(tty, data, actual_length);
1300 __FUNCTION__, urb->actual_length, data);
1302 garmin_read_process(garmin_data_p, data, urb->actual_length);
1304 if (urb->actual_length == 0 &&
1314 } else if (urb->actual_length > 0) {
1360 urb->actual_length, ur
275 send_to_tty(struct usb_serial_port *port, char *data, unsigned int actual_length) argument
[all...]
H A Dairprime.c93 usb_serial_debug_data(debug, &port->dev, __FUNCTION__, urb->actual_length, data);
96 if (tty && urb->actual_length) {
97 tty_insert_flip_string (tty, data, urb->actual_length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dusbdevice_fs.h90 unsigned int actual_length; member in struct:usbdevfs_iso_packet_desc
101 int actual_length; member in struct:usbdevfs_urb
135 compat_int_t actual_length; member in struct:usbdevfs_urb32
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-usb/
H A Dusb-urb.c23 urb->status,urb->actual_length,urb->transfer_buffer_length,
46 else if (urb->iso_frame_desc[i].actual_length > 0)
47 stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length);
50 urb->iso_frame_desc[i].actual_length = 0;
55 if (urb->actual_length > 0)
56 stream->complete(stream, b, urb->actual_length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Dmessage.c33 static int usb_start_wait_urb(struct urb *urb, int timeout, int *actual_length) argument
41 urb->actual_length = 0;
54 urb->actual_length,
62 if (actual_length)
63 *actual_length = urb->actual_length;
151 * @actual_length: pointer to a location to put the actual length transferred in bytes
160 * of actual bytes transferred will be stored in the actual_length paramater.
170 void *data, int len, int *actual_length, int timeout)
172 return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeou
169 usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout) argument
207 usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dst5481_usb.c208 if (urb->actual_length == 0) {
233 urb->actual_length = 0;
416 urb->actual_length = 0;
423 urb->iso_frame_desc[k].actual_length = 0;
542 urb->actual_length = 0;
604 len = pipd->actual_length;
605 pipd->actual_length = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/
H A Dadutux.c185 adu_debug_data(5, __FUNCTION__, urb->actual_length,
198 if (urb->actual_length > 0 && dev->interrupt_in_buffer[0] != 0x00) {
201 (urb->actual_length)) {
204 dev->interrupt_in_buffer, urb->actual_length);
206 dev->read_buffer_length += urb->actual_length;
208 urb->actual_length);
219 adu_debug_data(5, __FUNCTION__, urb->actual_length,
229 adu_debug_data(5,__FUNCTION__, urb->actual_length, urb->transfer_buffer);
243 adu_debug_data(5, __FUNCTION__, urb->actual_length,
628 dev->interrupt_out_urb->actual_length
[all...]
H A Dlegousbtower.c681 lego_usb_tower_debug_data(5, __FUNCTION__, urb->actual_length, urb->transfer_buffer);
694 if (urb->actual_length > 0) {
696 if (dev->read_buffer_length + urb->actual_length < read_buffer_size) {
699 urb->actual_length);
700 dev->read_buffer_length += urb->actual_length;
702 dbg(3, "%s: received %d bytes", __FUNCTION__, urb->actual_length);
704 printk(KERN_WARNING "%s: read_buffer overflow, %d bytes dropped", __FUNCTION__, urb->actual_length);
722 lego_usb_tower_debug_data(5, __FUNCTION__, urb->actual_length, urb->transfer_buffer);
735 lego_usb_tower_debug_data(5, __FUNCTION__, urb->actual_length, urb->transfer_buffer);
748 lego_usb_tower_debug_data(5, __FUNCTION__, urb->actual_length, ur
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dzr364xx.c279 int i, n, temp, head, size, actual_length; local
297 cam->buffer, BUFFER_SIZE, &actual_length,
300 DBG("bulk : n=%d size=%d", n, actual_length);
305 if (actual_length < 0 || actual_length > BUFFER_SIZE) {
336 actual_length - 128);
337 ptr += actual_length - 128;
344 memcpy(ptr, cam->buffer, actual_length);
345 ptr += actual_length;
349 while (actual_length
[all...]
H A Ddabusb.c98 dbg("actual_length :%d", urb->actual_length);
185 len = purb->iso_frame_desc[i].actual_length;
195 if (dst != purb->actual_length)
196 err("dst!=purb->actual_length:%d!=%d", dst, purb->actual_length);
270 int actual_length; local
279 ret=usb_bulk_msg(s->usbdev, pipe, pb->data, pb->size, &actual_length, 100);
296 pb->size = actual_length;
545 rem = purb->actual_length
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/b2c2/
H A Dflexcop-usb.c311 if (urb->actual_length > 0)
312 deb_ts("urb completed, bufsize: %d actlen; %d\n",urb->transfer_buffer_length, urb->actual_length);
318 if (urb->iso_frame_desc[i].actual_length > 0) {
319 deb_ts("passed %d bytes to the demux\n",urb->iso_frame_desc[i].actual_length);
323 urb->iso_frame_desc[i].actual_length);
326 urb->iso_frame_desc[i].actual_length = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/
H A Dzd1201.c213 if (urb->status != 0 || urb->actual_length == 0)
218 memcpy(zd->rxdata, data, urb->actual_length);
219 zd->rxlen = urb->actual_length;
290 while (i < urb->actual_length) {
299 if (i >= urb->actual_length) {
306 if (data[urb->actual_length-1] == ZD1201_PACKET_RXDATA) {
307 int datalen = urb->actual_length-1;
469 int actual_length; local
471 actual_length = (length > 64) ? 64 : length;
479 if (actual_length !
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/devices/
H A Dm25p80.c282 *retlen = m.actual_length - sizeof(flash->command);
349 *retlen = m.actual_length - sizeof(flash->command);
359 *retlen = m.actual_length - sizeof(flash->command);
382 *retlen += m.actual_length
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/atm/
H A Dspeedtch.c256 int actual_length; local
277 buffer, 0x200, &actual_length, 2000);
291 buffer, thislen, &actual_length, DATA_TIMEOUT);
304 buffer, 0x200, &actual_length, DATA_TIMEOUT);
310 usb_dbg(usbatm, "%s: BLOCK2 downloaded (%d bytes)\n", __func__, actual_length);
318 buffer, thislen, &actual_length, DATA_TIMEOUT);
331 buffer, 0x200, &actual_length, DATA_TIMEOUT);
339 usb_dbg(usbatm, "%s: BLOCK4 downloaded (%d bytes)\n", __func__, actual_length);
614 unsigned int count = int_urb->actual_length;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/joystick/iforce/
H A Diforce-usb.c100 (iforce->data[0] << 8) | (urb->actual_length - 1), iforce->data + 1);
127 iforce->ecmd = 0xff00 | urb->actual_length;

Completed in 220 milliseconds

123456