Searched refs:fifo_element (Results 1 – 1 of 1) sorted by relevance
1794 struct m_can_fifo_element fifo_element; in m_can_tx_handler() local1804 fifo_element.id = cf->can_id & CAN_EFF_MASK; in m_can_tx_handler()1805 fifo_element.id |= TX_BUF_XTD; in m_can_tx_handler()1807 fifo_element.id = ((cf->can_id & CAN_SFF_MASK) << 18); in m_can_tx_handler()1811 fifo_element.id |= TX_BUF_RTR; in m_can_tx_handler()1816 fifo_element.dlc = can_fd_len2dlc(cf->len) << 16; in m_can_tx_handler()1819 err = m_can_fifo_write(cdev, 0, M_CAN_FIFO_ID, &fifo_element, 2); in m_can_tx_handler()1868 fifo_element.dlc = FIELD_PREP(TX_BUF_MM_MASK, putidx) | in m_can_tx_handler()1872 memcpy_and_pad(fifo_element.data, CANFD_MAX_DLEN, &cf->data, in m_can_tx_handler()1876 &fifo_element, 2 + len_padded); in m_can_tx_handler()