Lines Matching refs:cur_index
502 unsigned int start_index, cur_index;
513 cur_index = ring->cur;
529 cur_index++;
530 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index);
544 cur_index, &skb_dma, pkt_info->header_len);
550 cur_index++;
551 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index);
568 cur_index, &skb_dma, len);
575 cur_index++;
576 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index);
602 cur_index, &skb_dma, len);
609 cur_index++;
610 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index);
616 * piece of mapped data - use the entry pointed to by cur_index - 1.
618 desc_data = XLGMAC_GET_DESC_DATA(ring, cur_index - 1);
622 pkt_info->desc_count = cur_index - start_index;
627 while (start_index < cur_index) {