Lines Matching refs:txfd
1264 struct TxFD *txfd; in tc35815_send_packet() local
1305 txfd = &lp->tfd_base[lp->tfd_start]; in tc35815_send_packet()
1306 txfd->bd.BuffData = cpu_to_le32(lp->tx_skbs[lp->tfd_start].skb_dma); in tc35815_send_packet()
1307 txfd->bd.BDCtl = cpu_to_le32(skb->len); in tc35815_send_packet()
1308 txfd->fd.FDSystem = cpu_to_le32(lp->tfd_start); in tc35815_send_packet()
1309 txfd->fd.FDCtl = cpu_to_le32(FD_CownsFD | (1 << FD_BDCnt_SHIFT)); in tc35815_send_packet()
1315 txfd->fd.FDNext |= cpu_to_le32(FD_Next_EOL); in tc35815_send_packet()
1316 txfd->fd.FDCtl |= cpu_to_le32(FD_FrmOpt_IntTx); in tc35815_send_packet()
1319 dump_txfd(txfd); in tc35815_send_packet()
1321 tc_writel(fd_virt_to_bus(lp, txfd), &tr->TxFrmPtr); in tc35815_send_packet()
1323 txfd->fd.FDNext &= cpu_to_le32(~FD_Next_EOL); in tc35815_send_packet()
1326 dump_txfd(txfd); in tc35815_send_packet()
1733 struct TxFD *txfd; in tc35815_txdone() local
1736 txfd = &lp->tfd_base[lp->tfd_end]; in tc35815_txdone()
1738 !((fdctl = le32_to_cpu(txfd->fd.FDCtl)) & FD_CownsFD)) { in tc35815_txdone()
1739 int status = le32_to_cpu(txfd->fd.FDStat); in tc35815_txdone()
1741 unsigned long fdnext = le32_to_cpu(txfd->fd.FDNext); in tc35815_txdone()
1742 u32 fdsystem = le32_to_cpu(txfd->fd.FDSystem); in tc35815_txdone()
1746 dump_txfd(txfd); in tc35815_txdone()
1769 txfd->fd.FDSystem = cpu_to_le32(0xffffffff); in tc35815_txdone()
1772 txfd = &lp->tfd_base[lp->tfd_end]; in tc35815_txdone()
1774 if ((fdnext & ~FD_Next_EOL) != fd_virt_to_bus(lp, txfd)) { in tc35815_txdone()
1790 if (!(le32_to_cpu(txfd->fd.FDCtl) & FD_CownsFD)) { in tc35815_txdone()
1806 dump_txfd(txfd); in tc35815_txdone()
1808 tc_writel(fd_virt_to_bus(lp, txfd), &tr->TxFrmPtr); in tc35815_txdone()