Home
last modified time | relevance | path

Searched refs:fgi (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/can/m_can/
Dm_can.c343 u32 fgi, unsigned int offset, void *val, size_t val_count) in m_can_fifo_read() argument
345 u32 addr_offset = cdev->mcfg[MRAM_RXF0].off + fgi * RXF0_ELEMENT_SIZE + in m_can_fifo_read()
374 m_can_txe_fifo_read(struct m_can_classdev *cdev, u32 fgi, u32 offset, u32 *val) in m_can_txe_fifo_read() argument
376 u32 addr_offset = cdev->mcfg[MRAM_TXE].off + fgi * TXE_ELEMENT_SIZE + in m_can_txe_fifo_read()
554 static int m_can_read_fifo(struct net_device *dev, u32 fgi) in m_can_read_fifo() argument
564 err = m_can_fifo_read(cdev, fgi, M_CAN_FIFO_ID, &fifo_header, 2); in m_can_read_fifo()
598 err = m_can_fifo_read(cdev, fgi, M_CAN_FIFO_DATA, in m_can_read_fifo()
626 u32 fgi; in m_can_do_rx_poll() local
638 fgi = FIELD_GET(RXFS_FGI_MASK, rxfs); in m_can_do_rx_poll()
641 err = m_can_read_fifo(dev, fgi); in m_can_do_rx_poll()
[all …]