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) macro1145 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); in init_ring()1157 np->rx_ring[RX_RING_SIZE - 1].rxaddr |= cpu_to_dma(RxDescEndRing); in init_ring()1235 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); in start_tx()1598 cpu_to_dma(np->rx_info[entry].mapping | RxDescValid); in refill_rx_ring()1601 np->rx_ring[entry].rxaddr |= cpu_to_dma(RxDescEndRing); in refill_rx_ring()1963 np->rx_ring[i].rxaddr = cpu_to_dma(0xBADF00D0); /* An invalid address. */ in netdev_close()