Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/can/usb/
H A Ducan.c254 #define UCAN_IN_HDR_SIZE offsetof(struct ucan_message_in, msg) macro
311 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()
/kernel/linux/linux-6.6/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()

Completed in 5 milliseconds