Searched refs:cur_bat_idx (Results 1 – 1 of 1) sorted by relevance
222 unsigned int cur_bat_idx = bat_start_idx + i; in t7xx_dpmaif_rx_buf_alloc() local226 if (cur_bat_idx >= bat_max_cnt) in t7xx_dpmaif_rx_buf_alloc()227 cur_bat_idx -= bat_max_cnt; in t7xx_dpmaif_rx_buf_alloc()229 cur_skb = (struct dpmaif_bat_skb *)bat_req->bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_buf_alloc()234 cur_bat = (struct dpmaif_bat *)bat_req->bat_base + cur_bat_idx; in t7xx_dpmaif_rx_buf_alloc()358 unsigned int buf_space, cur_bat_idx = bat_req->bat_wr_idx; in t7xx_dpmaif_rx_frag_alloc() local375 struct dpmaif_bat_page *cur_page = bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()406 cur_bat = (struct dpmaif_bat *)bat_req->bat_base + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()409 cur_bat_idx = t7xx_ring_buf_get_next_wr_idx(bat_req->bat_size_cnt, cur_bat_idx); in t7xx_dpmaif_rx_frag_alloc()412 bat_req->bat_wr_idx = cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()