Lines Matching refs:dvp
28 struct clk_dvp *dvp; in clk_dvp_probe() local
32 dvp = devm_kzalloc(&pdev->dev, sizeof(*dvp), GFP_KERNEL); in clk_dvp_probe()
33 if (!dvp) in clk_dvp_probe()
35 platform_set_drvdata(pdev, dvp); in clk_dvp_probe()
37 dvp->data = devm_kzalloc(&pdev->dev, in clk_dvp_probe()
38 struct_size(dvp->data, hws, NR_CLOCKS), in clk_dvp_probe()
40 if (!dvp->data) in clk_dvp_probe()
42 data = dvp->data; in clk_dvp_probe()
48 dvp->reset.rcdev.owner = THIS_MODULE; in clk_dvp_probe()
49 dvp->reset.rcdev.nr_resets = NR_RESETS; in clk_dvp_probe()
50 dvp->reset.rcdev.ops = &reset_simple_ops; in clk_dvp_probe()
51 dvp->reset.rcdev.of_node = pdev->dev.of_node; in clk_dvp_probe()
52 dvp->reset.membase = base + DVP_HT_RPI_SW_INIT; in clk_dvp_probe()
53 spin_lock_init(&dvp->reset.lock); in clk_dvp_probe()
55 ret = devm_reset_controller_register(&pdev->dev, &dvp->reset.rcdev); in clk_dvp_probe()
64 &dvp->reset.lock); in clk_dvp_probe()
73 &dvp->reset.lock); in clk_dvp_probe()
97 struct clk_dvp *dvp = platform_get_drvdata(pdev); in clk_dvp_remove() local
98 struct clk_hw_onecell_data *data = dvp->data; in clk_dvp_remove()