Searched refs:rx_cmds (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/apple/
H A Dmace.c51 volatile struct dbdma_cmd *rx_cmds; /* recv dma command list */ member in struct:mace_data
196 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; mace_probe()
444 memset((char *)mp->rx_cmds, 0, N_RX_RING * sizeof(struct dbdma_cmd)); mace_open()
445 cp = mp->rx_cmds; mace_open()
469 cp->cmd_dep = cpu_to_le32(virt_to_bus(mp->rx_cmds)); mace_open()
473 out_le32(&rd->cmdptr, virt_to_bus(mp->rx_cmds)); mace_open()
891 cp = mp->rx_cmds + i; mace_rxdma_intr()
897 np = mp->rx_cmds + next; mace_rxdma_intr()
956 cp = mp->rx_cmds + i; mace_rxdma_intr()
H A Dbmac.c70 volatile struct dbdma_cmd *rx_cmds; /* recv dma command list */ member in struct:bmac_data
618 memset((char *)bp->rx_cmds, 0, bmac_init_rx_ring()
626 bmac_construct_rxbuff(skb, &bp->rx_cmds[i]); bmac_init_rx_ring()
633 dbdma_setcmd(&bp->rx_cmds[N_RX_RING], bmac_init_rx_ring()
634 (DBDMA_NOP | BR_ALWAYS), 0, 0, virt_to_bus(bp->rx_cmds)); bmac_init_rx_ring()
638 out_le32(&rd->cmdptr, virt_to_bus(bp->rx_cmds)); bmac_init_rx_ring()
701 cp = &bp->rx_cmds[i]; bmac_rxdma_intr()
730 bmac_construct_rxbuff(skb, &bp->rx_cmds[i]); bmac_rxdma_intr()
1321 bp->rx_cmds = bp->tx_cmds + N_TX_RING + 1; bmac_probe()
1323 bp->queue = (struct sk_buff_head *)(bp->rx_cmds + N_RX_RING + 1); bmac_probe()

Completed in 163 milliseconds