Lines Matching refs:qvga
3906 int qvga, xstart, xend, ystart, yend;
3909 qvga = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv & 1;
3914 i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20);
3915 i2c_w_mask(sd, 0x28, qvga ? 0x00 : 0x20, 0x20);
3916 i2c_w(sd, 0x24, qvga ? 0x20 : 0x3a);
3917 i2c_w(sd, 0x25, qvga ? 0x30 : 0x60);
3918 i2c_w_mask(sd, 0x2d, qvga ? 0x40 : 0x00, 0x40);
3919 i2c_w_mask(sd, 0x67, qvga ? 0xf0 : 0x90, 0xf0);
3920 i2c_w_mask(sd, 0x74, qvga ? 0x20 : 0x00, 0x20);
3930 if (qvga) {
3938 i2c_w(sd, 0x12, qvga ? 0x60 : 0x20);
3942 if (qvga) {
3955 i2c_w_mask(sd, 0x12, qvga ? 0x40 : 0x00, 0xf0);
3968 /* For OV8610 qvga means qsvga */
3969 i2c_w_mask(sd, OV7610_REG_COM_C, qvga ? (1 << 5) : 0, 1 << 5);
3976 i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20);
3977 i2c_w(sd, 0x35, qvga ? 0x1e : 0x9e);
3984 i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20);
3985 i2c_w_mask(sd, 0x28, qvga ? 0x00 : 0x20, 0x20);
3986 i2c_w(sd, 0x24, qvga ? 0x20 : 0x3a);
3987 i2c_w(sd, 0x25, qvga ? 0x30 : 0x60);
3988 i2c_w_mask(sd, 0x2d, qvga ? 0x40 : 0x00, 0x40);
3989 i2c_w_mask(sd, 0x67, qvga ? 0xb0 : 0x90, 0xf0);
3990 i2c_w_mask(sd, 0x74, qvga ? 0x20 : 0x00, 0x20);
3994 i2c_w(sd, 0x35, qvga ? 0x1e : 0x9e);
3998 i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20);
3999 i2c_w_mask(sd, 0x28, qvga ? 0x00 : 0x20, 0x20);
4000 /* Setting this undocumented bit in qvga mode removes a very
4002 i2c_w_mask(sd, 0x2d, qvga ? 0x40 : 0x00, 0x40);
4004 i2c_w_mask(sd, 0x67, qvga ? 0xf0 : 0x90, 0xf0);
4006 i2c_w_mask(sd, 0x74, qvga ? 0x20 : 0x00, 0x20);
4014 qvga ? OV7670_COM7_FMT_QVGA : OV7670_COM7_FMT_VGA,
4019 if (qvga) { /* QVGA from ov7670.c by
4050 i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20);
4056 i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20);
4078 i2c_w_mask(sd, 0x12, qvga ? 0x40 : 0x00, 0x40);
4079 if (qvga)
4111 int qvga, crop;
4130 qvga = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv & 1;
4155 if (sd->sensor == SEN_OV66308AF && qvga)
4185 if (qvga) { /* QCIF */
4195 if (qvga) { /* QSVGA */
4204 if (qvga) { /* QVGA */