Home
last modified time | relevance | path

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

12345678910>>...31

/openbmc/linux/Documentation/w1/masters/
H A 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 …]
/openbmc/linux/include/linux/mfd/
H A 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 …]
/openbmc/u-boot/doc/
H A DREADME.VSC3316-33082 Vitesse cross-point devices, VSC3316 and VSC3308 for board B4860QDS
8 VSC 3316/3308 is a low-power, low-cost asynchronous crosspoint switch capable of data rates upto 11…
10 …d 8 output ports. Programming of these devices are performed by two-wire or four-wire serial inter…
14 On reset, VSC devices are in low-power state with all inputs, outputs and connections in an off sta…
15 First thing required is to program it to interface with either two-wire or four-wire interface.
16 … interface is two-wire I2C serial interface. So the value in Interface mode register at address 79…
22 --------------------------
23-wire or four-wire interface. In our case the interface is two-wire I2C serial interface. So the v…
25 vsc_addr - Address of the VSC device on board.
28 vsc3316_config(u8 vsc_addr, int con_arr[][2], u8 num_con):
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/temperature/
H A Dmaxim,max31865.yaml1 # 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 …]
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dintel,ce4100-lapic.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/intel,ce4100-lapic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rahul Tanwar <rtanwar@maxlinear.com>
28 [1] https://pdos.csail.mit.edu/6.828/2008/readings/ia32/IA32-3A.pdf
32 const: intel,ce4100-lapic
37 interrupt-controller: true
39 '#interrupt-cells':
40 const: 2
[all …]
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/owfs/
H A Dowfs_3.2p3.bb1 SUMMARY = "1-Wire file system"
2 DESCRIPTION = "OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim"
6 LICENSE = "GPL-2.0-only & LGPL-2.0-only"
11 # v3.2p3
14 file://0001-Add-build-rule-for-README.patch \
15 file://0001-Fix-compilation-with-GCC10.patch \
22 inherit autotools-brokensep update-rc.d pkgconfig systemd
25 --with-fuseinclude=${STAGING_INCDIR} \
26 --with-fuselib=${STAGING_LIBDIR} \
27 --enable-owfs \
[all …]
/openbmc/linux/arch/sh/include/mach-common/mach/
H A 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 …]
/openbmc/linux/net/rxrpc/
H A Doutput.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include "ar-internal.h"
23 struct sockaddr *sa = msg->msg_name; in do_udp_sendmsg()
24 struct sock *sk = socket->sk; in do_udp_sendmsg()
27 if (sa->sa_family == AF_INET6) { in do_udp_sendmsg()
28 if (sk->sk_family != AF_INET6) { in do_udp_sendmsg()
30 return -ENOPROTOOPT; in do_udp_sendmsg()
51 u16 tx_backoff = READ_ONCE(call->tx_backoff); in rxrpc_tx_backoff()
54 WRITE_ONCE(call->tx_backoff, tx_backoff + 1); in rxrpc_tx_backoff()
56 WRITE_ONCE(call->tx_backoff, 0); in rxrpc_tx_backoff()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dti,am3359-tsc.yaml1 # 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
22 ti,x-plate-resistance:
26 ti,coordinate-readouts:
30 X, 5 for Y and 2 for Z (always). This utilises 12 of the 16 software steps
[all …]
/openbmc/linux/drivers/w1/
H A 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.
/openbmc/linux/include/linux/platform_data/
H A 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)
/openbmc/linux/sound/ppc/
H A 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 …]
/openbmc/qemu/qapi/
H A Dintrospect.json1 # -*- Mode: Python -*-
9 # This work is licensed under the terms of the GNU GPL, version 2 or later.
10 # See the COPYING file in the top-level directory.
17 # @query-qmp-schema:
19 # Command query-qmp-schema exposes the QMP wire ABI as an array of
28 # Furthermore, while we strive to keep the QMP wire format
29 # backwards-compatible across qemu versions, the introspection output
32 # non-variant, while another lists the same member only through the
42 # with different meta-types).
46 # QMP wire ABI, and therefore not returned by this command.
[all …]
/openbmc/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
33 * st_sensors_is_spi_3_wire() - check if SPI 3-wire mode has been selected
36 * Return: true if SPI 3-wire mode is selected, false otherwise.
41 struct device *dev = &spi->dev; in st_sensors_is_spi_3_wire()
43 if (device_property_read_bool(dev, "spi-3wire")) in st_sensors_is_spi_3_wire()
47 if (pdata && pdata->spi_3wire) in st_sensors_is_spi_3_wire()
54 * st_sensors_configure_spi_3_wire() - configure SPI 3-wire if needed
63 if (settings->sim.addr) { in st_sensors_configure_spi_3_wire()
65 settings->sim.addr, in st_sensors_configure_spi_3_wire()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dawinic,aw8738.yaml1 # 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 …]
/openbmc/linux/include/linux/sunrpc/
H A 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. */
/openbmc/linux/include/rdma/
H A 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 …]
/openbmc/linux/drivers/w1/masters/
H A 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 …]
/openbmc/u-boot/board/freescale/common/
H A Dvsc3316_3308.c1 // SPDX-License-Identifier: GPL-2.0+
30 debug("VSC:Configuring VSC at I2C address 0x%2x" in vsc_if_enable()
31 " for 2-wire interface\n", vsc_addr); in vsc_if_enable()
33 /* enable 2-wire Serial InterFace (I2C) */ in vsc_if_enable()
38 int vsc3316_config(unsigned int vsc_addr, int8_t con_arr[][2], in vsc3316_config() argument
45 debug("VSC:Initializing VSC3316 at I2C address 0x%2x" in vsc3316_config()
58 return -ENODEV; in vsc3316_config()
63 printf("VSC:0x%x could not configured for 2-wire I/F.\n", in vsc3316_config()
68 /* config connections - page 0x00 */ in vsc3316_config()
76 /* input state - page 0x13 */ in vsc3316_config()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/spi/
H A Dspi-bus.txt10 - #address-cells - number of cells required to define a chip select
12 - #size-cells - should be zero.
13 - compatible - name of SPI bus controller following generic names
15 - cs-gpios - (optional) gpios chip select.
20 flexible and non-standardized, it is left out of this binding with the
26 - num-cs : total number of chipselects
28 If cs-gpios is used the number of chip select will automatically increased
29 with max(cs-gpios > hw cs)
31 So if for example the controller has 2 CS lines, and the cs-gpios
34 cs-gpios = <&gpio1 0 0> <0> <&gpio1 1 0> <&gpio1 2 0>;
[all …]
/openbmc/linux/Documentation/w1/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74115.yaml1 # 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 …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/i2c-algo-bit.h>
16 #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 …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dti,lmk04832.yaml1 # 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 …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright 2020-2022 Xilinx Inc.
8 * under the terms of the GNU General Public License version 2 as published
22 * struct efx_tc_mac_pedit_action - mac pedit action fields
46 * struct efx_tc_action_set - collection of tc action fields
57 * @encap_user: linked list of encap users (encap_md->users)
58 …* @user: owning action-set-list. Only populated if @encap_md is; used by efx_tc_update_encap() fal…
59 * @count_user: linked list of counter users (counter->users)
68 u16 vlan_push:2;
69 u16 vlan_pop:2;
[all …]

12345678910>>...31