Lines Matching refs:cur_epid
913 int max_epid, cur_epid; in fjes_rxframe_search_exist() local
920 cur_epid = (start_epid + i) % max_epid; in fjes_rxframe_search_exist()
921 if (cur_epid == hw->my_epid) in fjes_rxframe_search_exist()
924 pstatus = fjes_hw_get_partner_ep_status(hw, cur_epid); in fjes_rxframe_search_exist()
927 &hw->ep_shm_info[cur_epid].rx)) in fjes_rxframe_search_exist()
928 return cur_epid; in fjes_rxframe_search_exist()
935 int *cur_epid) in fjes_rxframe_get() argument
939 *cur_epid = fjes_rxframe_search_exist(adapter, *cur_epid); in fjes_rxframe_get()
940 if (*cur_epid < 0) in fjes_rxframe_get()
945 &adapter->hw.ep_shm_info[*cur_epid].rx, psize); in fjes_rxframe_get()
950 static void fjes_rxframe_release(struct fjes_adapter *adapter, int cur_epid) in fjes_rxframe_release() argument
952 fjes_hw_epbuf_rx_curpkt_drop(&adapter->hw.ep_shm_info[cur_epid].rx); in fjes_rxframe_release()
963 int cur_epid = 0; in fjes_poll() local
982 frame = fjes_rxframe_get(adapter, &frame_len, &cur_epid); in fjes_poll()
988 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
991 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1003 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1006 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1012 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1017 fjes_rxframe_release(adapter, cur_epid); in fjes_poll()