Searched refs:comp_pdev (Results 1 – 2 of 2) sorted by relevance
522 struct platform_device *comp_pdev; in mtk_ddp_comp_init() local536 comp_pdev = of_find_device_by_node(node); in mtk_ddp_comp_init()537 if (!comp_pdev) { in mtk_ddp_comp_init()541 comp->dev = &comp_pdev->dev; in mtk_ddp_comp_init()573 platform_set_drvdata(comp_pdev, priv); in mtk_ddp_comp_init()
746 struct platform_device *comp_pdev; in mdp_get_subsys_id() local754 comp_pdev = of_find_device_by_node(node); in mdp_get_subsys_id()756 if (!comp_pdev) { in mdp_get_subsys_id()763 ret = cmdq_dev_get_client_reg(&comp_pdev->dev, &cmdq_reg, index); in mdp_get_subsys_id()765 dev_err(&comp_pdev->dev, "cmdq_dev_get_subsys fail!\n"); in mdp_get_subsys_id()770 dev_dbg(&comp_pdev->dev, "subsys id=%d\n", cmdq_reg.subsys); in mdp_get_subsys_id()