Home
last modified time | relevance | path

Searched refs:new_wr_idx (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c85 unsigned int old_rl_idx, new_wr_idx, old_wr_idx; in t7xx_dpmaif_update_bat_wr_idx() local
94 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()
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_venus.c167 u32 dwords, new_wr_idx; in venus_write_queue() local
206 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()