Lines Matching refs:width
211 unsigned int width; /* output */ member
320 unsigned int width, unsigned int height) in mt9m111_setup_rect_ctx() argument
323 int ret = mt9m111_reg_write(client, ctx->reducer_xzoom, rect->width); in mt9m111_setup_rect_ctx()
327 ret = mt9m111_reg_write(client, ctx->reducer_xsize, width); in mt9m111_setup_rect_ctx()
334 int width, int height, u32 code) in mt9m111_setup_geometry() argument
344 ret = reg_write(WINDOW_WIDTH, rect->width); in mt9m111_setup_geometry()
352 rect, width, height); in mt9m111_setup_geometry()
355 rect, width, height); in mt9m111_setup_geometry()
359 __func__, code, rect->width, rect->height, rect->left, rect->top, in mt9m111_setup_geometry()
360 width, height, ret); in mt9m111_setup_geometry()
390 int width, height; in mt9m111_s_crop() local
399 rect.width = ALIGN(rect.width, 2); in mt9m111_s_crop()
405 soc_camera_limit_side(&rect.left, &rect.width, in mt9m111_s_crop()
411 width = min(mt9m111->width, rect.width); in mt9m111_s_crop()
414 ret = mt9m111_setup_geometry(mt9m111, &rect, width, height, mt9m111->fmt->code); in mt9m111_s_crop()
417 mt9m111->width = width; in mt9m111_s_crop()
441 a->bounds.width = MT9M111_MAX_WIDTH; in mt9m111_cropcap()
455 mf->width = mt9m111->width; in mt9m111_g_fmt()
553 rect->width = ALIGN(rect->width, 2); in mt9m111_try_fmt()
559 mf->width = rect->width; in mt9m111_try_fmt()
563 if (mf->width > rect->width) in mt9m111_try_fmt()
564 mf->width = rect->width; in mt9m111_try_fmt()
570 mf->width, mf->height, fmt->code); in mt9m111_try_fmt()
590 ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code); in mt9m111_s_fmt()
594 mt9m111->width = mf->width; in mt9m111_s_fmt()
744 mt9m111->width, mt9m111->height, mt9m111->fmt->code); in mt9m111_restore_state()
984 mt9m111->rect.width = MT9M111_MAX_WIDTH; in mt9m111_probe()