/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | samsung,s6e8aa0.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrzej Hajda <a.hajda@samsung.com> 13 - $ref: panel-common.yaml# 20 reset-gpios: true 21 display-timings: true 23 vdd3-supply: 26 vci-supply: 29 power-on-delay: [all …]
|
H A D | ronbo,rb070d30.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR X11) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 17 description: MIPI-DSI virtual channel 19 power-gpios: 23 reset-gpios: 27 shlr-gpios: 28 description: GPIO used for the shlr pin (horizontal flip) 31 updn-gpios: [all …]
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_wpf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * vsp1_wpf.c -- R-Car VSP1 Write Pixel Formatter 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 12 #include <media/v4l2-subdev.h> 25 /* ----------------------------------------------------------------------------- 32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write() 35 /* ----------------------------------------------------------------------------- 46 struct vsp1_video *video = wpf->video; in vsp1_wpf_set_rotation() 57 if (rotate == wpf->flip.rotate) in vsp1_wpf_set_rotation() 61 mutex_lock(&video->lock); in vsp1_wpf_set_rotation() [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp.h | 1 /* 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 …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 21 #include <media/media-entity.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-mem2mem.h> 26 #include <media/v4l2-mediabus.h> 27 #include <media/drv-intf/exynos-fimc.h> 35 #define FIMC_DRIVER_NAME "exynos4-fimc" [all …]
|
/openbmc/linux/include/media/i2c/ |
H A D | ov772x.h | 1 /* 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
|
/openbmc/linux/include/uapi/drm/ |
H A D | drm_mode.h | 5 * 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 total size [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_core.h | 1 /* 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 D | mtk_mdp_ipi.h | 1 /* 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 */
|
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * header file for Samsung EXYNOS5 SoC series G-Scaler driver 20 #include <media/videobuf2-v4l2.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-mediabus.h> 25 #include <media/videobuf2-dma-contig.h> 27 #include "gsc-regs.h" [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/output/output_1.0/ |
H A D | ia_css_output.host.c | 1 // SPDX-License-Identifier: GPL-2.0 51 to->enable_hflip = from->enable_hflip; in ia_css_output_encode() 52 to->enable_vflip = from->enable_vflip; in ia_css_output_encode() 62 ret = ia_css_dma_configure_from_info(&to->port_b, from->info); in ia_css_output_config() 66 to->width_a_over_b = elems_a / to->port_b.elems; in ia_css_output_config() 67 to->height = from->info ? from->info->res.height : 0; in ia_css_output_config() 68 to->enable = from->info != NULL; in ia_css_output_config() 69 ia_css_frame_info_to_frame_sp_info(&to->info, from->info); in ia_css_output_config() 72 if (elems_a % to->port_b.elems != 0) in ia_css_output_config() 73 return -EINVAL; in ia_css_output_config() [all …]
|
/openbmc/linux/drivers/staging/media/tegra-video/ |
H A D | vi.h | 1 /* 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 …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_rect.c | 2 * 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 97 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 25 image flip, 8x8 block transfer (see IRT description), pixel component 26 re-ordering (for example UYVY to YUYV) within the same colorspace, and [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-galaxy-s3.dtsi | 1 // 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 …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 20 #define IDLE_TIMEOUT (66 - 16/2) 23 * struct msm_display_info - defines display properties 25 * @num_of_h_tiles: Number of horizontal tiles in case of split interface 41 * dpu_encoder_assign_crtc - Link the encoder to the crtc it's assigned to 49 * dpu_encoder_toggle_vblank_for_crtc - Toggles vblank interrupts on or off if 59 * dpu_encoder_register_frame_event_callback - provide callback to encoder that 69 * dpu_encoder_prepare_for_kickoff - schedule double buffer flip of the ctl 78 * dpu_encoder_trigger_kickoff_pending - Clear the flush bits from previous [all …]
|
H A D | dpu_hw_sspp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 52 * DPU_SSPP_RECT_SOLO - multirect disabled 53 * DPU_SSPP_RECT_0 - rect0 of a multirect pipe 54 * DPU_SSPP_RECT_1 - rect1 of a multirect pipe 147 * Filter type to be used for scaling in horizontal and vertical 158 * such as decimation, flip etc to program this field 167 * struct dpu_hw_pipe_ts_cfg - traffic shaper configuration 177 * struct dpu_sw_pipe - software pipe description 189 * struct dpu_hw_sspp_ops - interface to the SSPP Hw driver functions [all …]
|
/openbmc/linux/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx_vv6410.c | 1 // 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 …]
|
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | stk1135.c | 1 // 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/fbida/files/ |
H A D | support-jpeg-turbo.patch | 1 Upstream-Status: Pending 3 Add patch by Ondrej Sury to migrate to libjpeg-turbo (Closes: #763263) 5 Index: fbida-2.10/jpeg/62/jpegcomp.h 7 --- /dev/null 8 +++ fbida-2.10/jpeg/62/jpegcomp.h 9 @@ -0,0 +1,30 @@ 40 Index: fbida-2.10/jpeg/62/transupp.c 42 --- fbida-2.10.orig/jpeg/62/transupp.c 43 +++ fbida-2.10/jpeg/62/transupp.c 44 @@ -1,8 +1,10 @@ [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com> 8 #include <media/v4l2-common.h> 9 #include <media/videobuf2-v4l2.h> 10 #include <media/videobuf2-dma-contig.h> 11 #include "mtk-mdp3-core.h" 12 #include "mtk-mdp3-regs.h" 13 #include "mtk-mdp3-m2m.h" 22 for (i = 0; i < mdp_data->format_len; ++i) { in mdp_find_fmt() 23 if (!(mdp_data->format[i].flags & flag)) in mdp_find_fmt() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_hw_types.h | 41 * Note: do *not* add any types which are *not* used for HW programming - this 241 * in cases such as Stereo 3D, Planar YUV, etc. Other per-flip attributes such 249 /* TODO: add flip duration for FreeSync */ 363 * 0x0 - DISPLAY_MICRO_TILING 364 * 0x1 - THIN_MICRO_TILING 365 * 0x2 - DEPTH_MICRO_TILING 366 * 0x3 - ROTATED_MICRO_TILING 523 * enum dc_cursor_color_format - DC cursor programming mode 744 it is positive polarity --reversed with dal1 or video bios define*/ 746 it is positive polarity --reversed with dal1 or video bios define*/ [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | dvo_ns2501.c | 21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 75 #define NS2501_C0_HSYNC (1<<1) /* synchronize horizontal with input */ 77 #define NS2501_C0_RESET (1<<7) /* reset the synchronization flip/flops */ 102 #define NS2501_REG1C 0x1c /* low-part of the second register */ 103 #define NS2501_REG1D 0x1d /* high-part of the second register */ 106 * Scaler control registers. Horizontal at b8,b9, 108 * 2^16/control-value. The low-byte comes first. 110 #define NS2501_REG10 0x10 /* low-byte vertical scaler */ 111 #define NS2501_REG11 0x11 /* high-byte vertical scaler */ 112 #define NS2501_REGB8 0xb8 /* low-byte horizontal scaler */ [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.h | 1 /* 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 …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 52 struct drm_device *dev = crtc->dev; in avivo_crtc_load_lut() 53 struct radeon_device *rdev = dev->dev_private; in avivo_crtc_load_lut() 57 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in avivo_crtc_load_lut() 58 WREG32(AVIVO_DC_LUTA_CONTROL + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 60 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_BLUE + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 61 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_GREEN + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 62 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_RED + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 64 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_BLUE + radeon_crtc->crtc_offset, 0xffff); in avivo_crtc_load_lut() 65 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_GREEN + radeon_crtc->crtc_offset, 0xffff); in avivo_crtc_load_lut() [all …]
|