Lines Matching refs:current_tx_ptr
74 static struct net_dma_desc_tx *current_tx_ptr;
185 current_tx_ptr = tx_list_head;
946 if (current_tx_ptr->next == tx_list_head) {
963 if (current_tx_ptr->next != tx_list_head &&
967 if (tx_list_head != current_tx_ptr) {
996 current_tx_ptr->skb = skb;
999 /* move skb->data to current_tx_ptr payload */
1011 current_tx_ptr->desc_a.start_addr = (u32)data;
1016 *((u16 *)(current_tx_ptr->packet)) = (u16)(skb->len);
1019 *((u16 *)(current_tx_ptr->packet)) |= 0x1000;
1020 memcpy((u8 *)(current_tx_ptr->packet + 2), skb->data,
1022 current_tx_ptr->desc_a.start_addr =
1023 (u32)current_tx_ptr->packet;
1025 (u32)current_tx_ptr->packet,
1026 (u32)(current_tx_ptr->packet + skb->len + 2));
1036 current_tx_ptr->status.status_word = 0;
1039 current_tx_ptr->desc_a.config |= DMAEN;
1046 bfin_write_DMA2_NEXT_DESC_PTR(&(current_tx_ptr->desc_a));
1048 bfin_write_DMA2_CONFIG(current_tx_ptr->desc_a.config);
1055 current_tx_ptr = current_tx_ptr->next;
1261 while (tx_list_head != current_tx_ptr) {