Home
last modified time | relevance | path

Searched refs:mt9t031 (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9t031.c70 struct mt9t031 { struct
86 static struct mt9t031 *to_mt9t031(const struct i2c_client *client) in to_mt9t031() argument
88 return container_of(i2c_get_clientdata(client), struct mt9t031, subdev); in to_mt9t031()
204 struct mt9t031 *mt9t031 = to_mt9t031(client); in mt9t031_set_params() local
253 if (yskip != mt9t031->yskip || xskip != mt9t031->xskip) { in mt9t031_set_params()
277 rect->height + mt9t031->y_skip_top - 1); in mt9t031_set_params()
278 if (ret >= 0 && v4l2_ctrl_g_ctrl(mt9t031->autoexposure) == V4L2_EXPOSURE_AUTO) { in mt9t031_set_params()
279 mt9t031->total_h = rect->height + mt9t031->y_skip_top + vblank; in mt9t031_set_params()
281 ret = set_shutter(client, mt9t031->total_h); in mt9t031_set_params()
289 mt9t031->rect = *rect; in mt9t031_set_params()
[all …]
DMakefile4 obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
DKconfig24 tristate "mt9t031 support"