/openbmc/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 …]
|
/openbmc/linux/drivers/w1/masters/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # 1-wire bus master configuration 6 menu "1-wire Bus Masters" 9 tristate "Matrox G400 transport layer for 1-wire" 12 Say Y here if you want to communicate with your 1-wire devices 19 tristate "DS2490 USB <-> W1 transport layer for 1-wire" 22 Say Y here if you want to have a driver for DS2490 based USB <-> W1 bridges, 29 tristate "Maxim DS2482 I2C to 1-Wire bridge" 33 I2C to 1-Wire bridge. 39 tristate "Freescale MXC 1-wire busmaster" [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. 31 static int ds2482_active_pullup = 1; 34 "0-disable, 1-enable (default)"); [all …]
|
H A D | sgi_w1.c | 1 // 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> 18 #define MCR_DONE BIT(1) 36 return (mcr_val & MCR_RD_DATA) ? 1 : 0; in sgi_w1_wait() 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 58 * to 0, otherwise a write 1/read. [all …]
|
/openbmc/linux/Documentation/w1/masters/ |
H A D | omap-hdq.rst | 2 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/u-boot/drivers/w1/ |
H A D | Kconfig | 5 menu "1-Wire support" 8 bool "Enable 1-wire controllers support" 12 Support for the Dallas 1-Wire bus. 17 bool "Enable 1-wire GPIO bitbanging" 21 Emulate a 1-wire bus using a GPIO. 24 bool "Enable 1-wire controller on i.MX processors" 28 Support the one wire controller found in some members of the NXP 33 Newer i.MX SoCs such as the i.MX6 do not have one wire controllers.
|
/openbmc/linux/net/rxrpc/ |
H A D | txbuf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "ar-internal.h" 26 INIT_LIST_HEAD(&txb->call_link); in rxrpc_alloc_txbuf() 27 INIT_LIST_HEAD(&txb->tx_link); in rxrpc_alloc_txbuf() 28 refcount_set(&txb->ref, 1); in rxrpc_alloc_txbuf() 29 txb->call_debug_id = call->debug_id; in rxrpc_alloc_txbuf() 30 txb->debug_id = atomic_inc_return(&rxrpc_txbuf_debug_ids); in rxrpc_alloc_txbuf() 31 txb->space = sizeof(txb->data); in rxrpc_alloc_txbuf() 32 txb->len = 0; in rxrpc_alloc_txbuf() 33 txb->offset = 0; in rxrpc_alloc_txbuf() [all …]
|
H A D | output.c | 1 // 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/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/owfs/ |
H A D | owfs_3.2p3.bb | 1 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" 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 \ 28 --enable-owhttpd \ [all …]
|
/openbmc/u-boot/drivers/w1-eeprom/ |
H A D | Kconfig | 5 menu "1-wire EEPROM support" 8 bool "Enable support for EEPROMs on 1wire interface" 11 Support for the EEPROMs connected on 1-wire Dallas protocol interface 19 Maxim DS24 EEPROMs 1-Wire EEPROM support 22 bool "Enable Maxim DS2502 Add-Only Memory support" 25 Maxim DS2502 1-Wire add-only memory support.
|
/openbmc/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. 18 #define CPCAP_VENDOR_TI 1 20 #define CPCAP_REVISION_MAJOR(r) (((r) >> 4) + 1) 29 #define CPCAP_REG_INT1 0x0000 /* Interrupt 1 */ 33 #define CPCAP_REG_INTM1 0x0010 /* Interrupt Mask 1 */ 37 #define CPCAP_REG_INTS1 0x0020 /* Interrupt Sense 1 */ 41 #define CPCAP_REG_ASSIGN1 0x0030 /* Resource Assignment 1 */ 47 #define CPCAP_REG_VERSC1 0x0048 /* Version Control 1 */ 50 #define CPCAP_REG_MI1 0x0200 /* Macro Interrupt 1 */ [all …]
|
/openbmc/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> 20 maxItems: 1 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 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | intel,ce4100-lapic.yaml | 1 # 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> 20 See [1] Chapter 8 for more details. 28 [1] https://pdos.csail.mit.edu/6.828/2008/readings/ia32/IA32-3A.pdf 32 const: intel,ce4100-lapic 35 maxItems: 1 37 interrupt-controller: true [all …]
|
/openbmc/linux/Documentation/peci/ |
H A D | peci.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 13 controller is acting as a PECI originator and the processor - as 15 PECI can be used in both single processor and multiple-processor based 24 PECI Wire 25 --------- 27 PECI Wire interface uses a single wire for self-clocking and data 28 transfer. It does not require any additional control lines - the 29 physical layer is a self-clocked one-wire bus signal that begins each 32 value is logic '0' or logic '1'. PECI Wire also includes variable data 35 For PECI Wire, each processor package will utilize unique, fixed [all …]
|
/openbmc/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 …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | tlb-urb.c | 2 * arch/sh/mm/tlb-urb.c 4 * TLB entry wiring helpers for URB-equipped parts. 18 * Load the entry for 'addr' into the TLB and wire the entry. 32 * Make sure we're not trying to wire the last TLB entry slot. in tlb_wire_entry() 34 BUG_ON(!--urb); in tlb_wire_entry() 39 * Insert this entry into the highest non-wired TLB slot (via in tlb_wire_entry() 49 /* ... and wire it up. */ in tlb_wire_entry() 64 * It should also be noted that it is not possible to wire and unwire 65 * TLB entries in an arbitrary order. If you wire TLB entry N, followed 66 * by entry N+1, you must unwire entry N+1 first, then entry N. In this
|
/openbmc/linux/arch/sh/include/mach-common/mach/ |
H A D | highlander.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define PA_SDPOW (-1) 15 #define PA_IRLPRI1 (PA_BCR+0x0004) /* Interrupt Priorty 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) 84 #define PA_ZIGIO1 (PA_BCR+0x000c) /* Zigbee IO control 1 */ [all …]
|
/openbmc/linux/drivers/w1/ |
H A D | Kconfig | 1 # 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>. 24 1. Events. They are generated each time new master or slave device found
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Makefile for the Dallas's 1-wire bus. 6 obj-$(CONFIG_W1) += wire.o 7 wire-objs := w1.o w1_int.o w1_family.o w1_netlink.o w1_io.o 9 obj-y += masters/ slaves/
|
/openbmc/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 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: 33 minimum: 1 [all …]
|
/openbmc/linux/sound/ppc/ |
H A D | snd_ps3_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 39 * three wire serial 49 * n:0..1 66 can be cleared by writing a '1' to the corresponding bit. A new interrupt 73 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 75 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 77 #define PS3_AUDIO_INTR_0_CHAN(n) (1 << ((n) * 2)) 86 #define PS3_AUDIO_INTR_0_CHAN1 PS3_AUDIO_INTR_0_CHAN(1) 96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ [all …]
|
/openbmc/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) 22 unsigned register_host:1; 23 unsigned register_dev:1; 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/Documentation/devicetree/bindings/spi/ |
H A D | icpdas-lp8841-spi-rtc.txt | 1 * ICP DAS LP-8841 SPI Controller for RTC 3 ICP DAS LP-8841 contains a DS-1302 RTC. RTC is connected to an IO 6 The device uses the standard MicroWire half-duplex transfer timing. 13 - #address-cells: should be 1 15 - #size-cells: should be 0 17 - compatible: should be "icpdas,lp8841-spi-rtc" 19 - reg: should provide IO memory address 23 - There can be only one slave device. 25 - The spi slave node should claim the following flags which are 28 - spi-3wire: The master itself has only 3 wire. It cannor work in [all …]
|
/openbmc/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 29 maxItems: 1 [all …]
|
/openbmc/qemu/qapi/ |
H A D | introspect.json | 1 # -*- Mode: Python -*- 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. 50 { 'command': 'query-qmp-schema', [all …]
|