Lines Matching refs:vt
61 dev_dbg(dev, "vt_sys_clk_div \t%u\n", pll->vt.sys_clk_div); in print_pll()
62 dev_dbg(dev, "vt_pix_clk_div \t%u\n", pll->vt.pix_clk_div); in print_pll()
73 dev_dbg(dev, "vt_sys_clk_freq_hz \t%u\n", pll->vt.sys_clk_freq_hz); in print_pll()
74 dev_dbg(dev, "vt_pix_clk_freq_hz \t%u\n", pll->vt.pix_clk_freq_hz); in print_pll()
126 dev, pll->vt.sys_clk_freq_hz, in check_all_bounds()
127 limits->vt.min_sys_clk_freq_hz, in check_all_bounds()
128 limits->vt.max_sys_clk_freq_hz, in check_all_bounds()
132 dev, pll->vt.pix_clk_freq_hz, in check_all_bounds()
133 limits->vt.min_pix_clk_freq_hz, in check_all_bounds()
134 limits->vt.max_pix_clk_freq_hz, in check_all_bounds()
295 limits->vt.max_pix_clk_freq_hz)); in __smiapp_pll_calculate()
299 limits->vt.min_pix_clk_div in __smiapp_pll_calculate()
300 * limits->vt.min_sys_clk_div); in __smiapp_pll_calculate()
303 max_vt_div = limits->vt.max_sys_clk_div * limits->vt.max_pix_clk_div; in __smiapp_pll_calculate()
307 limits->vt.min_pix_clk_freq_hz)); in __smiapp_pll_calculate()
315 min_sys_div = limits->vt.min_sys_clk_div; in __smiapp_pll_calculate()
319 limits->vt.max_pix_clk_div)); in __smiapp_pll_calculate()
323 / limits->vt.max_sys_clk_freq_hz); in __smiapp_pll_calculate()
328 max_sys_div = limits->vt.max_sys_clk_div; in __smiapp_pll_calculate()
332 limits->vt.min_pix_clk_div)); in __smiapp_pll_calculate()
336 limits->vt.min_pix_clk_freq_hz)); in __smiapp_pll_calculate()
351 if (pix_div < limits->vt.min_pix_clk_div in __smiapp_pll_calculate()
352 || pix_div > limits->vt.max_pix_clk_div) { in __smiapp_pll_calculate()
356 limits->vt.min_pix_clk_div, in __smiapp_pll_calculate()
357 limits->vt.max_pix_clk_div); in __smiapp_pll_calculate()
370 pll->vt.sys_clk_div = DIV_ROUND_UP(min_vt_div, best_pix_div); in __smiapp_pll_calculate()
371 pll->vt.pix_clk_div = best_pix_div; in __smiapp_pll_calculate()
373 pll->vt.sys_clk_freq_hz = in __smiapp_pll_calculate()
374 pll->pll_op_clk_freq_hz / pll->vt.sys_clk_div; in __smiapp_pll_calculate()
375 pll->vt.pix_clk_freq_hz = in __smiapp_pll_calculate()
376 pll->vt.sys_clk_freq_hz / pll->vt.pix_clk_div; in __smiapp_pll_calculate()
381 pll->pixel_rate_pixel_array = pll->vt.pix_clk_freq_hz; in __smiapp_pll_calculate()
405 op_limits = &limits->vt; in smiapp_pll_calculate()
406 op_pll = &pll->vt; in smiapp_pll_calculate()