Searched refs:UCAN_IN_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance
254 #define UCAN_IN_HDR_SIZE offsetof(struct ucan_message_in, msg) macro311 return get_can_dlc(len - (UCAN_IN_HDR_SIZE + sizeof(msg->id))); in ucan_get_can_dlc()577 if (len < UCAN_IN_HDR_SIZE + sizeof(m->msg.can_msg.id)) { in ucan_rx_can_msg()642 if (len < UCAN_IN_HDR_SIZE || (len % 2 != 0)) { in ucan_tx_complete_msg()647 count = (len - UCAN_IN_HDR_SIZE) / 2; in ucan_tx_complete_msg()735 if ((urb->actual_length - pos) < UCAN_IN_HDR_SIZE) { in ucan_read_bulk_callback()