| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_modes_test.c | 1 // SPDX-License-Identifier: GPL-2.0 26 priv->dev = drm_kunit_helper_alloc_device(test); in drm_test_modes_init() 27 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in drm_test_modes_init() 29 priv->drm = __drm_kunit_helper_alloc_drm_device(test, priv->dev, in drm_test_modes_init() 30 sizeof(*priv->drm), 0, in drm_test_modes_init() 32 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm); in drm_test_modes_init() 34 test->priv = priv; in drm_test_modes_init() 36 return 0; in drm_test_modes_init() 41 struct drm_test_modes_priv *priv = test->priv; in drm_test_modes_analog_tv_ntsc_480i() 45 mode = drm_analog_tv_mode(priv->drm, in drm_test_modes_analog_tv_ntsc_480i() [all …]
|
| /linux/drivers/video/fbdev/sis/ |
| H A D | sis_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria. 19 .xres = 0, 20 .yres = 0, 21 .xres_virtual = 0, 22 .yres_virtual = 0, 23 .xoffset = 0, 24 .yoffset = 0, 25 .bits_per_pixel = 0, 26 .grayscale = 0, [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | ps3fb.c | 2 * linux/drivers/video/ps3fb.c -- PS3 GPU frame buffer device 9 * linux/drivers/video/vfb.c -- Virtual frame buffer device 35 #include <asm/cell-regs.h> 47 #define GPU_IOIF (0x0d000000UL) 49 #define GPU_MAX_LINE_LENGTH (65536 - 64) 51 #define GPU_INTR_STATUS_VSYNC_0 0 /* vsync on head A */ 58 #define GPU_DRIVER_INFO_VERSION 0x211 144 "480i", 60, 576, 384, 74074, 130, 89, 78, 57, 63, 6, 148 "480p", 60, 576, 384, 37037, 130, 89, 78, 57, 63, 6, 166 /* 576i */ [all …]
|
| H A D | fm2fb.c | 2 * linux/drivers/video/fm2fb.c -- BSC FrameMaster II/Rainbow II frame buffer 5 * Copyright (C) 1998 Steffen A. Mork (linux-dev@morknet.de) 35 * - PAL/NTSC 36 * - interlaced/non interlaced 37 * - composite sync/sync/sync over green 40 * - 768x576 (PAL) 41 * - 768x480 (NTSC) 53 * At relative address 0x1ffff8 of the frame buffers base address 58 * 0 1 0=interlaced/1=non interlaced 59 * 1 2 0=video out disabled/1=video out enabled [all …]
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | rockchip_av1_filmgrain.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR Apache-2.0 6 56, 568, -180, 172, 124, -84, 172, -64, -900, 24, 820, 7 224, 1248, 996, 272, -8, -916, -388, -732, -104, -188, 800, 8 112, -652, -320, -376, 140, -252, 492, -168, 44, -788, 588, 9 -584, 500, -228, 12, 680, 272, -476, 972, -100, 652, 368, 10 432, -196, -720, -192, 1000, -332, 652, -136, -552, -604, -4, 11 192, -220, -136, 1000, -52, 372, -96, -624, 124, -24, 396, 12 540, -12, -104, 640, 464, 244, -208, -84, 368, -528, -740, 13 248, -968, -848, 608, 376, -60, -292, -40, -156, 252, -292, 14 248, 224, -280, 400, -244, 244, -60, 76, -80, 212, 532, [all …]
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | regs-mfc-v8.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include "regs-mfc-v7.h" 16 #define S5P_FIMV_D_MVC_NUM_VIEWS_V8 0xf104 17 #define S5P_FIMV_D_MIN_SCRATCH_BUFFER_SIZE_V8 0xf108 18 #define S5P_FIMV_D_FIRST_PLANE_DPB_SIZE_V8 0xf144 19 #define S5P_FIMV_D_SECOND_PLANE_DPB_SIZE_V8 0xf148 20 #define S5P_FIMV_D_THIRD_PLANE_DPB_SIZE_V8 0xf14C 21 #define S5P_FIMV_D_MV_BUFFER_SIZE_V8 0xf150 23 #define S5P_FIMV_D_FIRST_PLANE_DPB_STRIDE_SIZE_V8 0xf138 24 #define S5P_FIMV_D_SECOND_PLANE_DPB_STRIDE_SIZE_V8 0xf13c [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | elantech.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> 16 #define ETP_FW_ID_QUERY 0x00 17 #define ETP_FW_VERSION_QUERY 0x01 18 #define ETP_CAPABILITIES_QUERY 0x02 19 #define ETP_SAMPLE_QUERY 0x03 20 #define ETP_RESOLUTION_QUERY 0x04 21 #define ETP_ICBODY_QUERY 0x05 26 #define ETP_REGISTER_READ 0x10 27 #define ETP_REGISTER_WRITE 0x11 [all …]
|
| /linux/drivers/staging/media/av7110/ |
| H A D | dvb_filter.c | 1 // SPDX-License-Identifier: GPL-2.0 7 static u32 freq[4] = {480, 441, 320, 0}; 10 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640, 11 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 16 1152, 1280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 18 1253, 1393, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 19 {96, 120, 144, 168, 192, 240, 288, 336, 384, 480, 576, 672, 768, 960, 1152, 1344, 20 1536, 1728, 1920, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} 26 int found = 0; in dvb_filter_get_ac3info() 27 int c = 0; in dvb_filter_get_ac3info() [all …]
|
| H A D | dvb_filter.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 #define PROG_STREAM_MAP 0xBC 39 #define PRIVATE_STREAM1 0xBD 40 #define PADDING_STREAM 0xBE 41 #define PRIVATE_STREAM2 0xBF 42 #define AUDIO_STREAM_S 0xC0 43 #define AUDIO_STREAM_E 0xDF 44 #define VIDEO_STREAM_S 0xE0 45 #define VIDEO_STREAM_E 0xEF 46 #define ECM_STREAM 0xF0 [all …]
|
| /linux/include/rdma/ |
| H A D | ibta_vol1_c12.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 36 BUILD_BUG_ON_ZERO((total_len) % 32 != 0)]; \ 40 #define CM_REQ_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_req_msg, 0, 32) 101 #define CM_MRA_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_mra_msg, 0, 32) 109 #define CM_REJ_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_rej_msg, 0, 32) 114 #define CM_REJ_ARI CM_FIELD_MLOC(struct cm_rej_msg, 12, 576, void) 119 #define CM_REP_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_rep_msg, 0, 32) 141 #define CM_RTU_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_rtu_msg, 0, 32) 147 #define CM_DREQ_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_dreq_msg, 0, 32) 154 #define CM_DREP_LOCAL_COMM_ID CM_FIELD32_LOC(struct cm_drep_msg, 0, 32) [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | tvmodesnv17.c | 35 [TV_NORM_PAL_M] = "PAL-M", 36 [TV_NORM_PAL_N] = "PAL-N", 37 [TV_NORM_PAL_NC] = "PAL-Nc", 38 [TV_NORM_NTSC_M] = "NTSC-M", 39 [TV_NORM_NTSC_J] = "NTSC-J", 52 .tv_enc_mode = { 720, 576, 50000, { 53 0x2a, 0x9, 0x8a, 0xcb, 0x0, 0x0, 0xb, 0x18, 54 0x7e, 0x40, 0x8a, 0x35, 0x27, 0x0, 0x34, 0x3, 55 0x3e, 0x3, 0x17, 0x21, 0x1b, 0x1b, 0x24, 0x9c, 56 0x1, 0x0, 0xf, 0xf, 0x60, 0x5, 0xd3, 0x3, [all …]
|
| /linux/include/uapi/linux/dvb/ |
| H A D | video.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 3 * video.h - DEPRECATED MPEG-TS video decoder API 55 #define VIDEO_CMD_PLAY (0) 61 #define VIDEO_CMD_FREEZE_TO_BLACK (1 << 0) 64 #define VIDEO_CMD_STOP_TO_BLACK (1 << 0) 69 #define VIDEO_PLAY_FMT_NONE (0) 84 /* 0 or 1000 specifies normal speed, 86 -1 specifies backward single stepping, 88 <-1: reverse playback at (-speed/1000) of the normal speed. */ 100 the Vsync is for an odd, even or progressive (i.e. non-interlaced) [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | tables_nphy.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 73 /* The N-PHY tables. */ 74 #define B43_NTAB_TYPEMASK 0xF0000000 75 #define B43_NTAB_8BIT 0x10000000 76 #define B43_NTAB_16BIT 0x20000000 77 #define B43_NTAB_32BIT 0x30000000 82 /* Static N-PHY tables */ 83 #define B43_NTAB_FRAMESTRUCT B43_NTAB32(0x0A, 0x000) /* Frame Struct Table */ 85 #define B43_NTAB_FRAMELT B43_NTAB8 (0x18, 0x000) /* Frame Lookup Table */ 87 #define B43_NTAB_TMAP B43_NTAB32(0x0C, 0x000) /* T Map Table */ [all …]
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@kernel.org> 9 #include "ivtv-driver.h" 10 #include "ivtv-version.h" 11 #include "ivtv-mailbox.h" 12 #include "ivtv-i2c.h" 13 #include "ivtv-queue.h" 14 #include "ivtv-fileops.h" 15 #include "ivtv-vbi.h" [all …]
|
| H A D | ivtvfb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 Portions (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de> 29 #include "ivtv-driver.h" 30 #include "ivtv-cards.h" 31 #include "ivtv-i2c.h" 32 #include "ivtv-udma.h" 33 #include "ivtv-mailbox.h" 34 #include "ivtv-firmware.h" 44 static int ivtvfb_card_id = -1; 65 "Only use framebuffer of the specified ivtv card (0-31)\n" [all …]
|
| /linux/Documentation/fb/ |
| H A D | viafb.modes | 10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) 28 mode "640x480-60" 31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60" 35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock) 52 mode "640x480-75" 56 # 640x480, 85 Hz, Non-Interlaced (36.000 MHz dotclock) 73 mode "640x480-85" 77 # 640x480, 100 Hz, Non-Interlaced (43.163 MHz dotclock) 94 mode "640x480-100" 98 # 640x480, 120 Hz, Non-Interlaced (52.406 MHz dotclock) [all …]
|
| /linux/include/media/i2c/ |
| H A D | tvp514x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 * Karicheri Muralidharan <m-karicheri2@ti.com> 30 #define PAL_NUM_ACTIVE_LINES (576) 37 INPUT_CVBS_VI1A = 0x0, 40 INPUT_CVBS_VI2A = 0x04, 43 INPUT_CVBS_VI3A = 0x08, 46 INPUT_CVBS_VI4A = 0x0C, 48 * S-Video input selection 50 INPUT_SVIDEO_VI2A_VI1A = 0x44, 53 INPUT_SVIDEO_VI2A_VI3A = 0x54, [all …]
|
| /linux/drivers/gpu/drm/tve200/ |
| H A D | tve200_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2006-2008 Intel Corporation 14 #include <linux/dma-buf.h> 34 stat = readl(priv->regs + TVE200_INT_STAT); in tve200_irq() 51 val = readl(priv->regs + TVE200_CTRL); in tve200_irq() 54 drm_crtc_handle_vblank(&priv->pipe.crtc); in tve200_irq() 61 writel(val, priv->regs + TVE200_CTRL); in tve200_irq() 63 dev_err(priv->drm->dev, "stray IRQ %08x\n", stat); in tve200_irq() 66 writel(stat, priv->regs + TVE200_INT_CLR); in tve200_irq() 75 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_check() [all …]
|
| /linux/drivers/usb/misc/sisusbvga/ |
| H A D | sisusb_tables.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 7 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 24 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 58 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 59 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 60 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 61 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 62 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 63 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 64 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, [all …]
|
| /linux/Documentation/devicetree/bindings/leds/backlight/ |
| H A D | kinetic,ktz8866.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jianhua Lu <lujianhua000@gmail.com> 13 The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks 15 https://www.kinet-ic.com/ktz8866/ 18 - $ref: common.yaml# 27 vddpos-supply: 30 vddneg-supply: 33 enable-gpios: [all …]
|
| /linux/drivers/net/hamradio/ |
| H A D | mkiss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004, 05 Ralf Baechle DL5RB <ralf@linux-mips.org> 6 * Copyright (C) 2004, 05 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de> 59 /* long req'd: used by set_bit --RR */ 60 #define AXF_INUSE 0 /* Channel in use */ 70 #define CRC_MODE_NONE 0 80 /*---------------------------------------------------------------------------*/ 83 0x0f87, 0x1e0e, 0x2c95, 0x3d1c, 0x49a3, 0x582a, 0x6ab1, 0x7b38, 84 0x83cf, 0x9246, 0xa0dd, 0xb154, 0xc5eb, 0xd462, 0xe6f9, 0xf770, 85 0x1f06, 0x0e8f, 0x3c14, 0x2d9d, 0x5922, 0x48ab, 0x7a30, 0x6bb9, [all …]
|
| /linux/drivers/interconnect/qcom/ |
| H A D | sm8450.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 12 #define SM8450_MASTER_GPU_TCU 0 139 #define SM8450_SLAVE_QUP_CORE_1 576
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-cropcap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_CROPCAP - Information about the video cropping and scaling abilities 43 support cropping and/or scaling and/or have non-square pixels, and for 50 .. flat-table:: struct v4l2_cropcap 51 :header-rows: 0 52 :stub-columns: 0 55 * - __u32 56 - ``type`` 57 - Type of the data stream, set by the application. Only these types 61 * - struct :ref:`v4l2_rect <v4l2-rect-crop>` [all …]
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-ioctl.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-version.h" 14 #include "cx18-mailbox.h" 15 #include "cx18-i2c.h" 16 #include "cx18-queue.h" 17 #include "cx18-fileops.h" 18 #include "cx18-vbi.h" [all …]
|
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_encoder_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include <media/cec-notifier.h> 29 #include <linux/media-bus-format.h> 57 return drm_bridge_attach(encoder, encoder_hdmi->next_bridge, in meson_encoder_hdmi_attach() 58 &encoder_hdmi->bridge, flags); in meson_encoder_hdmi_attach() 65 cec_notifier_conn_unregister(encoder_hdmi->cec_notifier); in meson_encoder_hdmi_detach() 66 encoder_hdmi->cec_notifier = NULL; in meson_encoder_hdmi_detach() 72 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_set_vclk() 79 vclk_freq = mode->clock * 1000ULL; in meson_encoder_hdmi_set_vclk() 82 if (encoder_hdmi->output_bus_fmt == MEDIA_BUS_FMT_UYYVYY8_0_5X24) in meson_encoder_hdmi_set_vclk() [all …]
|