/kernel/linux/linux-5.10/drivers/usb/usbip/ |
D | stub_tx.c | 166 u32 actual_length = 0; in stub_send_ret_submit() local 175 if (urb->actual_length > 0 && !urb->transfer_buffer && in stub_send_ret_submit() 179 urb->actual_length); in stub_send_ret_submit() 185 else if (usb_pipein(urb->pipe) && urb->actual_length > 0 && in stub_send_ret_submit() 209 actual_length += priv->urbs[i]->actual_length; in stub_send_ret_submit() 212 pdu_header.u.ret_submit.actual_length = actual_length; in stub_send_ret_submit() 233 priv->urbs[i]->actual_length; in stub_send_ret_submit() 236 txsize += actual_length; in stub_send_ret_submit() 239 urb->actual_length > 0) { in stub_send_ret_submit() 241 unsigned int copy = urb->actual_length; in stub_send_ret_submit() [all …]
|
D | usbip_common.c | 246 dev_dbg(dev, " actual_length :%d\n", urb->actual_length); in usbip_dump_urb() 284 pdu->u.ret_submit.actual_length, in usbip_dump_header() 384 rpdu->actual_length = urb->actual_length; in usbip_pack_ret_submit() 390 urb->actual_length = rpdu->actual_length; in usbip_pack_ret_submit() 457 cpu_to_be32s(&pdu->actual_length); in correct_endian_ret_submit() 463 be32_to_cpus(&pdu->actual_length); in correct_endian_ret_submit() 529 iso->actual_length = cpu_to_be32(iso->actual_length); in usbip_iso_packet_correct_endian() 534 iso->actual_length = be32_to_cpu(iso->actual_length); in usbip_iso_packet_correct_endian() 545 iso->actual_length = uiso->actual_length; in usbip_pack_iso() 550 uiso->actual_length = iso->actual_length; in usbip_pack_iso() [all …]
|
D | vudc_tx.c | 88 if (urb->actual_length > 0 && !urb->transfer_buffer) { in v_send_ret_submit() 91 urb->actual_length); in v_send_ret_submit() 121 usb_pipein(urb->pipe) && urb->actual_length > 0) { in v_send_ret_submit() 123 iov[iovnum].iov_len = urb->actual_length; in v_send_ret_submit() 125 txsize += urb->actual_length; in v_send_ret_submit() 135 urb->iso_frame_desc[i].actual_length; in v_send_ret_submit() 137 txsize += urb->iso_frame_desc[i].actual_length; in v_send_ret_submit() 140 if (txsize != sizeof(pdu_header) + urb->actual_length) { in v_send_ret_submit()
|
D | vudc_transfer.c | 172 urb->actual_length = min_t(u32, 2, in handle_control_request() 204 host_len = urb->transfer_buffer_length - urb->actual_length; in transfer() 222 ubuf_pos = urb->transfer_buffer + urb->actual_length; in transfer() 230 urb->actual_length += len; in transfer() 270 if (urb->transfer_buffer_length == urb->actual_length) { in transfer() 389 urb->actual_length = 0; in v_timer()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_urb.c | 14 int ret, actual_length; in dvb_usb_v2_generic_io() local 26 &actual_length, 2000); in dvb_usb_v2_generic_io() 32 if (actual_length != wlen) { in dvb_usb_v2_generic_io() 34 KBUILD_MODNAME, wlen, actual_length); in dvb_usb_v2_generic_io() 47 rbuf, rlen, &actual_length, 2000); in dvb_usb_v2_generic_io() 54 actual_length, rbuf); in dvb_usb_v2_generic_io()
|
D | zd1301.c | 30 int ret, actual_length; in zd1301_ctrl_msg() local 39 wlen, &actual_length, 1000); in zd1301_ctrl_msg() 47 dev->buf, rlen, &actual_length, 1000); in zd1301_ctrl_msg() 54 dev_dbg(&intf->dev, "<<< %*ph\n", actual_length, dev->buf); in zd1301_ctrl_msg() 56 if (actual_length != rlen) { in zd1301_ctrl_msg() 65 dev->buf, rlen, &actual_length, in zd1301_ctrl_msg() 74 "<<< %*ph\n", actual_length, dev->buf); in zd1301_ctrl_msg()
|
D | usb_urb.c | 29 urb->status, urb->actual_length, in usb_urb_complete() 57 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete() 60 urb->iso_frame_desc[i].actual_length); in usb_urb_complete() 63 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete() 67 if (urb->actual_length > 0) in usb_urb_complete() 68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | safe_serial.c | 189 unsigned char length = urb->actual_length; in safe_process_read_urb() 190 int actual_length; in safe_process_read_urb() local 210 actual_length = data[length - 2] >> 2; in safe_process_read_urb() 211 if (actual_length > (length - 2)) { in safe_process_read_urb() 213 __func__, actual_length, length); in safe_process_read_urb() 216 dev_info(&urb->dev->dev, "%s - actual: %d\n", __func__, actual_length); in safe_process_read_urb() 217 length = actual_length; in safe_process_read_urb()
|
D | navman.c | 51 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in navman_read_int_callback() 53 if (urb->actual_length) { in navman_read_int_callback() 54 tty_insert_flip_string(&port->port, data, urb->actual_length); in navman_read_int_callback()
|
D | symbolserial.c | 59 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in symbol_int_callback() 66 if (urb->actual_length > 1) { in symbol_int_callback() 68 if (data_length > (urb->actual_length - 1)) in symbol_int_callback() 69 data_length = urb->actual_length - 1; in symbol_int_callback()
|
D | aircable.c | 126 has_headers = (urb->actual_length > 2 && data[0] == RX_HEADER_0); in aircable_process_read_urb() 129 for (i = 0; i < urb->actual_length; i += HCI_COMPLETE_FRAME) { in aircable_process_read_urb() 130 len = min_t(int, urb->actual_length - i, HCI_COMPLETE_FRAME); in aircable_process_read_urb()
|
D | ir-usb.c | 361 if (!urb->actual_length) in ir_process_read_urb() 371 if (urb->actual_length == 1) in ir_process_read_urb() 374 tty_insert_flip_string(&port->port, data + 1, urb->actual_length - 1); in ir_process_read_urb() 383 int actual_length; in ir_set_termios() local 449 transfer_buffer, 1, &actual_length, 5000); in ir_set_termios() 450 if (ret || actual_length != 1) { in ir_set_termios()
|
D | cyberjack.c | 265 usb_serial_debug_data(dev, __func__, urb->actual_length, data); in cyberjack_read_int_callback() 268 if (urb->actual_length == 4 && data[0] == 0x01) { in cyberjack_read_int_callback() 318 usb_serial_debug_data(dev, __func__, urb->actual_length, data); in cyberjack_read_bulk_callback() 325 if (urb->actual_length) { in cyberjack_read_bulk_callback() 326 tty_insert_flip_string(&port->port, data, urb->actual_length); in cyberjack_read_bulk_callback() 333 priv->rdtodo -= urb->actual_length; in cyberjack_read_bulk_callback()
|
D | f81232.c | 316 size_t actual_length) in f81232_update_line_status() argument 320 if (!actual_length) in f81232_update_line_status() 343 unsigned int actual_length = urb->actual_length; in f81232_read_int_callback() local 365 urb->actual_length, urb->transfer_buffer); in f81232_read_int_callback() 367 f81232_update_line_status(port, data, actual_length); in f81232_read_int_callback() 418 if ((urb->actual_length < 2) || (urb->actual_length % 2)) in f81232_process_read_urb() 423 for (i = 0; i < urb->actual_length; i += 2) { in f81232_process_read_urb() 447 if (urb->actual_length < 3) { in f81534a_process_read_urb() 449 urb->actual_length); in f81534a_process_read_urb() 454 if (len != urb->actual_length) { in f81534a_process_read_urb() [all …]
|
D | garmin_gps.c | 243 char *data, unsigned int actual_length) in send_to_tty() argument 245 if (actual_length) { in send_to_tty() 246 usb_serial_debug_data(&port->dev, __func__, actual_length, data); in send_to_tty() 247 tty_insert_flip_string(&port->port, data, actual_length); in send_to_tty() 1178 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data); in garmin_read_bulk_callback() 1180 garmin_read_process(garmin_data_p, data, urb->actual_length, 1); in garmin_read_bulk_callback() 1182 if (urb->actual_length == 0 && in garmin_read_bulk_callback() 1192 } else if (urb->actual_length > 0) { in garmin_read_bulk_callback() 1236 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, in garmin_read_int_callback() 1239 if (urb->actual_length == sizeof(GARMIN_BULK_IN_AVAIL_REPLY) && in garmin_read_int_callback() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
D | usb-urb.c | 24 urb->status,urb->actual_length,urb->transfer_buffer_length, in usb_urb_complete() 47 else if (urb->iso_frame_desc[i].actual_length > 0) in usb_urb_complete() 48 … stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete() 51 urb->iso_frame_desc[i].actual_length = 0; in usb_urb_complete() 56 if (urb->actual_length > 0) in usb_urb_complete() 57 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 207 int actual_length; in pcan_usb_pro_send_cmd() local 217 &actual_length, PCAN_USBPRO_COMMAND_TIMEOUT); in pcan_usb_pro_send_cmd() 231 int actual_length; in pcan_usb_pro_wait_rsp() local 252 &actual_length, PCAN_USBPRO_COMMAND_TIMEOUT); in pcan_usb_pro_wait_rsp() 258 if (actual_length == 0) in pcan_usb_pro_wait_rsp() 262 if (actual_length < PCAN_USBPRO_MSG_HEADER_LEN) { in pcan_usb_pro_wait_rsp() 265 actual_length); in pcan_usb_pro_wait_rsp() 270 actual_length); in pcan_usb_pro_wait_rsp() 282 actual_length); in pcan_usb_pro_wait_rsp() 695 urb->actual_length); in pcan_usb_pro_decode_buf() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
D | mchp23k256.c | 93 if (retlen && message.actual_length > cmd_len) in mchp23k256_write() 94 *retlen += message.actual_length - cmd_len; in mchp23k256_write() 133 if (retlen && message.actual_length > cmd_len) in mchp23k256_read() 134 *retlen += message.actual_length - cmd_len; in mchp23k256_read()
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | musb_host.c | 227 buf = urb->transfer_buffer + urb->actual_length; in musb_start_urb() 228 len = urb->transfer_buffer_length - urb->actual_length; in musb_start_urb() 449 urb->actual_length += length; in musb_host_packet_rx() 450 d->actual_length = length; in musb_host_packet_rx() 467 urb->actual_length += length; in musb_host_packet_rx() 471 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx() 477 && (urb->actual_length in musb_host_packet_rx() 825 urb->actual_length; in musb_ep_program() 943 urb->actual_length += dma->actual_len; in musb_bulk_nak_timeout() 989 fifo_dest = urb->transfer_buffer + urb->actual_length; in musb_h_ep0_continue() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
D | benq.c | 172 if (urb0->iso_frame_desc[i].actual_length != SD_PKT_SZ in sd_isoc_irq() 173 || urb->iso_frame_desc[i].actual_length != SD_PKT_SZ) { in sd_isoc_irq() 175 urb0->iso_frame_desc[i].actual_length, in sd_isoc_irq() 176 urb->iso_frame_desc[i].actual_length); in sd_isoc_irq()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-u2fzero.c | 139 ret = dev->urb->actual_length; in u2fzero_recv() 193 size_t actual_length; in u2fzero_rng_read() local 209 actual_length = min3((size_t)ret - min_length, in u2fzero_rng_read() 212 memcpy(data, resp.init.data, actual_length); in u2fzero_rng_read() 214 return actual_length; in u2fzero_rng_read()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | xbox_remote.c | 104 if (urb->actual_length != 6 || urb->actual_length != data[1]) { in xbox_remote_input_report() 106 urb->actual_length, urb->actual_length, data); in xbox_remote_input_report()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
D | legousbtower.c | 666 urb->actual_length, urb->transfer_buffer); in tower_interrupt_in_callback() 681 if (urb->actual_length > 0) { in tower_interrupt_in_callback() 683 if (dev->read_buffer_length + urb->actual_length < read_buffer_size) { in tower_interrupt_in_callback() 686 urb->actual_length); in tower_interrupt_in_callback() 687 dev->read_buffer_length += urb->actual_length; in tower_interrupt_in_callback() 690 __func__, urb->actual_length); in tower_interrupt_in_callback() 693 urb->actual_length); in tower_interrupt_in_callback() 719 urb->actual_length, urb->transfer_buffer); in tower_interrupt_out_callback()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | fhci-q.c | 194 if (urb->actual_length != urb->transfer_buffer_length && in fhci_urb_complete_free() 231 urb->actual_length += len; in fhci_done_td() 232 urb->iso_frame_desc[td->iso_index].actual_length = len; in fhci_done_td() 260 urb->actual_length += td->actual_len; in fhci_done_td()
|