Lines Matching refs:tx_cmd
199 struct tx_cmd {
309 struct tx_cmd tx_cmds[TX_RING_SIZE] __attribute__((aligned(32)));
837 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr;
838 struct sk_buff *skb = tx_cmd->skb;
840 tx_cmd->dma_addr,
850 tx_cmd->cmd.command = 0; /* Mark as free */
999 struct tx_cmd *tx_cmd;
1015 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd;
1018 if (tx_cmd->cmd.command) {
1028 tx_cmd->tbd = SWAP32(virt_to_dma(lp, tbd));
1031 tx_cmd->cmd.command = SWAP16(CMD_FLEX | CmdTx);
1032 tx_cmd->skb = skb;
1034 tx_cmd->pad = 0;
1035 tx_cmd->size = 0;
1039 tx_cmd->dma_addr = dma_map_single(dev->dev.parent, skb->data,
1041 tbd->data = SWAP32(tx_cmd->dma_addr);
1044 dma_sync_dev(dev, tx_cmd, sizeof(struct tx_cmd));
1046 i596_add_cmd(dev, &tx_cmd->cmd);
1083 BUILD_BUG_ON(sizeof(struct tx_cmd) & 31);
1188 struct tx_cmd *tx_cmd = (struct tx_cmd *) ptr;
1189 struct sk_buff *skb = tx_cmd->skb;
1208 tx_cmd->dma_addr,
1212 tx_cmd->cmd.command = 0; /* Mark free */