Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 – 6 of 6) 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.c103 unsigned long mapped_addr; in alloc_shstk()
105 mapped_addr = vm_mmap_shadow_stack(addr, size, MAP_ABOVE4G); in alloc_shstk() local
107 if (!set_res_tok || IS_ERR_VALUE(mapped_addr)) in alloc_shstk()
110 if (create_rstor_token(mapped_addr + token_offset, NULL)) { in alloc_shstk()
111 vm_munmap(mapped_addr, size); in alloc_shstk()
116 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/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.c1462 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in mtk_tx_set_dma_desc_v1()
1466 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in mtk_tx_set_dma_desc_v1()
1470 txd->txd3 = mapped_addr; in mtk_tx_set_dma_desc_v1()
1472 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in mtk_tx_set_dma_desc_v1()
1476 txd->txd1 = mapped_addr; in mtk_tx_set_dma_desc_v1()
1478 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in mtk_tx_set_dma_desc_v1()
1440 setup_tx_buf(struct mtk_eth * eth,struct mtk_tx_buf * tx_buf,struct mtk_tx_dma * txd,dma_addr_t mapped_addr,size_t size,int idx) setup_tx_buf() argument