Searched refs:EP_RING_INDEX (Results 1 – 2 of 2) sorted by relevance
71 #define EP_RING_INDEX(_num, _max) (((_num) + (_max)) % (_max)) macro73 ((_num) = EP_RING_INDEX((_num) + 1, (_max)))75 (0 == EP_RING_INDEX(((_tail) - (_head)), (_max)))77 (1 == EP_RING_INDEX(((_tail) - (_head)), (_max)))
928 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()