/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices. 37 * 29/09/03 Russell King - add driver model support 38 * - ethtool support 39 * - convert to use generic MII interface 40 * - add link up/down notification 41 * - don't try to handle full negotiation in 43 * - clean up (and fix stack overrun) in PHY 95 * Transmit timeout, default 5 seconds. 99 MODULE_PARM_DESC(watchdog, "transmit timeout in milliseconds"); [all …]
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2005-2008 DLA Systems, David H. Lynch Jr. <dhlii@dlasys.net> 7 * Copyright (c) 2008-2009 Secret Lab Technologies Ltd. 13 * - The ll_temac hardware uses indirect access for many of the TEMAC 24 * - Factor out locallink DMA code into separate driver 25 * - Fix support for hardware checksumming. 26 * - Testing. Lots and lots of testing. 53 #include <linux/dma-mapping.h> 55 #include <linux/platform_data/xilinx-ll-temac.h> 65 /* --------------------------------------------------------------------- [all …]
|
H A D | xilinx_emaclite.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2007 - 2013 Xilinx, Inc. 93 #define TX_TIMEOUT (60 * HZ) /* Tx timeout is 60 seconds. */ 104 * struct net_local - Our private per device data 144 * xemaclite_enable_interrupts - Enable the interrupts for the EmacLite device 155 reg_data = xemaclite_readl(drvdata->base_addr + XEL_TSR_OFFSET); in xemaclite_enable_interrupts() 157 drvdata->base_addr + XEL_TSR_OFFSET); in xemaclite_enable_interrupts() 160 xemaclite_writel(XEL_RSR_RECV_IE_MASK, drvdata->base_addr + XEL_RSR_OFFSET); in xemaclite_enable_interrupts() 163 xemaclite_writel(XEL_GIER_GIE_MASK, drvdata->base_addr + XEL_GIER_OFFSET); in xemaclite_enable_interrupts() 167 * xemaclite_disable_interrupts - Disable the interrupts for the EmacLite device [all …]
|
/openbmc/linux/drivers/net/ethernet/cirrus/ |
H A D | cs89x0.c | 4 * written 1993-1994 by Donald Becker. 13 * Mike Cruse : mcruse@cti-ltd.com 91 "v2.4.3-pre1 Russell Nelson <nelson@crynwr.com>, Andrew Morton"; 96 * A zero-terminated list of I/O addresses to be probed. Some special flags.. 141 int auto_neg_cnf; /* auto-negotiation word from EEPROM */ 162 /* Example routines you must write ;->. */ 198 static void readwords(struct net_local *lp, int portno, void *buf, int length) in readwords() argument 205 tmp16 = ioread16(lp->virt_addr + portno); in readwords() 208 } while (--length); in readwords() 211 static void writewords(struct net_local *lp, int portno, void *buf, int length) in writewords() argument [all …]
|
/openbmc/linux/drivers/net/ieee802154/ |
H A D | adf7242.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Analog Devices ADF7242 Low-Power IEEE 802.15.4 Transceiver 5 * Copyright 2009-2017 Analog Devices Inc. 48 #define REG_CH_FREQ0 0x300 /* RW Channel Frequency Settings - Low */ 49 #define REG_CH_FREQ1 0x301 /* RW Channel Frequency Settings - Middle */ 50 #define REG_CH_FREQ2 0x302 /* RW Channel Frequency Settings - High */ 62 #define REG_TMR_CFG0 0x316 /* RW Wake up Timer Conf Register - High */ 63 #define REG_TMR_CFG1 0x317 /* RW Wake up Timer Conf Register - Low */ 64 #define REG_TMR_RLD0 0x318 /* RW Wake up Timer Value Register - High */ 65 #define REG_TMR_RLD1 0x319 /* RW Wake up Timer Value Register - Low */ [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-snvs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (C) 2011-2012 Freescale Semiconductor, Inc. 19 /* These register offsets are relative to LP (Low Power) range */ 38 * we end at 10ms which should be enough for most cases. If it once takes 56 regmap_read(data->regmap, data->offset + SNVS_LPSRTCMR, &msb); in rtc_read_lpsrt() 57 regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &lsb); in rtc_read_lpsrt() 68 unsigned int timeout = 100; in rtc_read_lp_counter() local 78 diff = read1 - read2; in rtc_read_lp_counter() 79 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter() 80 if (!timeout) in rtc_read_lp_counter() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | lp8788-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI LP8788 MFD - battery charger driver 92 * @lp : used for accessing the registers of mfd lp8788 device 103 struct lp8788 *lp; member 137 lp8788_read_byte(pchg->lp, LP8788_CHG_STATUS, &data); in lp8788_is_charger_detected() 147 struct lp8788_charger *pchg = dev_get_drvdata(psy->dev.parent); in lp8788_charger_get_property() 152 val->intval = lp8788_is_charger_detected(pchg); in lp8788_charger_get_property() 155 lp8788_read_byte(pchg->lp, LP8788_CHG_IDCIN, &read); in lp8788_charger_get_property() 156 val->intval = LP8788_ISEL_STEP * in lp8788_charger_get_property() 160 return -EINVAL; in lp8788_charger_get_property() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 227 .name = "event-prox", 233 .name = "event-prox-alt", 240 .name = "event-touch", 246 .name = "event-touch-alt", 253 .name = "event-deep", 259 .name = "event-deep-alt", 367 .name = "ulp-0", 378 .name = "trackpad-3x2", [all …]
|
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", 171 .name = "event-swipe-pos", [all …]
|
H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for each of the two 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() 305 return -EINVAL; in iqs269_ati_mode_set() [all …]
|
/openbmc/linux/tools/power/pm-graph/ |
H A D | sleepgraph.py | 2 # SPDX-License-Identifier: GPL-2.0-only 21 # https://01.org/pm-graph 23 # git@github.com:intel/pm-graph 51 # ----------------- LIBRARIES -------------------- 73 print('[%09.3f] %s' % (time.time()-mystarttime, msg)) 81 # ----------------- CLASSES -------------------- 85 # A global, single-instance container used to 107 cgtest = -1 182 tmstart = 'SUSPEND START %Y%m%d-%H:%M:%S.%f' 183 tmend = 'RESUME COMPLETE %Y%m%d-%H:%M:%S.%f' [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | nmclan_cs.c | 1 /* ---------------------------------------------------------------------------- 23 Am79C90 (C-LANCE) Data Sheet, 1994 47 ------------------------------------------------------------------------------- 49 ------------------------------------------------------------------------------- 63 4. There is a bad slow-down problem in this driver. 68 ------------------------------------------------------------------------------- 70 ------------------------------------------------------------------------------- 72 * 2.5.75-ac1 2003/07/11 Alan Cox <alan@lxorguk.ukuu.org.uk> 80 * Re-implement MULTI_TX dev->tbusy handling. 106 Bug fix: Make all non-exported functions private by using [all …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 7 * Copyright (c) 2003-2005 Matthew Wilcox <matthew@wil.cx> 10 * Copyright (C) 1998-2000 Gerard Roudier 13 * a port of the FreeBSD ncr driver to Linux-1.2.13. 17 * Stefan Esser <se@mi.Uni-Koeln.de> 25 *----------------------------------------------------------------------------- 55 while (n-- > 0) in sym_printl_hex() 62 sym_print_addr(cp->cmd, "%s: ", label); in sym_print_msg() [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | aic7xxx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Adaptec Aic7xxx Fast -> Ultra160 Family Manager Set v7.0 36 aic7892 20 PCI/64-66 80MHz 16Bit 16 3 4 5 6 7 8 41 aic7899 20 PCI/64-66 80MHz 16Bit 16 2 3 4 5 6 7 8 44 1. Multiplexed Twin Channel Device - One controller servicing two 46 2. Multi-function Twin Channel Device - Two controllers on one chip. 47 3. Command Channel Secondary DMA Engine - Allows scatter gather list 49 4. 64 Byte SCB Support - Allows disconnected, untagged request table 51 5. Block Move Instruction Support - Doubles the speed of certain 53 6. 'Bayonet' style Scatter Gather Engine - Improves S/G prefetch [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-i801.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl>, 6 Copyright (C) 2007 - 2014 Jean Delvare <jdelvare@suse.de> 18 * --------------------------------------------------------------------------- 43 * Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes 46 * Wellsburg (PCH) MS 0x8d7d 32 hard yes yes yes 47 * Wellsburg (PCH) MS 0x8d7e 32 hard yes yes yes 48 * Wellsburg (PCH) MS 0x8d7f 32 hard yes yes yes 51 * Wildcat Point-LP (PCH) 0x9ca2 32 hard yes yes yes 54 * Sunrise Point-H (PCH) 0xa123 32 hard yes yes yes [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c509.c | 3 Written 1993-2000 by Donald Becker. 5 Copyright 1994-2000 by Donald Becker. 20 a priori which of several ISA-mode cards will be detected first. 36 other cleanups. -djb 39 v1.13 9/8/97 Made 'max_interrupt_work' an insmod-settable variable -djb 40 v1.14 10/15/97 Avoided waiting..discard message for fast machines -djb 41 v1.15 1/31/98 Faster recovery for Tx errors. -djb 42 v1.16 2/3/98 Different ID port handling to avoid sound cards. -djb 44 - Avoid bogus detect of 3c590's (Andrzej Krzysztofowicz) 45 - Reviewed against 1.18 from scyld.com [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | ncr53c8xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 8 **----------------------------------------------------------------------------- 22 ** Stefan Esser <se@mi.Uni-Koeln.de> 27 **----------------------------------------------------------------------------- 38 ** Support for Fast-20 scsi. 42 ** Support for Fast-40 scsi. 43 ** Support for on-Board RAM. 46 ** Full support for scsi scripts instructions pre-fetching. 57 ** Low PCI traffic for command handling when on-chip RAM is present. [all …]
|
H A D | esp_scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 58 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 63 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 68 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 73 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 78 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 83 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 88 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 93 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ 98 shost_printk(KERN_DEBUG, esp->host, f, ## a); \ [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 #define E1000_ICH_FWSM_PCIM2PCI 0x01000000 /* ME PCIm-to-PCI active */ 93 /* bit24: RXDCTL thresholds granularity: 0 - cache lines, 1 - descriptors */ 106 #define E1000_PCH2_RAR_ENTRIES 5 /* RAR[0], SHRA[0-3] */ 107 #define E1000_PCH_LPT_RAR_ENTRIES 12 /* RAR[0], SHRA[0-10] */ 144 /* Half-duplex collision counts */ 192 /* Strapping Option Register - RO */ 203 #define HV_OEM_BITS_RESTART_AN 0x0400 /* Restart Auto-negotiation */ 222 #define SW_FLAG_TIMEOUT 1000 /* SW Semaphore flag timeout in ms */ [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dsi_vbt.c | 139 if (hweight8(intel_dsi->ports) == 1) in intel_dsi_seq_port_to_port() 140 return ffs(intel_dsi->ports) - 1; in intel_dsi_seq_port_to_port() 143 if (intel_dsi->ports & BIT(PORT_B)) in intel_dsi_seq_port_to_port() 145 else if (intel_dsi->ports & BIT(PORT_C)) in intel_dsi_seq_port_to_port() 155 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet() 161 drm_dbg_kms(&dev_priv->drm, "\n"); in mipi_exec_send_packet() 173 if (drm_WARN_ON(&dev_priv->drm, !intel_dsi->dsi_hosts[port])) in mipi_exec_send_packet() 176 dsi_device = intel_dsi->dsi_hosts[port]->device; in mipi_exec_send_packet() 178 drm_dbg_kms(&dev_priv->drm, "no dsi device for port %c\n", in mipi_exec_send_packet() 184 dsi_device->mode_flags &= ~MIPI_DSI_MODE_LPM; in mipi_exec_send_packet() [all …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | avs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 18 #include <sound/soc-component.h> 36 * struct avs_dsp_ops - Platform-specific DSP operations 65 ((adev)->spec->dsp_ops->op(adev, ## __VA_ARGS__)) 74 ((adev)->spec->attributes & AVS_PLATATTR_##attr) 98 * struct avs_dev - Intel HD-Audio driver data 102 * @spec: platform-specific descriptor 105 * @mods_info: Available module-types, obtained through MODULES_INFO message 106 * @mod_idas: Module instance ID pool, one per module-type [all …]
|
/openbmc/linux/drivers/scsi/fcoe/ |
H A D | fcoe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2007 - 2009 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 40 MODULE_AUTHOR("Open-FCoE.org"); 56 MODULE_PARM_DESC(e_d_tov, "E_D_TOV in ms, default 2000"); 60 MODULE_PARM_DESC(r_a_tov, "R_A_TOV in ms, default 4000"); 124 void *, u32 timeout); 274 .this_id = -1, 284 * fcoe_interface_setup() - Setup a FCoE interface 300 fcoe->netdev = netdev; in fcoe_interface_setup() [all …]
|