/openbmc/linux/Documentation/networking/ |
H A D | snmp_counter.rst | 17 .. _RFC1213 ipInReceives: https://tools.ietf.org/html/rfc1213#page-26 20 beginning of ip_rcv function, always be updated together with 30 .. _RFC1213 ipInDelivers: https://tools.ietf.org/html/rfc1213#page-28 41 .. _RFC1213 ipOutRequests: https://tools.ietf.org/html/rfc1213#page-28 43 The number of packets sent via IP layer, for both single cast and 44 multicast packets, and would always be updated together with 58 `Explicit Congestion Notification`_ for more details. 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 64 for the same packet, you might find that IpInReceives count 1, but 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 [all …]
|
/openbmc/linux/drivers/remoteproc/ |
H A D | mtk_scp_ipi.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * scp_ipi_register() - register an ipi function 26 * @priv: private data for IPI handler 30 * Return: 0 if ipi registers successfully, -error on error. 38 return -EPROBE_DEFER; in scp_ipi_register() 41 return -EINVAL; in scp_ipi_register() 44 scp->ipi_desc[id].handler = handler; in scp_ipi_register() 45 scp->ipi_desc[id].priv = priv; in scp_ipi_register() 53 * scp_ipi_unregister() - unregister an ipi function 69 scp->ipi_desc[id].handler = NULL; in scp_ipi_unregister() [all …]
|
/openbmc/linux/Documentation/i2c/ |
H A D | gpio-fault-injection.rst | 12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually 15 injection. They will be described now along with their intended use-cases. 21 ----- 31 ----- 52 in a bus master driver, make sure you checked your hardware setup for such 53 devices before. And always verify with a scope or logic analyzer! 56 -------------------------- 60 it will stop at the ACK phase after the address of the client has been 61 transmitted. Because the device will ACK its presence, this results in SDA 68 ----------------------- [all …]
|
/openbmc/linux/sound/isa/wavefront/ |
H A D | wavefront_synth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) by Paul Barton-Davis 1998-1999 5 * copyright (C) by Hannu Savolainen 1993-1996 9 * An ALSA lowlevel driver for Turtle Beach ICS2115 wavetable synth 14 * of GUS patches during loading, and full user-level access to all 15 * WaveFront commands. It tries to provide semi-intelligent patch and 25 #include <linux/wait.h> 35 static int wf_raw = 0; /* we normally check for "raw state" to firmware 36 loading. if non-zero, then during driver loading, the 44 associated coefficients to set it up for "default" [all …]
|
/openbmc/linux/Documentation/driver-api/surface_aggregator/ |
H A D | internal.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 49 and Surface Serial Hub (SSH) driver. For the API documentation, refer to: 54 internal-api 63 Lower-level packet transport is implemented in the *packet transport layer 68 packet payloads to higher-level layers. 71 around command-type packet payloads, i.e. requests (sent from host to EC), 79 workqueue for event and asynchronous request completion, and also manages 80 the message counters required for building command messages (``SEQ``, 82 EC for use in other kernel drivers. 84 While the controller layer already provides an interface for other kernel [all …]
|
H A D | ssh.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 10 .. |ACK| replace:: ``ACK`` substdef 25 The Surface Serial Hub (SSH) is the central communication interface for the 28 SAM-over-SSH, as opposed to SAM-over-HID for the older generations. 30 On Surface devices with SAM-over-SSH, SAM is connected to the host via UART 33 and power information and events, thermal read-outs and events, and many 34 more. For Surface Laptops, keyboard input is handled via HID directed 38 Note that the standard disclaimer for this subsystem also applies to this 39 document: All of this has been reverse-engineered and may thus be erroneous 42 All CRCs used in the following are two-byte ``crc_ccitt_false(0xffff, ...)``. [all …]
|
/openbmc/linux/Documentation/driver-api/md/ |
H A D | md-cluster.rst | 5 The cluster MD is a shared-device RAID for a cluster, it supports 9 1. On-disk format 12 Separate write-intent-bitmaps are used for each cluster node. 14 and may not yet have finished. The on-disk layout is:: 17 ------------------------------------------------------------------- 26 - set the appropriate bit (if not already set) 27 - commit the write to all mirrors 28 - schedule the bit to be cleared after a timeout. 35 2. DLM Locks for management 38 There are three groups of locks for managing the device: [all …]
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // em28xx-i2c.c - driver for Empia EM2800/EM2820/2840 USB video capture devices 20 #include <media/v4l2-common.h> 23 /* ----------------------------------------------------------- */ 35 dev_printk(KERN_DEBUG, &dev->intf->dev, \ 40 * Time in msecs to wait for i2c xfers to finish. 41 * 35ms is the maximum time a SMBUS device could wait when 54 switch (dev->i2c_speed & 0x03) { in em28xx_i2c_timeout() 56 time += 4; /* Assume 4 ms for transfers */ in em28xx_i2c_timeout() 60 time += 1; /* Assume 1 ms for transfers */ in em28xx_i2c_timeout() [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-scb.h" 14 #include "cx18-irq.h" 15 #include "cx18-mailbox.h" 16 #include "cx18-queue.h" 17 #include "cx18-streams.h" 18 #include "cx18-alsa-pcm.h" /* FIXME make configurable */ 85 for (i = 0; api_info[i].cmd; i++) in find_api_info() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_uncore.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 44 uncore->fw_get_funcs->force_wake_get(uncore, fw_domains); in fw_domains_get() 50 spin_lock_init(&i915->mmio_debug.lock); in intel_uncore_mmio_debug_init_early() 51 i915->mmio_debug.unclaimed_mmio_check = 1; in intel_uncore_mmio_debug_init_early() 53 i915->uncore.debug = &i915->mmio_debug; in intel_uncore_mmio_debug_init_early() 58 if (!uncore->debug) in mmio_debug_suspend() 61 spin_lock(&uncore->debug->lock); in mmio_debug_suspend() 63 /* Save and disable mmio debugging for the user bypass */ in mmio_debug_suspend() 64 if (!uncore->debug->suspend_count++) { in mmio_debug_suspend() [all …]
|
/openbmc/qemu/migration/ |
H A D | migration.h | 10 * the COPYING file in the top-level directory. 17 #include "exec/cpu-common.h" 18 #include "hw/qdev-core.h" 19 #include "qapi/qapi-types-migration.h" 20 #include "qapi/qmp/json-writer.h" 24 #include "io/channel-buffer.h" 27 #include "postcopy-ram.h" 50 * 1<<6=64 pages -> 256K chunk when page size is 4K. This gives us 52 * bitmaps are always aligned to LONG. 56 * 1<<18=256K pages -> 1G chunk when page size is 4K. This is the [all …]
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 6 * This file contains the source code for I2C using software 22 * +-------------+-------------+-------------+-------------+ 30 * below gives the changes for these 2 lines in the varios sections. 37 * ---------------+---+---+---+---+ 40 * ---------------+---+---+---+---+ 43 * ---------------+---+---+---+---+ 46 * ---------------+---+---+---+---+ 49 * ---------------+---+---+---+---+ [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | mvtwsi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for the TWSI (i2c) controller found on the Marvell 41 * always have it. 61 u32 debug; /* Dummy field for build compatibility with mvebu */ 85 /* TWSI Register base for the device */ 87 /* Number of the device (determined from cell-index property) */ 89 /* The I2C slave address for the device */ 99 * enum mvtwsi_ctrl_register_fields - Bit masks for flags in the control 118 * On sun6i and newer, IFLG is a write-clear bit, which is cleared by writing 1; 129 * enum mvstwsi_status_values - Possible values of I2C controller's status [all …]
|
/openbmc/u-boot/common/ |
H A D | xyzModem.c | 1 // SPDX-License-Identifier: eCos-2.0 7 * RedBoot stream handler for xyzModem protocol 14 * Date: 2000-07-14 27 #include <u-boot/crc.h> 30 /* Assumption - run xyzModem protocol over the console port */ 36 #define ACK 0x06 macro 40 #define EOF 0x1A /* ^Z for DOS officionados */ 58 #define xyzModem_CAN_COUNT 3 /* Wait for 3 CAN before quitting */ 103 ret = (c - '0'); in _from_hex() 107 ret = (c - 'a' + 0x0a); in _from_hex() [all …]
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | phy.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * General Public License for more details. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 45 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 47 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 63 /* This is the timeout value for the SATA phy to wait for a SIGNATURE FIS 65 * ATA specification required up to 30 seconds for a device to issue its 67 * generally within 15 seconds, but we'll use 25 for now. [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | leon_pci_grpci2.c | 1 // SPDX-License-Identifier: GPL-2.0 31 * - barcfgs : Custom Configuration of Host's 6 target BARs 32 * - irq_mask : Limit which PCI interrupts are enabled 33 * - do_reset : Force PCI Reset on startup 39 * addresses are physical. Array always contains 6 elements (len=2*4*6 bytes) 41 * -1 means not configured (let host driver do default setup). 79 unsigned int bars[6]; /* 0x20 read-only PCI BARs */ 81 unsigned int ahbmst_map[16]; /* 0x40 AHB->PCI Map per AHB Master */ 226 struct grpci2_priv *priv = dev->bus->sysdata; in grpci2_map_irq() 231 pin = ((pin - 1) + irq_group) & 0x3; in grpci2_map_irq() [all …]
|
/openbmc/linux/net/dccp/ |
H A D | dccp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (c) 2005-6 Ian McDonald <ian.mcdonald@jandi.co.nz> 20 * DCCP - specific warning and debugging macros. 56 * Set safe upper bounds for header and option length. Since Data Offset is 8 59 * - DCCP-Response with ACK Subheader and 4 bytes of Service code OR 60 * - DCCP-Reset with ACK Subheader and 4 bytes of Reset Code fields 61 * Hence a safe upper bound for the maximum option length is 1020-28 = 992 65 #define DCCP_MAX_OPT_LEN (MAX_DCCP_SPECIFIC_HEADER - DCCP_MAX_PACKET_HDR) 68 /* Upper bound for initial feature-negotiation overhead (padded to 32 bits) */ 71 #define DCCP_TIMEWAIT_LEN (60 * HZ) /* how long to wait to destroy TIME-WAIT [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_proto_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* (C) 1999-2001 Paul `Rusty' Russell 3 * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> 4 * (C) 2002-2013 Jozsef Kadlecsik <kadlec@netfilter.org> 5 * (C) 2006-2012 Patrick McHardy <kaber@trash.net> 35 closely. They're more complex. --RR */ 73 to ~13-30min depending on RTO. */ 91 /* What TCP flags are set from RST/SYN/FIN/ACK. */ 110 * equivalent with the ones of the sender/receiver. We always 116 * SYN_SENT: SYN-only packet seen [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-s3c2410.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* linux/drivers/i2c/busses/i2c-s3c2410.c 34 #include <linux/platform_data/i2c-s3c2410.h> 36 /* see s3c2410x user guide, v1.1, section 9 (p447) for more info */ 80 /* Max time to wait for bus to become idle after a xfer (in us) */ 96 wait_queue_head_t wait; member 124 .name = "s3c2410-i2c", 127 .name = "s3c2440-i2c", 130 .name = "s3c2440-hdmiphy-i2c", 140 { .compatible = "samsung,s3c2410-i2c", .data = (void *)0 }, [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 11 from the Hauppauge windows driver. Older ivtv versions used i2c-algo-bit, 13 CPU on the PVR-150 which handles IR functions (occasional inability to 17 The implementation is very similar to i2c-algo-bit, but there are enough 19 employed by i2c-algo-bit is to use udelay() to implement the timing 21 here is to poll the lines for state changes (see ivtv_waitscl and 28 i2c-algo-bit would be to try to make it follow the same code path. 30 provide a generic benefit to i2c-algo-bit. Therefore consider this [all …]
|
/openbmc/linux/net/sctp/ |
H A D | sm_statefuns.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2002 Intel Corp. 11 * These are the state functions for the state machine. 15 * lksctp developers <linux-sctp@vger.kernel.org> 175 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid() 178 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid() 186 /* Check for format error in an ABORT chunk */ 191 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | NCR5380.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * to implement 5380 SCSI drivers under Linux with a non-trantor 13 * +1 (303) 666-5836 15 * For more information, please consult 24 * 1+ (719) 578-3400 25 * 1+ (800) 334-5454 35 /* Adapted for the Sun 3 by Sam Creasey. */ 42 * transfer - some PC's will use the I/O bus, 68K's must use 45 * As far as command queueing, two queues are maintained for 46 * each 5380 in the system - commands that haven't been issued yet, [all …]
|
/openbmc/linux/drivers/i2c/algos/ |
H A D | i2c-algo-pcf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * i2c-algo-pcf.c i2c driver algorithms for PCF8584 adapters 5 * Copyright (C) 1995-1997 Simon G. Vogl 6 * 1998-2000 Hans Berglund 10 * <mbailey@littlefeet-inc.com> 21 #include <linux/i2c-algo-pcf.h> 22 #include "i2c-algo-pcf.h" 38 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) 39 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) 40 #define get_own(adap) adap->getown(adap->data) [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx.seq | 2 * Adaptec U320 device driver firmware for Linux and FreeBSD. 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 17 * including a substantially similar Disclaimer requirement for further 19 * 3. Neither the names of the above-listed copyright holders nor the names 30 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 32 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 51 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 58 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 85 * If we have completions stalled waiting for the qfreeze [all …]
|
/openbmc/linux/drivers/md/ |
H A D | md-cluster.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include "md-bitmap.h" 14 #include "md-cluster.h" 24 wait_queue_head_t sync_locking; /* wait queue for synchronized locking */ 62 /* dlm lock space and resources for clustered raid. */ 87 wait_queue_head_t wait; member 108 /* TODO: Unionize this for smaller footprint */ 120 res->sync_locking_done = true; in sync_ast() 121 wake_up(&res->sync_locking); in sync_ast() 128 ret = dlm_lock(res->ls, mode, &res->lksb, in dlm_lock_sync() [all …]
|