Lines Matching defs:enable
1846 * [2] = 1/0 : MIPI interface enable/disable
2086 static int ov5640_set_binning(struct ov5640_dev *sensor, bool enable)
2092 * - [0]: Horizontal binning enable
2095 BIT(0), enable ? BIT(0) : 0);
2104 BIT(0), enable ? BIT(0) : 0);
2433 static void ov5640_power(struct ov5640_dev *sensor, bool enable)
2435 gpiod_set_value_cansleep(sensor->pwdn_gpio, enable ? 0 : 1);
2486 dev_err(&client->dev, "%s: failed to enable clock\n",
2494 dev_err(&client->dev, "%s: failed to enable regulators\n",
2625 * - [0]: CCIR656 mode enable
2629 * - CCIR656 mode enable
2663 * powerdown MIPI TX/RX PHY & enable DVP
2668 * [2] = 0 : DVP enable (MIPI disable)
2675 * enable VSYNC/HREF/PCLK DVP control lines
2679 * - 6: VSYNC output enable
2680 * - 5: HREF output enable
2681 * - 4: PCLK output enable
2682 * - [3:0]: D[9:6] output enable
2690 * enable D[5:0] DVP data lines
2693 * - [7:2]: D[5:0] output enable
3058 * - [5]: JPEG enable
3695 static int ov5640_s_stream(struct v4l2_subdev *sd, int enable)
3700 if (enable) {
3714 if (sensor->streaming == !enable) {
3715 if (enable && sensor->pending_mode_change) {
3721 if (enable && sensor->pending_fmt_change) {
3729 ret = ov5640_set_stream_mipi(sensor, enable);
3731 ret = ov5640_set_stream_dvp(sensor, enable);
3734 sensor->streaming = enable;
3740 if (!enable || ret) {