| /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. 46 #define CPCAP_REG_ASSIGN6 0x0044 /* Resource Assignment 6 */ 90 #define CPCAP_REG_S6C 0x062c /* Switcher 6 Control */ 151 #define CPCAP_REG_ADCD6 0x0c20 /* A/D Converter Data 6 */ 186 #define CPCAP_REG_OWDC 0x0eb0 /* One Wire Device Control */ 199 #define CPCAP_REG_GPIO6 0x0ee4 /* GPIO 6 Control */ 212 #define CPCAP_REG_OW1C 0x1200 /* One Wire 1 Command */ 213 #define CPCAP_REG_OW1D 0x1204 /* One Wire 1 Data */ 214 #define CPCAP_REG_OW1I 0x1208 /* One Wire 1 Interrupt */ [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/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 …]
|
| /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> 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() 70 ret = sgi_w1_wait(dev->mcr); in sgi_w1_touch_bit() [all …]
|
| H A D | mxc_w1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2005-2008 Freescale Semiconductor, Inc. All Rights Reserved. 22 # define MXC_W1_CONTROL_WR(x) BIT(5 - (x)) 23 # define MXC_W1_CONTROL_PST BIT(6) 37 * reset the device on the One Wire interface 45 writeb(MXC_W1_CONTROL_RPP, dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() 53 u8 ctrl = readb(dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() 55 /* PST bit is valid after the RPP bit is self-cleared */ in mxc_w1_ds2_reset_bus() 64 * this is the low level routine to read/write a bit on the One Wire 73 writeb(MXC_W1_CONTROL_WR(bit), dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_touch_bit() [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+ 27 #define ATMEL_ID_USART0 6 /* USART 0 */ 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 */ 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 */ 61 #define ATMEL_ID_TC2 42 /* Timer Counter 2 (ch. 6, 7, 8) */ [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+ 27 #define ATMEL_ID_USART1 6 /* USART 1 */ 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 */
|
| H A D | sama5d3.h | 2 * Chip-specific header file for the SAMA5D3 family 4 * (C) 2012 - 2013 Atmel Corporation. 10 * SPDX-License-Identifier: GPL-2.0+ 29 #define ATMEL_ID_SMC 5 /* Multi-bit ECC Interrupt */ 30 #define ATMEL_ID_PIOA 6 /* Parallel I/O Controller A */ 42 #define ATMEL_ID_TWI0 18 /* Two-Wire Interface 0 */ 43 #define ATMEL_ID_TWI1 19 /* Two-Wire Interface 1 */ 44 #define ATMEL_ID_TWI2 20 /* Two-Wire Interface 2 */ 112 /* Reserved: 0xf003c000 - 0xf8000000 */ 130 /* Reserved: 0xf804400 - 0xffffc00 */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/ |
| H A D | bq24190.txt | 1 TI BQ24190 Li-Ion Battery Charger 4 - compatible: contains one of the following: 9 - reg: integer, I2C address of the charger. 10 - interrupts[-extended]: configuration for charger INT pin. 13 - monitored-battery: phandle of battery characteristics devicetree node 15 + precharge-current-microamp: maximum charge current during precharge 17 + charge-term-current-microamp: a charge cycle terminates when the 21 - ti,system-minimum-microvolt: when power is connected and the battery is below 25 - usb-otg-vbus: 31 - Some circuit boards wire the chip's "OTG" pin high (enabling 500mA default [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) 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) 114 #define PA_SMCR (PA_BCR+0x0500) /* 2-wire Serial control */ 115 #define PA_SMSMADR (PA_BCR+0x0502) /* 2-wire Serial Slave control */ [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/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 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 47 We offer GPIO features on the former VID pins. These are open-drain [all …]
|
| H A D | lm85.rst | 52 Datasheet: http://www.smsc.com/media/Downloads_Public/discontinued/6d100.pdf 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 127 ---------------- [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 */ 27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */ 32 __be32 callNumber; /* call ID (0 for connection-level packets) */ 42 #define RXRPC_PACKET_TYPE_CHALLENGE 6 /* connection security challenge (SRVR->CLNT) */ 43 #define RXRPC_PACKET_TYPE_RESPONSE 7 /* connection secutity response (CLNT->SRVR) */ [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 23 ti,wire-config: Different boards could have a different order for [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | ud_header.c | 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 216 .offset_words = 6, 289 iph.tos = header->ip4.tos; in ib_ud_ip4_csum() 290 iph.tot_len = header->ip4.tot_len; in ib_ud_ip4_csum() 291 iph.id = header->ip4.id; in ib_ud_ip4_csum() 292 iph.frag_off = header->ip4.frag_off; in ib_ud_ip4_csum() 293 iph.ttl = header->ip4.ttl; in ib_ud_ip4_csum() 294 iph.protocol = header->ip4.protocol; in ib_ud_ip4_csum() 296 iph.saddr = header->ip4.saddr; in ib_ud_ip4_csum() [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 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 81 #define PS3_AUDIO_INTR_0_CHAN6 PS3_AUDIO_INTR_0_CHAN(6) 96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 108 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 125 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | cifs_unicode.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_remap() 23 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_remap() 31 /* Convert character using the SFU - "Services for Unix" remapping range */ 65 /* Convert character using the SFM - "Services for Mac" remapping range */ 70 *target = src_char - 0xF000; in convert_sfm_char() 109 * cifs_mapchar - convert a host-endian char to proper char in codepage 110 * @target - where converted character should be copied 111 * @src_char - 2 byte host-endian source character 112 * @cp - codepage to which character should be converted [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | mxl5xx_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved 33 /* Firmware-Host Command IDs */ 35 /* --Device command IDs-- */ 41 /* Host-used CMD, not used by firmware */ 48 /* --Tuner command IDs-- */ 49 MXL_HYDRA_TUNER_TUNE_CMD = 6, 52 /* --Demod command IDs-- */ 67 /* --- ABORT channel tune */ 70 /* --SWM/FSK command IDs-- */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/ |
| H A D | hal8188e_phy_cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 56 #define MAX_CHNL_GROUP_24G 6 /* ch1~2, ch3~5, ch6~8, 60 #define CHANNEL_GROUP_MAX_88E 6 70 WIRELESS_MODE_AC = BIT(6) 98 u32 rfHSSIPara1; /* wire parameter control1 : */ 102 u32 rfHSSIPara2; /* wire parameter control2 : */ 136 u32 rfLSSIReadBackPi; /* LSSI RF readback data PI mode 0x8b8-8bc for
|
| /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() 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() 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() 238 odm_set_bb_reg(p_dm_odm, 0x88c, (BIT(21) | BIT(20)), 0x0); /*enable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() 240 odm_set_bb_reg(p_dm_odm, 0x88c, (BIT(23) | BIT(22)), 0x0); /*enable 3-wire*/ in odm_tx_gain_gap_calibration_8197f() [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. 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."); 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() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() 171 "supported in 5-wire mode\n"); in wm9712_phy_init() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ice1712/ |
| H A D | prodigy192.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Supported IEC958 input from optional MI/ODI/O add-on card. 9 * ------------------- 11 * * SPDIF-OUT on the card: 12 * - coax (through isolation transformer)/toslink supplied by 13 * 74HC04 gates - 3 in parallel 14 * - output switched between on-board CD drive dig-out connector 16 * by GPIO20 (0 = CD dig-out, 1 = SPDTX) 17 * * SPDTX goes straight to MI/ODI/O card's SPDIF-OUT coax 20 * - toslink input -> RX0 [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/temperature/ |
| H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 19 - adi,ltc2983 27 adi,mux-delay-config-us: 38 adi,filter-notch-freq: [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/spi/ |
| H A D | spi-lm70llp.rst | 2 spi_lm70llp : LM70-LLP parport-to-SPI adapter 15 ----------- 27 -------------------- 28 The schematic for this particular board (the LM70EVAL-LLP) is 39 D0 2 - - 40 D1 3 --> V+ 5 41 D2 4 --> V+ 5 42 D3 5 --> V+ 5 43 D4 6 --> V+ 5 44 D5 7 --> nCS 8 [all …]
|