Lines Matching refs:extmem
210 struct vpu_mem extmem[2]; member
471 return vpu->extmem[D_FW].va + (dtcm_dmem_addr - VPU_DTCM_SIZE); in vpu_mapping_dm_addr()
551 dest = vpu->extmem[fw_type].va; in load_requested_vpu()
709 dma_free_coherent(dev, fw_ext_size, vpu->extmem[fw_type].va, in vpu_free_ext_mem()
710 vpu->extmem[fw_type].pa); in vpu_free_ext_mem()
721 vpu->extmem[fw_type].va = dma_alloc_coherent(dev, in vpu_alloc_ext_mem()
723 &vpu->extmem[fw_type].pa, in vpu_alloc_ext_mem()
725 if (!vpu->extmem[fw_type].va) { in vpu_alloc_ext_mem()
732 vpu_cfg_writel(vpu, (vpu->extmem[fw_type].pa & 0xFFFFF000) + offset_4gb, in vpu_alloc_ext_mem()
737 (unsigned long long)vpu->extmem[fw_type].pa, in vpu_alloc_ext_mem()
738 vpu->extmem[fw_type].va); in vpu_alloc_ext_mem()