Searched refs:tx_cmds (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/apple/ |
D | mace.c | 50 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ member 195 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe() 196 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe() 198 memset((char *) mp->tx_cmds, 0, in mace_probe() 477 cp = mp->tx_cmds + NCMDS_TX * N_TX_RING; in mace_open() 479 cp->cmd_dep = cpu_to_le32(virt_to_bus(mp->tx_cmds)); in mace_open() 483 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds)); in mace_open() 560 cp = mp->tx_cmds + NCMDS_TX * fill; in mace_xmit_start() 564 np = mp->tx_cmds + NCMDS_TX * next; in mace_xmit_start() 726 cp = mp->tx_cmds + NCMDS_TX * i; in mace_interrupt() [all …]
|
D | bmac.c | 69 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ member 593 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring() 600 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring() 601 (DBDMA_NOP | BR_ALWAYS), 0, 0, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring() 606 out_le32(&td->cmdptr, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring() 663 dbdma_setcmd(&bp->tx_cmds[i], DBDMA_STOP, 0, 0, 0); in bmac_transmit_packet() 665 bmac_construct_xmt(skb, &bp->tx_cmds[bp->tx_fill]); in bmac_transmit_packet() 771 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr() 1320 bp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(bp + 1); in bmac_probe() 1321 bp->rx_cmds = bp->tx_cmds + N_TX_RING + 1; in bmac_probe() [all …]
|
/drivers/net/ethernet/i825xx/ |
D | 82596.c | 334 struct tx_cmd tx_cmds[TX_RING_SIZE]; member 1066 tx_cmd = lp->tx_cmds + lp->next_tx_cmd; in i596_start_xmit()
|
D | lib82596.c | 310 struct tx_cmd tx_cmds[TX_RING_SIZE] __attribute__((aligned(32))); member 987 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd; in i596_start_xmit()
|