Home
last modified time | relevance | path

Searched refs:tcm_size (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/arch/arm/kernel/
Dtcm.c117 int tcm_size; in setup_tcm_bank() local
137 tcm_size = tcm_sizes[(tcm_region >> 2) & 0x0f]; in setup_tcm_bank()
138 if (tcm_size < 0) { in setup_tcm_bank()
142 } else if (tcm_size > 32) { in setup_tcm_bank()
150 tcm_size, in setup_tcm_bank()
156 if (tcm_size == 0) in setup_tcm_bank()
172 *offset += (tcm_size << 10); in setup_tcm_bank()
177 tcm_size, in setup_tcm_bank()
/linux-5.19.10/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c502 size_t tcm_size = fw_type ? VPU_DTCM_SIZE : VPU_PTCM_SIZE; in load_requested_vpu() local
538 if (dl_size > tcm_size) { in load_requested_vpu()
540 dl_size, tcm_size); in load_requested_vpu()
541 extra_fw_size = dl_size - tcm_size; in load_requested_vpu()
543 dl_size = tcm_size; in load_requested_vpu()
554 memcpy(dest, vpu_fw->data + tcm_size, extra_fw_size); in load_requested_vpu()