Lines Matching refs:vpclk_div
253 unsigned int vpclk_div) in ccp2_vp_config() argument
263 vpclk_div = clamp_t(unsigned int, vpclk_div, 1, 65536); in ccp2_vp_config()
264 vpclk_div = min(ISPCCP2_VPCLK_FRACDIV / vpclk_div, 65535U); in ccp2_vp_config()
266 ISPCCP2_CTRL_VPCLK_DIV_MASK, vpclk_div); in ccp2_vp_config()
268 vpclk_div = clamp_t(unsigned int, vpclk_div, 1, 4); in ccp2_vp_config()
270 ISPCCP2_CTRL_VP_OUT_CTRL_MASK, vpclk_div - 1); in ccp2_vp_config()
370 ccp2_vp_config(ccp2, buscfg->bus.ccp2.vpclk_div + 1); in ccp2_if_configure()
393 unsigned int vpclk_div = 2; in ccp2_adjust_bandwidth() local
402 vpclk_div = max_t(unsigned int, DIV_ROUND_UP(l3_ick, pipe->max_rate), in ccp2_adjust_bandwidth()
403 vpclk_div); in ccp2_adjust_bandwidth()
416 vpclk_div = max_t(unsigned int, l3_ick / value, vpclk_div); in ccp2_adjust_bandwidth()
420 vpclk_div); in ccp2_adjust_bandwidth()
422 return vpclk_div; in ccp2_adjust_bandwidth()