Home
last modified time | relevance | path

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

/linux/drivers/net/can/usb/
H A Ducan.c256 #define UCAN_IN_HDR_SIZE offsetof(struct ucan_message_in, msg) macro
311 return can_cc_dlc2len(len - (UCAN_IN_HDR_SIZE + sizeof(msg->id))); in ucan_can_cc_dlc2len()
577 if (len < UCAN_IN_HDR_SIZE + sizeof(m->msg.can_msg.id)) { in ucan_rx_can_msg()
645 if (len < UCAN_IN_HDR_SIZE || (len % 2 != 0)) { in ucan_tx_complete_msg()
650 count = (len - UCAN_IN_HDR_SIZE) / 2; in ucan_tx_complete_msg()
737 if ((urb->actual_length - pos) < UCAN_IN_HDR_SIZE) { in ucan_read_bulk_callback()