Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/fjes/
Dfjes_hw.h71 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max)) macro
73 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))
75 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
77 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
Dfjes_hw.c928 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_rx_curpkt_get_addr()
959 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_tx_pkt_send()