Lines Matching refs:size
444 * @size: size of the metadata
448 int qcom_scm_pas_init_image(u32 peripheral, const void *metadata, size_t size)
467 mdata_buf = dma_alloc_coherent(__scm->dev, size, &mdata_phys,
473 memcpy(mdata_buf, metadata, size);
486 dma_free_coherent(__scm->dev, size, mdata_buf, mdata_phys);
497 * @size: size of the memory area to prepare
501 int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, phys_addr_t size)
510 .args[2] = size,
724 int qcom_scm_iommu_secure_ptbl_size(u32 spare, size_t *size)
738 if (size)
739 *size = res.result[0];
745 int qcom_scm_iommu_secure_ptbl_init(u64 addr, u32 size, u32 spare)
753 .args[1] = size,
823 * @mem_sz: size of the region.
916 * @size: OCMEM size
919 int qcom_scm_ocmem_lock(enum qcom_scm_ocmem_client id, u32 offset, u32 size,
927 .args[2] = size,
942 * @size: OCMEM size
944 int qcom_scm_ocmem_unlock(enum qcom_scm_ocmem_client id, u32 offset, u32 size)
951 .args[2] = size,
1001 * @key_size: the size of the key in bytes
1003 * @data_unit_size: the encryption data unit size, i.e. the size of each