Home
last modified time | relevance | path

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

12345678910>>...26

/kernel/linux/linux-5.10/drivers/usb/usbip/
H A Dusbip_common.c246 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 in usbip_iso_packet_correct_endian()
[all...]
H A Dstub_tx.c166 u32 actual_length = 0; in stub_send_ret_submit() local
175 if (urb->actual_length > 0 && !urb->transfer_buffer && in stub_send_ret_submit()
178 "urb: actual_length %d transfer_buffer null\n", 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()
[all...]
H A Dvudc_tx.c88 if (urb->actual_length > 0 && !urb->transfer_buffer) { in v_send_ret_submit()
90 "urb: actual_length %d transfer_buffer null\n", 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()
/kernel/linux/linux-6.6/drivers/usb/usbip/
H A Dusbip_common.c246 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()
465 rpdu->actual_length = urb->actual_length; in usbip_pack_ret_submit()
471 urb->actual_length = rpdu->actual_length; in usbip_pack_ret_submit()
538 cpu_to_be32s(&pdu->actual_length); in correct_endian_ret_submit()
544 be32_to_cpus(&pdu->actual_length); in correct_endian_ret_submit()
610 iso->actual_length in usbip_iso_packet_correct_endian()
[all...]
H A Dstub_tx.c166 u32 actual_length = 0; in stub_send_ret_submit() local
175 if (urb->actual_length > 0 && !urb->transfer_buffer && in stub_send_ret_submit()
178 "urb: actual_length %d transfer_buffer null\n", 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()
[all...]
H A Dvudc_tx.c88 if (urb->actual_length > 0 && !urb->transfer_buffer) { in v_send_ret_submit()
90 "urb: actual_length %d transfer_buffer null\n", 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()
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_urb.c14 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()
H A Dzd1301.c30 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()
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_urb.c14 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()
H A Dzd1301.c30 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()
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dsafe_serial.c189 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()
H A Dnavman.c51 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()
H A Dsymbolserial.c59 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()
H A Dir-usb.c361 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()
H A Df81232.c313 size_t actual_length) in f81232_update_line_status()
317 if (!actual_length) in f81232_update_line_status()
340 unsigned int actual_length = urb->actual_length; in f81232_read_int_callback() local
362 urb->actual_length, urb->transfer_buffer); in f81232_read_int_callback()
364 f81232_update_line_status(port, data, actual_length); in f81232_read_int_callback()
415 if ((urb->actual_length < 2) || (urb->actual_length % 2)) in f81232_process_read_urb()
420 for (i = 0; i < urb->actual_length; i += 2) { in f81232_process_read_urb()
444 if (urb->actual_length < in f81534a_process_read_urb()
311 f81232_update_line_status(struct usb_serial_port *port, unsigned char *data, size_t actual_length) f81232_update_line_status() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Dsafe_serial.c189 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()
H A Dnavman.c51 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()
H A Dsymbolserial.c59 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()
H A Dir-usb.c362 if (!urb->actual_length) in ir_process_read_urb()
372 if (urb->actual_length == 1) in ir_process_read_urb()
375 tty_insert_flip_string(&port->port, data + 1, urb->actual_length - 1); in ir_process_read_urb()
385 int actual_length; in ir_set_termios() local
451 transfer_buffer, 1, &actual_length, 5000); in ir_set_termios()
452 if (ret || actual_length != 1) { in ir_set_termios()
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
H A Dusb-notif.c129 d_fnstart(4, dev, "(urb %p status %d actual_length %d)\n", in i2400mu_notification_cb()
130 urb, urb->status, urb->actual_length); in i2400mu_notification_cb()
135 urb->actual_length); in i2400mu_notification_cb()
169 d_fnend(4, dev, "(urb %p status %d actual_length %d) = void\n", in i2400mu_notification_cb()
170 urb, urb->status, urb->actual_length); in i2400mu_notification_cb()
179 d_fnend(4, dev, "(urb %p status %d actual_length %d) = void\n", 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/
H A Dusb-urb.c24 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-6.6/drivers/media/usb/dvb-usb/
H A Dusb-urb.c24 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/usb/musb/
H A Dmusb_host.c226 /* actual_length may be nonzero on retry paths */ in musb_start_urb()
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()
455 urb->actual_length += length; in musb_host_packet_rx()
456 d->actual_length = length; in musb_host_packet_rx()
473 urb->actual_length += length; in musb_host_packet_rx()
477 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx()
483 && (urb->actual_length in musb_host_packet_rx()
831 urb->actual_length; in musb_ep_program()
949 urb->actual_length in musb_bulk_nak_timeout()
[all...]
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmusb_host.c226 /* actual_length may be nonzero on retry paths */ in musb_start_urb()
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()
455 urb->actual_length += length; in musb_host_packet_rx()
456 d->actual_length = length; in musb_host_packet_rx()
473 urb->actual_length += length; in musb_host_packet_rx()
477 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx()
483 && (urb->actual_length in musb_host_packet_rx()
825 urb->actual_length; in musb_ep_program()
943 urb->actual_length in musb_bulk_nak_timeout()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_pro.c207 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...]

Completed in 15 milliseconds

12345678910>>...26