Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/serial/
H A Domninet.c134 #define OMNINET_HEADERLEN 4 macro
136 #define OMNINET_PAYLOADSIZE (OMNINET_BULKOUTSIZE - OMNINET_HEADERLEN)
145 if (urb->actual_length <= OMNINET_HEADERLEN || !hdr->oh_len) in omninet_process_read_urb()
148 data = (char *)urb->transfer_buffer + OMNINET_HEADERLEN; in omninet_process_read_urb()
149 data_len = min_t(size_t, urb->actual_length - OMNINET_HEADERLEN, in omninet_process_read_urb()
163 count = kfifo_out_locked(&port->write_fifo, buf + OMNINET_HEADERLEN, in omninet_prepare_write_buffer()