Searched refs:can_msg (Results 1 – 2 of 2) sorted by relevance
228 struct ucan_can_msg can_msg; member243 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->len = ucan_can_cc_dlc2len(&m->msg.can_msg, len); in ucan_rx_can_msg()621 memcpy(cf->data, m->msg.can_msg.data, cf->len); in ucan_rx_can_msg()1077 m->msg.can_msg.id = cpu_to_le32(cf->can_id); in ucan_prepare_tx_urb()1082 sizeof(m->msg.can_msg.dlc); in ucan_prepare_tx_urb()[all …]
200 struct cpc_can_msg can_msg; member310 cf->can_id = le32_to_cpu(msg->msg.can_msg.id); in ems_usb_rx_can_msg()311 cf->len = can_cc_dlc2len(msg->msg.can_msg.length & 0xF); in ems_usb_rx_can_msg()322 cf->data[i] = msg->msg.can_msg.msg[i]; in ems_usb_rx_can_msg()775 msg->msg.can_msg.id = cpu_to_le32(cf->can_id & CAN_ERR_MASK); in ems_usb_start_xmit()776 msg->msg.can_msg.length = cf->len; in ems_usb_start_xmit()788 msg->msg.can_msg.msg[i] = cf->data[i]; in ems_usb_start_xmit()