Searched refs:bat_max_cnt (Results 1 – 1 of 1) sorted by relevance
169 unsigned int i, bat_cnt, bat_max_cnt, bat_start_idx; in t7xx_dpmaif_rx_buf_alloc() local176 bat_max_cnt = bat_req->bat_size_cnt; in t7xx_dpmaif_rx_buf_alloc()178 bat_cnt = t7xx_ring_buf_rd_wr_count(bat_max_cnt, bat_req->bat_release_rd_idx, in t7xx_dpmaif_rx_buf_alloc()190 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()