| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkb.c | 28 #include <dix-config.h> 42 #include "protocol-versions.h" 62 client->errorValue = _XkbErrCode2(why, id);\ 83 CHK_ATOM_ONLY2(a,client->errorValue,BadAtom) 99 CHK_ATOM_OR_NONE2(a,client->errorValue,BadAtom) 115 CHK_MASK_LEGAL2(err,mask,legal,client->errorValue,BadValue) 119 client->errorValue= _XkbErrCode2((err),((value)&(~(affect))));\ 125 client->errorValue= _XkbErrCode2((err),((m1)&(m2)));\ 130 if (((unsigned)(first)+(num)-1)>(x)->max_key_code) {\ 131 (ev)=_XkbErrCode4(err,(first),(num),(x)->max_key_code);\ [all …]
|
| H A D | xkmread.c | 28 #include <dix-config.h> 72 (newCount - oldCount) * elemSize); in XkmInsureSize() 109 if ((fread(&val, 4, 1, file) == 1) && (pNRead)) in XkmGetCARD32() 110 (*pNRead) += 4; in XkmGetCARD32() 150 str[max_len - 1] = '\0'; in XkmGetCountedString() 153 count = XkbPaddedSize(nRead) - nRead; in XkmGetCountedString() 170 return -1; in ReadXkmVirtualMods() 176 xkb->server->vmods[i] = XkmGetCARD8(file, &nRead); in ReadXkmVirtualMods() 178 changes->map.vmods |= bit; in ReadXkmVirtualMods() 182 if ((i = XkbPaddedSize(tmp) - tmp) > 0) in ReadXkmVirtualMods() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | phycore-ac97.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // phycore-ac97.c -- SoC audio for imx_phycore in AC97 mode 14 #include <asm/mach-types.h> 16 #include "imx-audmux.h" 24 DAILINK_COMP_ARRAY(COMP_CPU("imx-ssi.0")), 25 DAILINK_COMP_ARRAY(COMP_CODEC("wm9712-codec", "wm9712-hifi")), 26 DAILINK_COMP_ARRAY(COMP_PLATFORM("imx-ssi.0"))); 38 .name = "PhyCORE-ac97-audio", 53 IMX_AUDMUX_V1_PCR_SYN | /* 4wire mode */ in imx_phycore_init() 58 IMX_AUDMUX_V1_PCR_SYN | /* 4wire mode */ in imx_phycore_init() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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)
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | ti-tsc-adc.txt | 1 * 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 22 remaining 4 can be used by the ADC. [all …]
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| /OK3568_Linux_fs/kernel/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:-
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-at91/include/mach/ |
| H A D | sama5d4.h | 2 * Chip-specific header file for the SAMA5D4 SoC 7 * SPDX-License-Identifier: GPL-2.0+ 25 #define ATMEL_ID_WDT 4 /* Watchdog timer */ 37 #define ATMEL_ID_MATRIX1 17 /* H32MX, 32-bit AHB Matrix */ 38 #define ATMEL_ID_MATRIX0 18 /* H64MX, 64-bit AHB Matrix */ 41 #define ATMEL_ID_SMC 22 /* Multi-bit ECC interrupt */ 50 #define ATMEL_ID_USART4 31 /* USART 4 */ 51 #define ATMEL_ID_TWI0 32 /* Two-Wire Interface 0 */ 52 #define ATMEL_ID_TWI1 33 /* Two-Wire Interface 1 */ 53 #define ATMEL_ID_TWI2 34 /* Two-Wire Interface 2 */ [all …]
|
| H A D | at91sam9x5.h | 2 * Chip-specific header file for the AT91SAM9x5 family 4 * Copyright (C) 2012-2013 Atmel Corporation. 9 * SPDX-License-Identifier: GPL-2.0+ 24 #define ATMEL_ID_SMD 4 /* SMD Soft Modem (SMD), only for AT91SAM9X5 */ 25 #define ATMEL_ID_FUSE 4 /* FUSE Controller, only for AT91SAM9N12 */ 30 #define ATMEL_ID_TWI0 9 /* Two-Wire Interface 0 */ 31 #define ATMEL_ID_TWI1 10 /* Two-Wire Interface 1 */ 32 #define ATMEL_ID_TWI2 11 /* Two-Wire Interface 2 */ 38 #define ATMEL_ID_TC01 17 /* Timer Counter 0, 1, 2, 3, 4 and 5 */ 173 #define ATMEL_PIO_PORTS 4
|
| /OK3568_Linux_fs/u-boot/board/freescale/common/ |
| H A D | vsc3316_3308.c | 4 * SPDX-License-Identifier: GPL-2.0+ 32 " for 2-wire interface\n", vsc_addr); in vsc_if_enable() 34 /* enable 2-wire Serial InterFace (I2C) */ in vsc_if_enable() 59 return -ENODEV; in vsc3316_config() 64 printf("VSC:0x%x could not configured for 2-wire I/F.\n", in vsc3316_config() 69 /* config connections - page 0x00 */ in vsc3316_config() 77 /* input state - page 0x13 */ in vsc3316_config() 86 /* config output mode - page 0x23 */ in vsc3316_config() 121 return -ENODEV; in vsc3308_config_adjust() 126 printf("VSC:0x%x could not configured for 2-wire I/F.\n", in vsc3308_config_adjust() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/ |
| H A D | wr.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 28 /* handle_post_send_edge - Check if we get to SQ edge. If yes, update to the 30 * @sq - SQ buffer. 43 idx = (sq->cur_post + (wqe_sz >> 2)) & (sq->wqe_cnt - 1); in handle_post_send_edge() 46 *seg = mlx5_frag_buf_get_wqe(&sq->fbc, idx); in handle_post_send_edge() 49 /* memcpy_send_wqe - copy data from src to WQE and update the relevant WQ's 51 * @sq - SQ buffer. 63 size_t leftlen = *cur_edge - *seg; in memcpy_send_wqe() 69 n -= copysz; in memcpy_send_wqe() 73 *wqe_sz += stride >> 4; in memcpy_send_wqe() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/ |
| H A D | hci_rtk_h5.c | 5 * Copyright (C) 2011-2014 wifi_fae<wifi_fae@realtek.com.tw> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 56 #define H5_TXWINSIZE 4 90 /* Reliable packet sequence number - used to assign seq to each rel pkt. */ 97 /* ---- H5 CRC calculation ---- */ 123 reg = (reg >> 4) ^ crc_table[(reg ^ d) & 0x000f]; in h5_crc_update() 124 reg = (reg >> 4) ^ crc_table[(reg ^ (d >> 4)) & 0x000f]; in h5_crc_update() 129 /* ---- H5 core ---- */ 165 struct h5_struct *h5 = hu->priv; in h5_enqueue() 167 if (skb->len > 0xFFF) { //Pkt length must be less than 4095 bytes in h5_enqueue() [all …]
|
| /OK3568_Linux_fs/u-boot/board/nokia/rx51/ |
| H A D | tag_omap.h | 2 * (C) Copyright 2011-2012 8 * (C) Copyright 2004-2005 11 * SPDX-License-Identifier: GPL-2.0+ 17 * arch/arm/plat-omap/include/mach/board.h 19 * Information structures for board-specific data 66 * - "A" connector (rectagular) 68 * - "B" connector (squarish) or "Mini-B" 70 * - "Mini-AB" connector (very similar to Mini-B) 75 u8 otg; /* port number, 1-based: usb1 == 2 */ 84 * 2 == usb0-only, using internal transceiver [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ |
| H A D | trivial-devices.yaml | 1 # 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A D | asc7621.rst | 20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 22 added PECI and a 4th thermal zone. The Andigilog aSC7611 is the 23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 28 have used registers below 20h for vendor-specific functions in addition 29 to those in the Intel-specified vendor range. 32 The fan speed control uses this finer value to produce a "step-less" fan 33 PWM output. These two bytes are "read-locked" to guarantee that once a 34 high or low byte is read, the other byte is locked-in until after the 37 sheet says 10-bits of resolution, although you may find the lower bits [all …]
|