Home
last modified time | relevance | path

Searched +full:flip +full:- +full:horizontal (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <media/v4l2-ctrls.h>
13 #include <media/v4l2-device.h>
14 #include <media/v4l2-mem2mem.h>
16 #include <media/videobuf2-dma-contig.h>
21 * Max nb of nodes in node-list:
22 * - 2 nodes to handle wide 4K pictures
23 * - 2 nodes to handle two planes (Y & CbCr) */
28 /* struct bdisp_ctrls - bdisp control set
29 * @hflip: horizontal flip
[all …]
H A Dbdisp-hw.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "bdisp-filter.h"
11 #include "bdisp-reg.h"
27 bool cconv; /* RGB - YUV conversion */
28 bool hflip; /* Horizontal flip */
29 bool vflip; /* Vertical flip */
32 u16 h_inc; /* Horizontal increment in 6.10 format */
371 dev_dbg(bdisp->dev, "%s\n", __func__); in bdisp_hw_reset()
374 writel(0, bdisp->regs + BLT_ITM0); in bdisp_hw_reset()
377 writel(readl(bdisp->regs + BLT_CTL) | BLT_CTL_RESET, in bdisp_hw_reset()
[all …]
/linux/include/uapi/drm/
H A Ddrm_mode.h5 * Copyright (c) 2007-2008 Tungsten Graphics, Inc., Cedar Park, TX., USA
6 * Copyright (c) 2007-2008 Intel Corporation
62 /* bit compatible with the xrandr RR_ definitions (bits 0-13)
176 * using the name->prop id lookup is the preferred method.
202 * using the name->prop id lookup is the preferred method.
222 * struct drm_mode_modeinfo - Display mode information.
224 * @hdisplay: horizontal display size
225 * @hsync_start: horizontal sync start
226 * @hsync_end: horizontal sync end
227 * @htotal: horizontal tota
[all...]
/linux/Documentation/devicetree/bindings/display/panel/
H A Dronbo,rb070d30.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR X11)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maxime Ripard <mripard@kernel.org>
19 power-gpios:
23 reset-gpios:
27 shlr-gpios:
28 description: GPIO used for the shlr pin (horizontal flip)
31 updn-gpios:
32 description: GPIO used for the updn pin (vertical flip)
[all …]
/linux/include/media/i2c/
H A Dov772x.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #define OV772X_FLAG_VFLIP (1 << 0) /* Vertical flip image */
14 #define OV772X_FLAG_HFLIP (1 << 1) /* Horizontal flip image */
29 #define OV772X_MANUAL_EDGE_CTRL 0x80 /* un-used bit of strength */
49 * struct ov772x_camera_info - ov772x driver interface structure
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2016 MediaTek Inc.
12 #include <media/v4l2-ctrls.h>
13 #include <media/v4l2-device.h>
14 #include <media/v4l2-mem2mem.h>
15 #include <media/videobuf2-core.h>
16 #include <media/videobuf2-dma-contig.h>
22 #define MTK_MDP_MODULE_NAME "mtk-mdp"
34 * struct mtk_mdp_pix_align - alignment of image
48 * struct mtk_mdp_fmt - the driver's internal color format data
[all …]
H A Dmtk_mdp_ipi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2016 MediaTek Inc.
26 * struct mdp_ipi_init - for AP_MDP_INIT
38 * struct mdp_ipi_comm - for AP_MDP_PROCESS, AP_MDP_DEINIT
54 * struct mdp_ipi_comm_ack - for VPU_MDP_DEINIT_ACK, VPU_MDP_PROCESS_ACK
70 * struct mdp_config - configured for source/destination image
75 * @w_stride : bytes in horizontal
105 int32_t hflip; /* 1 will enable the flip */
106 int32_t vflip; /* 1 will enable the flip */
/linux/include/uapi/linux/media/raspberrypi/
H A Dpisp_be_config.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
5 * Copyright (C) 2021 - Raspberry Pi Ltd
98 * struct pisp_be_global_config - PiSP global enable bitmaps
112 * struct pisp_be_input_buffer_config - PiSP Back End input buffer
121 * struct pisp_be_dpc_config - PiS
[all...]
/linux/drivers/staging/media/tegra-video/
H A Dvi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #include <media/media-entity.h>
17 #include <media/v4l2-async.h>
18 #include <media/v4l2-ctrls.h>
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-dev.h>
21 #include <media/v4l2-subdev.h>
22 #include <media/videobuf2-v4l2.h>
44 * struct tegra_vi_ops - Tegra VI operations
45 * @vi_enable: soc-specific operations needed to enable/disable the VI peripheral
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_rect.c2 * Copyright (C) 2011-2013 Intel Corporation
33 * drm_rect_intersect - intersect two rectangles
46 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect()
47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect()
49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect()
65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled()
78 * drm_rect_clip_scaled - perform a scaled clip operation
84 * the corresponding amounts, retaining the vertical and horizontal scaling
96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-galaxy-s3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/leds/common.h>
11 #include "exynos4412-midas.dtsi"
19 led-controller {
21 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
22 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
24 pinctrl-names = "default", "host", "isp";
25 pinctrl-0 = <&camera_flash_host>;
26 pinctrl-1 = <&camera_flash_host>;
[all …]
H A Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
19 chassis-type = "handset";
37 stdout-path = "serial2:115200n8";
40 vemmc_reg: regulator-0 {
41 compatible = "regulator-fixed";
42 regulator-name = "VMEM_VDD_2.8V";
43 regulator-min-microvolt = <2800000>;
44 regulator-max-microvolt = <2800000>;
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_vv6410.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
12 * P/N 861075-0040: Sensor HDCS1000 ASIC
13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
37 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in vv6410_s_ctrl()
[all …]
/linux/drivers/media/usb/gspca/
H A Dstk1135.c1 // SPDX-License-Identifier: GPL-2.0-or-later
45 /* -- read a register -- */
48 struct usb_device *dev = gspca_dev->dev; in reg_r()
51 if (gspca_dev->usb_err < 0) in reg_r()
58 gspca_dev->usb_buf, 1, in reg_r()
62 index, gspca_dev->usb_buf[0]); in reg_r()
65 gspca_dev->usb_err = ret; in reg_r()
69 return gspca_dev->usb_buf[0]; in reg_r()
72 /* -- write a register -- */
76 struct usb_device *dev = gspca_dev->dev; in reg_w()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h41 * Note: do *not* add any types which are *not* used for HW programming - this
245 * in cases such as Stereo 3D, Planar YUV, etc. Other per-flip attributes such
253 /* TODO: add flip duration for FreeSync */
395 * 0x0 - DISPLAY_MICRO_TILING
396 * 0x1 - THIN_MICRO_TILING
397 * 0x2 - DEPTH_MICRO_TILING
398 * 0x3 - ROTATED_MICRO_TILING
560 * enum dc_cursor_color_format - DC cursor programming mode
783 it is positive polarity --reversed with dal1 or video bios define*/
785 it is positive polarity --reversed with dal1 or video bios define*/
[all …]
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
20 #include <media/media-entity.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-dev.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-mediabus.h>
25 #include <media/videobuf2-v4l2.h>
26 #include <media/drv-intf/s3c_camif.h>
28 #define S3C_CAMIF_DRIVER_NAME "s3c-camif"
39 #define S3C2450_CAMIF_IP_REV 0x30 /* 3.0 - not implemented, not tested */
[all …]
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Seung-Woo Kim <sw0312.kim@samsung.com>
56 * @h_ratio: horizontal scaling ratio, 16.16 fixed point
103 * @zpos: initial z-position of the plane.
132 * synchronization signal if there is a page flip request.
181 if (crtc->pipe_clk) in exynos_drm_pipe_clk_enable()
182 crtc->pipe_clk->enable(crtc->pipe_clk, enable); in exynos_drm_pipe_clk_enable()
212 struct exynos_drm_private *priv = dev->dev_private; in to_dma_dev()
214 return priv->dma_dev; in to_dma_dev()
219 struct exynos_drm_private *priv = drm_dev->dev_private; in is_drm_iommu_supported()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-raspberrypi-touchscreen.c2 * Copyright © 2016-2017 Broadcom
8 * Portions of this file (derived from panel-simple.c) are:
25 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
36 * TC358762XBG DSI-DPI bridge, and an I2C-connected Atmel ATTINY88-MUR
47 #include <linux/media-bus-format.h>
58 #define RPI_DSI_DRIVER_NAME "rpi-ts-dsi"
63 REG_PORTA, /* BIT(2) for horizontal flip, BIT(3) for vertical flip */
83 /* DSI D-PHY Layer Registers */
161 /* DBI-B Host Registers */
200 * plugged in and clock re-computed from that.
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c1 // SPDX-License-Identifier: GPL-2.0
30 for_each_new_connector_in_state(crtc_st->state, conn, conn_st, i) { in komeda_crtc_get_color_config()
31 if (conn_st->crtc != crtc_st->crtc) in komeda_crtc_get_color_config()
34 conn_bpc = conn->display_info.bpc ? conn->display_info.bpc : 8; in komeda_crtc_get_color_config()
35 conn_color_formats &= conn->display_info.color_formats; in komeda_crtc_get_color_config()
53 if (!kcrtc_st->base.active) { in komeda_crtc_update_clock_ratio()
54 kcrtc_st->clock_ratio = 0; in komeda_crtc_update_clock_ratio()
58 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio()
61 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio()
65 * komeda_crtc_atomic_check - build display output data flow
[all …]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_crtc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * R-Car Display Unit CRTCs
5 * Copyright (C) 2013-2015 Renesas Electronics Corporation
35 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_read()
37 return rcar_du_read(rcdu, rcrtc->mmio_offset + reg); in rcar_du_crtc_read()
42 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_write()
44 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, data); in rcar_du_crtc_write()
49 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_clr()
51 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, in rcar_du_crtc_clr()
52 rcar_du_read(rcdu, rcrtc->mmio_offset + reg) & ~clr); in rcar_du_crtc_clr()
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/dma-mapping.h>
65 struct drm_device *dev = crtc->dev; in set_scanout()
66 struct tilcdc_drm_private *priv = dev->dev_private; in set_scanout()
73 start = gem->dma_addr + fb->offsets[0] + in set_scanout()
74 crtc->y * fb->pitches[0] + in set_scanout()
75 crtc->x * fb->format->cpp[0]; in set_scanout()
77 end = start + (crtc->mode.vdisplay * fb->pitches[0]); in set_scanout()
84 if (priv->rev == 1) in set_scanout()
85 end -= 1; in set_scanout()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
52 * amdgpu_display_hotplug_work_func - work handler for display hotplug event
72 struct drm_mode_config *mode_config = &dev->mode_config; in amdgpu_display_hotplug_work_func()
76 mutex_lock(&mode_config->mutex); in amdgpu_display_hotplug_work_func()
81 mutex_unlock(&mode_config->mutex); in amdgpu_display_hotplug_work_func()
98 schedule_work(&work->flip_work.work); in amdgpu_display_flip_callback()
111 if (!dma_fence_add_callback(fence, &work->cb, in amdgpu_display_flip_handle_fence()
125 struct amdgpu_device *adev = work->adev; in amdgpu_display_flip_work_func()
126 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func()
128 struct drm_crtc *crtc = &amdgpu_crtc->base; in amdgpu_display_flip_work_func()
[all …]
/linux/drivers/media/i2c/ccs/
H A Dccs-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/media/i2c/ccs/ccs-core.c
8 * Copyright (C) 2010--2012 Nokia Corporation
13 * Based on smia-sensor.c by Tuukka Toivonen <tuukkat76@gmail.com>
27 #include <linux/v4l2-mediabus.h>
28 #include <media/v4l2-cci.h>
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-fwnode.h>
46 * ccs_module_idents - supported camera modules
49 CCS_IDENT_L(0x01, 0x022b, -1, "vs6555"),
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-samsung-serranove.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include "msm8916-modem-qdsp6.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
24 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts
30 chassis-type = "handset";
39 stdout-path = "serial0";
[all …]
/linux/drivers/media/i2c/
H A Dov2640.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved.
20 #include <linux/v4l2-mediabus.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-event.h>
25 #include <media/v4l2-subdev.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-image-sizes.h>
58 #define TEST 0x57 /* Horizontal size completion */
83 #define HSIZE8 0xC0 /* Image Horizontal Size HSIZE[10:3] */
[all …]

123