Lines Matching defs:tx_pos
74 u32 tx_pos;
102 tx_pos = comm->tx_pos;
103 txdesc = &comm->tx_desc[tx_pos];
104 skbinfo = &comm->tx_temp_skb_info[tx_pos];
114 if (tx_pos == (TX_DESC_NUM - 1))
122 /* Move tx_pos to next position */
123 tx_pos = ((tx_pos + 1) == TX_DESC_NUM) ? 0 : tx_pos + 1;
125 if (unlikely(tx_pos == comm->tx_done_pos)) {
129 comm->tx_pos = tx_pos;