Searched refs:can_msg (Results 1 – 2 of 2) sorted by relevance
227 struct ucan_can_msg can_msg; member242 struct ucan_can_msg can_msg; member505 u8 d1 = m->msg.can_msg.data[1]; in ucan_handle_error_frame()523 u8 d2 = m->msg.can_msg.data[2]; in ucan_handle_error_frame()577 if (len < UCAN_IN_HDR_SIZE + sizeof(m->msg.can_msg.id)) { in ucan_rx_can_msg()583 canid = le32_to_cpu(m->msg.can_msg.id); in ucan_rx_can_msg()617 cf->can_dlc = ucan_get_can_dlc(&m->msg.can_msg, len); in ucan_rx_can_msg()621 memcpy(cf->data, m->msg.can_msg.data, cf->can_dlc); in ucan_rx_can_msg()1075 m->msg.can_msg.id = cpu_to_le32(cf->can_id); in ucan_prepare_tx_urb()1080 sizeof(m->msg.can_msg.dlc); in ucan_prepare_tx_urb()[all …]
199 struct cpc_can_msg can_msg; member308 cf->can_id = le32_to_cpu(msg->msg.can_msg.id); in ems_usb_rx_can_msg()309 cf->can_dlc = get_can_dlc(msg->msg.can_msg.length & 0xF); in ems_usb_rx_can_msg()320 cf->data[i] = msg->msg.can_msg.msg[i]; in ems_usb_rx_can_msg()757 msg->msg.can_msg.id = cpu_to_le32(cf->can_id & CAN_ERR_MASK); in ems_usb_start_xmit()758 msg->msg.can_msg.length = cf->can_dlc; in ems_usb_start_xmit()770 msg->msg.can_msg.msg[i] = cf->data[i]; in ems_usb_start_xmit()