/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | intel,ldma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/intel,ldma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Lightning Mountain centralized DMA controllers. 10 - chuanhua.lei@intel.com 11 - mallikarjunax.reddy@intel.com 14 - $ref: dma-controller.yaml# 19 - intel,lgm-cdma 20 - intel,lgm-dma2tx [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | fsl_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Freescale DMA Controller 15 uint mr; /* DMA mode register */ 20 #define FSL_DMA_MR_EOTIE 0x00000080 /* End-of-transfer interrupt en */ 26 #define FSL_DMA_MR_EMS_EN 0x00040000 /* Ext master start en */ 28 #define FSL_DMA_MR_DMSEN 0x00100000 /* Direct mode snooping en */ 30 #define FSL_DMA_MR_DRCNT 0x0f000000 /* DMA request count */ 31 uint sr; /* DMA status register */ 32 #define FSL_DMA_SR_EOCDI 0x00000001 /* End-of-chain/direct interrupt */ 33 #define FSL_DMA_SR_EOSI 0x00000002 /* End-of-segment interrupt */ [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpni.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2013-2016 Freescale Semiconductor Inc. 20 * DPNI_MAX_TC - Maximum number of traffic classes 24 * DPNI_MAX_DPBP - Maximum number of buffer pools per DPNI 29 * DPNI_ALL_TCS - All traffic classes considered; see dpni_set_queue() 31 #define DPNI_ALL_TCS (u8)(-1) 33 * DPNI_ALL_TC_FLOWS - All flows within traffic class considered; see 36 #define DPNI_ALL_TC_FLOWS (u16)(-1) 38 * DPNI_NEW_FLOW_ID - Generate new flow ID; see dpni_set_queue() 40 #define DPNI_NEW_FLOW_ID (u16)(-1) [all …]
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2004-2006 Atmel Corporation 84 #define GEM_DMACFG 0x0010 /* DMA Configuration */ 112 #define GEM_TX64CNT 0x0118 /* 64 byte Frames TX counter */ 113 #define GEM_TX65CNT 0x011c /* 65-127 byte Frames TX counter */ 114 #define GEM_TX128CNT 0x0120 /* 128-255 byte Frames TX counter */ 115 #define GEM_TX256CNT 0x0124 /* 256-511 byte Frames TX counter */ 116 #define GEM_TX512CNT 0x0128 /* 512-1023 byte Frames TX counter */ 117 #define GEM_TX1024CNT 0x012c /* 1024-1518 byte Frames TX counter */ 118 #define GEM_TX1519CNT 0x0130 /* 1519+ byte Frames TX counter */ [all …]
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | fas216.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1997-2000 Russell King 95 #define IS_MSGBYTESENT 0x01 /* One byte message sent*/ 116 #define CNTL1_PERE (1 << 4) /* Parity enable reporting en. */ 123 #define CLKF_F37MHZ 0x00 /* 35.01 - 40 MHz */ 125 #define CLKF_F12MHZ 0x03 /* 10.01 - 15 MHz */ 126 #define CLKF_F17MHZ 0x04 /* 15.01 - 20 MHz */ 127 #define CLKF_F22MHZ 0x05 /* 20.01 - 25 MHz */ 128 #define CLKF_F27MHZ 0x06 /* 25.01 - 30 MHz */ 129 #define CLKF_F32MHZ 0x07 /* 30.01 - 35 MHz */ [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 1 // SPDX-License-Identifier: GPL-2.0 25 priv->irq_mask &= ~mask; in _intr2_mask_clear() 31 priv->irq_mask |= mask; in _intr2_mask_set() 34 void bcmasp_enable_tx_irq(struct bcmasp_intf *intf, int en) in bcmasp_enable_tx_irq() argument 36 struct bcmasp_priv *priv = intf->parent; in bcmasp_enable_tx_irq() 38 if (en) in bcmasp_enable_tx_irq() 39 _intr2_mask_clear(priv, ASP_INTR2_TX_DESC(intf->channel)); in bcmasp_enable_tx_irq() 41 _intr2_mask_set(priv, ASP_INTR2_TX_DESC(intf->channel)); in bcmasp_enable_tx_irq() 45 void bcmasp_enable_rx_irq(struct bcmasp_intf *intf, int en) in bcmasp_enable_rx_irq() argument 47 struct bcmasp_priv *priv = intf->parent; in bcmasp_enable_rx_irq() [all …]
|
H A D | bcmasp_intf.c | 1 // SPDX-License-Identifier: GPL-2.0 31 /* Points to last byte of descriptor */ 39 return beg + DESC_SIZE - 1; in incr_last_byte() 44 /* Points to first byte of descriptor */ 57 static void bcmasp_enable_tx(struct bcmasp_intf *intf, int en) in bcmasp_enable_tx() argument 59 if (en) { in bcmasp_enable_tx() 63 (intf->port << TX_EPKT_C_CFG_MISC_PS_SHIFT)), in bcmasp_enable_tx() 71 static void bcmasp_enable_rx(struct bcmasp_intf *intf, int en) in bcmasp_enable_rx() argument 73 if (en) in bcmasp_enable_rx() 87 spin_lock_bh(&intf->parent->mda_lock); in bcmasp_set_rx_mode() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 7 #include "en.h" 12 #define INL_HDR_START_SZ (sizeof(((struct mlx5_wqe_eth_seg *)NULL)->inline_hdr.start)) 15 * 1. ESP trailer: up to 255 bytes of padding, 1 byte for pad length, 1 byte for 25 #define MLX5E_MAX_TX_INLINE_DS DIV_ROUND_UP(366 - INL_HDR_START_SZ + VLAN_HLEN, \ 58 return skb->pkt_type == PACKET_MULTICAST || skb->pkt_type == PACKET_BROADCAST; in mlx5e_skb_is_multicast() 76 return config->rx_filter == HWTSTAMP_FILTER_ALL; in mlx5e_rx_hw_stamp() 100 return (u16)(*fifo->pc - *fifo->cc) <= fifo->mask; in mlx5e_skb_fifo_has_room() 106 return (mlx5_wq_cyc_ctr2ix(wq, cc - pc) >= n) || (cc == pc); in mlx5e_wqc_has_room_for() 120 ((struct mlx5e_tx_wqe *)mlx5e_fetch_wqe(&(sq)->wq, pi, sizeof(struct mlx5e_tx_wqe))) [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2014-2017 Broadcom. 19 #include "bcm-sf2-eth.h" 20 #include "bcm-sf2-eth-gmac.h" 26 countdown -= 10; \ 34 static int gmac_disable_dma(struct eth_dma *dma, int dir); 35 static int gmac_enable_dma(struct eth_dma *dma, int dir); 37 /* DMA Descriptor */ 94 static void dma_tx_dump(struct eth_dma *dma) in dma_tx_dump() argument 100 printf("TX DMA Register:\n"); in dma_tx_dump() [all …]
|
H A D | mvpp2.c | 8 * U-Boot version: 9 * Copyright (C) 2016-2017 Stefan Roese <sr@denx.de> 18 #include <dm/device-internal.h> 33 #include <asm-generic/gpio.h> 73 /* RX DMA Top Registers */ 346 /* Per-port registers */ 392 * Per-port XGMAC registers. PPv2.2 only, only for GOP port 0, 393 * relative to port->base. 491 (((index) < (q)->last_desc) ? ((index) + 1) : 0) 493 /* SMI: 0xc0054 -> offset 0x54 to lms_base */ [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/coldfire/ |
H A D | edma.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. 6 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 13 * Enhanced DMA (EDMA) 20 u16 res1[3]; /* 0x08 - 0x0D */ 22 u16 res2[3]; /* 0x10 - 0x15 */ 26 u8 seei; /* 0x1A Set En Error Interrupt Request */ 27 u8 ceei; /* 0x1B Clear En Error Interrupt Request */ 32 u16 res3[3]; /* 0x20 - 0x25 */ 34 u16 res4[3]; /* 0x28 - 0x2D */ [all …]
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 6 * Copyright (C) 2004-2017 Cavium, Inc. 18 #include <asm/octeon/cvmx-helper-board.h> 24 #include <asm/octeon/cvmx-uctlx-defs.h> 78 if (dev->of_node) { in octeon2_usb_clocks_start() 82 uctl_node = of_get_parent(dev->of_node); in octeon2_usb_clocks_start() 88 "refclk-frequency", &clock_rate); in octeon2_usb_clocks_start() 90 dev_err(dev, "No UCTL \"refclk-frequency\"\n"); in octeon2_usb_clocks_start() 95 "refclk-type", &clock_type); in octeon2_usb_clocks_start() 105 * Step 2: Enable SCLK of UCTL by writing UCTL0_IF_ENA[EN] = 1 in octeon2_usb_clocks_start() 108 if_ena.s.en = 1; in octeon2_usb_clocks_start() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | hdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 #define IDE_DRIVE_TASK_INVALID -1 137 * 0x01->0x02 Reserved 141 * 0x04->0x07 Reserved 146 * 0x09->0x0F Reserved 151 * 0x10->0x1F Reserved 153 #define WIN_READ 0x20 /* 28-Bit */ 154 #define WIN_READ_ONCE 0x21 /* 28-Bit without retries */ 155 #define WIN_READ_LONG 0x22 /* 28-Bit */ 156 #define WIN_READ_LONG_ONCE 0x23 /* 28-Bit without retries */ [all …]
|
/openbmc/u-boot/include/ |
H A D | ata.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * "Information Technology - AT Attachment-3 Interface (ATA-3)" 11 * http://www.dt.wdc.com/ata/ata-3/ata3r5v.zip 13 * ftp://ftp.fee.vutbr.cz/pub/doc/io/ata/ata-3/ata3r5v.zip 22 * 8-bit (register) and 16-bit (data) accesses might use different 88 #define ATA_CMD_RD_DMA 0xC8 /* Read DMA (with retries) */ 90 #define ATA_CMD_WR_DMA 0xCA /* Write DMA (with retries) */ 91 #define ATA_CMD_WR_DMAN 0xCB /* Write DMA ( no retires) */ 134 /* ------------------------------------------------------------------------- */ 152 unsigned short buf_size; /* 512 byte increments; 0 = not_specified */ [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-ep93xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Mika Westerberg 7 * Explicit FIFO handling code was inspired by amba-pl022 driver. 9 * Chip select support using other than built-in GPIOs by H. Hartley Sweeten. 13 * https://www.cirrus.com/en/pubs/manual/EP93xx_Users_Guide_UM1.pdf 30 #include <linux/platform_data/dma-ep93xx.h> 31 #include <linux/platform_data/spi-ep93xx.h> 69 * struct ep93xx_spi - EP93xx SPI controller structure 73 * @tx: current byte in transfer to transmit 74 * @rx: current byte in transfer to receive [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | amigahw.h | 2 ** asm-m68k/amigahw.h -- This header defines some macros and pointers for 21 #include <asm/bootinfo-amiga.h> 207 * DMA register bits 244 #define ZTWO_PADDR(x) (((unsigned long)(x))-zTwoBase) 270 amiga_custom.beamcon0 = 0x4390; /* HARDDIS, VAR{BEAM,VSY,HSY,CSY}EN */ in amifb_video_off() 292 unsigned int :28, cntrl1:4; /* control-byte 1 */ 293 unsigned int :28, cntrl2:4; /* control-byte 2 */ 294 unsigned int :28, cntrl3:4; /* control-byte 3 */ 314 unsigned int :28, cntrl1:4; /* control-byte 1 */ 315 unsigned int :28, cntrl2:4; /* control-byte 2 */ [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_octeon_cf.c | 8 * Copyright (C) 2005 - 2012 Cavium Inc. 31 * -- 8 bits no irq, no DMA 32 * -- 16 bits no irq, no DMA 33 * -- 16 bits True IDE mode with DMA, but no irq. 35 * In the last case the DMA engine can generate an interrupt when the 69 "Enable use of DMA on interfaces that support it (0=no dma [default], 1=use dma)"); 112 reg_cfg.s.en = 1; /* Enable this region */ in octeon_cf_set_boot_reg_cfg() 128 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode() 150 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode() 154 t2--; in octeon_cf_set_piomode() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver 7 * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. 31 #define SDHCI_MAKE_BLKSZ(dma, blksz) (((dma & 0x7) << 12) | (blksz & 0xFFF)) argument 103 * VDD2 - UHS2 or PCIe/NVMe 174 #define SDHCI_INT_ALL_MASK ((unsigned int)-1) 196 #define SDHCI_CTRL_HS400 0x0005 /* Non-standard */ 243 #define SDHCI_SUPPORT_HS400 0x80000000 /* Non-standard */ 252 /* 4C-4F reserved for more max current */ 259 /* 55-57 reserved */ [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 62 * The SSI has a limitation in that the samples must be in the same byte 66 * (bit-endianness must match byte-endianness). Processors typically write 67 * the bits within a byte in the same order that the bytes of a word are [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | tdx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 19 TDX includes new hypercall-like mechanisms for communicating from the 25 TDX guests behave differently from bare-metal and traditional VMX guests. 32 Instruction-based #VE 33 --------------------- 35 - Port I/O (INS, OUTS, IN, OUT) 36 - HLT 37 - MONITOR, MWAIT 38 - WBINVD, INVD 39 - VMCALL [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-stm32f7.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * http://www.st.com/resource/en/reference_manual/dm00124865.pdf 14 * This driver is based on i2c-stm32f4.c 21 #include <linux/i2c-smbus.h> 38 #include "i2c-stm32.h" 185 * struct stm32f7_i2c_regs - i2c f7 registers backup 201 * struct stm32f7_i2c_spec - private i2c specification timing 223 * struct stm32f7_i2c_setup - private I2C timing setup parameters 239 * struct stm32f7_i2c_timings - private I2C output parameters 257 * struct stm32f7_i2c_msg - client specific data [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | at_hdmac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the Atmel AHB DMA Controller (aka HDMA or DMAC on AT91 systems) 8 * This supports the Atmel AHB DMA Controller found in several Atmel SoCs. 9 * The only Atmel DMA Controller that is not covered by this driver is the one 13 #include <dt-bindings/dma/at91.h> 18 #include <linux/dma-mapping.h> 29 #include "virt-dma.h" 33 * -------- 35 * at_hdmac : Name of the ATmel AHB DMA Controller 36 * at_dma_ / atdma : ATmel DMA controller entity related [all …]
|
/openbmc/linux/drivers/memstick/host/ |
H A D | r592.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010 - Maxim Levitsky 44 * memstick_debug_get_tpc_name - debug helper that returns string for 49 return tpc_names[tpc-1]; in memstick_debug_get_tpc_name() 55 u32 value = readl(dev->mmio + address); in r592_read_reg() 64 dbg_reg("reg #%02d <- 0x%08x", address, value); in r592_write_reg() 65 writel(value, dev->mmio + address); in r592_write_reg() 71 u32 value = __raw_readl(dev->mmio + address); in r592_read_reg_raw_be() 80 dbg_reg("reg #%02d <- 0x%08x", address, value); in r592_write_reg_raw_be() 81 __raw_writel(cpu_to_be32(value), dev->mmio + address); in r592_write_reg_raw_be() [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 31 * only use PIO, or don't use DMA for some endpoints. 32 * @dma: DMA address corresponding to 'buf'. If you don't set this 39 * directly by DMA controllers. 45 * its buffer may be re-used. 57 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, [all …]
|
/openbmc/linux/Documentation/hid/ |
H A D | intel-ish-hid.rst | 6 processing to a dedicated low power co-processor. This allows the core 11 Sensor usage tables. These may be found in tablets, 2-in-1 convertible laptops 27 ----------------- ---------------------- 28 | USB HID | --> | ISH HID | 29 ----------------- ---------------------- 30 ----------------- ---------------------- 31 | USB protocol | --> | ISH Transport | 32 ----------------- ---------------------- 33 ----------------- ---------------------- 34 | EHCI/XHCI | --> | ISH IPC | [all …]
|