Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cavium/liquidio/
H A 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 …]
/linux/Documentation/driver-api/cxl/allocation/
H A Ddax.rst31 void* mapped_addr;
41 mapped_addr = mmap(NULL, DEVICE_SIZE, PROT_READ | PROT_WRITE,
43 if (mapped_addr == MAP_FAILED) {
49 printf("Mapped address: %p\n", mapped_addr);
52 uint64_t* ptr = (uint64_t*)mapped_addr;
57 munmap(mapped_addr, DEVICE_SIZE);
/linux/arch/x86/kernel/
H A Dshstk.c105 unsigned long mapped_addr, unused; in alloc_shstk() local
111 mapped_addr = do_mmap(NULL, addr, size, PROT_READ, flags, in alloc_shstk()
115 if (!set_res_tok || IS_ERR_VALUE(mapped_addr)) in alloc_shstk()
118 if (create_rstor_token(mapped_addr + token_offset, NULL)) { in alloc_shstk()
119 vm_munmap(mapped_addr, size); in alloc_shstk()
124 return mapped_addr; in alloc_shstk()
/linux/include/rdma/
H A Diw_portmap.h59 struct sockaddr_storage *mapped_addr, u8 nl_client,
62 struct sockaddr_storage *mapped_addr);
/linux/arch/arm64/mm/
H A Dgcs.c17 unsigned long mapped_addr, unused; in alloc_gcs() local
23 mapped_addr = do_mmap(NULL, addr, size, PROT_READ, flags, in alloc_gcs()
27 return mapped_addr; in alloc_gcs()
/linux/mm/
H A Dmmap.c105 unsigned long mapped_addr; in check_brk_limits() local
107 mapped_addr = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); in check_brk_limits()
108 if (IS_ERR_VALUE(mapped_addr)) in check_brk_limits()
109 return mapped_addr; in check_brk_limits()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1440 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() argument
1444 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
1448 txd->txd3 = mapped_addr; in setup_tx_buf()
1450 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf()
1454 txd->txd1 = mapped_addr; in setup_tx_buf()
1456 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()