/linux/Documentation/devicetree/bindings/timer/ |
H A D | renesas,rz-mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/renesas,rz-mtu3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/G2L Multi-Function Timer Pulse Unit 3 (MTU3a) 10 - Biju Das <biju.das.jz@bp.renesas.com> 13 This hardware block consists of eight 16-bit timer channels and one 14 32-bit timer channel. It supports the following specifications: 15 - Pulse input/output: 28 lines max 16 - Pulse input 3 lines [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 15 analog output, analog input, digital output, digital input, resistance 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | sprd,pinctrl.txt | 16 of them, so we can not make every Spreadtrum-special configuration 29 to configure the pin sleep mode, function select and sleep related 32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system, 35 - input-enable 36 - input-disable 37 - output-high 38 - output-low 39 - bias-pull-up 40 - bias-pull-down 42 In some situation we need set the pin sleep mode and pin sleep related [all …]
|
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: 33 bias-pull-up: [all …]
|
/linux/include/linux/ |
H A D | xz.h | 1 /* SPDX-License-Identifier: 0BSD */ 7 * Igor Pavlov <https://7-zip.org/> 22 * enum xz_mode - Operation mode 24 * @XZ_SINGLE: Single-call mode. This uses less RAM than 25 * multi-call modes, because the LZMA2 30 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2 34 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is 53 * enum xz_ret - Return codes 54 * @XZ_OK: Everything is OK so far. More input or more 56 * return code is possible only in multi-call mode [all …]
|
H A D | led-lm3530.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2011 ST-Ericsson SA. 9 * based on leds-lm3530.c by Dan Murphy <D.Murphy@motorola.com> 66 /* ALS input select */ 68 LM3530_INPUT_AVRG = 0, /* ALS1 and ALS2 input average */ 69 LM3530_INPUT_ALS1, /* ALS1 Input */ 70 LM3530_INPUT_ALS2, /* ALS2 Input */ 82 * @mode: mode of operation i.e. Manual, ALS or PWM 83 * @als_input_mode: select source of ALS input - ALS1/2 or average 85 * @pwm_pol_hi: PWM input polarity - active high/active low [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes 38 To query the current audio input applications zero out the ``reserved`` 42 has no audio inputs, or none which combine with the current video input. 44 Audio inputs have one writable property, the audio mode. To select the 45 current audio input *and* change the audio mode, applications initialize 46 the ``index`` and ``mode`` fields, and the ``reserved`` array of a 48 ioctl. Drivers may switch to a different audio mode if the request 49 cannot be satisfied. However, this is a write-only ioctl, it does not 50 return the actual new audio mode. [all …]
|
/linux/include/video/ |
H A D | imx-ipu-image-convert.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2012-2016 Mentor Graphics Inc. 10 #include <video/imx-ipu-v3.h> 15 * struct ipu_image_convert_run - image conversion run request struct 18 * @in_phys: dma addr of input image buffer for this run 35 * ipu_image_convert_cb_t - conversion callback function prototype 44 * ipu_image_convert_enum_format() - enumerate the image converter's 45 * supported input and output pixel formats. 50 * Returns 0 with a valid index and fills in v4l2 fourcc, -EINVAL otherwise. 57 * ipu_image_convert_adjust() - adjust input/output images to IPU restrictions. [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | pixcir_i2c_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Pixcir, Inc. 12 #include <linux/input.h> 13 #include <linux/input/mt.h> 14 #include <linux/input/touchscreen.h> 33 * clocks are cut and it can only be brought out of this mode 65 * struct pixcir_i2c_chip_data - chip related data 77 struct input_dev *input; member 102 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse() 106 i = chip->has_hw_ids ? 1 : 0; in pixcir_ts_parse() [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra30-pegatron-chagall.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 35 * pre-existing /chosen node to be available to insert the [all …]
|
/linux/arch/mips/include/uapi/asm/ |
H A D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 #include <asm-generic/termbits-common.h> 24 tcflag_t c_iflag; /* input mode flags */ 25 tcflag_t c_oflag; /* output mode flags */ 26 tcflag_t c_cflag; /* control mode flags */ 27 tcflag_t c_lflag; /* local mode flags */ 33 tcflag_t c_iflag; /* input mode flags */ 34 tcflag_t c_oflag; /* output mode flags */ 35 tcflag_t c_cflag; /* control mode flags */ 36 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/linux/drivers/input/mouse/ |
H A D | cypress_ps2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <linux/input.h> 21 #include <linux/input/mt.h> 31 struct cytp_data *cytp = psmouse->private; in cypress_set_packet_size() 32 cytp->pkt_size = n; in cypress_set_packet_size() 40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte() 47 cmd, ps2dev->nak, error); in cypress_ps2_sendbyte() 60 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd() 73 if (rc == -EAGAIN) { in cypress_ps2_ext_cmd() 75 if (rc == -EAGAIN) in cypress_ps2_ext_cmd() [all …]
|
H A D | cyapa.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 19 #include <linux/input.h> 20 #include <linux/input/mt.h> 46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode() 49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode() 57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode() 60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode() 71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode() 72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode() [all …]
|
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> 24 * was removed. After that, the device used the Advanced Mode GS/PT streaming 26 * switched to Mouse Mode (which utilizes only the center 1/3 of the touchpad). 31 #include <linux/input.h> 80 "default hgpk mode: mouse, glidesensor or pentablet"); 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() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 29 * Single Speed -- 1..64 channels 32 (Note: Choosing the 56channel mode for transmission or as 37 * Double Speed -- 1..32 channels 40 Note: Choosing the 56-channel mode for [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-backlight-driver-lm3533 | 6 Get the ALS output channel used as input in 7 ALS-current-control mode (0, 1), where: 19 Enable ALS-current-control mode (0, 1). 33 Set the brightness-mapping mode (0, 1), where: 36 0 exponential mode 37 1 linear mode 45 Set the PWM-input control mask (5 bits), where: 48 bit 5 PWM-input enabled in Zone 4 49 bit 4 PWM-input enabled in Zone 3 50 bit 3 PWM-input enabled in Zone 2 [all …]
|
H A D | sysfs-class-led-driver-lm3533 | 6 Set the ALS output channel to use as input in 7 ALS-current-control mode (1, 2), where: 19 Enable ALS-current-control mode (0, 1). 52 Set the brightness-mapping mode (0, 1), where: 55 0 exponential mode 56 1 linear mode 64 Set the PWM-input control mask (5 bits), where: 67 bit 5 PWM-input enabled in Zone 4 68 bit 4 PWM-input enabled in Zone 3 69 bit 3 PWM-input enabled in Zone 2 [all …]
|
/linux/include/media/i2c/ |
H A D | upd64083.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * upd6408x - NEC Electronics 3-Dimensional Y/C separation input defines 12 to select the correct routing: the operating mode and the selection 13 of the Y input (external or internal). 15 The first two operating modes expect a composite signal on the Y input, 19 YCNR mode is used for S-Video inputs. 21 The external Y-ADC is selected when the composite input comes from a 23 the input is a S-Video signal, then the internal Y-ADC input should 28 /* YCS mode: Y/C separation (burst locked clocking) */ 30 /* YCS+ mode: 2D Y/C separation and YCNR (burst locked clocking) */ [all …]
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 #include <asm-generic/termbits-common.h> 11 tcflag_t c_iflag; /* input mode flags */ 12 tcflag_t c_oflag; /* output mode flags */ 13 tcflag_t c_cflag; /* control mode flags */ 14 tcflag_t c_lflag; /* local mode flags */ 20 tcflag_t c_iflag; /* input mode flags */ 21 tcflag_t c_oflag; /* output mode flags */ 22 tcflag_t c_cflag; /* control mode flags */ 23 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/linux/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-dsi-core.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <linux/phy/phy-mipi-dphy.h> 25 #include "cdns-dsi-core.h" 27 #include "cdns-dsi-j721e.h" 72 #define DATA_LANE_EN(x) BIT((x) - 1) 428 static inline struct cdns_dsi *input_to_dsi(struct cdns_dsi_input *input) in input_to_dsi() argument 430 return container_of(input, struct cdns_dsi, input); in input_to_dsi() 444 static unsigned int mode_to_dpi_hfp(const struct drm_display_mode *mode, in mode_to_dpi_hfp() argument 448 return mode->hsync_start - mode->hdisplay; in mode_to_dpi_hfp() 450 return mode->crtc_hsync_start - mode->crtc_hdisplay; in mode_to_dpi_hfp() [all …]
|
/linux/Documentation/input/devices/ |
H A D | cma3000_d0x.rst | 1 CMA3000-D0x Accelerometer 5 * VTI CMA3000-D0x 8 CMA3000-D0X Product Family Specification 8281000A.02.pdf 15 ----------- 17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and 20 Motion Detect Mode: 21 Its the low power mode where interrupts are generated only 24 Measurement Mode: 25 This mode is used to read the acceleration data on X,Y,Z 28 Free fall Mode: [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | thine,thc63lvd1024.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 15 streams to parallel data outputs. The chip supports single/dual input/output 16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL 19 Single or dual operation mode, output data mapping and DDR output modes are 20 configured through input signals and the chip does not expose any control 30 The device can operate in single or dual input and output modes. [all …]
|
/linux/include/uapi/asm-generic/ |
H A D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 #include <asm-generic/termbits-common.h> 11 tcflag_t c_iflag; /* input mode flags */ 12 tcflag_t c_oflag; /* output mode flags */ 13 tcflag_t c_cflag; /* control mode flags */ 14 tcflag_t c_lflag; /* local mode flags */ 20 tcflag_t c_iflag; /* input mode flags */ 21 tcflag_t c_oflag; /* output mode flags */ 22 tcflag_t c_cflag; /* control mode flags */ 23 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/linux/drivers/input/misc/ |
H A D | max77650-onkey.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // ONKEY driver for MAXIM 77650/77651 charger/power-supply. 9 #include <linux/input.h> 21 struct input_dev *input; member 29 input_report_key(onkey->input, onkey->code, 0); in max77650_onkey_falling() 30 input_sync(onkey->input); in max77650_onkey_falling() 39 input_report_key(onkey->input, onkey->code, 1); in max77650_onkey_rising() 40 input_sync(onkey->input); in max77650_onkey_rising() 47 int irq_r, irq_f, error, mode; in max77650_onkey_probe() local 53 dev = &pdev->dev; in max77650_onkey_probe() [all …]
|
/linux/include/sound/ |
H A D | cs4231-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 #define CS4231_LEFT_INPUT 0x00 /* left input control */ 22 #define CS4231_RIGHT_INPUT 0x01 /* right input control */ 23 #define CS4231_AUX1_LEFT_INPUT 0x02 /* left AUX1 input control */ 24 #define CS4231_AUX1_RIGHT_INPUT 0x03 /* right AUX1 input control */ 25 #define CS4231_AUX2_LEFT_INPUT 0x04 /* left AUX2 input control */ 26 #define CS4231_AUX2_RIGHT_INPUT 0x05 /* right AUX2 input control */ 29 #define CS4231_PLAYBK_FORMAT 0x08 /* clock and data format - playback - bits 7-0 MCE */ 30 #define CS4231_IFACE_CTRL 0x09 /* interface control - bits 7-2 MCE */ 41 #define CS4231_LEFT_LINE_IN 0x12 /* left line input control */ [all …]
|