Searched refs:new_wr_idx (Results 1 – 2 of 2) sorted by relevance
85 unsigned int old_rl_idx, new_wr_idx, old_wr_idx; in t7xx_dpmaif_update_bat_wr_idx() local94 new_wr_idx = old_wr_idx + bat_cnt; in t7xx_dpmaif_update_bat_wr_idx()96 if (old_rl_idx > old_wr_idx && new_wr_idx >= old_rl_idx) in t7xx_dpmaif_update_bat_wr_idx()99 if (new_wr_idx >= bat_req->bat_size_cnt) { in t7xx_dpmaif_update_bat_wr_idx()100 new_wr_idx -= bat_req->bat_size_cnt; in t7xx_dpmaif_update_bat_wr_idx()101 if (new_wr_idx >= old_rl_idx) in t7xx_dpmaif_update_bat_wr_idx()105 bat_req->bat_wr_idx = new_wr_idx; in t7xx_dpmaif_update_bat_wr_idx()
167 u32 dwords, new_wr_idx; in venus_write_queue() local206 new_wr_idx = wr_idx + dwords; in venus_write_queue()213 if (new_wr_idx < qsize) { in venus_write_queue()218 new_wr_idx -= qsize; in venus_write_queue()219 len = (dwords - new_wr_idx) << 2; in venus_write_queue()221 memcpy(queue->qmem.kva, packet + len, new_wr_idx << 2); in venus_write_queue()227 qhdr->write_idx = new_wr_idx; in venus_write_queue()