Lines Matching defs:on
7 * Register definitions and initial settings based on a driver written
91 #define COM10_PCLK_HB 0x20 /* Suppress PCLK on horiz blank */
93 #define COM10_VS_LEAD 0x04 /* VSYNC on clock leading edge */
506 static int __ov965x_set_power(struct ov965x *ov965x, int on)
508 if (on) {
529 static int ov965x_s_power(struct v4l2_subdev *sd, int on)
534 v4l2_dbg(1, debug, sd, "%s: on: %d\n", __func__, on);
537 if (ov965x->power == !on) {
538 ret = __ov965x_set_power(ov965x, on);
539 if (!ret && on) {
547 ov965x->power += on ? 1 : -1;
1337 static int ov965x_s_stream(struct v4l2_subdev *sd, int on)
1343 v4l2_dbg(1, debug, sd, "%s: on: %d\n", __func__, on);
1346 if (ov965x->streaming == !on) {
1347 if (on)
1364 on ? 0x01 : 0x11);
1367 ov965x->streaming += on ? 1 : -1;