/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/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 …]
|
/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. 26 This device has 128 bytes of data memory, organized as 4 pages of 28 pages, allowing data to be modified up to 4 times (by external
|
/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 20 enum: [4, 5, 8] 22 ti,x-plate-resistance: 26 ti,coordinate-readouts: [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> 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/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 …]
|
/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) 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 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 …]
|
/openbmc/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:-
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/spi/ |
H A D | spi-bus.txt | 10 - #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/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 …]
|
/openbmc/linux/drivers/w1/masters/ |
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 …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.10.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.10.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | at91sam9x5.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Chip-specific header file for the AT91SAM9x5 family 5 * Copyright (C) 2012-2013 Atmel Corporation. 21 #define ATMEL_ID_SMD 4 /* SMD Soft Modem (SMD), only for AT91SAM9X5 */ 22 #define ATMEL_ID_FUSE 4 /* FUSE Controller, only for AT91SAM9N12 */ 27 #define ATMEL_ID_TWI0 9 /* Two-Wire Interface 0 */ 28 #define ATMEL_ID_TWI1 10 /* Two-Wire Interface 1 */ 29 #define ATMEL_ID_TWI2 11 /* Two-Wire Interface 2 */ 35 #define ATMEL_ID_TC01 17 /* Timer Counter 0, 1, 2, 3, 4 and 5 */ 170 #define ATMEL_PIO_PORTS 4
|
H A D | sama5d4.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Chip-specific header file for the SAMA5D4 SoC 19 #define ATMEL_ID_WDT 4 /* Watchdog timer */ 31 #define ATMEL_ID_MATRIX1 17 /* H32MX, 32-bit AHB Matrix */ 32 #define ATMEL_ID_MATRIX0 18 /* H64MX, 64-bit AHB Matrix */ 35 #define ATMEL_ID_SMC 22 /* Multi-bit ECC interrupt */ 44 #define ATMEL_ID_USART4 31 /* USART 4 */ 45 #define ATMEL_ID_TWI0 32 /* Two-Wire Interface 0 */ 46 #define ATMEL_ID_TWI1 33 /* Two-Wire Interface 1 */ 47 #define ATMEL_ID_TWI2 34 /* Two-Wire Interface 2 */ [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/board/freescale/common/ |
H A D | vsc3316_3308.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 " for 2-wire interface\n", vsc_addr); in vsc_if_enable() 33 /* enable 2-wire Serial InterFace (I2C) */ in vsc_if_enable() 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() 85 /* config output mode - page 0x23 */ in vsc3316_config() 120 return -ENODEV; in vsc3308_config_adjust() 125 printf("VSC:0x%x could not configured for 2-wire I/F.\n", in vsc3308_config_adjust() [all …]
|
/openbmc/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 …]
|