Searched refs:comp_pdev (Results 1 – 3 of 3) sorted by relevance
626 struct platform_device *comp_pdev; in mtk_ddp_comp_init() local646 comp_pdev = of_find_device_by_node(node); in mtk_ddp_comp_init()647 if (!comp_pdev) { in mtk_ddp_comp_init()651 comp->dev = &comp_pdev->dev; in mtk_ddp_comp_init()683 platform_set_drvdata(comp_pdev, priv); in mtk_ddp_comp_init()
504 struct platform_device *comp_pdev; in ovl_adaptor_comp_init() local531 comp_pdev = of_find_device_by_node(node); in ovl_adaptor_comp_init()532 if (!comp_pdev) in ovl_adaptor_comp_init()535 priv->ovl_adaptor_comp[id] = &comp_pdev->dev; in ovl_adaptor_comp_init()
1736 struct platform_device *comp_pdev; in mdp_get_subsys_id() local1744 comp_pdev = of_find_device_by_node(node); in mdp_get_subsys_id()1746 if (!comp_pdev) { in mdp_get_subsys_id()1753 ret = cmdq_dev_get_client_reg(&comp_pdev->dev, &cmdq_reg, index); in mdp_get_subsys_id()1755 dev_err(&comp_pdev->dev, "cmdq_dev_get_subsys fail!\n"); in mdp_get_subsys_id()1756 put_device(&comp_pdev->dev); in mdp_get_subsys_id()1761 dev_dbg(&comp_pdev->dev, "subsys id=%d\n", cmdq_reg.subsys); in mdp_get_subsys_id()1762 put_device(&comp_pdev->dev); in mdp_get_subsys_id()