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