Lines Matching refs:cur_epid
1048 int max_epid, cur_epid; in fjes_rxframe_search_exist() local
1055 cur_epid = (start_epid + i) % max_epid; in fjes_rxframe_search_exist()
1056 if (cur_epid == hw->my_epid) in fjes_rxframe_search_exist()
1059 pstatus = fjes_hw_get_partner_ep_status(hw, cur_epid); in fjes_rxframe_search_exist()
1062 &hw->ep_shm_info[cur_epid].rx)) in fjes_rxframe_search_exist()
1063 return cur_epid; in fjes_rxframe_search_exist()
1070 int *cur_epid) in fjes_rxframe_get() argument
1074 *cur_epid = fjes_rxframe_search_exist(adapter, *cur_epid); in fjes_rxframe_get()
1075 if (*cur_epid < 0) in fjes_rxframe_get()
1080 &adapter->hw.ep_shm_info[*cur_epid].rx, psize); in fjes_rxframe_get()
1085 static void fjes_rxframe_release(struct fjes_adapter *adapter, int cur_epid) in fjes_rxframe_release() argument
1087 fjes_hw_epbuf_rx_curpkt_drop(&adapter->hw.ep_shm_info[cur_epid].rx); in fjes_rxframe_release()
1108 int cur_epid = 0; in fjes_poll() local
1127 frame = fjes_rxframe_get(adapter, &frame_len, &cur_epid); in fjes_poll()
1133 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1136 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1148 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1151 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1157 hw->ep_shm_info[cur_epid].net_stats in fjes_poll()
1162 fjes_rxframe_release(adapter, cur_epid); in fjes_poll()