Searched refs:mdata_buf (Results 1 – 1 of 1) sorted by relevance
468 void *mdata_buf; in qcom_scm_pas_init_image() local484 mdata_buf = dma_alloc_coherent(__scm->dev, size, &mdata_phys, in qcom_scm_pas_init_image()486 if (!mdata_buf) { in qcom_scm_pas_init_image()490 memcpy(mdata_buf, metadata, size); in qcom_scm_pas_init_image()509 dma_free_coherent(__scm->dev, size, mdata_buf, mdata_phys); in qcom_scm_pas_init_image()511 ctx->ptr = mdata_buf; in qcom_scm_pas_init_image()