Home
last modified time | relevance | path

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

/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c705 struct pcan_usb_pro_msg usb_msg; in pcan_usb_pro_decode_buf() local
710 rec_ptr = pcan_msg_init(&usb_msg, urb->transfer_buffer, in pcan_usb_pro_decode_buf()
719 rec_cnt = le16_to_cpu(*usb_msg.u.rec_cnt_rd); in pcan_usb_pro_decode_buf()
782 struct pcan_usb_pro_msg usb_msg; in pcan_usb_pro_encode_msg() local
784 pcan_msg_init_empty(&usb_msg, obuf, *size); in pcan_usb_pro_encode_msg()
801 pcan_msg_add_rec(&usb_msg, data_type, 0, flags, len, cf->can_id, in pcan_usb_pro_encode_msg()
804 *size = usb_msg.rec_buffer_len; in pcan_usb_pro_encode_msg()