/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 7 * fm10k_fifo_init - Initialize a message FIFO 8 * @fifo: pointer to FIFO 9 * @buffer: pointer to memory to be used to store FIFO 10 * @size: maximum message size to store in FIFO, must be 2^n - 1 12 static void fm10k_fifo_init(struct fm10k_mbx_fifo *fifo, u32 *buffer, u16 size) in fm10k_fifo_init() argument 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() [all …]
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * A internal hardware trigger is also implemented to dispatch registered IIO 18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous. 29 * The continuous mode works according to a periodic hardware measurement 30 * process continuously pushing samples into an internal hardware FIFO (for 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 37 * hardware FIFO and fetch temperature sample 38 * - when no longer needed, stop sampling process by putting device into [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | ite-cir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #define ITE_DRIVER_NAME "ite-cir" 11 /* FIFO sizes */ 34 /* hw-specific operation function pointers; most of these must be 35 * called while holding the spin lock, except for the TX FIFO length 50 /* read bytes from RX FIFO; return read count */ 53 /* enable tx FIFO space available interrupt */ 56 /* disable tx FIFO space available interrupt */ 59 /* get number of full TX FIFO slots */ 62 /* put a byte to the TX FIFO */ [all …]
|
H A D | ite-cir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * skeleton provided by the nuvoton-cir driver. 10 * The lirc_it87 driver was originally written by Hans-Gunter Lutke Uphues 13 * <jimbo-lirc@edwardsclan.net>. 16 * <spmf2004-lirc@yahoo.fr> in 2008. 29 #include <media/rc-core.h> 32 #include "ite-cir.h" 42 static int model_number = -1; 47 /* HW-independent code functions */ 79 freq = DIV_ROUND_CLOSEST(freq - ITE_LCF_MIN_CARRIER_FREQ, 1000); in ite_get_carrier_freq_bits() [all …]
|
H A D | nuvoton-cir.c | 2 * Driver for Nuvoton Technology Corporation w83667hg/w83677hg-i CIR 7 * Special thanks to Nuvoton for providing hardware, spec sheets and 32 #include <media/rc-core.h> 35 #include "nuvoton-cir.h" 48 return nvt->rdev->dev.parent; in nvt_get_dev() 53 return nvt->chip_ver == NVT_W83667HG; in is_w83667hg() 59 outb(reg, nvt->cr_efir); in nvt_cr_write() 60 outb(val, nvt->cr_efdr); in nvt_cr_write() 66 outb(reg, nvt->cr_efir); in nvt_cr_read() 67 return inb(nvt->cr_efdr); in nvt_cr_read() [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | hpilo.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2008 Hewlett-Packard Development Company, L.P. 52 * -> alloc_lock used when adding/removing/searching ccb_alloc, 54 * --> fifo_lock controls access to fifo queues shared with hw 75 * Channel control block. Used to manage hardware queues. 136 /* hardware version of ccb, using physical addrs */ 139 /* hardware ccb is written to this shared mapped device memory */ 147 /* pointer to hardware device info */ 161 * FIFO queue structure, shared with hw. 165 struct fifo { struct [all …]
|
/openbmc/linux/drivers/staging/pi433/Documentation/ |
H A D | pi433.txt | 14 The driver supports on the fly reloading of the hardware fifo of the rf 15 chip, thus enabling for much longer telegrams than the hardware fifo size. 34 set, the hardware fifo of the rf chip gets preloaded and the transmission gets 35 started. Upon hardware fifo threshold interrupt it gets reloaded, thus enabling 36 much longer telegrams than the hardware fifo size. If the telegram is sent and there 50 as described for the transmission cycle the read out of the hardware fifo is done 51 dynamically. Upon each hardware fifo threshold interrupt, a portion of data gets 52 read. So also for reception it is possible to receive more data than the hardware 53 fifo can hold. 64 ---------------- [all …]
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | gadgetfs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Filesystem based user-mode API to USB Gadget controller hardware 44 * both 32-bit and 64-bit kernels. 49 * ... some hardware can't report disconnection 73 * when the fifo is loaded, before the host reads the data; 75 * complete when they're sitting in the FIFO unread. 76 * THIS returns how many bytes are "unclaimed" in the endpoint fifo 77 * (needed for precise fault handling, when the hardware allows it) 81 /* discards any unclaimed data in the fifo. */ 85 * some hardware (like pxa2xx) can't support this.
|
/openbmc/linux/Documentation/spi/ |
H A D | pxa2xx.rst | 7 (see Documentation/spi/spi-summary.rst). The driver has the following features 9 - Support for any PXA2xx and compatible SSP. 10 - SSP PIO and SSP DMA data transfers. 11 - External and Internal (SSPFRM) chip selects. 12 - Per slave device (chip) configuration. 13 - Full suspend, freeze, resume support. 15 The driver is built around a &struct spi_message FIFO serviced by kernel 16 thread. The kernel thread, spi_pump_messages(), drives message FIFO and 21 ----------------------------------- 23 arch/.../mach-*/board-*.c as a "platform device". The master configuration [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2009-2023 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 38 const struct vmw_fifo_state *fifo = dev_priv->fifo; in vmw_supports_3d() local 40 if (!(dev_priv->capabilities & SVGA_CAP_3D)) in vmw_supports_3d() 43 if (dev_priv->capabilities & SVGA_CAP_GBOBJECTS) { in vmw_supports_3d() 46 if (!dev_priv->has_mob) in vmw_supports_3d() 54 if (!(dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO)) in vmw_supports_3d() 64 ((fifo->capabilities & in vmw_supports_3d() 76 if (dev_priv->active_display_unit == vmw_du_legacy) in vmw_supports_3d() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | amplc_pci230.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 35 * --------- --------- 43 * The AI subdevice has 16 single-ended channels or 8 differential 46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and 47 * PCI260+ cards have 16-bit resolution. 51 * or PCI260 then it actually uses a "pseudo-differential" mode where the 62 * 0 => [-10, +10] V 63 * 1 => [-5, +5] V 64 * 2 => [-2.5, +2.5] V [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
H A D | ia_css_debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 108 /* Logging macros for non-API functions. These have a lower trace level */ 163 /*! @brief Dump isp hardware state. 164 * Dumps the isp hardware state to tracing output. 169 /*! @brief Dump sp hardware state. 170 * Dumps the sp hardware state to tracing output. 176 /*! @brief Dump GAC hardware state. 177 * Dumps the GAC ACB hardware registers. may be useful for 195 /*! @brief Dump all related hardware state to the trace output 216 /*! @brief Dump isp gdc fifo state to the trace output [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | Kconfig | 16 EDAC is a subsystem along with hardware-specific drivers designed to 17 report hardware errors. These are low-level errors that are reported 22 The mailing list for the EDAC project is linux-edac@vger.kernel.org. 40 levels are 0-4 (from low to high) and by default it is set to 2. 44 tristate "Decode MCEs in human-readable form (only on AMD for now)" 49 occurring on your machine in human-readable form. 60 Not all machines support hardware-driven error report. Some of those 61 provide a BIOS-driven error report mechanism via ACPI, using the 65 When this option is enabled, it will disable the hardware-driven 69 It should be noticed that keeping both GHES and a hardware-driven [all …]
|
H A D | mce_amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 71 "PFB non-cacheable bit parity error", 77 "fetch address FIFO", 84 "Prefetcher request FIFO parity error", 101 "Link-defined sync error packets detected on HT link", 138 "Hardware Assertion", 174 "An ECC error was detected on a data cache read-modify-write by a store", 179 "An ECC error was detected on an EMEM read-modify-write by a store", 194 "A hardware assertion error was reported", 200 "IC Microtag or Full Tag Multi-hit Error", [all …]
|
/openbmc/linux/Documentation/accel/qaic/ |
H A D | aic100.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 10 The Qualcomm Cloud AI 100/AIC100 family of products (including SA9000P - part of 20 performance. AIC100 cards are multi-user capable and able to execute workloads 23 Hardware Description 26 An AIC100 card consists of an AIC100 SoC, on-card DDR, and a set of misc 39 AIC100 implements MSI but does not implement MSI-X. AIC100 requires 17 MSIs to 43 hardware. AIC100 provides 3, 64-bit BARs. 53 From the host perspective, AIC100 has several key hardware components - 62 --- 70 --- [all …]
|
/openbmc/linux/drivers/gpu/drm/stm/ |
H A D | ltdc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 u32 hw_version; /* hardware version */ 24 bool non_alpha_only_l1; /* non-native no-alpha formats on layer 1 */ 26 int nb_irq; /* number of hardware interrupts */ 31 bool dynamic_zorder; /* dynamic z-order */ 33 bool fifo_threshold; /* fifo underrun threshold supported */ 50 u32 fifo_err; /* fifo underrun error counter */ 51 u32 fifo_warn; /* fifo underrun warning counter */ 52 u32 fifo_threshold; /* fifo underrun threshold */
|
/openbmc/linux/drivers/parport/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 13 the architecture might have PC parallel port hardware. 24 <file:Documentation/admin-guide/parport.rst> and 25 <file:drivers/parport/BUGS-parport>. 28 to the parallel port see <http://www.torque.net/linux-pp.html> on 37 look at <file:Documentation/admin-guide/parport.rst>. 44 tristate "PC-style hardware" 48 You should say Y here if you have a PC-style parallel port. All 49 IBM PC compatible computers and some Alphas have PC-style [all …]
|
/openbmc/linux/drivers/char/tpm/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 tristate "TPM Hardware Support" 26 which is required to validate the PCR 0-7 values. 48 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface" 53 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO 59 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)" 64 non-tcg SPI master (i.e. most embedded platforms) that is compliant with the 65 TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO 78 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (I2C - generic)" 90 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface (MMIO - SynQuacer)" [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-fpga-manager | 49 * reconfig operation error - invalid operations detected by 50 reconfiguration hardware. 53 * reconfig CRC error - CRC error detected by 54 reconfiguration hardware. 55 * reconfig incompatible image - reconfiguration image is 56 incompatible with hardware 57 * reconfig IP protocol error - protocol errors detected by 58 reconfiguration hardware 59 * reconfig fifo overflow error - FIFO overflow detected by 60 reconfiguration hardware
|
/openbmc/linux/drivers/spi/ |
H A D | spi-cadence.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2008 - 2014 Xilinx, Inc. 7 * based on Blackfin On-Chip SPI Driver (spi_bfin5xx.c) 24 #define CDNS_SPI_NAME "cdns-spi" 37 #define CDNS_SPI_THLD 0x28 /* Transmit FIFO Watermark Register,RW */ 62 * SPI Configuration Register - Baud rate and target select 81 #define CDNS_SPI_IXR_TXOW 0x00000004 /* SPI TX FIFO Overwater */ 83 #define CDNS_SPI_IXR_RXNEMTY 0x00000010 /* SPI RX FIFO Not Empty */ 101 * struct cdns_spi - This definition defines spi driver instance 113 * @tx_fifo_depth: Depth of the TX FIFO [all …]
|
H A D | spi-bcm2835.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * spi-ath79.c, Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org> 11 * spi-atmel.c, Copyright (C) 2006 Atmel Corporation 18 #include <linux/dma-mapping.h> 74 #define DRV_NAME "spi-bcm2835" 83 * struct bcm2835_spi - BCM2835 SPI controller 87 * @irq: interrupt, signals TX FIFO empty or RX FIFO ¾ full 95 * length is not a multiple of 4 (to overcome hardware limitation) 97 * length is not a multiple of 4 (to overcome hardware limitation) 99 * @debugfs_dir: the debugfs directory - neede to remove debugfs when [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | ti,omap-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The OMAP Mailbox hardware facilitates communication between different 19 Each mailbox IP block/cluster has a certain number of h/w fifo queues and 27 h/w fifo. Communication between different processors is achieved through the 31 The number of h/w fifo queues and interrupt lines dictate the usable 34 h/w fifo queues and interrupt lines between different instances. The interrupt [all …]
|
/openbmc/u-boot/include/linux/usb/ |
H A D | gadget.h | 4 * We call the USB code inside a Linux-based peripheral device a "gadget" 5 * driver, except for the hardware-specific bus glue. One USB host can 9 * (C) Copyright 2002-2004 by David Brownell 14 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and 29 * struct usb_request - describes one i/o request 45 * its buffer may be re-used. 48 * will usually still be in flight (often in a hardware fifo). 57 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, 64 * reside in a device-side FIFO when the request is reported as 68 * hardware's driver can add extra per-request data to the memory it returns, [all …]
|
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | registers.rs | 3 // SPDX-License-Identifier: GPL-2.0-or-later 14 /// ARM DDI 0183G, Table 3-1 p.3-3 39 /// `IrDA` Low-Power Counter Register 53 /// Interrupt FIFO Level Select Register 90 // TODO: FIFO Mode has different semantics 97 /// - if the FIFOs are enabled, data written to this location is pushed onto the 99 /// FIFO 100 /// - if the FIFOs are not enabled, data is stored in the transmitter holding 102 /// bottom word of the transmit FIFO). 111 /// - if the FIFOs are enabled, the data byte and the 4-bit status (break, [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/can/freescale/ |
H A D | flexcan.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 7 Authors: Marc Kleine-Budde <mkl@pengutronix.de>, 15 - FIFO 16 - mailbox 20 configured for RX-FIFO mode. 22 The RX FIFO mode uses a hardware FIFO with a depth of 6 CAN frames, 23 while the mailbox mode uses a software FIFO with a depth of up to 62 30 With the "rx-rtr" private flag the ability to receive RTR frames can 34 "rx-rtr" on 40 more performant "RX mailbox" mode and will use "RX FIFO" mode [all …]
|