Lines Matching defs:mode
103 #define SCL_SEL_OD 0x20 /* open-drain mode */
616 {0xb1, 0x5c, 0x06, 0x00, 0x00, 0x00, 0x00, 0x10}, /* op mode ctrl */
627 {0xb1, 0x5c, 0x20, 0x00, 0x00, 0x00, 0x00, 0x10}, /* read mode */
646 /* factory mode */
652 /* auto-exposure speed (0) / white balance mode (auto RGB) */
654 * set color mode */
666 /* luminance mode (0x4f -> AutoExpo on) */
1297 u8 mode[8];
1303 mode[0] = 0x80 | 0x10;
1306 mode[0] = 0x81 | 0x10;
1309 mode[1] = sd->i2c_addr;
1310 mode[2] = reg;
1311 mode[3] = 0;
1312 mode[4] = 0;
1313 mode[5] = 0;
1314 mode[6] = 0;
1315 mode[7] = 0x10;
1316 i2c_w8(gspca_dev, mode);
1318 mode[0] = (mode[0] & 0x81) | (len << 4) | 0x02;
1319 mode[2] = 0;
1320 i2c_w8(gspca_dev, mode);
1599 /* Note we do not disable the sensor clock here (power saving mode),
2179 int mode;
2264 reg01 &= ~SCL_SEL_OD; /* remove open-drain mode */
2362 mode = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv;
2375 if (!mode)
2384 if (mode) { /* if 320x240 */
2395 if (!mode) { /* if 640x480 */
2469 /* here change size mode 0 -> VGA; 1 -> CIF */
2470 sd->reg18 = sn9c1xx[0x18] | (mode << 4) | 0x40;