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

/linux-4.4.14/drivers/net/ethernet/adaptec/
H A Dstarfire.c143 #define cpu_to_dma(x) cpu_to_le64(x) macro
152 #define cpu_to_dma(x) cpu_to_le32(x) macro
1157 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); init_ring()
1169 np->rx_ring[RX_RING_SIZE - 1].rxaddr |= cpu_to_dma(RxDescEndRing); init_ring()
1239 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); start_tx()
1574 cpu_to_dma(np->rx_info[entry].mapping | RxDescValid); refill_rx_ring()
1577 np->rx_ring[entry].rxaddr |= cpu_to_dma(RxDescEndRing); refill_rx_ring()
1938 np->rx_ring[i].rxaddr = cpu_to_dma(0xBADF00D0); /* An invalid address. */ netdev_close()

Completed in 74 milliseconds