Lines Matching full:edge
12 struct qcom_smd_edge *edge = NULL; in rpm_proc_probe() local
17 edge_node = of_get_child_by_name(dev->of_node, "smd-edge"); in rpm_proc_probe()
19 edge = qcom_smd_register_edge(dev, edge_node); in rpm_proc_probe()
21 if (IS_ERR(edge)) in rpm_proc_probe()
22 return dev_err_probe(dev, PTR_ERR(edge), in rpm_proc_probe()
23 "Failed to register smd-edge\n"); in rpm_proc_probe()
32 platform_set_drvdata(pdev, edge); in rpm_proc_probe()
35 if (edge) in rpm_proc_probe()
36 qcom_smd_unregister_edge(edge); in rpm_proc_probe()
42 struct qcom_smd_edge *edge = platform_get_drvdata(pdev); in rpm_proc_remove() local
44 if (edge) in rpm_proc_remove()
45 qcom_smd_unregister_edge(edge); in rpm_proc_remove()