Searched refs:EP_RING_INDEX (Results 1 – 2 of 2) sorted by relevance
56 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max)) macro58 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))60 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))62 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
913 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_rx_curpkt_get_addr()944 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_tx_pkt_send()