Searched refs:cur_bat_idx (Results 1 – 1 of 1) sorted by relevance
186 unsigned int cur_bat_idx = bat_start_idx + i; in t7xx_dpmaif_rx_buf_alloc() local190 if (cur_bat_idx >= bat_max_cnt) in t7xx_dpmaif_rx_buf_alloc()191 cur_bat_idx -= bat_max_cnt; in t7xx_dpmaif_rx_buf_alloc()193 cur_skb = (struct dpmaif_bat_skb *)bat_req->bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_buf_alloc()198 cur_bat = (struct dpmaif_bat *)bat_req->bat_base + cur_bat_idx; in t7xx_dpmaif_rx_buf_alloc()322 unsigned int buf_space, cur_bat_idx = bat_req->bat_wr_idx; in t7xx_dpmaif_rx_frag_alloc() local339 struct dpmaif_bat_page *cur_page = bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()370 cur_bat = (struct dpmaif_bat *)bat_req->bat_base + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()373 cur_bat_idx = t7xx_ring_buf_get_next_wr_idx(bat_req->bat_size_cnt, cur_bat_idx); in t7xx_dpmaif_rx_frag_alloc()376 bat_req->bat_wr_idx = cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()