| /linux/drivers/video/fbdev/geode/ |
| H A D | lxfb_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 * we try to make it something sane - 640x480-60 is sane 38 /* 640x480-60 */ 41 FB_VMODE_NONINTERLACED, 0 }, 42 /* 640x400-70 */ 45 FB_VMODE_NONINTERLACED, 0 }, 46 /* 640x480-70 */ 48 0, FB_VMODE_NONINTERLACED, 0 }, 49 /* 640x480-72 */ 52 FB_VMODE_NONINTERLACED, 0 }, [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 …]
|
| H A D | oem310.h | 6 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 23 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 55 0x00,0x00,0x00, /* 800x600 */ 56 0x0b,0x0b,0x0b, /* 1024x768 */ 57 0x08,0x08,0x08, /* 1280x1024 */ 58 0x00,0x00,0x00, /* 640x480 (unknown) */ 59 0x00,0x00,0x00, /* 1024x600 (unknown) */ 60 0x00,0x00,0x00, /* 1152x864 (unknown) */ 61 0x08,0x08,0x08, /* 1280x960 (guessed) */ 62 0x00,0x00,0x00, /* 1152x768 (unknown) */ [all …]
|
| H A D | 300vtbl.h | 6 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 23 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 55 {0x6a,0x2212,0x0102,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1}, /* 800x600x? */ 56 {0x2e,0x0a1b,0x0101,SIS_RI_640x480, 0x00,0x00,0x00,0x00,0x08,-1}, 57 {0x2f,0x021b,0x0100,SIS_RI_640x400, 0x00,0x00,0x00,0x00,0x10,-1}, /* 640x400x8 */ 58 {0x30,0x2a1b,0x0103,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1}, 59 {0x31,0x4a1b,0x0000,SIS_RI_720x480, 0x00,0x00,0x00,0x00,0x11,-1}, /* 720x480x8 */ 60 {0x32,0x6a1b,0x0000,SIS_RI_720x576, 0x00,0x00,0x00,0x00,0x12,-1}, /* 720x576x8 */ 61 {0x33,0x4a1d,0x0000,SIS_RI_720x480, 0x00,0x00,0x00,0x00,0x11,-1}, /* 720x480x16 */ 62 {0x34,0x6a1d,0x0000,SIS_RI_720x576, 0x00,0x00,0x00,0x00,0x12,-1}, /* 720x576x16 */ [all …]
|
| H A D | 310vtbl.h | 6 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 23 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 55 {0x6a,0x2212,0x0102,SIS_RI_800x600, 0x00,0x00,0x07,0x06,0x00, 3}, /* 800x600x? */ 56 {0x2e,0x0a1b,0x0101,SIS_RI_640x480, 0x00,0x00,0x05,0x05,0x08, 2}, /* 640x480x8 */ 57 {0x2f,0x0a1b,0x0100,SIS_RI_640x400, 0x00,0x00,0x05,0x05,0x10, 0}, /* 640x400x8 */ 58 {0x30,0x2a1b,0x0103,SIS_RI_800x600, 0x00,0x00,0x07,0x06,0x00, 3}, /* 800x600x8 */ 59 {0x31,0x4a1b,0x0000,SIS_RI_720x480, 0x00,0x00,0x06,0x06,0x11,-1}, /* 720x480x8 */ 60 {0x32,0x4a1b,0x0000,SIS_RI_720x576, 0x00,0x00,0x06,0x06,0x12,-1}, /* 720x576x8 */ 61 {0x33,0x4a1d,0x0000,SIS_RI_720x480, 0x00,0x00,0x06,0x06,0x11,-1}, /* 720x480x16 */ 62 {0x34,0x6a1d,0x0000,SIS_RI_720x576, 0x00,0x00,0x06,0x06,0x12,-1}, /* 720x576x16 */ [all …]
|
| /linux/drivers/video/fbdev/i810/ |
| H A D | i810_dvt.c | 1 /*-*- linux-c -*- 2 * linux/drivers/video/i810_dvt.c -- Intel 810 Discrete Video Timings (Intel) 21 { 25000, 0x0013, 0x0003, 0x40, 0x5F, 0x4F, 0x50, 0x82, 0x51, 0x9D, 22 0x0B, 0x10, 0x40, 0xE9, 0x0B, 0xDF, 0x50, 0xE7, 0x04, 0x02, 23 0x01, 0x01, 0x01, 0x00, 0x01, 0x22002000, 0x22004000, 0x22006000, 24 0x22002000, 0x22004000, 0x22006000, 0xC0 }, 27 { 28000, 0x0053, 0x0010, 0x40, 0x61, 0x4F, 0x4F, 0x85, 0x52, 0x9A, 28 0xF2, 0x10, 0x40, 0xE0, 0x03, 0xDF, 0x50, 0xDF, 0xF3, 0x01, 29 0x01, 0x01, 0x01, 0x00, 0x01, 0x22002000, 0x22004000, 0x22005000, 30 0x22002000, 0x22004000, 0x22005000, 0xC0 }, [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | macmodes.h | 2 * linux/drivers/video/macmodes.h -- Standard MacOS video modes 20 #define VMODE_NVRAM 0 38 #define VMODE_1152_870_75 18 /* 1152x870, 75Hz */ 41 #define VMODE_1152_768_60 21 /* 1152x768, 60Hz Titanium PowerBook */ 46 #define CMODE_NVRAM -1 47 #define CMODE_CHOOSE -2 48 #define CMODE_8 0 /* 8 bits/pixel */ 68 #define NV_VMODE 0x140f 69 #define NV_CMODE 0x1410
|
| H A D | controlfb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 52 struct preg hperiod; /* horiz period - 2 */ 59 struct preg hserr; /* horiz period - horiz sync len */ 85 unsigned hperiod; /* horiz period - 2 */ 92 unsigned hserr; /* horiz period - horiz sync len */ 97 * 3.9064MHz * 2**clock_params[2] * clock_params[1] / clock_params[0]. 106 #define CTRLFB_OFF 16 /* position of pixel 0 in frame buffer */ 113 int m[2]; /* 0: 2MB vram, 1: 4MB vram */ 120 {{-1,-1}}, /* 512x384, 60Hz interlaced (NTSC) */ 121 {{-1,-1}}, /* 512x384, 60Hz */ [all …]
|
| H A D | cg3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 52 #define CG3_CR_ENABLE_INTS 0x80 53 #define CG3_CR_ENABLE_VIDEO 0x40 54 #define CG3_CR_ENABLE_TIMING 0x20 55 #define CG3_CR_ENABLE_CURCMP 0x10 56 #define CG3_CR_XTAL_MASK 0x0c 57 #define CG3_CR_DIVISOR_MASK 0x03 60 #define CG3_SR_PENDING_INT 0x80 61 #define CG3_SR_RES_MASK 0x70 62 #define CG3_SR_1152_900_76_A 0x40 [all …]
|
| H A D | platinumfb.h | 2 * linux/drivers/video/platinumfb-hw.c -- Frame buffer device for the 3 * Platinum on-board video in PowerMac 7200s (and some clones based 54 * F = 14.3MHz * c0 / (c1 & 0x1f) / (1 << (c1 >> 5)) 55 * Newer ones use the values in clocksel[0], for which the formula 57 * F = 15MHz * c0 / ((c1 & 0x1f) + 2) / (1 << (c1 >> 5)) 69 #define DIV2 0x20 70 #define DIV4 0x40 71 #define DIV8 0x60 72 #define DIV16 0x80 76 0x5c00, [all …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | npu4_regs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2023-2024, Advanced Micro Devices, Inc. 16 #define MPNPU_PUB_SEC_INTR 0x3010060 17 #define MPNPU_PUB_PWRMGMT_INTR 0x3010064 18 #define MPNPU_PUB_SCRATCH0 0x301006C 19 #define MPNPU_PUB_SCRATCH1 0x3010070 20 #define MPNPU_PUB_SCRATCH2 0x3010074 21 #define MPNPU_PUB_SCRATCH3 0x3010078 22 #define MPNPU_PUB_SCRATCH4 0x301007C 23 #define MPNPU_PUB_SCRATCH5 0x3010080 [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 …]
|
| H A D | viafb.rst | 6 -------- 15 --------------- 24 1024x768(60, 75, 85, 100 Hz), 1152x864(75 Hz), 34 ---------------------- 47 - 640x480 (default) 48 - 720x480 49 - 800x600 50 - 1024x768 53 - 8, 16, 32 (default:32) 56 - 60, 75, 85, 100, 120 (default:60) [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}; 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() 28 u8 frame = 0; in dvb_filter_get_ac3info() [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/sound/soc/uniphier/ |
| H A D | aio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (c) 2016-2018 Socionext Inc. 15 #include <sound/soc-dai.h> 33 IEC61937_PC_AC3 = 0x0001, 34 IEC61937_PC_PAUSE = 0x0003, 35 IEC61937_PC_MPA = 0x0004, 36 IEC61937_PC_MP3 = 0x0005, 37 IEC61937_PC_DTS1 = 0x000b, 38 IEC61937_PC_DTS2 = 0x000c, 39 IEC61937_PC_DTS3 = 0x000d, [all …]
|
| /linux/lib/zlib_dfltcc/ |
| H A D | dfltcc.h | 1 // SPDX-License-Identifier: Zlib 12 #define DFLTCC_LEVEL_MASK 0x2 /* DFLTCC compression for level 1 only */ 13 #define DFLTCC_LEVEL_MASK_DEBUG 0x3fe /* DFLTCC compression for all levels */ 17 #define DFLTCC_RIBM 0 33 #define DFLTCC_FMT0 0 36 * Parameter Block for Generate Dynamic-Huffman Table, Compress and Expand. 39 uint16_t pbvn; /* Parameter-Block-Version Number */ 40 uint8_t mvn; /* Model-Version Number */ 49 unsigned htt : 1; /* Huffman-Table Type */ 50 unsigned bcf : 1; /* Block-Continuation Flag */ [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/sm750fb/ |
| H A D | ddk750_mode.c | 1 // SPDX-License-Identifier: GPL-2.0 22 x = mode_param->horizontal_display_end; in display_control_adjust_SM750LE() 23 y = mode_param->vertical_display_end; in display_control_adjust_SM750LE() 26 * SM750LE has to set up the top-left and bottom-right in display_control_adjust_SM750LE() 29 * auto-centering mode. in display_control_adjust_SM750LE() 31 poke32(CRT_AUTO_CENTERING_TL, 0); in display_control_adjust_SM750LE() 34 (((y - 1) << CRT_AUTO_CENTERING_BR_BOTTOM_SHIFT) & in display_control_adjust_SM750LE() 36 ((x - 1) & CRT_AUTO_CENTERING_BR_RIGHT_MASK)); in display_control_adjust_SM750LE() 53 else if (x == 1152 && y == 864) in display_control_adjust_SM750LE() 81 int cnt = 0; in program_mode_registers() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wm8524.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8524.c -- WM8524 ALSA SoC Audio driver 36 SND_SOC_DAPM_DAC("DAC", "Playback", SND_SOC_NOPM, 0, 0), 56 { 7, 1152 }, 62 struct snd_soc_component *component = dai->component; in wm8524_startup() 68 if (wm8524->sysclk) in wm8524_startup() 69 snd_pcm_hw_constraint_list(substream->runtime, 0, in wm8524_startup() 71 &wm8524->rate_constraint); in wm8524_startup() 73 gpiod_set_value_cansleep(wm8524->mute, 1); in wm8524_startup() 75 return 0; in wm8524_startup() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_benchmark.c | 30 #define RADEON_BENCHMARK_COPY_DMA 0 46 for (i = 0; i < n; i++) { in radeon_benchmark_do_move() 60 return -EINVAL; in radeon_benchmark_do_move() 71 return jiffies_to_msecs(end_jiffies - start_jiffies); in radeon_benchmark_do_move() 97 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, sdomain, 0, NULL, NULL, &sobj); in radeon_benchmark_move() 102 if (unlikely(r != 0)) in radeon_benchmark_move() 109 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, ddomain, 0, NULL, NULL, &dobj); in radeon_benchmark_move() 114 if (unlikely(r != 0)) in radeon_benchmark_move() 122 if (rdev->asic->copy.dma) { in radeon_benchmark_move() 125 dobj->tbo.base.resv); in radeon_benchmark_move() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_benchmark.c | 39 for (i = 0; i < n; i++) { in amdgpu_benchmark_do_move() 40 struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; in amdgpu_benchmark_do_move() 42 false, false, 0); in amdgpu_benchmark_do_move() 69 dev_info(adev->dev, "amdgpu: %s %u bo moves of %u kB from" in amdgpu_benchmark_log_results() 101 if (adev->mman.buffer_funcs) { in amdgpu_benchmark_move() 112 if (r < 0) in amdgpu_benchmark_move() 113 dev_info(adev->dev, "Error while benchmarking BO move.\n"); in amdgpu_benchmark_move() 131 1152 * 768 * 4, in amdgpu_benchmark() 145 mutex_lock(&adev->benchmark_mutex); in amdgpu_benchmark() 148 dev_info(adev->dev, in amdgpu_benchmark() [all …]
|
| /linux/drivers/leds/blink/ |
| H A D | leds-bcm63138.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #define BCM63138_LED_MASK ((1 << BCM63138_LED_BITS) - 1) /* 0xf */ 23 #define BCM63138_GLB_CTRL 0x00 28 #define BCM63138_MASK 0x04 29 #define BCM63138_HW_LED_EN 0x08 30 #define BCM63138_SERIAL_LED_SHIFT_SEL 0x0c 31 #define BCM63138_FLASH_RATE_CTRL1 0x10 32 #define BCM63138_FLASH_RATE_CTRL2 0x14 33 #define BCM63138_FLASH_RATE_CTRL3 0x18 34 #define BCM63138_FLASH_RATE_CTRL4 0x1c [all …]
|
| /linux/drivers/video/fbdev/kyro/ |
| H A D | fbdev.c | 35 #define PCI_VENDOR_ID_ST 0x104a 36 #define PCI_DEVICE_ID_STG4000 0x0010 55 .red = { 11, 5, 0 }, 56 .green = { 5, 6, 0 }, 57 .blue = { 0, 5, 0 }, 59 .height = -1, 60 .width = -1, 83 static int nopan = 0; 85 static int nomtrr = 0; 111 0, FB_VMODE_NONINTERLACED [all …]
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017 - 2018 Intel Corporation 16 #include "ipu3-css-fw.h" 17 #include "ipu3-dmamap.h" 18 #include "ipu3-mmu.h" 20 #define IMGU_PCI_ID 0x1919 21 #define IMGU_PCI_BAR 0 26 * pre-allocated buffer size for IMGU dummy buffers. Those 28 * re-allocation when streaming to lower streaming latency. 30 #define CSS_QUEUE_IN_BUF_SIZE 0 [all …]
|