/drivers/usb/usbip/ |
D | usbip_common.c | 258 dev_dbg(dev, " actual_length :%d\n", urb->actual_length); in usbip_dump_urb() 296 pdu->u.ret_submit.actual_length, in usbip_dump_header() 413 rpdu->actual_length = urb->actual_length; in usbip_pack_ret_submit() 419 urb->actual_length = rpdu->actual_length; in usbip_pack_ret_submit() 486 cpu_to_be32s(&pdu->actual_length); in correct_endian_ret_submit() 492 be32_to_cpus(&pdu->actual_length); in correct_endian_ret_submit() 558 iso->actual_length = cpu_to_be32(iso->actual_length); in usbip_iso_packet_correct_endian() 563 iso->actual_length = be32_to_cpu(iso->actual_length); in usbip_iso_packet_correct_endian() 574 iso->actual_length = uiso->actual_length; in usbip_pack_iso() 579 uiso->actual_length = iso->actual_length; in usbip_pack_iso() [all …]
|
D | stub_tx.c | 181 if (urb->actual_length > 0 && !urb->transfer_buffer) { in stub_send_ret_submit() 184 urb->actual_length); in stub_send_ret_submit() 216 urb->actual_length > 0) { in stub_send_ret_submit() 218 iov[iovnum].iov_len = urb->actual_length; in stub_send_ret_submit() 220 txsize += urb->actual_length; in stub_send_ret_submit() 237 urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit() 239 txsize += urb->iso_frame_desc[i].actual_length; in stub_send_ret_submit() 242 if (txsize != sizeof(pdu_header) + urb->actual_length) { in stub_send_ret_submit() 245 urb->actual_length, in stub_send_ret_submit()
|
/drivers/usb/serial/ |
D | safe_serial.c | 198 unsigned char length = urb->actual_length; in safe_process_read_urb() 199 int actual_length; in safe_process_read_urb() local 219 actual_length = data[length - 2] >> 2; in safe_process_read_urb() 220 if (actual_length > (length - 2)) { in safe_process_read_urb() 222 __func__, actual_length, length); in safe_process_read_urb() 225 dev_info(&urb->dev->dev, "%s - actual: %d\n", __func__, actual_length); in safe_process_read_urb() 226 length = actual_length; in safe_process_read_urb()
|
D | f81232.c | 55 unsigned int actual_length) in f81232_update_line_status() argument 70 unsigned int actual_length = urb->actual_length; in f81232_read_int_callback() local 92 urb->actual_length, urb->transfer_buffer); in f81232_read_int_callback() 94 f81232_update_line_status(port, data, actual_length); in f81232_read_int_callback() 120 if (!urb->actual_length) in f81232_process_read_urb() 138 for (i = 0; i < urb->actual_length; ++i) in f81232_process_read_urb() 144 urb->actual_length); in f81232_process_read_urb()
|
D | symbolserial.c | 61 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in symbol_int_callback() 68 if (urb->actual_length > 1) { in symbol_int_callback() 70 if (data_length > (urb->actual_length - 1)) in symbol_int_callback() 71 data_length = urb->actual_length - 1; in symbol_int_callback()
|
D | navman.c | 54 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in navman_read_int_callback() 56 if (urb->actual_length) { in navman_read_int_callback() 57 tty_insert_flip_string(&port->port, data, urb->actual_length); in navman_read_int_callback()
|
D | cyberjack.c | 268 usb_serial_debug_data(dev, __func__, urb->actual_length, data); in cyberjack_read_int_callback() 271 if (urb->actual_length == 4 && data[0] == 0x01) { in cyberjack_read_int_callback() 320 usb_serial_debug_data(dev, __func__, urb->actual_length, data); in cyberjack_read_bulk_callback() 327 if (urb->actual_length) { in cyberjack_read_bulk_callback() 328 tty_insert_flip_string(&port->port, data, urb->actual_length); in cyberjack_read_bulk_callback() 335 priv->rdtodo -= urb->actual_length; in cyberjack_read_bulk_callback()
|
D | aircable.c | 148 has_headers = (urb->actual_length > 2 && data[0] == RX_HEADER_0); in aircable_process_read_urb() 151 for (i = 0; i < urb->actual_length; i += HCI_COMPLETE_FRAME) { in aircable_process_read_urb() 152 len = min_t(int, urb->actual_length - i, HCI_COMPLETE_FRAME); in aircable_process_read_urb()
|
D | keyspan.c | 309 if (urb->actual_length) { in usa26_indat_callback() 318 for (i = 1; i < urb->actual_length ; ++i) in usa26_indat_callback() 324 for (i = 0; i + 1 < urb->actual_length; i += 2) { in usa26_indat_callback() 399 if (urb->actual_length != 9) { in usa26_instat_callback() 400 dev_dbg(&urb->dev->dev, "%s - %d byte report??\n", __func__, urb->actual_length); in usa26_instat_callback() 464 if (urb->actual_length) { in usa28_indat_callback() 466 urb->actual_length); in usa28_indat_callback() 518 if (urb->actual_length != sizeof(struct keyspan_usa28_portStatusMessage)) { in usa28_instat_callback() 519 dev_dbg(&urb->dev->dev, "%s - bad length %d\n", __func__, urb->actual_length); in usa28_instat_callback() 598 if (urb->actual_length != in usa49_instat_callback() [all …]
|
D | garmin_gps.c | 253 char *data, unsigned int actual_length) in send_to_tty() argument 255 if (actual_length) { in send_to_tty() 256 usb_serial_debug_data(&port->dev, __func__, actual_length, data); in send_to_tty() 257 tty_insert_flip_string(&port->port, data, actual_length); in send_to_tty() 1199 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in garmin_read_bulk_callback() 1201 garmin_read_process(garmin_data_p, data, urb->actual_length, 1); in garmin_read_bulk_callback() 1203 if (urb->actual_length == 0 && in garmin_read_bulk_callback() 1213 } else if (urb->actual_length > 0) { in garmin_read_bulk_callback() 1257 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, in garmin_read_int_callback() 1260 if (urb->actual_length == sizeof(GARMIN_BULK_IN_AVAIL_REPLY) && in garmin_read_int_callback() [all …]
|
/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_urb.c | 27 int ret, actual_length; in dvb_usb_v2_generic_io() local 39 &actual_length, 2000); in dvb_usb_v2_generic_io() 44 ret = actual_length != wlen ? -EIO : 0; in dvb_usb_v2_generic_io() 55 rbuf, rlen, &actual_length, 2000); in dvb_usb_v2_generic_io() 62 actual_length, rbuf); in dvb_usb_v2_generic_io()
|
D | usb_urb.c | 28 urb->status, urb->actual_length, in usb_urb_complete() 56 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete() 59 urb->iso_frame_desc[i].actual_length); in usb_urb_complete() 62 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete() 66 if (urb->actual_length > 0) in usb_urb_complete() 67 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 221 int actual_length; in pcan_usb_pro_send_cmd() local 231 &actual_length, PCAN_USBPRO_COMMAND_TIMEOUT); in pcan_usb_pro_send_cmd() 245 int actual_length; in pcan_usb_pro_wait_rsp() local 266 &actual_length, PCAN_USBPRO_COMMAND_TIMEOUT); in pcan_usb_pro_wait_rsp() 272 if (actual_length == 0) in pcan_usb_pro_wait_rsp() 276 if (actual_length < PCAN_USBPRO_MSG_HEADER_LEN) { in pcan_usb_pro_wait_rsp() 279 actual_length); in pcan_usb_pro_wait_rsp() 284 actual_length); in pcan_usb_pro_wait_rsp() 296 actual_length); in pcan_usb_pro_wait_rsp() 711 urb->actual_length); in pcan_usb_pro_decode_buf() [all …]
|
D | pcan_usb.c | 122 int actual_length; in pcan_usb_send_cmd() local 137 dev->cmd_buf, PCAN_USB_CMD_LEN, &actual_length, in pcan_usb_send_cmd() 152 int actual_length; in pcan_usb_wait_rsp() local 165 dev->cmd_buf, PCAN_USB_CMD_LEN, &actual_length, in pcan_usb_wait_rsp() 712 if (urb->actual_length > PCAN_USB_MSG_HEADER_LEN) { in pcan_usb_decode_buf() 714 urb->actual_length); in pcan_usb_decode_buf() 716 } else if (urb->actual_length > 0) { in pcan_usb_decode_buf() 718 urb->actual_length); in pcan_usb_decode_buf()
|
/drivers/media/usb/dvb-usb/ |
D | usb-urb.c | 23 urb->status,urb->actual_length,urb->transfer_buffer_length, in usb_urb_complete() 46 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete() 47 … stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete() 50 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete() 55 if (urb->actual_length > 0) in usb_urb_complete() 56 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
|
/drivers/net/wimax/i2400m/ |
D | usb-notif.c | 130 urb, urb->status, urb->actual_length); in i2400mu_notification_cb() 135 urb->actual_length); in i2400mu_notification_cb() 170 urb, urb->status, urb->actual_length); in i2400mu_notification_cb() 180 urb, urb->status, urb->actual_length); in i2400mu_notification_cb()
|
/drivers/usb/dwc2/ |
D | hcd_intr.c | 460 if (urb->actual_length + xfer_length > urb->length) { in dwc2_update_urb_state() 462 xfer_length = urb->length - urb->actual_length; in dwc2_update_urb_state() 468 memcpy(urb->buf + urb->actual_length, chan->qh->dw_align_buf, in dwc2_update_urb_state() 473 urb->actual_length, xfer_length); in dwc2_update_urb_state() 474 urb->actual_length += xfer_length; in dwc2_update_urb_state() 478 urb->actual_length >= urb->length && in dwc2_update_urb_state() 481 } else if (short_read || urb->actual_length >= urb->length) { in dwc2_update_urb_state() 493 dev_vdbg(hsotg->dev, " urb->actual_length %d\n", urb->actual_length); in dwc2_update_urb_state() 551 frame_desc->actual_length = dwc2_get_actual_xfer_length(hsotg, in dwc2_update_isoc_urb_state() 555 if (chan->align_buf && frame_desc->actual_length && in dwc2_update_isoc_urb_state() [all …]
|
/drivers/usb/musb/ |
D | musb_host.c | 243 buf = urb->transfer_buffer + urb->actual_length; in musb_start_urb() 244 len = urb->transfer_buffer_length - urb->actual_length; in musb_start_urb() 313 urb->actual_length, urb->transfer_buffer_length in musb_giveback() 499 urb->actual_length += length; in musb_host_packet_rx() 500 d->actual_length = length; in musb_host_packet_rx() 517 urb->actual_length += length; in musb_host_packet_rx() 521 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx() 527 && (urb->actual_length in musb_host_packet_rx() 859 urb->actual_length; in musb_ep_program() 981 urb->actual_length += dma->actual_len; in musb_bulk_nak_timeout() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_main.c | 115 u16 actual_length = 0, offset; in rsi_read_pkt() local 121 actual_length = *(u16 *)&frame_desc[0]; in rsi_read_pkt() 150 index += actual_length; in rsi_read_pkt() 151 rcv_pkt_len -= actual_length; in rsi_read_pkt()
|
/drivers/media/usb/gspca/ |
D | benq.c | 187 if (urb0->iso_frame_desc[i].actual_length != SD_PKT_SZ in sd_isoc_irq() 188 || urb->iso_frame_desc[i].actual_length != SD_PKT_SZ) { in sd_isoc_irq() 190 urb0->iso_frame_desc[i].actual_length, in sd_isoc_irq() 191 urb->iso_frame_desc[i].actual_length); in sd_isoc_irq()
|
/drivers/isdn/hisax/ |
D | st5481_usb.c | 201 if (urb->actual_length == 0) { in usb_int_complete() 226 urb->actual_length = 0; in usb_int_complete() 417 urb->actual_length = 0; in fill_isoc_urb() 424 urb->iso_frame_desc[k].actual_length = 0; in fill_isoc_urb() 543 urb->actual_length = 0; in usb_in_complete() 605 len = pipd->actual_length; in st5481_isoc_flatten() 606 pipd->actual_length = 0; in st5481_isoc_flatten()
|
/drivers/usb/host/ |
D | fhci-q.c | 198 if (urb->actual_length != urb->transfer_buffer_length && in fhci_urb_complete_free() 235 urb->actual_length += len; in fhci_done_td() 236 urb->iso_frame_desc[td->iso_index].actual_length = len; in fhci_done_td() 264 urb->actual_length += td->actual_len; in fhci_done_td()
|
/drivers/usb/misc/ |
D | legousbtower.c | 733 urb->actual_length, urb->transfer_buffer); in tower_interrupt_in_callback() 748 if (urb->actual_length > 0) { in tower_interrupt_in_callback() 750 if (dev->read_buffer_length + urb->actual_length < read_buffer_size) { in tower_interrupt_in_callback() 753 urb->actual_length); in tower_interrupt_in_callback() 754 dev->read_buffer_length += urb->actual_length; in tower_interrupt_in_callback() 757 __func__, urb->actual_length); in tower_interrupt_in_callback() 760 urb->actual_length); in tower_interrupt_in_callback() 790 urb->actual_length, urb->transfer_buffer); in tower_interrupt_out_callback()
|
D | adutux.c | 163 urb->actual_length, urb->transfer_buffer); in adu_interrupt_in_callback() 177 if (urb->actual_length > 0 && dev->interrupt_in_buffer[0] != 0x00) { in adu_interrupt_in_callback() 180 (urb->actual_length)) { in adu_interrupt_in_callback() 183 dev->interrupt_in_buffer, urb->actual_length); in adu_interrupt_in_callback() 185 dev->read_buffer_length += urb->actual_length; in adu_interrupt_in_callback() 187 urb->actual_length); in adu_interrupt_in_callback() 207 urb->actual_length, urb->transfer_buffer); in adu_interrupt_out_callback() 601 dev->interrupt_out_urb->actual_length = bytes_to_write; in adu_write()
|
/drivers/media/usb/siano/ |
D | smsusb.c | 91 urb->status, urb->actual_length); in smsusb_onresponse() 95 if ((urb->actual_length > 0) && (urb->status == 0)) { in smsusb_onresponse() 99 if (urb->actual_length >= phdr->msg_length) { in smsusb_onresponse() 111 surb->cb->offset) > urb->actual_length) { in smsusb_onresponse() 117 urb->actual_length); in smsusb_onresponse() 139 phdr->msg_length, urb->actual_length); in smsusb_onresponse() 143 urb->status, urb->actual_length); in smsusb_onresponse()
|