int nvhost_vic_finalize_poweron(struct platform_device *pdev) { struct nvhost_device_data *pdata = nvhost_get_devdata(pdev); int err; nvhost_dbg_fn(""); host1x_writel(pdev, flcn_slcg_override_high_a_r(), 0); host1x_writel(pdev, flcn_cg_r(), flcn_cg_idle_cg_dly_cnt_f(4) | flcn_cg_idle_cg_en_f(1) | flcn_cg_wakeup_dly_cnt_f(4)); err = nvhost_flcn_boot(pdev); if (err) return err; if (pdata->scaling_init) { err = nvhost_scale_hw_init(pdev); if (err) dev_warn(&pdev->dev, "failed to initialize scaling (%d)", err); } return 0; }
int nvhost_vic03_finalize_poweron(struct platform_device *pdev) { host1x_writel(pdev, flcn_slcg_override_high_a_r(), 0); host1x_writel(pdev, flcn_cg_r(), flcn_cg_idle_cg_dly_cnt_f(4) | flcn_cg_idle_cg_en_f(1) | flcn_cg_wakeup_dly_cnt_f(4)); return vic03_boot(pdev); }