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()
1737 struct TxFD *txfd; in tc35815_txdone() local
1740 txfd = &lp->tfd_base[lp->tfd_end]; in tc35815_txdone()
1742 !((fdctl = le32_to_cpu(txfd->fd.FDCtl)) & FD_CownsFD)) { in tc35815_txdone()
1743 int status = le32_to_cpu(txfd->fd.FDStat); in tc35815_txdone()
1745 unsigned long fdnext = le32_to_cpu(txfd->fd.FDNext); in tc35815_txdone()
1746 u32 fdsystem = le32_to_cpu(txfd->fd.FDSystem); in tc35815_txdone()
1750 dump_txfd(txfd); in tc35815_txdone()
1773 txfd->fd.FDSystem = cpu_to_le32(0xffffffff); in tc35815_txdone()
1776 txfd = &lp->tfd_base[lp->tfd_end]; in tc35815_txdone()
1778 if ((fdnext & ~FD_Next_EOL) != fd_virt_to_bus(lp, txfd)) { in tc35815_txdone()
1794 if (!(le32_to_cpu(txfd->fd.FDCtl) & FD_CownsFD)) { in tc35815_txdone()
1810 dump_txfd(txfd); in tc35815_txdone()
1812 tc_writel(fd_virt_to_bus(lp, txfd), &tr->TxFrmPtr); in tc35815_txdone()