Lines Matching full:rproc

49 	struct rproc *rproc;  member
119 static int adsp_load(struct rproc *rproc, const struct firmware *fw) in adsp_load() argument
121 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_load()
124 ret = qcom_mdt_load(adsp->dev, fw, rproc->firmware, adsp->pas_id, in adsp_load()
135 static int adsp_start(struct rproc *rproc) in adsp_start() argument
137 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_start()
211 static int adsp_stop(struct rproc *rproc) in adsp_stop() argument
213 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_stop()
233 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len) in adsp_da_to_va() argument
235 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_da_to_va()
245 static unsigned long adsp_panic(struct rproc *rproc) in adsp_panic() argument
247 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_panic()
384 struct rproc *rproc; in adsp_probe() local
401 rproc = rproc_alloc(&pdev->dev, pdev->name, &adsp_ops, in adsp_probe()
403 if (!rproc) { in adsp_probe()
408 rproc->auto_boot = desc->auto_boot; in adsp_probe()
409 rproc_coredump_set_elf_info(rproc, ELFCLASS32, EM_NONE); in adsp_probe()
411 adsp = (struct qcom_adsp *)rproc->priv; in adsp_probe()
413 adsp->rproc = rproc; in adsp_probe()
445 ret = qcom_q6v5_init(&adsp->q6v5, pdev, rproc, desc->crash_reason_smem, in adsp_probe()
450 qcom_add_glink_subdev(rproc, &adsp->glink_subdev, desc->ssr_name); in adsp_probe()
451 qcom_add_smd_subdev(rproc, &adsp->smd_subdev); in adsp_probe()
452 qcom_add_ssr_subdev(rproc, &adsp->ssr_subdev, desc->ssr_name); in adsp_probe()
453 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
461 ret = rproc_add(rproc); in adsp_probe()
472 rproc_free(rproc); in adsp_probe()
481 rproc_del(adsp->rproc); in adsp_remove()
483 qcom_remove_glink_subdev(adsp->rproc, &adsp->glink_subdev); in adsp_remove()
485 qcom_remove_smd_subdev(adsp->rproc, &adsp->smd_subdev); in adsp_remove()
486 qcom_remove_ssr_subdev(adsp->rproc, &adsp->ssr_subdev); in adsp_remove()
487 rproc_free(adsp->rproc); in adsp_remove()