Home
last modified time | relevance | path

Searched refs:rxfs (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/m_can/
H A Dm_can.c434 static void m_can_read_fifo(struct net_device *dev, u32 rxfs) in m_can_read_fifo() argument
444 fgi = (rxfs & RXFS_FGI_MASK) >> RXFS_FGI_SHIFT; in m_can_read_fifo()
496 u32 rxfs; in m_can_do_rx_poll() local
498 rxfs = m_can_read(cdev, M_CAN_RXF0S); in m_can_do_rx_poll()
499 if (!(rxfs & RXFS_FFL_MASK)) { in m_can_do_rx_poll()
504 while ((rxfs & RXFS_FFL_MASK) && (quota > 0)) { in m_can_do_rx_poll()
505 m_can_read_fifo(dev, rxfs); in m_can_do_rx_poll()
509 rxfs = m_can_read(cdev, M_CAN_RXF0S); in m_can_do_rx_poll()
/kernel/linux/linux-6.6/drivers/net/can/m_can/
H A Dm_can.c565 u32 rxfs; in m_can_do_rx_poll() local
572 rxfs = m_can_read(cdev, M_CAN_RXF0S); in m_can_do_rx_poll()
573 if (!(rxfs & RXFS_FFL_MASK)) { in m_can_do_rx_poll()
578 rx_count = FIELD_GET(RXFS_FFL_MASK, rxfs); in m_can_do_rx_poll()
579 fgi = FIELD_GET(RXFS_FGI_MASK, rxfs); in m_can_do_rx_poll()

Completed in 6 milliseconds