Home
last modified time | relevance | path

Searched refs:tx_cmds (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/apple/
Dmace.c50 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ member
194 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe()
195 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe()
197 memset((char *) mp->tx_cmds, 0, in mace_probe()
476 cp = mp->tx_cmds + NCMDS_TX * N_TX_RING; in mace_open()
478 cp->cmd_dep = cpu_to_le32(virt_to_bus(mp->tx_cmds)); in mace_open()
482 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds)); in mace_open()
557 cp = mp->tx_cmds + NCMDS_TX * fill; in mace_xmit_start()
561 np = mp->tx_cmds + NCMDS_TX * next; in mace_xmit_start()
723 cp = mp->tx_cmds + NCMDS_TX * i; in mace_interrupt()
[all …]
Dbmac.c65 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ member
587 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
594 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring()
595 (DBDMA_NOP | BR_ALWAYS), 0, 0, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
600 out_le32(&td->cmdptr, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
657 dbdma_setcmd(&bp->tx_cmds[i], DBDMA_STOP, 0, 0, 0); in bmac_transmit_packet()
659 bmac_construct_xmt(skb, &bp->tx_cmds[bp->tx_fill]); in bmac_transmit_packet()
765 cp = &bp->tx_cmds[bp->tx_empty]; in bmac_txdma_intr()
1312 bp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(bp + 1); in bmac_probe()
1313 bp->rx_cmds = bp->tx_cmds + N_TX_RING + 1; in bmac_probe()
[all …]
/Linux-v4.19/drivers/net/ethernet/i825xx/
D82596.c334 struct tx_cmd tx_cmds[TX_RING_SIZE]; member
1067 tx_cmd = lp->tx_cmds + lp->next_tx_cmd; in i596_start_xmit()
Dlib82596.c310 struct tx_cmd tx_cmds[TX_RING_SIZE] __attribute__((aligned(32))); member
988 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd; in i596_start_xmit()