/linux/drivers/w1/slaves/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # 1-wire slaves configuration 6 menu "1-wire Slaves" 11 Say Y here if you want to connect 1-wire thermal sensors to your 12 wire. 17 Say Y here if you want to connect 1-wire 18 simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire. 23 Say Y or M here if you want to use a DS2405 1-wire 24 single-channel addressable switch. 25 This device can also work as a single-channel [all …]
|
/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. 20 #define CPCAP_REVISION_MAJOR(r) (((r) >> 4) + 1) 32 #define CPCAP_REG_INT4 0x000c /* Interrupt 4 */ 36 #define CPCAP_REG_INTM4 0x001c /* Interrupt Mask 4 */ 40 #define CPCAP_REG_INTS4 0x002c /* Interrupt Sense 4 */ 44 #define CPCAP_REG_ASSIGN4 0x003c /* Resource Assignment 4 */ 87 #define CPCAP_REG_S4C1 0x0620 /* Switcher 4 Control 1 */ 88 #define CPCAP_REG_S4C2 0x0624 /* Switcher 4 Control 2 */ 149 #define CPCAP_REG_ADCD4 0x0c18 /* A/D Converter Data 4 */ [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 18 #define LRADC_MAX_DELAY_CHANS 4 103 #define LRADC_CTRL4_LRADCSELECT_MASK(n) (0xf << ((n) * 4)) 104 #define LRADC_CTRL4_LRADCSELECT_OFFSET(n) ((n) * 4) 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 [all …]
|
/linux/Documentation/iio/ |
H A D | ad4000.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 30 ------------------ 35 CS mode, 3-wire turbo mode 38 Datasheet "3-wire" mode is what most resembles standard SPI connection which, 41 "CS Mode, 3-Wire Turbo Mode" connection in datasheets. 42 NOTE: The datasheet definition of 3-wire mode for the AD4000 series is NOT the 43 same of standard spi-3wire mode. 47 Omit the ``adi,sdi-pin`` property in device tree to select this mode. 51 +-------------+ 52 + ----------------------------------| SDO | [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/iio/temperature/ |
H A D | maxim,max31865.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Navin Sankar Velliangiri <navin@linumiz.com> 22 maxim,3-wire: 25 enables 3-wire RTD connection. Else 2-wire or 4-wire RTD connection. 28 spi-cpha: true 31 - compatible 32 - reg 33 - spi-cpha [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) 18 #define PA_IRLPRI4 (PA_BCR+0x000a) /* Interrupt Priorty 4 */ 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) 87 #define PA_ZIGIO4 (PA_BCR+0x0012) /* Zigbee IO control 4 */ [all …]
|
/linux/include/linux/platform_data/ |
H A D | usb-omap1.h | 15 * - "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/drivers/w1/masters/ |
H A D | amd_axi_w1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * amd_axi_w1 - AMD 1Wire programmable logic bus host driver 5 * Copyright (C) 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. 23 /* 1-wire AMD IP definition */ 41 #define AXIW1_READY BIT(4) 51 #define AXIW1_READY_IRQ_EN BIT(4) 68 * amd_axi_w1_wait_irq_interruptible_timeout() - Wait for IRQ with timeout. 73 * Return: %0 - OK, %-EINTR - Interrupted, %-EBUSY - Timed out 81 iowrite32(IRQ, amd_axi_w1_local->base_addr + AXIW1_IRQE_REG); in amd_axi_w1_wait_irq_interruptible_timeout() 82 ret = wait_event_interruptible_timeout(amd_axi_w1_local->wait_queue, in amd_axi_w1_wait_irq_interruptible_timeout() [all …]
|
H A D | ds2482.c | 1 // 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 25 * The APU bit controls whether an active pullup (controlled slew-rate 27 * a 1-Wire line from low to high. When APU = 0, active pullup is disabled 29 * only a single slave on the 1-Wire line. 34 "0-disable, 1-enable (default)"); 36 /* extra configurations - e.g. 1WS */ [all …]
|
/linux/sound/ppc/ |
H A D | snd_ps3_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 39 * three wire serial 73 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 75 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 83 #define PS3_AUDIO_INTR_0_CHAN4 PS3_AUDIO_INTR_0_CHAN(4) 96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 108 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 125 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ [all …]
|
/linux/Documentation/sound/soc/ |
H A D | dai.rst | 12 AC97 is a five wire interface commonly found on many PC sound cards. It is 26 I2S is a common 4 wire DAI used in HiFi, STB and portable devices. The Tx and 35 I2S has several different operating modes:- 50 PCM is another 4 wire interface, very similar to I2S, which can support a more 58 Common PCM operating modes:-
|
/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/devicetree/bindings/clock/ |
H A D | ti,lmk04832.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 21 - ti,lmk04832 26 '#address-cells': 29 '#size-cells': 32 '#clock-cells': 35 spi-max-frequency: 40 - description: PLL2 reference clock. [all …]
|
/linux/include/rdma/ |
H A D | signature.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) */ 3 * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved. 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 81 * struct ib_sig_attrs - Parameters for signature handover operation [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. 76 static int delay = 4; 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."); 122 84, /* 4 */ 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() [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."); 122 84, /* 4 */ 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() [all …]
|
/linux/net/rxrpc/ |
H A D | protocol.h | 1 /* 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 */ 26 #define RXRPC_MAXCALLS 4 /* max active calls per conn */ 27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */ 32 __be32 callNumber; /* call ID (0 for connection-level packets) */ 40 #define RXRPC_PACKET_TYPE_ABORT 4 /* call/connection abort */ [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | multi-inno,mi0283qt.txt | 1 Multi-Inno MI0283QT display panel 4 - compatible: "multi-inno,mi0283qt". 7 all mandatory properties described in ../spi/spi-bus.txt must be specified. 10 - dc-gpios: D/C pin. The presence/absence of this GPIO determines 12 - present: IM=x110 4-wire 8-bit data serial interface 13 - absent: IM=x101 3-wire 9-bit data serial interface 14 - reset-gpios: Reset pin 15 - power-supply: A regulator node for the supply voltage. 16 - backlight: phandle of the backlight device attached to the panel 17 - rotation: panel rotation in degrees counter clockwise (0,90,180,270) [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/infiniband/hw/mlx5/ |
H A D | wr.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 34 cur = wq->head - wq->tail; in mlx5r_wq_overflow() 35 if (likely(cur + nreq < wq->max_post)) in mlx5r_wq_overflow() 39 spin_lock(&cq->lock); in mlx5r_wq_overflow() 40 cur = wq->head - wq->tail; in mlx5r_wq_overflow() 41 spin_unlock(&cq->lock); in mlx5r_wq_overflow() 43 return cur + nreq >= wq->max_post; in mlx5r_wq_overflow() 49 rseg->raddr = cpu_to_be64(remote_addr); in set_raddr_seg() 50 rseg->rkey = cpu_to_be32(rkey); in set_raddr_seg() 51 rseg->reserved = 0; in set_raddr_seg() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt6359.yaml | 1 # 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/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 106 measure a thermal diode like the one in a Pentium 4 processor in a socket 127 ---------------- [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 32 #define MAX31865_3WIRE_RTD BIT(4) 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 …]
|
/linux/Documentation/filesystems/nfs/ |
H A D | localio.rst | 26 But unlike the LOCALIO protocol, the sockaddr-based matching didn't 42 - With LOCALIO: 43 4K read: IOPS=979k, BW=3825MiB/s (4011MB/s)(74.7GiB/20002msec) 44 4K write: IOPS=165k, BW=646MiB/s (678MB/s)(12.6GiB/20002msec) 48 - Without LOCALIO: 49 4K read: IOPS=79.2k, BW=309MiB/s (324MB/s)(6188MiB/20003msec) 50 4K write: IOPS=59.8k, BW=234MiB/s (245MB/s)(4671MiB/20002msec) 55 - With LOCALIO: 56 4K read: IOPS=230k, BW=898MiB/s (941MB/s)(17.5GiB/20001msec) 57 4K write: IOPS=22.6k, BW=88.3MiB/s (92.6MB/s)(1766MiB/20001msec) [all …]
|