Searched refs:KLSI_HDR_LEN (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | kl5kusb105.c | 355 #define KLSI_HDR_LEN 2 macro 362 count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN, size, in klsi_105_prepare_write_buffer() 366 return count + KLSI_HDR_LEN; in klsi_105_prepare_write_buffer() 381 if (urb->actual_length <= KLSI_HDR_LEN) { in klsi_105_process_read_urb() 387 if (len > urb->actual_length - KLSI_HDR_LEN) { in klsi_105_process_read_urb() 389 len = urb->actual_length - KLSI_HDR_LEN; in klsi_105_process_read_urb() 392 tty_insert_flip_string(&port->port, data + KLSI_HDR_LEN, len); in klsi_105_process_read_urb()
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | kl5kusb105.c | 327 #define KLSI_HDR_LEN 2 macro 334 count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN, size, in klsi_105_prepare_write_buffer() 338 return count + KLSI_HDR_LEN; in klsi_105_prepare_write_buffer() 353 if (urb->actual_length <= KLSI_HDR_LEN) { in klsi_105_process_read_urb() 359 if (len > urb->actual_length - KLSI_HDR_LEN) { in klsi_105_process_read_urb() 361 len = urb->actual_length - KLSI_HDR_LEN; in klsi_105_process_read_urb() 364 tty_insert_flip_string(&port->port, data + KLSI_HDR_LEN, len); in klsi_105_process_read_urb()
|
Completed in 2 milliseconds