Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c239 unsigned int old_rel_idx, new_rel_idx, hw_wr_idx; in t7xx_dpmaifq_release_pit_entry() local
251 new_rel_idx = old_rel_idx + rel_entry_num; in t7xx_dpmaifq_release_pit_entry()
253 if (hw_wr_idx < old_rel_idx && new_rel_idx >= rxq->pit_size_cnt) in t7xx_dpmaifq_release_pit_entry()
254 new_rel_idx -= rxq->pit_size_cnt; in t7xx_dpmaifq_release_pit_entry()
262 rxq->pit_release_rd_idx = new_rel_idx; in t7xx_dpmaifq_release_pit_entry()
504 unsigned int old_rel_idx, new_rel_idx, hw_rd_idx, i; in t7xx_dpmaif_release_bat_entry() local
523 new_rel_idx = old_rel_idx + rel_entry_num; in t7xx_dpmaif_release_bat_entry()
530 if (new_rel_idx > hw_rd_idx) in t7xx_dpmaif_release_bat_entry()
534 if (new_rel_idx >= bat->bat_size_cnt) { in t7xx_dpmaif_release_bat_entry()
535 new_rel_idx -= bat->bat_size_cnt; in t7xx_dpmaif_release_bat_entry()
[all …]