Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/qcom/venus/
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 …]
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()
Dcore.h206 phys_addr_t mem_phys; member
/linux-6.6.21/include/linux/soc/qcom/
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
/linux-6.6.21/drivers/soc/qcom/
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()
/linux-6.6.21/drivers/pcmcia/
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()
/linux-6.6.21/drivers/remoteproc/
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()
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()
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()
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()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
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()
/linux-6.6.21/drivers/message/fusion/
Dmptbase.h624 u32 mem_phys; /* == f4020000 (mmap) */ member
Dmptbase.c1640 resource_size_t mem_phys; in mpt_mapresources() local
1695 mem_phys = msize = 0; in mpt_mapresources()
1708 mem_phys = pci_resource_start(pdev, ii); in mpt_mapresources()
1717 mem = ioremap(mem_phys, msize); in mpt_mapresources()
1726 ioc->name, mem, (unsigned long long)mem_phys)); in mpt_mapresources()
1728 ioc->mem_phys = mem_phys; in mpt_mapresources()