Searched refs:fifo_header (Results 1 – 1 of 1) sorted by relevance
560 struct id_and_dlc fifo_header; in m_can_read_fifo() local564 err = m_can_fifo_read(cdev, fgi, M_CAN_FIFO_ID, &fifo_header, 2); in m_can_read_fifo()568 if (fifo_header.dlc & RX_BUF_FDF) in m_can_read_fifo()577 if (fifo_header.dlc & RX_BUF_FDF) in m_can_read_fifo()578 cf->len = can_fd_dlc2len((fifo_header.dlc >> 16) & 0x0F); in m_can_read_fifo()580 cf->len = can_cc_dlc2len((fifo_header.dlc >> 16) & 0x0F); in m_can_read_fifo()582 if (fifo_header.id & RX_BUF_XTD) in m_can_read_fifo()583 cf->can_id = (fifo_header.id & CAN_EFF_MASK) | CAN_EFF_FLAG; in m_can_read_fifo()585 cf->can_id = (fifo_header.id >> 18) & CAN_SFF_MASK; in m_can_read_fifo()587 if (fifo_header.id & RX_BUF_ESI) { in m_can_read_fifo()[all …]