| /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 …]
|
| H A D | bdisp-hw.c | 1 // 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 */ 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() 378 bdisp->regs + BLT_CTL); in bdisp_hw_reset() [all …]
|
| /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. 239 * This is the user-space API display mode information structure. For the 285 __u32 y; /**< y Position on the framebuffer */ member 316 * struct drm_mode_get_plane - Ge 806 __s32 y; global() member 817 __s32 y; global() member 901 __u16 x, y; global() member 912 __u16 x, y; global() member [all...] |
| /linux/drivers/input/touchscreen/ |
| H A D | bu21013_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 4 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 140 * struct bu21013_ts - touch panel data structure 148 * @touch_y_max: maximum Y coordinate reported by the device 151 * @y_flip: indicates that the driver should invert Y coordinate before 176 ret = i2c_smbus_read_i2c_block_data(ts->client, in bu21013_read_block_data() 183 return -EINVAL; in bu21013_read_block_data() 188 struct input_dev *input = ts->in_dev; in bu21013_do_touch_report() 197 return -EINVAL; in bu21013_do_touch_report() [all …]
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_soft_reset() 50 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_soft_reset() 76 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_enable() 87 drm_warn(&ldev->base, "%s stall\n", lcrtc->base.name); in lsdc_crtc0_enable() 96 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_disable() 105 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_enable() 115 drm_warn(&ldev->base, "%s stall\n", lcrtc->base.name); in lsdc_crtc1_enable() 124 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc1_disable() 135 struct lsdc_device *ldev = lcrtc->ldev; in lsdc_crtc0_scan_pos() [all …]
|
| /linux/drivers/media/platform/mediatek/mdp/ |
| 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 72 * @y : top 85 int32_t y; member 105 int32_t hflip; /* 1 will enable the flip */ 106 int32_t vflip; /* 1 will enable the flip */
|
| 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 …]
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd. 13 #include <media/drv-intf/exynos-fimc.h> 14 #include "media-dev.h" 16 #include "fimc-reg.h" 17 #include "fimc-core.h" 23 cfg = readl(dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 25 writel(cfg, dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 28 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 30 writel(cfg, dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | ste-href-stuib.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "gpio-keys"; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 vdd-supply = <&ab8500_ldo_aux1_reg>; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>; 33 stmpe1601: port-expander@40 { [all …]
|
| /linux/arch/powerpc/include/uapi/asm/ |
| H A D | ps3fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 18 #define PS3FB_IOCTL_OFF _IO('r', 5) /* return to normal-flip */ 19 #define PS3FB_IOCTL_FSEL _IOW('r', 6, int) /* blit and flip request */ 29 __u32 yoff; /* margine y */
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn21/ |
| H A D | dcn21_hubp.c | 35 ctx->logger 39 hubp21->hubp_regs->reg 42 hubp21->base.ctx 46 hubp21->hubp_shift->field_name, hubp21->hubp_mask->field_name 49 * In DCN2.1, the non-double buffered version of the following 4 DLG registers are used in RTL. 63 * during prefetch period of a frame. The prefetch starts at a pre-determined 68 * or a sub-region of active using a new surface will be corrupted 69 * until the VM data returns at flip/mode change transitions 76 * Link to the ticket: http://ontrack-internal.amd.com/browse/DEDCN21-142 94 refcyc_per_vm_group_vblank > dlg_attr->refcyc_per_vm_group_vblank) in apply_DEDCN21_142_wa_for_hostvm_deadline() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_attr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2000,2002-2003,2005 Silicon Graphics, Inc. 32 * Kernel-internal version of the attrlist cursor. 37 __u32 offset; /* offset in list of equal-hashvals */ 38 __u16 pad1; /* padding to match user-level */ 39 __u8 pad2; /* padding to match user-level */ 61 * Abort attribute list iteration if non-zero. Can be used to pass 86 * states indicate places where the function would return -EAGAIN, and then 98 * y 101 * are we short form? ──y──> xfs_attr_shortform_remove ──> done [all …]
|
| /linux/drivers/gpu/drm/xen/ |
| H A D | xen_drm_front_kms.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Xen para-virtual DRM device 6 * Copyright (C) 2016-2018 EPAM Systems Inc. 28 * must be a bit more than IO time-out 40 struct xen_drm_front_drm_info *drm_info = fb->dev->dev_private; in fb_destroy() 43 if (drm_dev_enter(fb->dev, &idx)) { in fb_destroy() 44 xen_drm_front_fb_detach(drm_info->front_info, in fb_destroy() 60 struct xen_drm_front_drm_info *drm_info = dev->dev_private; in fb_create() 69 gem_obj = fb->obj[0]; in fb_create() 71 ret = xen_drm_front_fb_attach(drm_info->front_info, in fb_create() [all …]
|
| /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 …]
|
| /linux/arch/mips/math-emu/ |
| H A D | sp_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1994-2000 Algorithmics Ltd. 12 union ieee754sp ieee754sp_sub(union ieee754sp x, union ieee754sp y) in ieee754sp_sub() argument 33 return ieee754sp_nanxcpt(y); in ieee754sp_sub() 47 return y; in ieee754sp_sub() 92 SPSIGN(y) ^= 1; in ieee754sp_sub() 93 return y; in ieee754sp_sub() 109 /* flip sign of y and handle as add */ in ieee754sp_sub() 122 * have to shift y fraction right to align in ieee754sp_sub() 124 s = xe - ye; in ieee754sp_sub() [all …]
|
| H A D | dp_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1994-2000 Algorithmics Ltd. 12 union ieee754dp ieee754dp_sub(union ieee754dp x, union ieee754dp y) in ieee754dp_sub() argument 33 return ieee754dp_nanxcpt(y); in ieee754dp_sub() 47 return y; in ieee754dp_sub() 92 DPSIGN(y) ^= 1; in ieee754dp_sub() 93 return y; in ieee754dp_sub() 111 /* flip sign of y and handle as add */ in ieee754dp_sub() 124 * Have to shift y fraction right to align in ieee754dp_sub() 126 s = xe - ye; in ieee754dp_sub() [all …]
|
| /linux/include/linux/ |
| H A D | rmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011-2016 Synaptics Incorporated 21 * struct rmi_2d_axis_alignment - target axis alignment 22 * @swap_axes: set to TRUE if desired to swap x- and y-axis 23 * @flip_x: set to TRUE if desired to flip direction on x-axis 24 * @flip_y: set to TRUE if desired to flip direction on y-axis 25 * @clip_x_low - reported X coordinates below this setting will be clipped to 27 * @clip_x_high - reported X coordinates above this setting will be clipped to 29 * @clip_y_low - reported Y coordinates below this setting will be clipped to 31 * @clip_y_high - reported Y coordinates above this setting will be clipped to [all …]
|
| /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 …]
|
| /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 …]
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_disp_ovl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/soc/mediatek/mtk-cmdq.h> 51 #define DISP_REG_OVL_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n)) 52 #define DISP_REG_OVL_HDR_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n) + 0x04) 53 #define DISP_REG_OVL_HDR_PITCH(ovl, n) ((ovl)->data->addr + 0x20 * (n) + 0x08) 77 #define OVL_CON_CLRFMT_RGB565(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ 79 #define OVL_CON_CLRFMT_RGB888(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ 156 * struct mtk_disp_ovl - DISP_OVL driver structure 175 writel(0x0, priv->regs + DISP_REG_OVL_INTSTA); in mtk_disp_ovl_irq_handler() 177 if (!priv->vblank_cb) in mtk_disp_ovl_irq_handler() [all …]
|
| /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 …]
|
| /linux/arch/x86/boot/ |
| H A D | video-mode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- ------------------------------------------------------- * 5 * Copyright 2007-2008 rPath, Inc. - All Rights Reserved 7 * ----------------------------------------------------------------------- */ 10 * arch/i386/boot/video-mode.c 27 int do_restore; /* Screen contents changed during mode flip */ 42 if (card->unsafe == unsafe) { in probe_cards() 43 if (card->probe) in probe_cards() 44 card->nmodes = card->probe(); in probe_cards() 46 card->nmodes = 0; in probe_cards() [all …]
|
| /linux/drivers/hid/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 default y 17 default y 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 32 If unsure, say Y. 48 Say Y here if you want to support HID devices (from the USB 58 to work on raw hid events when they want to, and avoid using transport-specific 61 If unsure, say Y. 64 tristate "User-space I/O driver support for HID subsystem" [all …]
|
| /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 137 int y; member 245 * in cases such as Stereo 3D, Planar YUV, etc. Other per-flip attributes such 253 /* TODO: add flip duration for FreeSync */ 371 /* Specifies the number of tiles in the y direction to 395 * 0x0 - DISPLAY_MICRO_TILING 396 * 0x1 - THIN_MICRO_TILING 397 * 0x2 - DEPTH_MICRO_TILING 398 * 0x3 - ROTATED_MICRO_TILING 469 * @y: It is the top ordinate of the cursor coordinate. [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Seung-Woo Kim <sw0312.kim@samsung.com> 44 unsigned int x, y; member 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 …]
|