Searched refs:cur_epid (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/fjes/
H A Dfjes_main.c939 int max_epid, cur_epid; fjes_rxframe_search_exist() local
946 cur_epid = (start_epid + i) % max_epid; fjes_rxframe_search_exist()
947 if (cur_epid == hw->my_epid) fjes_rxframe_search_exist()
950 pstatus = fjes_hw_get_partner_ep_status(hw, cur_epid); fjes_rxframe_search_exist()
953 &hw->ep_shm_info[cur_epid].rx)) fjes_rxframe_search_exist()
954 return cur_epid; fjes_rxframe_search_exist()
961 int *cur_epid) fjes_rxframe_get()
965 *cur_epid = fjes_rxframe_search_exist(adapter, *cur_epid); fjes_rxframe_get()
966 if (*cur_epid < 0) fjes_rxframe_get()
971 &adapter->hw.ep_shm_info[*cur_epid].rx, psize); fjes_rxframe_get()
976 static void fjes_rxframe_release(struct fjes_adapter *adapter, int cur_epid) fjes_rxframe_release() argument
978 fjes_hw_epbuf_rx_curpkt_drop(&adapter->hw.ep_shm_info[cur_epid].rx); fjes_rxframe_release()
999 int cur_epid = 0; fjes_poll() local
1014 frame = fjes_rxframe_get(adapter, &frame_len, &cur_epid); fjes_poll()
1020 hw->ep_shm_info[cur_epid].net_stats fjes_poll()
1023 hw->ep_shm_info[cur_epid].net_stats fjes_poll()
1036 hw->ep_shm_info[cur_epid].net_stats fjes_poll()
1039 hw->ep_shm_info[cur_epid].net_stats fjes_poll()
1045 hw->ep_shm_info[cur_epid].net_stats fjes_poll()
1050 fjes_rxframe_release(adapter, cur_epid); fjes_poll()
960 fjes_rxframe_get(struct fjes_adapter *adapter, size_t *psize, int *cur_epid) fjes_rxframe_get() argument

Completed in 83 milliseconds