Lines Matching refs:width
740 int width = priv->crop_rect.width; in ov5642_set_resolution() local
744 int start_x = (OV5642_SENSOR_SIZE_X - width) / 2; in ov5642_set_resolution()
761 ret = reg_write16(client, REG_WINDOW_WIDTH_HIGH, width); in ov5642_set_resolution()
766 priv->crop_rect.width = width; in ov5642_set_resolution()
770 ret = reg_write16(client, REG_OUT_WIDTH_HIGH, width); in ov5642_set_resolution()
782 ret = reg_write16(client, REG_AVG_WINDOW_END_X_HIGH, width); in ov5642_set_resolution()
796 mf->width = priv->crop_rect.width; in ov5642_try_fmt()
835 mf->width = priv->crop_rect.width; in ov5642_g_fmt()
859 v4l_bound_align_image(&rect.width, 48, OV5642_MAX_WIDTH, 1, in ov5642_s_crop()
862 priv->crop_rect.width = rect.width; in ov5642_s_crop()
864 priv->total_width = rect.width + BLANKING_EXTRA_WIDTH; in ov5642_s_crop()
868 priv->crop_rect.width = rect.width; in ov5642_s_crop()
898 a->bounds.width = OV5642_MAX_WIDTH; in ov5642_cropcap()
1023 priv->crop_rect.width = OV5642_DEFAULT_WIDTH; in ov5642_probe()