Home
last modified time | relevance | path

Searched refs:map_addr (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c205 resource_size_t map_addr; in nfp_netvf_pci_probe() local
218 map_addr = pci_resource_start(pdev, tx_bar_no) + bar_off; in nfp_netvf_pci_probe()
219 vf->q_bar = ioremap(map_addr, bar_sz); in nfp_netvf_pci_probe()
231 resource_size_t map_addr; in nfp_netvf_pci_probe() local
234 map_addr = pci_resource_start(pdev, tx_bar_no) + tx_bar_off; in nfp_netvf_pci_probe()
235 nn->tx_bar = ioremap(map_addr, tx_bar_sz); in nfp_netvf_pci_probe()
243 map_addr = pci_resource_start(pdev, rx_bar_no) + rx_bar_off; in nfp_netvf_pci_probe()
244 nn->rx_bar = ioremap(map_addr, rx_bar_sz); in nfp_netvf_pci_probe()
/linux-6.1.9/drivers/soc/fsl/
Ddpaa2-console.c52 void __iomem *map_addr; member
123 cd->map_addr = ioremap(base_addr + offset, size); in dpaa2_generic_console_open()
124 if (!cd->map_addr) { in dpaa2_generic_console_open()
130 cd->hdr = (struct log_header __iomem *)cd->map_addr; in dpaa2_generic_console_open()
143 cd->start_addr = cd->map_addr + buf_start - offset_delta; in dpaa2_generic_console_open()
159 iounmap(cd->map_addr); in dpaa2_generic_console_open()
186 iounmap(cd->map_addr); in dpaa2_console_close()
/linux-6.1.9/drivers/scsi/
DFlashPoint.c4511 u32 map_addr; in FPT_autoLoadDefaultMap() local
4514 map_addr = p_port + hp_aramBase; in FPT_autoLoadDefaultMap()
4516 WRW_HARPOON(map_addr, (MPM_OP + AMSG_OUT + 0xC0)); /*ID MESSAGE */ in FPT_autoLoadDefaultMap()
4517 map_addr += 2; in FPT_autoLoadDefaultMap()
4518 WRW_HARPOON(map_addr, (MPM_OP + AMSG_OUT + 0x20)); /*SIMPLE TAG QUEUEING MSG */ in FPT_autoLoadDefaultMap()
4519 map_addr += 2; in FPT_autoLoadDefaultMap()
4520 WRW_HARPOON(map_addr, RAT_OP); /*RESET ATTENTION */ in FPT_autoLoadDefaultMap()
4521 map_addr += 2; in FPT_autoLoadDefaultMap()
4522 WRW_HARPOON(map_addr, (MPM_OP + AMSG_OUT + 0x00)); /*TAG ID MSG */ in FPT_autoLoadDefaultMap()
4523 map_addr += 2; in FPT_autoLoadDefaultMap()
[all …]
/linux-6.1.9/fs/adfs/
Dmap.c335 unsigned int map_addr, unsigned int nzones) in adfs_map_read() argument
340 dm[zone].dm_bh = sb_bread(sb, map_addr + zone); in adfs_map_read()
360 unsigned int map_addr, zone_size, nzones; in adfs_read_map() local
372 map_addr = (nzones >> 1) * zone_size - in adfs_read_map()
374 map_addr = signed_asl(map_addr, asb->s_map2blk); in adfs_read_map()
384 ret = adfs_map_read(dm, sb, map_addr, nzones); in adfs_read_map()
/linux-6.1.9/include/linux/
Delf-fdpic.h22 unsigned long map_addr; /* mapped loadmap user address */ member
Dpci-epc.h71 int (*map_addr)(struct pci_epc *epc, u8 func_no, u8 vfunc_no, member
/linux-6.1.9/drivers/gpu/host1x/hw/
Ddebug_hw.c161 dma_addr_t pin_addr, u32 *map_addr) in show_gather() argument
180 u32 val = *(map_addr + offset / 4 + i); in show_gather()
/linux-6.1.9/fs/
Dbinfmt_elf.c369 unsigned long map_addr; in elf_map() local
390 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); in elf_map()
391 if (!BAD_ADDR(map_addr)) in elf_map()
392 vm_munmap(map_addr+size, total_size-size); in elf_map()
394 map_addr = vm_mmap(filep, addr, size, prot, type, off); in elf_map()
397 PTR_ERR((void *)map_addr) == -EEXIST) in elf_map()
401 return(map_addr); in elf_map()
630 unsigned long k, map_addr; in load_elf_interp() local
638 map_addr = elf_map(interpreter, load_addr + vaddr, in load_elf_interp()
641 error = map_addr; in load_elf_interp()
[all …]
Dbinfmt_elf_fdpic.c458 ELF_FDPIC_PLAT_INIT(regs, exec_params.map_addr, interp_params.map_addr, in load_elf_fdpic_binary()
566 exec_params->map_addr = sp; in create_elf_fdpic_tables()
578 interp_params->map_addr = sp; in create_elf_fdpic_tables()
/linux-6.1.9/net/netfilter/
Dnf_nat_sip.c92 static int map_addr(struct sk_buff *skb, unsigned int protoff, in map_addr() function
141 return map_addr(skb, protoff, dataoff, dptr, datalen, in map_sip_addr()
164 !map_addr(skb, protoff, dataoff, dptr, datalen, in nf_nat_sip()
200 if (!map_addr(skb, protoff, dataoff, dptr, datalen, in nf_nat_sip()
267 if (!map_addr(skb, protoff, dataoff, dptr, datalen, in nf_nat_sip()
/linux-6.1.9/drivers/misc/genwqe/
Dcard_dev.c775 unsigned long map_addr; in genwqe_pin_mem() local
783 map_addr = (m->addr & PAGE_MASK); in genwqe_pin_mem()
791 rc = genwqe_user_vmap(cd, dma_map, (void *)map_addr, map_size); in genwqe_pin_mem()
807 unsigned long map_addr; in genwqe_unpin_mem() local
813 map_addr = (m->addr & PAGE_MASK); in genwqe_unpin_mem()
816 dma_map = genwqe_search_pin(cfile, map_addr, map_size, NULL); in genwqe_unpin_mem()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c103 u32 map_addr; member
133 return sdma->map_addr + pa; in prestera_sdma_map()
633 sdma->map_addr = p.map_addr; in prestera_sdma_switch_init()
Dprestera.h334 u32 map_addr; member
Dprestera_hw.c526 __le32 map_addr; member
2184 params->map_addr = __le32_to_cpu(resp.map_addr); in prestera_hw_rxtx_init()
/linux-6.1.9/drivers/net/ethernet/alacritech/
Dslic.h500 DEFINE_DMA_UNMAP_ADDR(map_addr);
523 DEFINE_DMA_UNMAP_ADDR(map_addr);
Dslicoss.c368 dma_unmap_addr(buff, map_addr), in slic_xmit_complete()
439 dma_unmap_addr_set(buff, map_addr, paddr); in slic_refill_rx_queue()
569 dma_unmap_addr(buff, map_addr), in slic_handle_receive()
577 map_addr), in slic_handle_receive()
587 dma_unmap_addr(buff, map_addr), in slic_handle_receive()
907 dma_unmap_addr(buff, map_addr), in slic_free_tx_queue()
949 dma_unmap_addr(buff, map_addr), in slic_free_rx_queue()
1433 dma_unmap_addr_set(buff, map_addr, paddr); in slic_xmit()
/linux-6.1.9/drivers/pci/endpoint/
Dpci-epc-core.c472 if (!epc->ops->map_addr) in pci_epc_map_addr()
476 ret = epc->ops->map_addr(epc, func_no, vfunc_no, phys_addr, pci_addr, in pci_epc_map_addr()
/linux-6.1.9/drivers/net/ethernet/socionext/
Dsni_ave.c553 dma_addr_t map_addr; in ave_dma_map() local
555 map_addr = dma_map_single(ndev->dev.parent, ptr, len, dir); in ave_dma_map()
556 if (unlikely(dma_mapping_error(ndev->dev.parent, map_addr))) in ave_dma_map()
559 desc->skbs_dma = map_addr; in ave_dma_map()
561 *paddr = map_addr; in ave_dma_map()
/linux-6.1.9/drivers/net/hyperv/
Dnetvsc.c938 unsigned long *map_addr = net_device->send_section_map; in netvsc_get_next_send_section() local
941 for_each_clear_bit(i, map_addr, net_device->send_section_cnt) { in netvsc_get_next_send_section()
942 if (sync_test_and_set_bit(i, map_addr) == 0) in netvsc_get_next_send_section()
/linux-6.1.9/drivers/pci/controller/
Dpcie-rcar-ep.c463 .map_addr = rcar_pcie_ep_map_addr,
Dpcie-rockchip-ep.c521 .map_addr = rockchip_pcie_ep_map_addr,
/linux-6.1.9/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c1853 u16 map_addr; in rtl8xxxu_read_efuse() local
1880 map_addr = offset * 8; in rtl8xxxu_read_efuse()
1884 map_addr += 2; in rtl8xxxu_read_efuse()
1891 if (map_addr >= EFUSE_MAP_LEN - 1) { in rtl8xxxu_read_efuse()
1894 __func__, map_addr); in rtl8xxxu_read_efuse()
1898 priv->efuse_wifi.raw[map_addr++] = val8; in rtl8xxxu_read_efuse()
1903 priv->efuse_wifi.raw[map_addr++] = val8; in rtl8xxxu_read_efuse()
/linux-6.1.9/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c627 .map_addr = cdns_pcie_ep_map_addr,
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-designware-ep.c472 .map_addr = dw_pcie_ep_map_addr,
/linux-6.1.9/kernel/bpf/
Dverifier.c6184 u64 map_addr; in check_func_arg() local
6209 err = map->ops->map_direct_value_addr(map, &map_addr, map_off); in check_func_arg()
6215 str_ptr = (char *)(long)(map_addr); in check_func_arg()