Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Docteon_mem_ops.c43 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastwrite() argument
46 while ((len) && ((unsigned long)mapped_addr) & 7) { in octeon_pci_fastwrite()
47 writeb(*(hostbuf++), mapped_addr++); in octeon_pci_fastwrite()
54 writeq(*((u64 *)hostbuf), mapped_addr); in octeon_pci_fastwrite()
55 mapped_addr += 8; in octeon_pci_fastwrite()
63 writeb(*(hostbuf++), mapped_addr++); in octeon_pci_fastwrite()
67 octeon_pci_fastread(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastread() argument
70 while ((len) && ((unsigned long)mapped_addr) & 7) { in octeon_pci_fastread()
71 *(hostbuf++) = readb(mapped_addr++); in octeon_pci_fastread()
78 *((u64 *)hostbuf) = readq(mapped_addr); in octeon_pci_fastread()
[all …]
/Linux-v5.4/samples/bpf/
Dtest_probe_write_user_user.c17 struct sockaddr serv_addr, mapped_addr, tmp_addr; in main() local
23 mapped_addr_in = (struct sockaddr_in *)&mapped_addr; in main()
49 memset(&mapped_addr, 0, sizeof(mapped_addr)); in main()
54 assert(!bpf_map_update_elem(map_fd[0], &mapped_addr, &serv_addr, BPF_ANY)); in main()
61 assert(connect(clientfd, &mapped_addr, sizeof(mapped_addr)) == 0); in main()
Dtest_probe_write_user_kern.c32 struct sockaddr_in *mapped_addr; in bpf_prog1() local
42 mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); in bpf_prog1()
43 if (mapped_addr != NULL) { in bpf_prog1()
44 memcpy(&new_addr, mapped_addr, sizeof(new_addr)); in bpf_prog1()
/Linux-v5.4/include/rdma/
Diw_portmap.h85 struct sockaddr_storage *mapped_addr, u8 nl_client,
88 struct sockaddr_storage *mapped_addr);
/Linux-v5.4/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c863 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() argument
867 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
871 txd->txd3 = mapped_addr; in setup_tx_buf()
873 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf()
877 txd->txd1 = mapped_addr; in setup_tx_buf()
879 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
893 dma_addr_t mapped_addr; in mtk_tx_map() local
922 mapped_addr = dma_map_single(eth->dev, skb->data, in mtk_tx_map()
924 if (unlikely(dma_mapping_error(eth->dev, mapped_addr))) in mtk_tx_map()
927 WRITE_ONCE(itxd->txd1, mapped_addr); in mtk_tx_map()
[all …]