Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Docteon_mem_ops.c44 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastwrite() argument
47 while ((len) && ((unsigned long)mapped_addr) & 7) { in octeon_pci_fastwrite()
48 writeb(*(hostbuf++), mapped_addr++); in octeon_pci_fastwrite()
55 writeq(*((u64 *)hostbuf), mapped_addr); in octeon_pci_fastwrite()
56 mapped_addr += 8; in octeon_pci_fastwrite()
64 writeb(*(hostbuf++), mapped_addr++); in octeon_pci_fastwrite()
68 octeon_pci_fastread(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastread() argument
71 while ((len) && ((unsigned long)mapped_addr) & 7) { in octeon_pci_fastread()
72 *(hostbuf++) = readb(mapped_addr++); in octeon_pci_fastread()
79 *((u64 *)hostbuf) = readq(mapped_addr); in octeon_pci_fastread()
[all …]
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1265 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() argument
1269 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
1273 txd->txd3 = mapped_addr; in setup_tx_buf()
1275 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf()
1279 txd->txd1 = mapped_addr; in setup_tx_buf()
1281 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()