/linux/Documentation/devicetree/bindings/sound/ |
H A D | nuvoton,nau8821.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Seven Lee <wtli@nuvoton.com> 13 - $ref: dai-common.yaml# 25 nuvoton,jkdet-enable: 29 nuvoton,jkdet-pull-enable: 30 description: Enable JKDET pin pull. If set - pin pull enabled, 34 nuvoton,jkdet-pull-up: 35 description: Pull-up JKDET pin. If set then JKDET pin is pull up, [all …]
|
/linux/lib/xz/ |
H A D | xz_dec_lzma2.c | 1 // SPDX-License-Identifier: 0BSD 7 * Igor Pavlov <https://7-zip.org/> 19 * Minimum number of usable input buffer to safely decode one LZMA symbol. 21 * direct bits. This may decode at maximum of 20 bytes of input. However, 31 * start <= pos <= full <= end 32 * pos <= limit <= end 34 * In multi-call mode, also these are true: 35 * end == size 39 * Most of these variables are size_t to support single-call mode, 54 * How full dictionary is. This is used to detect corrupt input that [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | test_mouse.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 18 # workaround https://gitlab.freedesktop.org/libevdev/python-libevdev/issues/6 38 self.left = False 44 Return an input report for this device. 50 :param wheels: a single value for the vertical wheel or a (vertical, horizontal) tuple for 55 left, right, middle = buttons 56 if left is not None: 57 self.left = left 62 left = self.left [all …]
|
/linux/arch/arm64/boot/dts/renesas/ |
H A D | draak.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Renesas Electronics Corp. 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 21 audio_clkout: audio-clkout { 24 * but needed to avoid cs2000/rcar_sound probe dead-lock 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; 28 clock-frequency = <12288000>; 32 compatible = "pwm-backlight"; [all …]
|
H A D | ulcb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car Gen3 ULCB board 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 13 model = "Renesas R-Car Gen3 ULCB board"; 32 stdout-path = "serial0:115200n8"; 35 audio_clkout: audio-clkout { 38 * but needed to avoid cs2000/rcar_sound probe dead-lock 40 compatible = "fixed-clock"; 41 #clock-cells = <0>; [all …]
|
H A D | ebisu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the Ebisu/Ebisu-4D board 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 33 stdout-path = "serial0:115200n8"; 36 audio_clkout: audio-clkout { 39 * but needed to avoid cs2000/rcar_sound probe dead-lock 41 compatible = "fixed-clock"; 42 #clock-cells = <0>; 43 clock-frequency = <11289600>; [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-overlay.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 Video overlay devices have the ability to genlock (TV-)video into the 12 (VGA-)video signal of a graphics card, or to store captured images 37 capturing and overlay with a single file descriptor for compatibility 59 Video overlay devices shall support :ref:`audio input <audio>`, 62 :ref:`streaming parameter <streaming-par>` ioctls as needed. The 63 :ref:`video input <video>` and :ref:`video standard <standard>` 93 1. Chroma-keying displays the overlaid image only where pixels in the 162 ------------------ 165 Size and position of the window relative to the top, left corner of [all …]
|
/linux/kernel/debug/kdb/ |
H A D | kdb_io.c | 8 * Copyright (c) 1999-2006 Silicon Graphics, Inc. All Rights Reserved. 32 int kdb_printf_cpu = -1; 41 if (slen > 3 && buffer[slen - 3] == '#') { in kgdb_transition_check() 52 * kdb_handle_escape() - validity check on an accumulated escape sequence. 58 * Return: -1 if the escape sequence is unwanted, 0 if it is incomplete, 63 char *lastkey = buf + sz - 1; in kdb_handle_escape() 84 case 'D': /* \e[D, left arrow */ in kdb_handle_escape() 86 case '1': /* \e[<1,3,4>], may be home, del, end */ in kdb_handle_escape() 100 case '4': /* \e[4~, end */ in kdb_handle_escape() 107 return -1; in kdb_handle_escape() [all …]
|
/linux/Documentation/input/ |
H A D | multi-touch-protocol.rst | 4 Multi-touch (MT) Protocol 7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se> 11 ------------ 13 In order to utilize the full power of the new multi-touch and multi-user 16 document describes the multi-touch (MT) protocol which allows kernel 30 -------------- 34 packet. Since these events are ignored by current single-touch (ST) 39 input_mt_sync() at the end of each packet. This generates a SYN_MT_REPORT 48 All drivers mark the end of a multi-touch transfer by calling the usual 62 important. Event filtering and finger tracking is left to user space [#f3]_. [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 28 …* Correct interrupt timing. interrupt at end of period, instead of in the middle of a playback … 31 * Single trigger call for multi channels. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 75 #define IPR_SPDIF_IN_USER 0x00004000 /* SPDIF input user data has 16 more bits */ 82 #define IPR_GPI 0x00000080 /* General Purpose input changed */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_buddy.c | 1 // SPDX-License-Identifier: MIT 27 block->header = offset; in drm_block_alloc() 28 block->header |= order; in drm_block_alloc() 29 block->parent = parent; in drm_block_alloc() 31 BUG_ON(block->header & DRM_BUDDY_HEADER_UNUSED); in drm_block_alloc() 47 head = &mm->free_list[drm_buddy_block_order(block)]; in list_insert_sorted() 49 list_add(&block->link, head); in list_insert_sorted() 57 __list_add(&block->link, node->link.prev, &node->link); in list_insert_sorted() 62 block->header &= ~DRM_BUDDY_HEADER_CLEAR; in clear_reset() 67 block->header |= DRM_BUDDY_HEADER_CLEAR; in mark_cleared() [all …]
|
/linux/drivers/input/mouse/ |
H A D | hgpk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver 5 * Copyright (c) 2006-2008 One Laptop Per Child 13 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> 31 #include <linux/input.h> 126 struct hgpk_data *priv = psmouse->private; in hgpk_discard_decay_hack() 135 (avx > recalib_delta / 2 && ((avx / 4) > priv->xlast))) { in hgpk_discard_decay_hack() 137 priv->xbigj = avx; in hgpk_discard_decay_hack() 138 } else if (approx_half(avx, priv->xbigj)) { in hgpk_discard_decay_hack() 140 priv->xbigj = avx; in hgpk_discard_decay_hack() [all …]
|
/linux/sound/pci/asihpi/ |
H A D | hpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 14 The HPI is a low-level hardware abstraction layer to all 17 (C) Copyright AudioScience Inc. 1998-2010 37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */ 41 /** MPEG-1 Layer-1. */ 43 /** MPEG-1 Layer-2. 67 <tr><td>256<td>-<td>X 68 <tr><td>320<td>-<td>X [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-kthread-cap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vivid-kthread-cap.h - video/vbi capture thread support functions. 20 #include <linux/v4l2-dv-timings.h> 23 #include <media/videobuf2-vmalloc.h> 24 #include <media/v4l2-dv-timings.h> 25 #include <media/v4l2-ioctl.h> 26 #include <media/v4l2-fh.h> 27 #include <media/v4l2-event.h> 28 #include <media/v4l2-rect.h> 30 #include "vivid-core.h" [all …]
|
/linux/fs/unicode/ |
H A D | utf8-norm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 int i = um->tables->utf8agetab_size - 1; in utf8version_is_supported() 13 while (i >= 0 && um->tables->utf8agetab[i] != 0) { in utf8version_is_supported() 14 if (version == um->tables->utf8agetab[i]) in utf8version_is_supported() 16 i--; in utf8version_is_supported() 22 * UTF-8 valid ranges. 24 * The UTF-8 encoding spreads the bits of a 32bit word over several 35 * There is an additional requirement on UTF-8, in that only the 47 * Actual unicode characters are limited to the range 0x0 - 0x10FFFF, 51 * 0 - 0x7F: 0 - 0x7F [all …]
|
/linux/arch/alpha/lib/ |
H A D | stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copy no more than COUNT bytes of the null-terminated string from 13 * On input: 24 * the end of the range specified by COUNT 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 54 /* Create the 1st output word and detect 0's in the 1st input word. */ 55 lda t2, -1 # e1 : build a mask against false zero 79 the end-of-count bit is set in t8 iff it applies. 107 /* Add the end-of-count bit to the eos detection bitmask. */ [all …]
|
H A D | ev6-stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-stxncpy.S 4 * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> 6 * Copy no more than COUNT bytes of the null-terminated string from 13 * On input: 24 * the end of the range specified by COUNT 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 34 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 36 * E - either cluster [all …]
|
/linux/Documentation/input/devices/ |
H A D | ntrig.rst | 4 N-Trig touchscreen Driver 7 :Copyright: |copy| 2008-2010 Rafi Rubin <rafi@seas.upenn.edu> 8 :Copyright: |copy| 2009-2010 Stephane Chatty 10 This driver provides support for N-Trig pen and multi-touch sensors. Single 11 and multi-touch events are translated to the appropriate protocols for 12 the hid and input systems. Pen events are sufficiently hid compliant and 13 are left to the hid core. The driver also provides additional filtering 16 This driver has been reported to work properly with multiple N-Trig devices 21 ---------- 29 +-----------------------+-----------------------------------------------------+ [all …]
|
/linux/include/linux/ |
H A D | zstd_lib.h | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 36 real-time compression scenarios at zlib-level and better compression ratios. 37 The zstd compression library provides in-memory compression and decompression 41 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with 47 - a single step (described as Simple API) 48 - a single step, reusing a context (described as Explicit context) 49 - unbounded multiple steps (described as Streaming compression) 53 - a single step (described as Simple dictionary API) 54 - a single step, reusing a dictionary (described as Bulk-processing [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-pandora-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <dt-bindings/input/input.h> 14 cpu0-supply = <&vcc>; 29 #clock-cells = <0>; 30 compatible = "fixed-clock"; 31 clock-frequency = <26000000>; 35 compatible = "connector-analog-tv"; 40 remote-endpoint = <&venc_out>; 45 gpio-leds { 47 compatible = "gpio-leds"; [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
/linux/Documentation/process/ |
H A D | botching-up-ioctls.rst | 5 From: https://blog.ffwll.ch/2013/11/botching-up-ioctls.html 13 Which is nice, since there's no more insanity in the form of fake-generic, but 19 only cover technicalities and not the big-picture issues like what the command 25 ------------- 28 will need to add a 32-bit compat layer: 33 * Align everything to the natural size and use explicit padding. 32-bit 34 platforms don't necessarily align 64-bit values to 64-bit boundaries, but 35 64-bit platforms do. So we always need padding to the natural size to get 38 * Pad the entire struct to a multiple of 64-bits if the structure contains 39 64-bit types - the structure size will otherwise differ on 32-bit versus [all …]
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2012-2016 Mentor Graphics Inc. 9 #include <linux/dma-mapping.h> 12 #include <video/imx-ipu-image-convert.h> 14 #include "ipu-prv.h" 29 * the DMA channel's parameter memory!). IDMA double-buffering is used 30 * to convert each tile back-to-back when possible (see note below 33 * Note that the input frame must be split up into the same number 36 * +---------+-----+ 37 * +-----+---+ | A | B | [all …]
|
/linux/drivers/staging/greybus/ |
H A D | gb-camera.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/v4l2-mediabus.h> 12 /* Input flags need to be set from the caller */ 18 * struct gb_camera_stream - Represents greybus camera stream. 23 * @dt: MIPI CSI data types. Most formats use a single data type, in which case 26 * that all data between the Frame Start and Frame End packet for 40 * struct gb_camera_csi_params - CSI configuration parameters 50 * struct gb_camera_ops - Greybus camera operations, used by the Greybus camera 57 * returned and the buffer is left untouched. 72 * returns its CSI-2 bus parameters in the 'csi_params' [all …]
|
/linux/sound/pci/echoaudio/ |
H A D | echoaudio_dsp.h | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 41 /**** Echo24: Gina24, Layla24, Mona, Mia, Mia-midi ****/ 74 #define DSP_MAXAUDIOINPUTS 16 /* Max audio input channels */ 76 #define DSP_MAXPIPES 32 /* Max total pipes (input + output) */ 81 * These are the offsets for the memory-mapped DSP registers; the DSP base 124 * Defines to handle the MIDI input state engine; these are used to properly 125 * extract MIDI time code bytes and their timestamps from the MIDI input stream. [all …]
|