Lines Matching refs:rect
96 struct v4l2_rect rect; /* Sensor window */
178 struct v4l2_rect rect = a->c;
187 rect.height = ALIGN(rect.height, 2);
190 rect.width = ALIGN(rect.width, 2);
191 rect.left = ALIGN(rect.left, 2);
193 soc_camera_limit_side(&rect.left, &rect.width,
196 soc_camera_limit_side(&rect.top, &rect.height,
199 mt9m001->total_h = rect.height + mt9m001->y_skip_top + vblank;
211 ret = reg_write(client, MT9M001_COLUMN_START, rect.left);
213 ret = reg_write(client, MT9M001_ROW_START, rect.top);
215 ret = reg_write(client, MT9M001_WINDOW_WIDTH, rect.width - 1);
218 rect.height + mt9m001->y_skip_top - 1);
223 mt9m001->rect = rect;
233 a->c = mt9m001->rect;
259 mf->width = mt9m001->rect.width;
260 mf->height = mt9m001->rect.height;
275 .left = mt9m001->rect.left,
276 .top = mt9m001->rect.top,
286 mf->width = mt9m001->rect.width;
287 mf->height = mt9m001->rect.height;
463 mt9m001->total_h = mt9m001->rect.height +
691 mt9m001->rect.left = MT9M001_COLUMN_SKIP;
692 mt9m001->rect.top = MT9M001_ROW_SKIP;
693 mt9m001->rect.width = MT9M001_MAX_WIDTH;
694 mt9m001->rect.height = MT9M001_MAX_HEIGHT;