Searched refs:cpu_to_dma (Results 1 – 1 of 1) sorted by relevance
141 #define cpu_to_dma(x) cpu_to_le64(x) macro150 #define cpu_to_dma(x) cpu_to_le32(x) macro1153 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); in init_ring()1165 np->rx_ring[RX_RING_SIZE - 1].rxaddr |= cpu_to_dma(RxDescEndRing); in init_ring()1243 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()1606 cpu_to_dma(np->rx_info[entry].mapping | RxDescValid); in refill_rx_ring()1609 np->rx_ring[entry].rxaddr |= cpu_to_dma(RxDescEndRing); in refill_rx_ring()1971 np->rx_ring[i].rxaddr = cpu_to_dma(0xBADF00D0); /* An invalid address. */ in netdev_close()