Searched refs:cpu_to_dma (Results 1 – 1 of 1) sorted by relevance
151 #define cpu_to_dma(x) cpu_to_le64(x) macro160 #define cpu_to_dma(x) cpu_to_le32(x) macro1197 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); in init_ring()1209 np->rx_ring[RX_RING_SIZE - 1].rxaddr |= cpu_to_dma(RxDescEndRing); in init_ring()1276 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()1616 cpu_to_dma(np->rx_info[entry].mapping | RxDescValid); in refill_rx_ring()1619 np->rx_ring[entry].rxaddr |= cpu_to_dma(RxDescEndRing); in refill_rx_ring()1975 np->rx_ring[i].rxaddr = cpu_to_dma(0xBADF00D0); /* An invalid address. */ in netdev_close()