| /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. 31 #define CPCAP_REG_INT3 0x0008 /* Interrupt 3 */ 35 #define CPCAP_REG_INTM3 0x0018 /* Interrupt Mask 3 */ 39 #define CPCAP_REG_INTS3 0x0028 /* Interrupt Sense 3 */ 43 #define CPCAP_REG_ASSIGN3 0x0038 /* Resource Assignment 3 */ 63 #define CPCAP_REG_MT3 0x0234 /* Memory Transfer 3 */ 86 #define CPCAP_REG_S3C 0x061c /* Switcher 3 Control */ 129 #define CPCAP_REG_MIPIS3 0x0840 /* MIPI Slimbus 3. */ 148 #define CPCAP_REG_ADCD3 0x0c14 /* A/D Converter Data 3 */ [all …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkmread.c | 28 #include <dix-config.h> 72 (newCount - oldCount) * elemSize); in XkmInsureSize() 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() 186 return -1; in ReadXkmVirtualMods() 193 xkb->names->vmods[i] = XkbInternAtom(name, FALSE); in ReadXkmVirtualMods() [all …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /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 40 * n:0..3 73 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 75 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 84 #define PS3_AUDIO_INTR_0_CHAN3 PS3_AUDIO_INTR_0_CHAN(3) 96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 108 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ [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() 54 IMX_AUDMUX_V1_PCR_TFCSEL(3) | in imx_phycore_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/common/st_sensors/ |
| H A D | st_sensors_spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 34 * st_sensors_is_spi_3_wire() - check if SPI 3-wire mode has been selected 37 * Return: true if SPI 3-wire mode is selected, false otherwise. 42 struct device *dev = &spi->dev; in st_sensors_is_spi_3_wire() 44 if (device_property_read_bool(dev, "spi-3wire")) in st_sensors_is_spi_3_wire() 48 if (pdata && pdata->spi_3wire) in st_sensors_is_spi_3_wire() 55 * st_sensors_configure_spi_3_wire() - configure SPI 3-wire if needed 64 if (settings->sim.addr) { in st_sensors_configure_spi_3_wire() 66 settings->sim.addr, in st_sensors_configure_spi_3_wire() [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) 17 #define PA_IRLPRI3 (PA_BCR+0x0008) /* Interrupt Priorty 3 */ 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) 86 #define PA_ZIGIO3 (PA_BCR+0x0010) /* Zigbee IO control 3 */ [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /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) 40 u8 pins[3];
|
| /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/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>. 27 3. Replies to userspace commands.
|
| /OK3568_Linux_fs/kernel/include/linux/sunrpc/ |
| H A D | auth_gss.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 RPC_GSS_PROC_DESTROY = 3 35 RPC_GSS_SVC_PRIVACY = 3 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. */
|
| /OK3568_Linux_fs/kernel/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 93 specification. Using an analog to digital converter it measures three (3) 94 temperatures and five (5) voltages. It has four (4) 16-bit counters for 96 VID signals from the processor to the VRM. Lastly, there are three (3) PWM [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 10 for (i = n - 1;i >= 0;i--) { in odm_bub_sort() 71 odm_set_bb_reg(p_dm_odm, iqk_ctl_addr[rf_path][3], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f() 136 u1Byte rf_path, rf0_idx, rf0_idx_current, rf0_idx_next, i, delta_gain_retry = 3; in odm_tx_gain_gap_calibration_8197f() 148 odm_set_bb_reg(p_dm_odm, 0x88c, (BIT(21) | BIT(20)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 150 odm_set_bb_reg(p_dm_odm, 0x88c, (BIT(23) | BIT(22)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 156 rf0_idx_current = 3 * (rf0_idx - 1) + 1; in odm_tx_gain_gap_calibration_8197f() 162 rf0_idx_next = 3 * rf0_idx + 1; in odm_tx_gain_gap_calibration_8197f() 186 psd_value_next = odm_tx_gain_gap_psd_8197f(p_dm_odm, rf_path, rf56_next - 2); in odm_tx_gain_gap_calibration_8197f() 196 delta_gain_gap[rf_path][rf0_idx] = -1; in odm_tx_gain_gap_calibration_8197f() 204 delta_gain_gap[rf_path][rf0_idx] = -1; in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/bluetooth/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 171 bool "Three-wire UART (H5) protocol support" 175 The HCI Three-wire UART Transport Layer makes it possible to 177 Three-wire UART Transport Layer assumes that the UART 181 Say Y here to compile support for Three-wire UART protocol. 218 The Realtek protocol support enables Bluetooth HCI over 3-Wire 230 The Qualcomm Atheros protocol supports HCI In-Band Sleep feature 316 3Com BT3C interface: 317 3Com Bluetooth Card (3CRWB6096) 357 tristate "Marvell BT-over-SDIO driver" [all …]
|
| /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/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+ 24 #define ATMEL_ID_PIT 3 /* Periodic Interval 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 */ 49 #define ATMEL_ID_USART3 30 /* USART 3 */ 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 …]
|
| /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/drivers/input/touchscreen/ |
| H A D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 76 static int delay = 3; 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."); 100 * 3 = Edge triggered, edge on pin starts conversion after delay param 141 * The delay is 3 AC97 link frames + the touchpanel settling delay 145 udelay(3 * AC97_LINK_FRAME + delay_table[d]); in poll_delay() 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() [all …]
|
| 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. 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."); 100 * 3 = Edge triggered, edge on pin starts conversion after delay param 141 * The delay is 3 AC97 link frames + the touchpanel settling delay 145 udelay(3 * AC97_LINK_FRAME + delay_table[d]); in poll_delay() 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/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 33 for (i = n - 1; i >= 0; i--) { in odm_bub_sort() 92 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][3], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f() 150 u1Byte rf_path, rf0_idx, rf0_idx_current, rf0_idx_next, i, delta_gain_retry = 3; in odm_tx_gain_gap_calibration_8197f() 161 odm_set_bb_reg(dm, R_0x88c, (BIT(21) | BIT(20)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 163 odm_set_bb_reg(dm, R_0x88c, (BIT(23) | BIT(22)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 168 rf0_idx_current = 3 * (rf0_idx - 1) + 1; in odm_tx_gain_gap_calibration_8197f() 174 rf0_idx_next = 3 * rf0_idx + 1; in odm_tx_gain_gap_calibration_8197f() 204 psd_value_next = odm_tx_gain_gap_psd_8197f(dm, rf_path, rf56_next - 2); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 33 for (i = n - 1; i >= 0; i--) { in odm_bub_sort() 92 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][3], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f() 150 u1Byte rf_path, rf0_idx, rf0_idx_current, rf0_idx_next, i, delta_gain_retry = 3; in odm_tx_gain_gap_calibration_8197f() 161 odm_set_bb_reg(dm, R_0x88c, (BIT(21) | BIT(20)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 163 odm_set_bb_reg(dm, R_0x88c, (BIT(23) | BIT(22)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 168 rf0_idx_current = 3 * (rf0_idx - 1) + 1; in odm_tx_gain_gap_calibration_8197f() 174 rf0_idx_next = 3 * rf0_idx + 1; in odm_tx_gain_gap_calibration_8197f() 204 psd_value_next = odm_tx_gain_gap_psd_8197f(dm, rf_path, rf56_next - 2); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 33 for (i = n - 1; i >= 0; i--) { in odm_bub_sort() 92 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][3], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f() 150 u1Byte rf_path, rf0_idx, rf0_idx_current, rf0_idx_next, i, delta_gain_retry = 3; in odm_tx_gain_gap_calibration_8197f() 161 odm_set_bb_reg(dm, R_0x88c, (BIT(21) | BIT(20)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 163 odm_set_bb_reg(dm, R_0x88c, (BIT(23) | BIT(22)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 168 rf0_idx_current = 3 * (rf0_idx - 1) + 1; in odm_tx_gain_gap_calibration_8197f() 174 rf0_idx_next = 3 * rf0_idx + 1; in odm_tx_gain_gap_calibration_8197f() 204 psd_value_next = odm_tx_gain_gap_psd_8197f(dm, rf_path, rf56_next - 2); in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/halrf/ |
| H A D | halrf_txgapcal.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2017 Realtek Corporation. 33 for (i = n - 1; i >= 0; i--) { in odm_bub_sort() 92 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][3], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f() 150 u1Byte rf_path, rf0_idx, rf0_idx_current, rf0_idx_next, i, delta_gain_retry = 3; in odm_tx_gain_gap_calibration_8197f() 161 odm_set_bb_reg(dm, R_0x88c, (BIT(21) | BIT(20)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 163 odm_set_bb_reg(dm, R_0x88c, (BIT(23) | BIT(22)), 0x3); /*disable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 168 rf0_idx_current = 3 * (rf0_idx - 1) + 1; in odm_tx_gain_gap_calibration_8197f() 174 rf0_idx_next = 3 * rf0_idx + 1; in odm_tx_gain_gap_calibration_8197f() 204 psd_value_next = odm_tx_gain_gap_psd_8197f(dm, rf_path, rf56_next - 2); in odm_tx_gain_gap_calibration_8197f() [all …]
|