Searched refs:new_rel_idx (Results 1 – 1 of 1) sorted by relevance
239 unsigned int old_rel_idx, new_rel_idx, hw_wr_idx; in t7xx_dpmaifq_release_pit_entry() local251 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() local523 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 …]