Home
last modified time | relevance | path

Searched +full:2 +full:- +full:wire (Results 1 – 25 of 536) sorted by relevance

12345678910>>...22

/linux-5.10/Documentation/w1/masters/
Domap-hdq.rst2 Kernel driver for omap HDQ/1-wire module
7 HDQ/1-wire controller on the TI OMAP 2430/3430 platforms.
15 The HDQ/1-Wire module of TI OMAP2430/3430 platforms implement the hardware
17 Semiconductor 1-Wire protocols. These protocols use a single wire for
18 communication between the master (HDQ/1-Wire controller) and the slave
19 (HDQ/1-Wire external compliant device).
21 A typical application of the HDQ/1-Wire module is the communication with battery
24 The controller supports operation in both HDQ and 1-wire mode. The essential
25 difference between the HDQ and 1-wire mode is how the slave device responds to
29 does not respond with a presence pulse as it does in the 1-Wire protocol.
[all …]
/linux-5.10/include/linux/mfd/
Dmotorola-cpcap.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (C) 2007-2009 Motorola, Inc.
30 #define CPCAP_REG_INT2 0x0004 /* Interrupt 2 */
34 #define CPCAP_REG_INTM2 0x0014 /* Interrupt Mask 2 */
38 #define CPCAP_REG_INTS2 0x0024 /* Interrupt Sense 2 */
42 #define CPCAP_REG_ASSIGN2 0x0034 /* Resource Assignment 2 */
48 #define CPCAP_REG_VERSC2 0x004c /* Version Control 2 */
52 #define CPCAP_REG_MI2 0x0208 /* Macro Interrupt 2 */
53 #define CPCAP_REG_MIM2 0x020c /* Macro Interrupt Mask 2 */
55 #define CPCAP_REG_UCC2 0x0214 /* UC Control 2 */
[all …]
Dmxs-lradc.h1 /* 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-5.10/arch/sh/include/mach-common/mach/
Dhighlander.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #define PA_SDPOW (-1)
16 #define PA_IRLPRI2 (PA_BCR+0x0006) /* Interrupt Priorty 2 */
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)
85 #define PA_ZIGIO2 (PA_BCR+0x000e) /* Zigbee IO control 2 */
[all …]
/linux-5.10/include/linux/platform_data/
Dusb-omap1.h15 * - "A" connector (rectagular)
17 * - "B" connector (squarish) or "Mini-B"
19 * - "Mini-AB" connector (very similar to Mini-B)
24 u8 otg; /* port number, 1-based: usb1 == 2 */
35 * 2 == usb0-only, using internal transceiver
36 * 3 == 3 wire bidirectional
37 * 4 == 4 wire bidirectional
38 * 6 == 6 wire unidirectional (or TLL)
/linux-5.10/drivers/w1/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Dallas's 1-wire support"
6 Dallas' 1-wire bus is useful to connect slow 1-pin devices
12 will be called wire.
22 information see <file:Documentation/driver-api/connector.rst>.
26 2. Userspace commands. Includes read/write and search/alarm search commands.
/linux-5.10/sound/ppc/
Dsnd_ps3_reg.h1 /* SPDX-License-Identifier: GPL-2.0-only */
39 * three wire serial
73 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
75 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
77 #define PS3_AUDIO_INTR_0_CHAN(n) (1 << ((n) * 2))
85 #define PS3_AUDIO_INTR_0_CHAN2 PS3_AUDIO_INTR_0_CHAN(2)
96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
106 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
108 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+
[all …]
/linux-5.10/drivers/iio/common/st_sensors/
Dst_sensors_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
34 * st_sensors_is_spi_3_wire() - check if SPI 3-wire mode has been selected
37 * Return: true if SPI 3-wire mode is selected, false otherwise.
42 struct device *dev = &spi->dev; in st_sensors_is_spi_3_wire()
44 if (device_property_read_bool(dev, "spi-3wire")) in st_sensors_is_spi_3_wire()
48 if (pdata && pdata->spi_3wire) in st_sensors_is_spi_3_wire()
55 * st_sensors_configure_spi_3_wire() - configure SPI 3-wire if needed
64 if (settings->sim.addr) { in st_sensors_configure_spi_3_wire()
66 settings->sim.addr, in st_sensors_configure_spi_3_wire()
[all …]
/linux-5.10/include/linux/sunrpc/
Dauth_gss.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 RPC_GSS_PROC_CONTINUE_INIT = 2,
34 RPC_GSS_SVC_INTEGRITY = 2,
38 /* on-the-wire gss cred: */
47 /* on-the-wire gss verifier: */
64 * gc_gss_ctx is the context handle that is used to do gss-api calls, while
66 * the wire when communicating with a server. */
/linux-5.10/drivers/w1/masters/
Dsgi_w1.c1 // SPDX-License-Identifier: GPL-2.0
3 * sgi_w1.c - w1 master driver for one wire support in SGI ASICs
13 #include <linux/platform_data/sgi-w1.h>
20 #define MCR_PACK(pulse, sample) (((pulse) << 10) | ((sample) << 2))
41 * reset the device on the One Wire interface
49 writel(MCR_PACK(520, 65), dev->mcr); in sgi_w1_reset_bus()
50 ret = sgi_w1_wait(dev->mcr); in sgi_w1_reset_bus()
56 * this is the low level routine to read/write a bit on the One Wire
66 writel(MCR_PACK(6, 13), dev->mcr); in sgi_w1_touch_bit()
68 writel(MCR_PACK(80, 30), dev->mcr); in sgi_w1_touch_bit()
[all …]
Dds2482.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ds2482.c - provides i2c to w1-master bridge(s)
7 * It is a I2C to 1-wire bridge.
8 * There are two variations: -100 and -800, which have 1 or 8 1-wire ports.
10 * http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4382
26 * The APU bit controls whether an active pullup (controlled slew-rate
28 * a 1-Wire line from low to high. When APU = 0, active pullup is disabled
30 * only a single slave on the 1-Wire line.
35 "0-disable, 1-enable (default)");
37 /* extra configurations - e.g. 1WS */
[all …]
/linux-5.10/include/rdma/
Dsignature.h1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) */
3 * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved.
14 IB_PROT_T10DIF_TYPE_3 = 1 << 2,
23 * enum ib_signature_type - Signature types
25 * @IB_SIG_TYPE_T10_DIF: Type T10-DIF
33 * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types
34 * @IB_T10DIF_CRC: Corresponds to T10-PI mandated CRC checksum rules.
43 * struct ib_t10_dif_domain - Parameters specific for T10-DIF
45 * @bg_type: T10-DIF block guard type (CRC|CSUM)
68 * struct ib_sig_domain - Parameters for signature domain
[all …]
/linux-5.10/Documentation/w1/
Dw1-generic.rst2 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-5.10/drivers/i2c/busses/
Di2c-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/i2c-algo-bit.h>
17 #include <linux/platform_data/i2c-gpio.h>
44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val()
49 * for pins that are configured as open drain and for output-only
57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val()
64 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
71 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl()
77 #define setsda(bd, val) ((bd)->setsda((bd)->data, val))
78 #define setscl(bd, val) ((bd)->setscl((bd)->data, val))
[all …]
/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dti-tsc-adc.txt1 * TI - TSC ADC (Touschscreen and analog digital converter)
5 - mfd
7 "ti,am3359-tscadc" for AM335x/AM437x SoCs
8 "ti,am654-tscadc", "ti,am3359-tscadc" for AM654 SoCs
9 - child "tsc"
10 compatible: Should be "ti,am3359-tsc".
11 ti,wires: Wires refer to application modes i.e. 4/5/8 wire touchscreen
13 ti,x-plate-resistance: X plate resistance
14 ti,coordinate-readouts: The sequencer supports a total of 16
20 Y and 2 for Z (always). This utilises 12
[all …]
/linux-5.10/drivers/input/touchscreen/
Dwm9713.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec.
44 * Set pil = 2 to use 400uA
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.");
99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above)
121 42, /* 2 */
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()
[all …]
Dwm9712.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs.
44 * Set pil = 2 to use 400uA
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.");
99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above)
121 42, /* 2 */
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()
[all …]
/linux-5.10/Documentation/hwmon/
Dlm85.rst79 - 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
108 transistor like the 2N3904.
127 ----------------
[all …]
Dadt7411.rst17 -----------
22 The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
23 SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
26 loses 2 inputs then). There are high- and low-limit registers for all inputs.
30 sysfs-Interface
31 ---------------
35 in[1-8]_input analog 1-8 input
48 -----
/linux-5.10/Documentation/devicetree/bindings/sound/
Dmt6359.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eason Yen <eason.yen@mediatek.com>
11 - Jiaxin Yu <jiaxin.yu@mediatek.com>
12 - Shane Chien <shane.chien@mediatek.com>
20 mediatek,dmic-mode:
24 signal. 0 means two wires, 1 means one wire. Default value is 0.
26 - 0 # one wire
27 - 1 # two wires
[all …]
/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dkinetic,ktd253.yaml1 # 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 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#
26 enable-gpios:
30 default-brightness: true
31 max-brightness: true
[all …]
/linux-5.10/Documentation/devicetree/bindings/
Dtrivial-devices.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/trivial-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
28 - enum:
29 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
30 - ad,ad7414
31 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
32 - ad,adm9240
[all …]
/linux-5.10/Documentation/devicetree/bindings/rtc/
Dmaxim-ds1302.txt1 * 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-5.10/net/rxrpc/
Dprotocol.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */
14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */
18 * on-the-wire Rx packet header
19 * - all multibyte fields should be in network byte order
23 #define RXRPC_RANDOM_EPOCH 0x80000000 /* Random if set, date-based if not */
27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */
32 __be32 callNumber; /* call ID (0 for connection-level packets) */
38 #define RXRPC_PACKET_TYPE_ACK 2 /* ACK */
42 #define RXRPC_PACKET_TYPE_CHALLENGE 6 /* connection security challenge (SRVR->CLNT) */
[all …]
/linux-5.10/fs/xfs/
Dxfs_export.h1 // SPDX-License-Identifier: GPL-2.0
12 * The NFS fileid goes out on the wire as an array of
19 * (2) fileid_type=0x01
20 * inode-num
24 * inode-num
26 * parent-inode-num
27 * parent-generation
30 * inode-num-lo32
31 * inode-num-hi32
35 * inode-num-lo32
[all …]

12345678910>>...22