Searched refs:qseecom_dev (Results 1 – 2 of 2) sorted by relevance
38 static int qseecom_client_register(struct platform_device *qseecom_dev, in qseecom_client_register() argument50 dev_info(&qseecom_dev->dev, "setting up client for %s\n", desc->app_name); in qseecom_client_register()58 client->aux_dev.dev.parent = &qseecom_dev->dev; in qseecom_client_register()74 ret = devm_add_action_or_reset(&qseecom_dev->dev, qseecom_client_remove, client); in qseecom_client_register()90 static int qcom_qseecom_probe(struct platform_device *qseecom_dev) in qcom_qseecom_probe() argument97 ret = qseecom_client_register(qseecom_dev, &qcom_qseecom_apps[i]); in qcom_qseecom_probe()
1773 struct platform_device *qseecom_dev = data; in qcom_scm_qseecom_free() local1775 platform_device_del(qseecom_dev); in qcom_scm_qseecom_free()1776 platform_device_put(qseecom_dev); in qcom_scm_qseecom_free()1781 struct platform_device *qseecom_dev; in qcom_scm_qseecom_init() local1811 qseecom_dev = platform_device_alloc("qcom_qseecom", -1); in qcom_scm_qseecom_init()1812 if (!qseecom_dev) in qcom_scm_qseecom_init()1815 qseecom_dev->dev.parent = scm->dev; in qcom_scm_qseecom_init()1817 ret = platform_device_add(qseecom_dev); in qcom_scm_qseecom_init()1819 platform_device_put(qseecom_dev); in qcom_scm_qseecom_init()1823 return devm_add_action_or_reset(scm->dev, qcom_scm_qseecom_free, qseecom_dev); in qcom_scm_qseecom_init()