Lines Matching refs:index
336 int index = 0;
346 index,
352 txq->tx_skbuff[index]);
354 index++;
393 unsigned int index;
430 index = fec_enet_get_bd_index(bdp, &txq->bd);
433 memcpy(txq->tx_bounce[index], bufaddr, frag_len);
434 bufaddr = txq->tx_bounce[index];
479 unsigned int index;
506 index = fec_enet_get_bd_index(bdp, &txq->bd);
509 memcpy(txq->tx_bounce[index], skb->data, buflen);
510 bufaddr = txq->tx_bounce[index];
563 index = fec_enet_get_bd_index(last_bdp, &txq->bd);
565 txq->tx_skbuff[index] = skb;
598 struct bufdesc *bdp, int index, char *data,
614 memcpy(txq->tx_bounce[index], data, size);
615 data = txq->tx_bounce[index];
658 struct bufdesc *bdp, int index)
672 bufaddr = txq->tso_hdrs + index * TSO_HEADER_SIZE;
673 dmabuf = txq->tso_hdrs_dma + index * TSO_HEADER_SIZE;
676 memcpy(txq->tx_bounce[index], skb->data, hdr_len);
677 bufaddr = txq->tx_bounce[index];
717 unsigned int index = 0;
740 index = fec_enet_get_bd_index(bdp, &txq->bd);
745 hdr = txq->tso_hdrs + index * TSO_HEADER_SIZE;
747 ret = fec_enet_txq_put_hdr_tso(txq, skb, ndev, bdp, index);
756 index = fec_enet_get_bd_index(bdp, &txq->bd);
758 bdp, index,
773 txq->tx_skbuff[index] = skb;
1246 int index = 0;
1266 index = fec_enet_get_bd_index(bdp, &txq->bd);
1268 skb = txq->tx_skbuff[index];
1269 txq->tx_skbuff[index] = NULL;
1422 int index = 0;
1475 index = fec_enet_get_bd_index(bdp, &rxq->bd);
1476 skb = rxq->rx_skbuff[index];
1561 rxq->rx_skbuff[index] = skb_new;