Lines Matching refs:frame_length
1531 u32 *frame_length) in imx274_clamp_coarse_time() argument
1535 err = imx274_get_frame_length(priv, frame_length); in imx274_clamp_coarse_time()
1539 if (*frame_length < priv->mode->min_frame_len) in imx274_clamp_coarse_time()
1540 *frame_length = priv->mode->min_frame_len; in imx274_clamp_coarse_time()
1542 *val = *frame_length - *val; /* convert to raw shr */ in imx274_clamp_coarse_time()
1543 if (*val > *frame_length - IMX274_SHR_LIMIT_CONST) in imx274_clamp_coarse_time()
1544 *val = *frame_length - IMX274_SHR_LIMIT_CONST; in imx274_clamp_coarse_time()
1667 u32 coarse_time, frame_length; in imx274_set_coarse_time() local
1672 err = imx274_clamp_coarse_time(priv, &coarse_time, &frame_length); in imx274_set_coarse_time()
1680 *val = frame_length - coarse_time; in imx274_set_coarse_time()
1814 u32 frame_length; in imx274_set_frame_length() local
1819 frame_length = (u32)val; in imx274_set_frame_length()
1821 err = imx274_write_mbreg(priv, IMX274_VMAX_REG_3, frame_length, 3); in imx274_set_frame_length()
1846 u32 frame_length, req_frame_rate; in imx274_set_frame_interval() local
1895 frame_length = IMX274_PIXCLK_CONST1 / (svr + 1) / hmax in imx274_set_frame_interval()
1899 err = imx274_set_frame_length(priv, frame_length); in imx274_set_frame_interval()