Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dfirmware.c83 phys_addr_t *mem_phys, size_t *mem_size) in venus_load_fw() argument
93 *mem_phys = 0; in venus_load_fw()
120 *mem_phys = rmem->base; in venus_load_fw()
128 mem_va = memremap(*mem_phys, *mem_size, MEMREMAP_WC); in venus_load_fw()
130 dev_err(dev, "unable to map memory region %pa size %#zx\n", mem_phys, *mem_size); in venus_load_fw()
137 mem_va, *mem_phys, *mem_size, NULL); in venus_load_fw()
140 mem_va, *mem_phys, *mem_size, NULL); in venus_load_fw()
148 static int venus_boot_no_tz(struct venus_core *core, phys_addr_t mem_phys, in venus_boot_no_tz() argument
162 ret = iommu_map(iommu, VENUS_FW_START_ADDR, mem_phys, mem_size, in venus_boot_no_tz()
215 phys_addr_t mem_phys; in venus_boot() local
[all …]
H A Dcore.c32 phys_addr_t mem_phys; in venus_coredump() local
38 mem_phys = core->fw.mem_phys; in venus_coredump()
41 mem_va = memremap(mem_phys, mem_size, MEMREMAP_WC); in venus_coredump()
/openbmc/linux/include/linux/soc/qcom/
H A Dmdt_loader.h19 const char *fw_name, int pas_id, phys_addr_t mem_phys,
23 phys_addr_t mem_phys, size_t mem_size,
28 phys_addr_t mem_phys, size_t mem_size,
41 const char *fw_name, int pas_id, phys_addr_t mem_phys, in qcom_mdt_pas_init() argument
49 void *mem_region, phys_addr_t mem_phys, in qcom_mdt_load() argument
58 void *mem_region, phys_addr_t mem_phys, in qcom_mdt_load_no_init() argument
/openbmc/linux/drivers/soc/qcom/
H A Dmdt_loader.c205 const char *fw_name, int pas_id, phys_addr_t mem_phys, in qcom_mdt_pas_init() argument
254 ret = qcom_scm_pas_mem_setup(pas_id, mem_phys, max_addr - min_addr); in qcom_mdt_pas_init()
297 phys_addr_t mem_phys, size_t mem_size, in __qcom_mdt_load() argument
312 if (!fw || !mem_region || !mem_phys || !mem_size) in __qcom_mdt_load()
343 mem_reloc = mem_phys; in __qcom_mdt_load()
411 phys_addr_t mem_phys, size_t mem_size, in qcom_mdt_load() argument
416 ret = qcom_mdt_pas_init(dev, fw, firmware, pas_id, mem_phys, NULL); in qcom_mdt_load()
420 return __qcom_mdt_load(dev, fw, firmware, pas_id, mem_region, mem_phys, in qcom_mdt_load()
440 void *mem_region, phys_addr_t mem_phys, in qcom_mdt_load_no_init() argument
443 return __qcom_mdt_load(dev, fw, firmware, pas_id, mem_region, mem_phys, in qcom_mdt_load_no_init()
/openbmc/linux/drivers/pcmcia/
H A Delectra_cf.c37 unsigned long mem_phys; member
160 map->static_start = cf->mem_phys; in electra_cf_set_mem_map()
201 cf->mem_phys = mem.start; in electra_cf_probe()
203 cf->mem_base = ioremap(cf->mem_phys, cf->mem_size); in electra_cf_probe()
257 if (!request_mem_region(cf->mem_phys, cf->mem_size, driver_name)) { in electra_cf_probe()
284 cf->mem_phys, io.start, cf->irq); in electra_cf_probe()
293 release_mem_region(cf->mem_phys, cf->mem_size); in electra_cf_probe()
325 release_mem_region(cf->mem_phys, cf->mem_size); in electra_cf_remove()
/openbmc/linux/drivers/remoteproc/
H A Dqcom_q6v5_adsp.c107 phys_addr_t mem_phys; member
328 adsp->mem_region, adsp->mem_phys, in adsp_load()
333 qcom_pil_info_store(adsp->info_name, adsp->mem_phys, adsp->mem_size); in adsp_load()
343 iommu_unmap(rproc->domain, adsp->mem_phys, adsp->mem_size); in adsp_unmap_carveout()
367 iova = adsp->mem_phys | (sid << 32); in adsp_map_carveout()
369 ret = iommu_map(rproc->domain, iova, adsp->mem_phys, in adsp_map_carveout()
421 writel(adsp->mem_phys >> 4, adsp->qdsp6ss_base + RST_EVB_REG); in adsp_start()
653 adsp->mem_phys = adsp->mem_reloc = rmem->base; in adsp_alloc_memory_region()
656 adsp->mem_phys, adsp->mem_size); in adsp_alloc_memory_region()
H A Dqcom_wcnss.c95 phys_addr_t mem_phys; member
161 wcnss->mem_region, wcnss->mem_phys, in wcnss_load()
166 qcom_pil_info_store("wcnss", wcnss->mem_phys, wcnss->mem_size); in wcnss_load()
522 wcnss->mem_phys = wcnss->mem_reloc = rmem->base; in wcnss_alloc_memory_region()
524 wcnss->mem_region = devm_ioremap_wc(wcnss->dev, wcnss->mem_phys, wcnss->mem_size); in wcnss_alloc_memory_region()
H A Dqcom_q6v5_pas.c86 phys_addr_t mem_phys; member
115 total_offset = segment->da + segment->offset + offset - adsp->mem_phys; in adsp_segment_dump()
289 adsp->mem_phys, &adsp->pas_metadata); in adsp_start()
294 adsp->mem_region, adsp->mem_phys, adsp->mem_size, in adsp_start()
299 qcom_pil_info_store(adsp->info_name, adsp->mem_phys, adsp->mem_size); in adsp_start()
554 adsp->mem_phys = adsp->mem_reloc = rmem->base; in adsp_alloc_memory_region()
556 adsp->mem_region = devm_ioremap_wc(adsp->dev, adsp->mem_phys, adsp->mem_size); in adsp_alloc_memory_region()
H A Dqcom_q6v5_wcss.c141 phys_addr_t mem_phys; member
759 0, wcss->mem_region, wcss->mem_phys, in q6v5_wcss_load()
764 qcom_pil_info_store("wcnss", wcss->mem_phys, wcss->mem_size); in q6v5_wcss_load()
889 wcss->mem_phys = rmem->base; in q6v5_alloc_memory_region()
892 wcss->mem_region = devm_ioremap_wc(dev, wcss->mem_phys, wcss->mem_size); in q6v5_alloc_memory_region()
/openbmc/u-boot/drivers/pci/
H A Dpci_msc01.c84 unsigned long mem_phys, unsigned long mem_size, in msc01_pci_init() argument
105 pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size, in msc01_pci_init()
H A Dpci_gt64120.c135 unsigned long mem_phys, unsigned long mem_size, in gt64120_pci_init() argument
156 pci_set_region(&hose->regions[1], mem_bus, mem_phys, mem_size, in gt64120_pci_init()
H A Dfsl_pci_init.c659 pci_info->mem_phys, in fsl_pci_init_port()
736 set_next_law(info->mem_phys, law_size_bits(info->mem_size), info->law); in fsl_configure_pcie()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dfsl_pci.h178 phys_size_t mem_phys; member
198 x.mem_phys = CONFIG_SYS_PCI##num##_MEM_PHYS; \
211 x.mem_phys = CONFIG_SYS_PCIE##num##_MEM_PHYS; \
/openbmc/u-boot/include/
H A Dpci_gt64120.h11 unsigned long mem_phys, unsigned long mem_size,
H A Dpci_msc01.h12 unsigned long mem_bus, unsigned long mem_phys,
/openbmc/u-boot/board/freescale/qemu-ppce500/
H A Dqemu-ppce500.c162 r = pci_map_region(fdt, pci_node, 0, &pci_info.mem_phys, NULL, in pci_init_board()
177 pci_info.mem_bus = pci_info.mem_phys; in pci_init_board()
/openbmc/u-boot/board/xes/common/
H A Dfsl_8xxx_pci.c38 set_next_law(pci_info.mem_phys, in pci_init_board()
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.c38 phys_addr_t mem_phys; in zap_shader_load_mdt() local
66 mem_phys = r.start; in zap_shader_load_mdt()
125 mem_region = memremap(mem_phys, mem_size, MEMREMAP_WC); in zap_shader_load_mdt()
142 mem_region, mem_phys, mem_size, NULL); in zap_shader_load_mdt()
149 mem_region, mem_phys, mem_size, NULL); in zap_shader_load_mdt()
/openbmc/u-boot/board/freescale/mpc8568mds/
H A Dmpc8568mds.c313 set_next_law(pci_info.mem_phys, in pci_init_board()
/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-xdma.c236 u32 mem_phys; member
724 vma->vm_pgoff = (client->phys - ctx->mem_phys) >> PAGE_SHIFT; in aspeed_xdma_mmap()
1003 ctx->mem_phys = mem->base; in aspeed_xdma_probe()
1034 ctx->mem_phys, ctx->mem_size, -1); in aspeed_xdma_probe()
/openbmc/u-boot/board/sbc8548/
H A Dsbc8548.c266 set_next_law(pci_info.mem_phys, in pci_init_board()
/openbmc/u-boot/board/freescale/mpc8610hpcd/
H A Dmpc8610hpcd.c235 set_next_law(pci_info.mem_phys, in pci_init_board()
/openbmc/u-boot/board/freescale/mpc8536ds/
H A Dmpc8536ds.c167 set_next_law(pci_info.mem_phys, in pci_init_board()
/openbmc/u-boot/board/freescale/mpc8544ds/
H A Dmpc8544ds.c142 set_next_law(pci_info.mem_phys, in pci_init_board()
/openbmc/u-boot/board/freescale/mpc8548cds/
H A Dmpc8548cds.c216 set_next_law(pci_info.mem_phys, in pci_init_board()

12