Lines Matching refs:tx_pos
1083 * Can I move tx_pos by size bytes without getting closer than TX_GAP
1087 if (!NEPMOK(tx->tx_pos,size+TX_GAP,
1105 DPRINTK("dma_wr is %d, tx_pos is %ld\n",dma_wr,tx->tx_pos);
1120 eni_dev->dma[j++] = (((tx->tx_pos+TX_DESCR_SIZE) & (tx->words-1)) <<
1145 eni_dev->dma[j++] = (((tx->tx_pos+size) & (tx->words-1)) <<
1154 (size/(ATM_CELL_PAYLOAD/4)),tx->send+tx->tx_pos*4);
1155 /*printk("dsc = 0x%08lx\n",(unsigned long) readl(tx->send+tx->tx_pos*4));*/
1159 tx->send+((tx->tx_pos+1) & (tx->words-1))*4);
1163 ((tx->tx_pos+size-AAL5_TRAILER) & (tx->words-1))*4);
1170 ENI_PRV_POS(skb) = tx->tx_pos;
1173 tx->tx_pos = (tx->tx_pos+size) & (tx->words-1);
1174 DPRINTK("dma_wr set to %d, tx_pos is now %ld\n",dma_wr,tx->tx_pos);
1337 tx->tx_pos = eni_in(MID_TX_DESCRSTART(tx->index)) &