Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c275 unsigned int old_rel_idx, new_rel_idx, hw_wr_idx; in t7xx_dpmaifq_release_pit_entry() local
287 new_rel_idx = old_rel_idx + rel_entry_num; in t7xx_dpmaifq_release_pit_entry()
289 if (hw_wr_idx < old_rel_idx && new_rel_idx >= rxq->pit_size_cnt) in t7xx_dpmaifq_release_pit_entry()
290 new_rel_idx -= rxq->pit_size_cnt; in t7xx_dpmaifq_release_pit_entry()
298 rxq->pit_release_rd_idx = new_rel_idx; in t7xx_dpmaifq_release_pit_entry()
540 unsigned int old_rel_idx, new_rel_idx, hw_rd_idx, i; in t7xx_dpmaif_release_bat_entry() local
559 new_rel_idx = old_rel_idx + rel_entry_num; in t7xx_dpmaif_release_bat_entry()
566 if (new_rel_idx > hw_rd_idx) in t7xx_dpmaif_release_bat_entry()
570 if (new_rel_idx >= bat->bat_size_cnt) { in t7xx_dpmaif_release_bat_entry()
571 new_rel_idx -= bat->bat_size_cnt; in t7xx_dpmaif_release_bat_entry()
[all …]