/linux-4.19.296/drivers/pci/controller/dwc/ |
D | pcie-designware.c | 108 int type, u64 cpu_addr, in dw_pcie_prog_outbound_atu_unroll() argument 114 lower_32_bits(cpu_addr)); in dw_pcie_prog_outbound_atu_unroll() 116 upper_32_bits(cpu_addr)); in dw_pcie_prog_outbound_atu_unroll() 118 lower_32_bits(cpu_addr + size - 1)); in dw_pcie_prog_outbound_atu_unroll() 144 u64 cpu_addr, u64 pci_addr, u32 size) in dw_pcie_prog_outbound_atu() argument 149 cpu_addr = pci->ops->cpu_addr_fixup(pci, cpu_addr); in dw_pcie_prog_outbound_atu() 152 dw_pcie_prog_outbound_atu_unroll(pci, index, type, cpu_addr, in dw_pcie_prog_outbound_atu() 160 lower_32_bits(cpu_addr)); in dw_pcie_prog_outbound_atu() 162 upper_32_bits(cpu_addr)); in dw_pcie_prog_outbound_atu() 164 lower_32_bits(cpu_addr + size - 1)); in dw_pcie_prog_outbound_atu() [all …]
|
D | pcie-designware-host.c | 525 u64 cpu_addr; in dw_pcie_rd_other_conf() local 537 cpu_addr = pp->cfg0_base; in dw_pcie_rd_other_conf() 542 cpu_addr = pp->cfg1_base; in dw_pcie_rd_other_conf() 548 type, cpu_addr, in dw_pcie_rd_other_conf() 564 u64 cpu_addr; in dw_pcie_wr_other_conf() local 576 cpu_addr = pp->cfg0_base; in dw_pcie_wr_other_conf() 581 cpu_addr = pp->cfg1_base; in dw_pcie_wr_other_conf() 587 type, cpu_addr, in dw_pcie_wr_other_conf()
|
D | pcie-designware.h | 205 u64 (*cpu_addr_fixup)(struct dw_pcie *pcie, u64 cpu_addr); 241 int type, u64 cpu_addr, u64 pci_addr, 244 u64 cpu_addr, enum dw_pcie_as_type as_type);
|
/linux-4.19.296/include/linux/ |
D | dma-mapping.h | 168 void *cpu_addr, size_t size, int *ret); 172 int dma_mmap_from_global_coherent(struct vm_area_struct *vma, void *cpu_addr, 192 void *cpu_addr, size_t size, in dma_mmap_from_global_coherent() argument 448 void *cpu_addr, dma_addr_t dma_addr, size_t size); 457 void dma_common_free_remap(void *cpu_addr, size_t size, unsigned long vm_flags); 473 dma_mmap_attrs(struct device *dev, struct vm_area_struct *vma, void *cpu_addr, in dma_mmap_attrs() argument 479 return ops->mmap(dev, vma, cpu_addr, dma_addr, size, attrs); in dma_mmap_attrs() 480 return dma_common_mmap(dev, vma, cpu_addr, dma_addr, size); in dma_mmap_attrs() 487 void *cpu_addr, dma_addr_t dma_addr, size_t size); 490 dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, void *cpu_addr, in dma_get_sgtable_attrs() argument [all …]
|
D | dma-noncoherent.h | 9 void arch_dma_free(struct device *dev, size_t size, void *cpu_addr, 14 void *cpu_addr, dma_addr_t dma_addr, size_t size,
|
D | dma-direct.h | 60 void dma_direct_free(struct device *dev, size_t size, void *cpu_addr,
|
/linux-4.19.296/drivers/pci/controller/ |
D | pcie-cadence.c | 12 u64 cpu_addr, u64 pci_addr, size_t size) in cdns_pcie_set_outbound_region() argument 76 cpu_addr -= pcie->mem_res->start; in cdns_pcie_set_outbound_region() 78 (lower_32_bits(cpu_addr) & GENMASK(31, 8)); in cdns_pcie_set_outbound_region() 79 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_set_outbound_region() 86 u32 r, u64 cpu_addr) in cdns_pcie_set_outbound_region_for_normal_msg() argument 103 cpu_addr -= pcie->mem_res->start; in cdns_pcie_set_outbound_region_for_normal_msg() 105 (lower_32_bits(cpu_addr) & GENMASK(31, 8)); in cdns_pcie_set_outbound_region_for_normal_msg() 106 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_set_outbound_region_for_normal_msg()
|
D | pci-xgene.c | 369 u64 cpu_addr, u64 pci_addr) in xgene_pcie_setup_ob_reg() argument 391 xgene_pcie_writel(port, offset, lower_32_bits(cpu_addr)); in xgene_pcie_setup_ob_reg() 392 xgene_pcie_writel(port, offset + 0x04, upper_32_bits(cpu_addr)); in xgene_pcie_setup_ob_reg() 494 u64 cpu_addr = range->cpu_addr; in xgene_pcie_setup_ib_reg() local 511 bar_low = pcie_bar_low_val((u32)cpu_addr, flags); in xgene_pcie_setup_ib_reg() 517 writel(upper_32_bits(cpu_addr), bar_addr + 0x4); in xgene_pcie_setup_ib_reg() 527 xgene_pcie_writel(port, IBAR3L + 0x4, upper_32_bits(cpu_addr)); in xgene_pcie_setup_ib_reg() 552 u64 end = range.cpu_addr + range.size - 1; in xgene_pcie_parse_map_dma_ranges() 555 range.flags, range.cpu_addr, end, range.pci_addr); in xgene_pcie_parse_map_dma_ranges()
|
D | pcie-cadence-host.c | 152 u64 cpu_addr; in cdns_pcie_host_init_address_translation() local 165 cpu_addr = cfg_res->start - mem_res->start; in cdns_pcie_host_init_address_translation() 167 (lower_32_bits(cpu_addr) & GENMASK(31, 8)); in cdns_pcie_host_init_address_translation() 168 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_host_init_address_translation() 191 range.cpu_addr, in cdns_pcie_host_init_address_translation()
|
D | pcie-rcar.c | 1027 u64 cpu_addr = range->cpu_addr; in rcar_pcie_inbound_ranges() local 1028 u64 cpu_end = range->cpu_addr + range->size; in rcar_pcie_inbound_ranges() 1042 if (cpu_addr > 0) { in rcar_pcie_inbound_ranges() 1043 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges() 1056 while (cpu_addr < cpu_end) { in rcar_pcie_inbound_ranges() 1063 rcar_pci_write_reg(pcie, lower_32_bits(cpu_addr), PCIELAR(idx)); in rcar_pcie_inbound_ranges() 1069 rcar_pci_write_reg(pcie, upper_32_bits(cpu_addr), in rcar_pcie_inbound_ranges() 1074 cpu_addr += size; in rcar_pcie_inbound_ranges() 1100 u64 end = range.cpu_addr + range.size - 1; in rcar_pcie_parse_map_dma_ranges() 1103 range.flags, range.cpu_addr, end, range.pci_addr); in rcar_pcie_parse_map_dma_ranges()
|
D | pcie-rockchip-ep.c | 70 u32 r, u32 type, u64 cpu_addr, in rockchip_pcie_prog_ep_ob_atu() argument 82 cpu_addr -= rockchip->mem_res->start; in rockchip_pcie_prog_ep_ob_atu() 85 (lower_32_bits(cpu_addr) & PCIE_CORE_OB_REGION_ADDR0_LO_ADDR); in rockchip_pcie_prog_ep_ob_atu() 86 addr1 = upper_32_bits(is_nor_msg ? cpu_addr : pci_addr); in rockchip_pcie_prog_ep_ob_atu() 112 (lower_32_bits(cpu_addr) & in rockchip_pcie_prog_ep_ob_atu() 114 addr1 = upper_32_bits(cpu_addr); in rockchip_pcie_prog_ep_ob_atu()
|
D | pcie-cadence.h | 311 u64 cpu_addr, u64 pci_addr, size_t size); 314 u32 r, u64 cpu_addr);
|
D | pci-v3-semi.c | 620 u64 cpu_end = range->cpu_addr + range->size - 1; in v3_get_dma_range_config() 631 if (range->cpu_addr & ~V3_PCI_MAP_M_MAP_ADR) { in v3_get_dma_range_config() 635 val = ((u32)range->cpu_addr) & V3_PCI_MAP_M_MAP_ADR; in v3_get_dma_range_config() 685 range->cpu_addr, cpu_end, in v3_get_dma_range_config()
|
D | vmd.c | 334 void *cpu_addr, dma_addr_t addr, size_t size, in vmd_mmap() argument 337 return vmd_dma_ops(dev)->mmap(to_vmd_dev(dev), vma, cpu_addr, addr, in vmd_mmap() 342 void *cpu_addr, dma_addr_t addr, size_t size, in vmd_get_sgtable() argument 345 return vmd_dma_ops(dev)->get_sgtable(to_vmd_dev(dev), sgt, cpu_addr, in vmd_get_sgtable()
|
/linux-4.19.296/drivers/media/common/saa7146/ |
D | saa7146_core.c | 427 dev->d_rps0.cpu_addr = pci_zalloc_consistent(pci, SAA7146_RPS_MEM, in saa7146_init_one() 429 if (!dev->d_rps0.cpu_addr) in saa7146_init_one() 432 dev->d_rps1.cpu_addr = pci_zalloc_consistent(pci, SAA7146_RPS_MEM, in saa7146_init_one() 434 if (!dev->d_rps1.cpu_addr) in saa7146_init_one() 437 dev->d_i2c.cpu_addr = pci_zalloc_consistent(pci, SAA7146_RPS_MEM, in saa7146_init_one() 439 if (!dev->d_i2c.cpu_addr) in saa7146_init_one() 486 pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_i2c.cpu_addr, in saa7146_init_one() 489 pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_rps1.cpu_addr, in saa7146_init_one() 492 pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_rps0.cpu_addr, in saa7146_init_one() 515 { dev->d_i2c.cpu_addr, dev->d_i2c.dma_handle }, in saa7146_remove_one() [all …]
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | divasmain.c | 358 void *cpu_addr; in diva_init_dma_map() local 362 if (!(cpu_addr = diva_pci_alloc_consistent(pdev, in diva_init_dma_map() 369 diva_init_dma_map_entry(pmap, i, cpu_addr, in diva_init_dma_map() 373 i, (unsigned long) cpu_addr, in diva_init_dma_map() 390 void *cpu_addr; in diva_free_dma_map() local 395 diva_get_dma_map_entry(pmap, i, &cpu_addr, &phys_addr); in diva_free_dma_map() 396 if (!cpu_addr) { in diva_free_dma_map() 404 (unsigned long) cpu_addr, (dword) dma_handle, in diva_free_dma_map()
|
/linux-4.19.296/drivers/of/ |
D | address.c | 282 range->cpu_addr = of_translate_address(parser->node, in of_pci_range_parser_one() 291 u64 pci_addr, cpu_addr, size; in of_pci_range_parser_one() local 295 cpu_addr = of_translate_address(parser->node, in of_pci_range_parser_one() 302 cpu_addr != range->cpu_addr + range->size) in of_pci_range_parser_one() 338 err = pci_register_io_range(&np->fwnode, range->cpu_addr, in of_pci_range_to_resource() 342 port = pci_address_to_pio(range->cpu_addr); in of_pci_range_to_resource() 350 upper_32_bits(range->cpu_addr)) { in of_pci_range_to_resource() 355 res->start = range->cpu_addr; in of_pci_range_to_resource()
|
/linux-4.19.296/drivers/xen/ |
D | swiotlb-xen.c | 663 void *cpu_addr, dma_addr_t dma_addr, size_t size, in xen_swiotlb_dma_mmap() argument 668 return xen_get_dma_ops(dev)->mmap(dev, vma, cpu_addr, in xen_swiotlb_dma_mmap() 671 return dma_common_mmap(dev, vma, cpu_addr, dma_addr, size); in xen_swiotlb_dma_mmap() 680 void *cpu_addr, dma_addr_t handle, size_t size, in xen_swiotlb_get_sgtable() argument 694 return xen_get_dma_ops(dev)->get_sgtable(dev, sgt, cpu_addr, in xen_swiotlb_get_sgtable() 698 return dma_common_get_sgtable(dev, sgt, cpu_addr, handle, size); in xen_swiotlb_get_sgtable()
|
/linux-4.19.296/include/xen/arm/ |
D | page-coherent.h | 35 void *cpu_addr, dma_addr_t dma_handle, unsigned long attrs) in xen_free_coherent_pages() argument 37 xen_get_dma_ops(hwdev)->free(hwdev, size, cpu_addr, dma_handle, attrs); in xen_free_coherent_pages()
|
/linux-4.19.296/include/linux/remoteproc/ |
D | st_slim_rproc.h | 31 void __iomem *cpu_addr; member
|
/linux-4.19.296/drivers/pci/ |
D | of.c | 313 range_type, range.cpu_addr, in devm_of_pci_get_host_bridge_resources() 314 range.cpu_addr + range.size - 1, range.pci_addr); in devm_of_pci_get_host_bridge_resources() 320 if (range.cpu_addr == OF_BAD_ADDR || range.size == 0) in devm_of_pci_get_host_bridge_resources() 343 *io_base = range.cpu_addr; in devm_of_pci_get_host_bridge_resources()
|
/linux-4.19.296/include/media/drv-intf/ |
D | saa7146_vv.h | 15 dev->d_rps0.cpu_addr[ count++ ] = cpu_to_le32(x); \ 19 dev->d_rps1.cpu_addr[ count++ ] = cpu_to_le32(x); \
|
/linux-4.19.296/drivers/s390/net/ |
D | ism_drv.c | 221 dmb->cpu_addr, dmb->dma_addr); in ism_free_dmb() 243 dmb->cpu_addr = dma_zalloc_coherent(&ism->pdev->dev, dmb->dmb_len, in ism_alloc_dmb() 247 if (!dmb->cpu_addr) in ism_alloc_dmb() 250 return dmb->cpu_addr ? 0 : -ENOMEM; in ism_alloc_dmb()
|
/linux-4.19.296/include/net/ |
D | smc.h | 32 void *cpu_addr; member
|
/linux-4.19.296/drivers/s390/cio/ |
D | css.h | 55 __u32 cpu_addr : 16; /* CPU address */ member
|