Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/apple/
Dmace.c50 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ member
196 mp->tx_cmds = (volatile struct dbdma_cmd *) DBDMA_ALIGN(mp + 1); in mace_probe()
197 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe()
199 memset((char *) mp->tx_cmds, 0, in mace_probe()
482 cp = mp->tx_cmds + NCMDS_TX * N_TX_RING; in mace_open()
484 cp->cmd_dep = cpu_to_le32(virt_to_bus(mp->tx_cmds)); in mace_open()
488 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds)); in mace_open()
563 cp = mp->tx_cmds + NCMDS_TX * fill; in mace_xmit_start()
567 np = mp->tx_cmds + NCMDS_TX * next; in mace_xmit_start()
729 cp = mp->tx_cmds + NCMDS_TX * i; in mace_interrupt()
[all …]
Dbmac.c65 volatile struct dbdma_cmd *tx_cmds; /* xmit dma command list */ member
584 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
591 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring()
592 (DBDMA_NOP | BR_ALWAYS), 0, 0, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
597 out_le32(&td->cmdptr, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
654 dbdma_setcmd(&bp->tx_cmds[i], DBDMA_STOP, 0, 0, 0); in bmac_transmit_packet()
656 bmac_construct_xmt(skb, &bp->tx_cmds[bp->tx_fill]); in bmac_transmit_packet()
762 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-6.1.9/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
1016 tx_cmd = lp->dma->tx_cmds + lp->next_tx_cmd; in i596_start_xmit()