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()583 canid = le32_to_cpu(m->msg.can_msg.id); 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()1083 m->msg.can_msg.dlc = cf->len; in ucan_prepare_tx_urb()1086 sizeof(m->msg.can_msg.id) + cf->len; 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()767 msg->msg.can_msg.id = cpu_to_le32(cf->can_id & CAN_ERR_MASK); in ems_usb_start_xmit()768 msg->msg.can_msg.length = cf->len; in ems_usb_start_xmit()780 msg->msg.can_msg.msg[i] = cf->data[i]; in ems_usb_start_xmit()