/linux/include/linux/mfd/ |
H A D | motorola-cpcap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2007-2009 Motorola, Inc. 45 #define CPCAP_REG_ASSIGN5 0x0040 /* Resource Assignment 5 */ 89 #define CPCAP_REG_S5C 0x0628 /* Switcher 5 Control */ 150 #define CPCAP_REG_ADCD5 0x0c1c /* A/D Converter Data 5 */ 186 #define CPCAP_REG_OWDC 0x0eb0 /* One Wire Device Control */ 197 #define CPCAP_REG_GPIO5 0x0edc /* GPIO 5 Control */ 212 #define CPCAP_REG_OW1C 0x1200 /* One Wire 1 Command */ 213 #define CPCAP_REG_OW1D 0x1204 /* One Wire 1 Data */ 214 #define CPCAP_REG_OW1I 0x1208 /* One Wire 1 Interrupt */ [all …]
|
H A D | mxs-lradc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Freescale MXS Low Resolution Analog-to-Digital Converter driver 110 #define LRADC_SINGLE_SAMPLE_MASK ((1 << LRADC_RESOLUTION) - 1) 117 * and/or touch-buttons and generic LRADC block. Therefore when using 121 * CH0 -- Touch button #0 122 * CH1 -- Touch button #1 123 * CH2 -- Touch screen XPUL 124 * CH3 -- Touch screen YPLL 125 * CH4 -- Touch screen XNUL 126 * CH5 -- Touch screen YNLR [all …]
|
/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 const: ti,am3359-tsc 17 description: Wires refer to application modes i.e. 4/5/8 wire touchscreen 20 enum: [4, 5, 8] 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | tpo,tpg110.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Thierry Reding <thierry.reding@gmail.com> 17 and other properties, and has a control interface over 3WIRE 20 self-describing. 22 +--------+ 23 SPI -> | TPO | -> physical display 24 RGB -> | TPG110 | [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | arm,gic-v5-iwb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v5-iwb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM Generic Interrupt Controller, version 5 Interrupt Wire Bridge (IWB) 10 - Lorenzo Pieralisi <lpieralisi@kernel.org> 11 - Marc Zyngier <maz@kernel.org> 20 GICv5 has zero or more Interrupt Wire Bridges (IWB) that are responsible 21 for translating wire signals into interrupt messages to the GICv5 ITS. 24 - $ref: /schemas/interrupt-controller.yaml# [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 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: 33 spi-cpol: true [all …]
|
/linux/Documentation/iio/ |
H A D | ad4000.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 41 * `AD7988-1 <https://www.analog.com/AD7988-1>`_ 42 * `AD7988-5 <https://www.analog.com/AD7988-5>`_ 45 ------------------ 50 CS mode, 3-wire turbo mode 53 Datasheet "3-wire" mode is what most resembles standard SPI connection which, 56 "CS Mode, 3-Wire Turbo Mode" connection in datasheets. 57 NOTE: The datasheet definition of 3-wire mode for the AD4000 series is NOT the 58 same of standard spi-3wire mode. 62 Omit the ``adi,sdi-pin`` property in device tree to select this mode. [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | awinic,aw8738.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephan Gerhold <stephan@gerhold.net> 14 (set using one-wire pulse control). The mode configures the speaker-guard 18 - $ref: dai-common.yaml# 24 mode-gpios: 26 GPIO used for one-wire pulse control. The pin is typically called SHDN 27 (active-low), but this is misleading since it is actually more than 32 description: Operation mode (number of pulses for one-wire pulse control) [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec. 81 * Set five_wire = 1 to use a 5 wire touchscreen. 83 * NOTE: Five wire mode does not allow for readback of pressure. 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 156 dig2 = WM97XX_DELAY(4) | WM97XX_SLT(5); in wm9713_phy_init() 163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init() 167 /* Five wire panel? */ in wm9713_phy_init() 170 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init() 173 dev_warn(wm->dev, in wm9713_phy_init() [all …]
|
H A D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 81 * Set five_wire = 1 to use a 5 wire touchscreen. 83 * NOTE: Five wire mode does not allow for readback of pressure. 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 164 /* WM9712 five wire */ in wm9712_phy_init() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() 171 "supported in 5-wire mode\n"); in wm9712_phy_init() [all …]
|
/linux/include/linux/ |
H A D | w1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * struct w1_reg_num - broken out slave device id 49 * struct w1_slave - holds a single slave device on the bus 51 * @owner: Points to the one wire "wire" kernel module. 84 * struct w1_bus_master - operations available on a bus master 93 * @touch_bit: the lowest-level function for devices that really support the 94 * 1-wire protocol. 95 * touch_bit(0) = write-0 cycle 96 * touch_bit(1) = write-1 / read cycle 112 * @reset_bus: long write-0 with a read for the presence pulse detection [all …]
|
/linux/sound/ppc/ |
H A D | snd_ps3_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 39 * three wire serial 51 * y:0..5 73 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 75 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 82 #define PS3_AUDIO_INTR_0_CHAN5 PS3_AUDIO_INTR_0_CHAN(5) 96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 108 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ [all …]
|
/linux/Documentation/hwmon/ |
H A D | lm85.rst | 79 - Philip Pokorny <ppokorny@penguincomputing.com>, 80 - Frodo Looijaard <frodol@dds.nl>, 81 - Richard Barrington <rich_b_nz@clear.net.nz>, 82 - Margit Schubert-While <margitsw@t-online.de>, 83 - Justin Thiessen <jthiessen@penguincomputing.com> 86 ----------- 92 The LM85 uses the 2-wire interface compatible with the SMBUS 2.0 94 temperatures and five (5) voltages. It has four (4) 16-bit counters for 95 measuring fan speed. Five (5) digital inputs are provided for sampling the 102 2.5V, 3.3V, 5V, 12V, and CPU core voltage (2.25V) [all …]
|
H A D | asc7621.rst | 20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 28 have used registers below 20h for vendor-specific functions in addition 29 to those in the Intel-specified vendor range. 32 The fan speed control uses this finer value to produce a "step-less" fan 33 PWM output. These two bytes are "read-locked" to guarantee that once a 34 high or low byte is read, the other byte is locked-in until after the 37 sheet says 10-bits of resolution, although you may find the lower bits 47 We offer GPIO features on the former VID pins. These are open-drain [all …]
|
/linux/arch/sh/include/mach-common/mach/ |
H A D | highlander.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define PA_SDPOW (-1) 62 #define PA_SMCR (PA_BCR+0x0600) /* 2-wire Serial control */ 63 #define PA_SMSMADR (PA_BCR+0x0602) /* 2-wire Serial Slave control */ 64 #define PA_SMMR (PA_BCR+0x0604) /* 2-wire Serial Mode control */ 65 #define PA_SMSADR1 (PA_BCR+0x0606) /* 2-wire Serial Address1 control */ 66 #define PA_SMTRDR1 (PA_BCR+0x0646) /* 2-wire Serial Data1 control */ 75 #define PA_POFF (-1) 114 #define PA_SMCR (PA_BCR+0x0500) /* 2-wire Serial control */ 115 #define PA_SMSMADR (PA_BCR+0x0502) /* 2-wire Serial Slave control */ [all …]
|
/linux/drivers/w1/masters/ |
H A D | mxc_w1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2005-2008 Freescale Semiconductor, Inc. All Rights Reserved. 22 # define MXC_W1_CONTROL_WR(x) BIT(5 - (x)) 37 * reset the device on the One Wire interface 45 writeb(MXC_W1_CONTROL_RPP, dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() 53 u8 ctrl = readb(dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() 55 /* PST bit is valid after the RPP bit is self-cleared */ in mxc_w1_ds2_reset_bus() 64 * this is the low level routine to read/write a bit on the One Wire 73 writeb(MXC_W1_CONTROL_WR(bit), dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_touch_bit() 81 u8 ctrl = readb(dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_touch_bit() [all …]
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | tso.py | 2 # SPDX-License-Identifier: GPL-2.0 40 listen_cmd = f"socat -{ipver} -t 2 -u TCP-LISTEN:{port},reuseport /dev/null,ignoreeof" 64 # TCP falls back to non-LSO. 70 # will add up to 5% of extra packes... The check is best effort. 75 ksft_ge(qstat_new['tx-hw-gso-packets'] - 76 qstat_old['tx-hw-gso-packets'], 78 comment="Number of LSO super-packets with LSO enabled") 80 ksft_ge(qstat_new['tx-hw-gso-wire-packets'] - 81 qstat_old['tx-hw-gso-wire-packets'], 83 comment="Number of LSO wire-packets with LSO enabled") [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | kinetic,ktd253.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Kinetic Technologies KTD253 and KTD259 one-wire backlight 10 - Linus Walleij <linus.walleij@linaro.org> 16 using pulses on the enable wire. This is sometimes referred to as 20 - $ref: common.yaml# 25 - enum: 26 - kinetic,ktd253 27 - kinetic,ktd259 [all …]
|
/linux/Documentation/spi/ |
H A D | spi-lm70llp.rst | 2 spi_lm70llp : LM70-LLP parport-to-SPI adapter 15 ----------- 27 -------------------- 28 The schematic for this particular board (the LM70EVAL-LLP) is 39 D0 2 - - 40 D1 3 --> V+ 5 41 D2 4 --> V+ 5 42 D3 5 --> V+ 5 43 D4 6 --> V+ 5 44 D5 7 --> nCS 8 [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | maxim-ds1302.txt | 1 * Maxim/Dallas Semiconductor DS-1302 RTC 5 The device uses the standard MicroWire half-duplex transfer timing. 12 - compatible : Should be "maxim,ds1302" 16 - reg : Should be address of the device chip select within 19 - spi-max-frequency : DS-1302 has 500 kHz if powered at 2.2V, 20 and 2MHz if powered at 5V. 22 - spi-3wire : The device has a shared signal IN/OUT line. 24 - spi-lsb-first : DS-1302 requires least significant bit first 27 - spi-cs-high: DS-1302 has active high chip select line. This is 33 #address-cells = <1>; [all …]
|
/linux/Documentation/w1/ |
H A D | w1-generic.rst | 2 Introduction to the 1-wire (w1) subsystem 5 The 1-wire bus is a simple master-slave bus that communicates via a single 6 signal wire (plus ground, so two wires). 18 - DS9490 usb device 19 - W1-over-GPIO 20 - DS2482 (i2c to w1 bridge) 21 - Emulated devices, such as a RS232 converter, parallel port adapter, etc 25 ------------------------------ 29 - sysfs entries for that w1 master are created 30 - the w1 bus is periodically searched for new slave devices [all …]
|
/linux/fs/smb/server/ |
H A D | unicode.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 * cifs_mapchar() - convert a host-endian char to proper char in codepage 19 * @from: host-endian source string 73 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar() 81 if (strcmp(cp->charset, "utf8")) in cifs_mapchar() 95 * smb_utf16_bytes() - compute converted string length 137 * smb_from_utf16() - convert utf16le string to local charset 145 * Convert a little-endian utf16le string (as sent by the server) to a string 153 * Note that some windows versions actually send multiword UTF-16 characters 154 * instead of straight UTF16-2. The linux nls routines however aren't able to [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-al-fic.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #define CONTROL_MASK_MSI_X BIT(5) 49 u32 control = readl_relaxed(fic->base + AL_FIC_CONTROL); in al_fic_set_trigger() 58 gc->chip_types->handler = handler; in al_fic_set_trigger() 59 fic->state = new_state; in al_fic_set_trigger() 60 writel_relaxed(control, fic->base + AL_FIC_CONTROL); in al_fic_set_trigger() 66 struct al_fic *fic = gc->private; in al_fic_irq_set_type() 69 guard(raw_spinlock)(&gc->lock); in al_fic_irq_set_type() 74 return -EINVAL; in al_fic_irq_set_type() 89 if (fic->state == AL_FIC_UNCONFIGURED) { in al_fic_irq_set_type() [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved 29 /* Firmware-Host Command IDs */ 31 /* --Device command IDs-- */ 37 /* Host-used CMD, not used by firmware */ 42 MXL_HYDRA_DEV_GET_PMM_SLEEP_CMD = 5, 44 /* --Tuner command IDs-- */ 48 /* --Demod command IDs-- */ 63 /* --- ABORT channel tune */ 66 /* --SWM/FSK command IDs-- */ [all …]
|
/linux/drivers/iio/temperature/ |
H A D | max31865.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * max31865.c - Maxim MAX31865 RTD-to-Digital Converter sensor driver 31 #define MAX31865_CFG_1SHOT BIT(5) 64 return spi_write_then_read(data->spi, ®, 1, data->buf, read_size); in max31865_read() 69 return spi_write(data->spi, data->buf, len); in max31865_write() 81 cfg = data->buf[0]; in enable_bias() 83 data->buf[0] = MAX31865_CFG_REG | MAX31865_RD_WR_BIT; in enable_bias() 84 data->buf[1] = cfg | MAX31865_CFG_VBIAS; in enable_bias() 98 cfg = data->buf[0]; in disable_bias() 101 data->buf[0] = MAX31865_CFG_REG | MAX31865_RD_WR_BIT; in disable_bias() [all …]
|