/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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.
|
/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 …]
|
H A D | amplc_pci224.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 22 * - ao_insn read/write 23 * - ao_do_cmd mode with the following sources: 25 * - start_src TRIG_INT TRIG_EXT 26 * - scan_begin_src TRIG_TIMER TRIG_EXT 27 * - convert_src TRIG_NOW 28 * - scan_end_src TRIG_COUNT 29 * - stop_src TRIG_COUNT TRIG_EXT TRIG_NONE 44 * Output range selection - PCI224: [all …]
|
/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 …]
|
H A D | parport_ip32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Low-level parallel port routines for built-in port on SGI IP32 10 * Thanks to Ilya A. Volynets-Evenbakh for his help. 19 * Hardware SPP (a.k.a. compatibility), EPP, and ECP modes are 21 * SPP/ECP FIFO can be driven in PIO or DMA mode. PIO mode can work with 24 * Hardware ECP mode is not fully implemented (ecp_read_data and 32 * If DMA mode works well, decide if support for PIO FIFO modes should be 35 * the linux-mips.org tree. Note: the MIPS specific functions readsb() 40 /* The built-in parallel port on the SGI 02 workstation (a.k.a. IP32) is an 43 * FIFO buffer and supports DMA transfers. [all …]
|
/linux/Documentation/security/tpm/ |
H A D | tpm_tis.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 TPM FIFO interface driver 7 TCG PTP Specification defines two interface types: FIFO and CRB. The former is 11 FIFO (First-In-First-Out) interface is used by the tpm_tis_core dependent 17 framework for FIFO drivers is named as tpm_tis_core. The postfix "tis" in 18 tpm_tis comes from the TPM Interface Specification, which is the hardware 22 hardware bus or memory map, depending on the physical wiring. The buffer is 23 further split into five equal-size 4 KiB buffers, which provide equivalent 36 - Locality 0 has the lowest priority. 37 - Locality 5 has the highest priority. [all …]
|
/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 */
|
/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. 40 and interposer attacks (see tpm-security.rst). Saying Y 62 tristate "TPM Interface Specification 1.2 Interface / TPM 2.0 FIFO Interface" 67 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO 73 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (SPI)" 78 non-tcg SPI master (i.e. most embedded platforms) that is compliant with the 79 TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO 92 tristate "TPM Interface Specification 1.3 Interface / TPM 2.0 FIFO Interface - (I2C - generic)" [all …]
|
/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 …]
|
/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
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx.seq | 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 51 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 58 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 62 * interrupt collision on the hardware 100 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL jne . - 1; 124 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) { 126 * On Rev A. hardware, the busy LED is only 128 * and re-selections. Make the LED status [all …]
|
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | ishtp-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2003-2016, Intel Corporation. 13 #include <linux/intel-ish-client-if.h> 21 /* Number of messages to be held in ISR->BH FIFO */ 25 * Number of IPC messages to be held in Tx FIFO, to be sent by ISR - 42 #define ISHTP_MAX_OPEN_HANDLE_COUNT (ISHTP_CLIENTS_MAX - 1) 45 #define ISHTP_HOST_CLIENT_ID_ANY (-1) 65 * struct ishtp_fw_client - representation of fw client 67 * @props - client properties 68 * @client_id - fw client id [all …]
|
/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 …]
|
/linux/Documentation/networking/device_drivers/can/ctu/ |
H A D | ctucanfd-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 10 ------------------------ 19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_ 20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board 21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_ 23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core. 33 version of emulation support can be cloned from ctu-canfd branch of QEMU local 34 development `repository <https://gitlab.fel.cvut.cz/canbus/qemu-canbus>`_. 38 --------------- 58 instance for the given hardware. A similar situation goes with USB, only [all …]
|
/linux/Documentation/misc-devices/ |
H A D | mrvl_cn10k_dpi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 DPI is a DMA packet interface hardware block in Marvell's CN10K silicon. 11 DPI hardware comprises a physical function (PF), its virtual functions, 21 /dev/mrvl-cn10k-dpi node to set DMA engine and PEM (PCIe interface) port 22 attributes like fifo length, molr, mps & mrrs. 25 queues and provisions the hardware resources, it cannot initiate any 42 ioctl that sets DMA engine's fifo sizes & max outstanding load request 49 vfio-pci driver. Below is a sample dpi dma application to demonstrate on 52 https://github.com/MarvellEmbeddedProcessors/dpi-sample-app
|
/linux/drivers/usb/dwc2/ |
H A D | params.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2004-2016 Synopsys, Inc. 20 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_bcm_params() 22 p->host_rx_fifo_size = 774; in dwc2_set_bcm_params() 23 p->max_transfer_size = 65535; in dwc2_set_bcm_params() 24 p->max_packet_count = 511; in dwc2_set_bcm_params() 25 p->ahbcfg = 0x10; in dwc2_set_bcm_params() 30 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_his_params() 32 p->otg_caps.hnp_support = false; in dwc2_set_his_params() 33 p->otg_caps.srp_support = false; in dwc2_set_his_params() [all …]
|
/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <media/drv-intf/cx25840.h> 14 #include <media/rc-core.h> 16 #include "cx25840-core.h" 117 return state ? state->ir_state : NULL; in to_ir_state() 135 d--; in count_to_clock_divider() 193 * FIFO register pulse width count computations 199 * the pulse width counter as read from the FIFO. The two lsb's are in clock_divider_to_resolution() 293 count--; in pulse_clocks_to_clock_divider() 371 if (*carrier_range_high > DIV_ROUND_CLOSEST(c16, 16 - 3)) { in control_rx_s_carrier_window() [all …]
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * fec.h -- Fast Ethernet Controller for Motorola ColdFire SoC 8 * (C) Copyright 2000-2005, Greg Ungerer (gerg@snapgear.com) 9 * (C) Copyright 2000-2001, Lineo (www.lineo.com) 23 #include <dt-bindings/firmware/imx/rsrc.h> 58 #define FEC_X_WMRK 0x144 /* FIFO transmit water mark */ 59 #define FEC_R_BOUND 0x14c /* FIFO receive bound reg */ 60 #define FEC_R_FSTART 0x150 /* FIFO receive start reg */ 70 #define FEC_R_FIFO_RSFL 0x190 /* Receive FIFO section full threshold */ 71 #define FEC_R_FIFO_RSEM 0x194 /* Receive FIFO section empty threshold */ [all …]
|
/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_display.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) ST-Ericsson SA 2013 9 #include <linux/dma-buf.h> 11 #include <linux/media-bus-format.h> 31 /* TODO: implement FIFO C0 and FIFO C1 */ 80 mispp = readl(mcde->regs + MCDE_MISPP); in mcde_display_irq() 81 misovl = readl(mcde->regs + MCDE_MISOVL); in mcde_display_irq() 82 mischnl = readl(mcde->regs + MCDE_MISCHNL); in mcde_display_irq() 92 if (!mcde->dpi_output && mcde_dsi_irq(mcde->mdsi)) { in mcde_display_irq() 101 if (mcde->flow_mode == MCDE_COMMAND_ONESHOT_FLOW) { in mcde_display_irq() [all …]
|