| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkmread.c | 28 #include <dix-config.h> 72 (newCount - oldCount) * elemSize); in XkmInsureSize() 99 if ((fread(&val, 2, 1, file) == 1) && (pNRead)) in XkmGetCARD16() 100 (*pNRead) += 2; in XkmGetCARD16() 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 …]
|
| 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/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 …]
|
| /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. 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 …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.VSC3316-3308 | 2 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 …]
|
| /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) 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 …]
|
| /OK3568_Linux_fs/yocto/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" 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 …]
|
| /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 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 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 …]
|
| /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/u-boot/board/freescale/common/ |
| H A D | vsc3316_3308.c | 4 * SPDX-License-Identifier: GPL-2.0+ 31 debug("VSC:Configuring VSC at I2C address 0x%2x" in vsc_if_enable() 32 " for 2-wire interface\n", vsc_addr); in vsc_if_enable() 34 /* enable 2-wire Serial InterFace (I2C) */ in vsc_if_enable() 39 int vsc3316_config(unsigned int vsc_addr, int8_t con_arr[][2], in vsc3316_config() argument 46 debug("VSC:Initializing VSC3316 at I2C address 0x%2x" in vsc3316_config() 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() [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>. 26 2. Userspace commands. Includes read/write and search/alarm search commands.
|
| /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/drivers/i2c/busses/ |
| H A D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c-algo-bit.h> 17 #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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/sunrpc/ |
| H A D | auth_gss.h | 1 /* 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. */
|
| /OK3568_Linux_fs/kernel/drivers/w1/masters/ |
| 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> 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 …]
|
| 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/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. 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/w1/ |
| H A D | w1-generic.rst | 2 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 …]
|
| /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. 44 * Set pil = 2 to use 400uA 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."); 99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 121 42, /* 2 */ 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 …]
|
| H A D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 44 * Set pil = 2 to use 400uA 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."); 99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 121 42, /* 2 */ 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 164 /* WM9712 five wire */ in wm9712_phy_init() [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() 40 u4Byte iqk_ctl_addr[2][6] = {{0xe30, 0xe34, 0xe50, 0xe54, 0xe38, 0xe3c}, in odm_tx_gain_gap_psd_8197f() 43 u4Byte psd_finish_bit[2] = {0x04000000, 0x20000000}; in odm_tx_gain_gap_psd_8197f() 44 u4Byte psd_fail_bit[2] = {0x08000000, 0x40000000}; in odm_tx_gain_gap_psd_8197f() 46 u4Byte psd_cntl_value[2][2] = {{0x38008c1c, 0x10008c1c}, in odm_tx_gain_gap_psd_8197f() 49 u4Byte psd_report_addr[2] = {0xea0, 0xec0}; in odm_tx_gain_gap_psd_8197f() 70 odm_set_bb_reg(p_dm_odm, iqk_ctl_addr[rf_path][2], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f() 107 psd_vaule_temp = psd_vaule[(UINT)(psd_avg_time / 2)]; in odm_tx_gain_gap_psd_8197f() 138 s1Byte delta_gain_gap_pre, delta_gain_gap[2][11]; in odm_tx_gain_gap_calibration_8197f() 140 u4Byte psd_gap, rf56_current_temp[2][11]; in odm_tx_gain_gap_calibration_8197f() [all …]
|
| /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 94 temperatures and five (5) voltages. It has four (4) 16-bit counters for 108 transistor like the 2N3904. 127 ---------------- [all …]
|
| /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 20 Y and 2 for Z (always). This utilises 12 [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+ 23 #define ATMEL_ID_ARM 2 /* Performance Monitor Unit */ 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 */ 48 #define ATMEL_ID_USART2 29 /* USART 2 */ 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 …]
|