Lines Matching defs:cons_idx
37 return bd_chain->cons_idx;
235 bd_chain->cons_idx = 0;
305 bd_chain->cons_idx = 0;
570 u16_t cons_idx = 0;
574 cons_idx = bd_chain->cons_idx - bd_chain->num_bd_to_sub;
575 if((cons_idx & bd_chain->usable_bds_mask) == bd_chain->usable_bds_mask) {
576 lm_bd_advance_page(bd_chain, &bd_chain->cons_idx);
581 bd_chain->cons_idx++;
590 u16_t cons_idx = 0;
597 bd_chain->cons_idx++;
600 cons_idx = bd_chain->cons_idx - bd_chain->num_bd_to_sub;
601 if((cons_idx & bd_chain->usable_bds_mask) == bd_chain->usable_bds_mask) {
602 lm_bd_advance_page(bd_chain, &bd_chain->cons_idx);
617 u16_t cons_idx = 0;
621 cons_idx = bd_chain->cons_idx - bd_chain->num_bd_to_sub;
622 if((cons_idx & bd_chain->usable_bds_mask) == bd_chain->usable_bds_mask) {
623 lm_bd_advance_page(bd_chain, &bd_chain->cons_idx);
631 bd_chain->cons_idx++;