Searched refs:xskip (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/i2c/soc_camera/
H A Dmt9t031.c80 u16 xskip; member in struct:mt9t031
202 struct v4l2_rect *rect, u16 xskip, u16 yskip) mt9t031_set_params()
210 xbin = min(xskip, (u16)3); mt9t031_set_params()
220 * the selected xskip. Failing to conform to this requirement produces mt9t031_set_params()
241 xskip, yskip, rect->width, rect->height, rect->left, rect->top); mt9t031_set_params()
253 if (yskip != mt9t031->yskip || xskip != mt9t031->xskip) { mt9t031_set_params()
257 ((xbin - 1) << 4) | (xskip - 1)); mt9t031_set_params()
290 mt9t031->xskip = xskip; mt9t031_set_params()
312 return mt9t031_set_params(client, &rect, mt9t031->xskip, mt9t031->yskip); mt9t031_s_crop()
351 mf->width = mt9t031->rect.width / mt9t031->xskip; mt9t031_get_fmt()
371 u16 xskip, yskip; mt9t031_set_fmt() local
392 xskip = mt9t031_skip(&rect.width, mf->width, MT9T031_MAX_WIDTH); mt9t031_set_fmt()
399 return mt9t031_set_params(client, &rect, xskip, yskip); mt9t031_set_fmt()
567 xbin = min(mt9t031->xskip, (u16)3); mt9t031_runtime_resume()
571 ((xbin - 1) << 4) | (mt9t031->xskip - 1)); mt9t031_runtime_resume()
803 mt9t031->xskip = 1; mt9t031_probe()
201 mt9t031_set_params(struct i2c_client *client, struct v4l2_rect *rect, u16 xskip, u16 yskip) mt9t031_set_params() argument
/linux-4.4.14/drivers/media/i2c/
H A Dmt9p031.c390 unsigned int xskip; mt9p031_set_params() local
418 xskip = DIV_ROUND_CLOSEST(crop->width, format->width); mt9p031_set_params()
420 xbin = 1 << (ffs(xskip) - 1); mt9p031_set_params()
424 ((xbin - 1) << 4) | (xskip - 1)); mt9p031_set_params()

Completed in 59 milliseconds