Home
last modified time | relevance | path

Searched refs:KLSI_HDR_LEN (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dkl5kusb105.c327 #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()