Searched defs:actual_length (Results 1 - 25 of 30) sorted by relevance

12

/drivers/media/video/tlg2300/
H A Dpd-main.c215 int ret = 0, actual_length; local
239 actual_length = 0;
244 &actual_length,
/drivers/usb/serial/
H A Dsafe_serial.c219 unsigned char length = urb->actual_length;
220 int actual_length; local
240 actual_length = data[length - 2] >> 2;
241 if (actual_length > (length - 2)) {
243 __func__, actual_length, length);
246 dev_info(&urb->dev->dev, "%s - actual: %d\n", __func__, actual_length);
247 length = actual_length;
H A Df81232.c59 unsigned int actual_length)
67 unsigned int actual_length = urb->actual_length; local
91 urb->actual_length, urb->transfer_buffer);
93 f81232_update_line_status(port, data, actual_length);
121 if (!urb->actual_length)
143 for (i = 0; i < urb->actual_length; ++i)
148 urb->actual_length);
57 f81232_update_line_status(struct usb_serial_port *port, unsigned char *data, unsigned int actual_length) argument
H A Dch341.c461 unsigned int actual_length = urb->actual_length; local
484 urb->actual_length, urb->transfer_buffer);
486 if (actual_length >= 4) {
H A Dpl2303.c691 unsigned int actual_length)
716 if (actual_length < length)
741 unsigned int actual_length = urb->actual_length; local
765 urb->actual_length, urb->transfer_buffer);
767 pl2303_update_line_status(port, data, actual_length);
795 if (!urb->actual_length)
817 for (i = 0; i < urb->actual_length; ++i)
822 urb->actual_length);
689 pl2303_update_line_status(struct usb_serial_port *port, unsigned char *data, unsigned int actual_length) argument
H A Dgarmin_gps.c264 char *data, unsigned int actual_length)
268 if (tty && actual_length) {
271 __func__, actual_length, data);
273 tty_insert_flip_string(tty, data, actual_length);
1241 __func__, urb->actual_length, data);
1243 garmin_read_process(garmin_data_p, data, urb->actual_length, 1);
1245 if (urb->actual_length == 0 &&
1255 } else if (urb->actual_length > 0) {
1300 urb->actual_length, urb->transfer_buffer);
1302 if (urb->actual_length
263 send_to_tty(struct usb_serial_port *port, char *data, unsigned int actual_length) argument
[all...]
/drivers/media/dvb/dvb-usb/
H A Dtechnisat-usb2.c91 int ret, actual_length; local
129 b, 64, &actual_length, 1000);
/drivers/media/video/hdpvr/
H A Dhdpvr-video.c195 urb->actual_length = 0;
306 int actual_length; local
339 buf, dev->bulk_in_size, &actual_length,
342 "%2d: got %d bytes\n", c, actual_length);
478 rem = urb->actual_length - buf->pos;
495 if (buf->pos == urb->actual_length) {
/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c122 int actual_length; local
137 dev->cmd_buf, PCAN_USB_CMD_LEN, &actual_length,
152 int actual_length; local
165 dev->cmd_buf, PCAN_USB_CMD_LEN, &actual_length,
708 if (urb->actual_length > PCAN_USB_MSG_HEADER_LEN) {
710 urb->actual_length);
712 } else if (urb->actual_length > 0) {
714 urb->actual_length);
H A Dpcan_usb_pro.c221 int actual_length; local
231 &actual_length, PCAN_USBPRO_COMMAND_TIMEOUT);
245 int actual_length; local
266 &actual_length, PCAN_USBPRO_COMMAND_TIMEOUT);
272 if (actual_length == 0)
276 if (actual_length < PCAN_USBPRO_MSG_HEADER_LEN) {
279 actual_length);
284 actual_length);
296 actual_length);
699 urb->actual_length);
[all...]
/drivers/spi/
H A Dspi-fsl-espi.c45 unsigned actual_length; member in struct:fsl_espi_transfer
364 espi_trans->actual_length = espi_trans->len;
416 espi_trans->actual_length += espi_trans->len - n_tx;
418 espi_trans->actual_length += espi_trans->len;
444 espi_trans.actual_length = 0;
452 m->actual_length = espi_trans.actual_length;
/drivers/tty/serial/
H A Difx6x60.c608 int actual_length; local
637 actual_length = min((unsigned int)length,
638 ifx_dev->spi_msg.actual_length);
640 actual_length,
645 (size_t)actual_length);
/drivers/usb/atm/
H A Dspeedtch.c253 int actual_length; local
274 buffer, 0x200, &actual_length, 2000);
288 buffer, thislen, &actual_length, DATA_TIMEOUT);
301 buffer, 0x200, &actual_length, DATA_TIMEOUT);
307 usb_dbg(usbatm, "%s: BLOCK2 downloaded (%d bytes)\n", __func__, actual_length);
315 buffer, thislen, &actual_length, DATA_TIMEOUT);
328 buffer, 0x200, &actual_length, DATA_TIMEOUT);
336 usb_dbg(usbatm, "%s: BLOCK4 downloaded (%d bytes)\n", __func__, actual_length);
611 unsigned int count = int_urb->actual_length;
H A Dusbatm.c264 vdbg("%s: urb 0x%p, status %d, actual_length %d",
265 __func__, urb, status, urb->actual_length);
547 unsigned int actual_length = urb->iso_frame_desc[i].actual_length; local
549 UDSL_ASSERT(instance, actual_length <= packet_size);
553 merge_length += actual_length;
554 if (merge_length && (actual_length < packet_size)) {
571 usbatm_extract_cells(instance, urb->transfer_buffer, urb->actual_length);
H A Dcxacru.c567 int *actual_length)
579 if (actual_length)
580 *actual_length = urb->actual_length;
566 cxacru_start_wait_urb(struct urb *urb, struct completion *done, int *actual_length) argument
/drivers/hid/usbhid/
H A Dhid-core.c265 urb->actual_length, 1);
479 urb->transfer_buffer, urb->actual_length, 0);
943 int actual_length; local
953 buf, count, &actual_length,
957 ret = actual_length;
/drivers/net/can/usb/
H A Desd_usb2.c405 while (pos < urb->actual_length) {
423 if (pos > urb->actual_length) {
516 int actual_length; local
522 &actual_length,
529 int actual_length; local
535 &actual_length,
H A Dems_usb.c436 if (urb->actual_length > CPC_HEADER_SIZE) {
543 int actual_length; local
555 &actual_length, 1000);
/drivers/net/usb/
H A Dkaweth.c598 int count = urb->actual_length;
1260 static int usb_start_wait_urb(struct urb *urb, int timeout, int* actual_length) argument
1286 if (actual_length) {
1287 *actual_length = urb->actual_length;
/drivers/net/wireless/
H A Dzd1201.c216 if (urb->status != 0 || urb->actual_length == 0)
221 memcpy(zd->rxdata, data, urb->actual_length);
222 zd->rxlen = urb->actual_length;
293 while (i < urb->actual_length) {
302 if (i >= urb->actual_length) {
309 if (data[urb->actual_length-1] == ZD1201_PACKET_RXDATA) {
310 int datalen = urb->actual_length-1;
469 int actual_length; local
471 actual_length = (length > 64) ? 64 : length;
479 if (actual_length !
[all...]
/drivers/net/wireless/zd1211rw/
H A Dzd_usb.c405 len = urb->actual_length;
406 intr->read_regs.length = urb->actual_length;
460 if (urb->actual_length < sizeof(hdr)) {
688 length = urb->actual_length;
1584 int *actual_length, int timeout)
1600 actual_length, timeout);
1603 return usb_bulk_msg(udev, pipe, data, len, actual_length,
1798 urb->actual_length != urb->transfer_buffer_length)
1583 zd_ep_regs_out_msg(struct usb_device *udev, void *data, int len, int *actual_length, int timeout) argument
/drivers/staging/comedi/drivers/
H A Dusbduxfast.c396 n = urb->actual_length / sizeof(uint16_t);
416 urb->actual_length);
1221 int i, j, n, actual_length; local
1317 &actual_length, 10000);
1330 &actual_length, 10000);
1337 n = actual_length / sizeof(uint16_t);
/drivers/staging/usbip/
H A Dusbip_common.h178 * @actual_length: number of bytes transferred
185 __s32 actual_length; member in struct:usbip_header_ret_submit
229 __u32 actual_length; member in struct:usbip_iso_packet_descriptor
/drivers/usb/core/
H A Dmessage.c44 static int usb_start_wait_urb(struct urb *urb, int timeout, int *actual_length) argument
52 urb->actual_length = 0;
67 urb->actual_length,
72 if (actual_length)
73 *actual_length = urb->actual_length;
165 * @actual_length: pointer to a location to put the actual length transferred
176 * of actual bytes transferred will be stored in the actual_length paramater.
186 void *data, int len, int *actual_length, int timeout)
188 return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeou
185 usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout) argument
223 usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout) argument
[all...]
/drivers/net/wireless/orinoco/
H A Dorinoco_usb.c655 ctx->buf_length = urb->actual_length;
1057 int actual_length = upriv->read_urb->actual_length; local
1060 if ((sizeof(*ans) + offset + len) > actual_length) {
1071 if ((sizeof(*ans) + offset + len - 4) > actual_length) {
1424 urb->status, urb->actual_length);
1425 if (urb->actual_length < sizeof(*ans)) {

Completed in 607 milliseconds

12