/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | synopsys-dw-mshc-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: mmc-controller.yaml# 13 - Ulf Hansson <ulf.hansson@linaro.org> 20 reset-names: 23 clock-frequency: 29 fifo-depth: 31 The maximum size of the tx/rx fifo's. If this property is not [all …]
|
H A D | synopsys-dw-mshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 16 - altr,socfpga-dw-mshc 17 - img,pistachio-dw-mshc 18 - snps,dw-mshc 33 clock-names: 35 - const: biu [all …]
|
/openbmc/linux/include/linux/amba/ |
H A D | pl022.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2008-2009 ST-Ericsson AB 11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c 30 * enum ssp_interface - interfaces allowed for this SSP Controller 47 * enum ssp_hierarchy - whether SSP is configured as Master or Slave 55 * enum ssp_clock_params - clock parameters, to set SSP clock at a 64 * enum ssp_rx_endian - endianess of Rx FIFO Data 73 * enum ssp_tx_endian - endianess of Tx FIFO Data 81 * enum ssp_data_size - number of bits in one data element 97 * enum ssp_mode - SSP mode of operation (Communication modes) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-pl022.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-pl022.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: spi-controller.yaml# 14 - $ref: /schemas/arm/primecell.yaml# 23 - compatible 28 - const: arm,pl022 29 - const: arm,primecell [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | cdns,macb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nicolas Ferre <nicolas.ferre@microchip.com> 11 - Claudiu Beznea <claudiu.beznea@microchip.com> 16 - items: 17 - enum: 18 - cdns,at91rm9200-emac # Atmel at91rm9200 SoC 19 - const: cdns,emac # Generic 21 - items: [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sifive.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2018-2019 SiFive 8 * - drivers/tty/serial/pxa.c 9 * - drivers/tty/serial/amba-pl011.c 10 * - drivers/tty/serial/uartlite.c 11 * - drivers/tty/serial/omap-serial.c 12 * - drivers/pwm/pwm-sifive.c 15 * - Chapter 19 "Universal Asynchronous Receiver/Transmitter (UART)" of 16 * SiFive FE310-G000 v2p3 17 * - The tree/master/src/main/scala/devices/uart directory of [all …]
|
H A D | msm_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 192 writel_relaxed(val, port->membase + off); in msm_write() 198 return readl_relaxed(port->membase + off); in msm_read() 210 port->uartclk = 1843200; in msm_serial_set_mnd_regs_tcxo() 222 port->uartclk = 1843200; in msm_serial_set_mnd_regs_tcxoby4() 233 if (msm_port->is_uartdm) in msm_serial_set_mnd_regs() 236 if (port->uartclk == 19200000) in msm_serial_set_mnd_regs() 238 else if (port->uartclk == 4800000) in msm_serial_set_mnd_regs() 247 struct device *dev = port->dev; in msm_stop_dma() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-fsl-lpspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/dma-mapping.h> 22 #include <linux/dma/imx-dma.h> 34 #define FSL_LPSPI_MAX_EDMA_BYTES ((1 << 15) - 1) 110 void (*rx)(struct fsl_lpspi_data *); member 113 u8 watermark; member 143 { .compatible = "fsl,imx7ulp-spi", .data = &imx7ulp_lpspi_devtype_data,}, 144 { .compatible = "fsl,imx93-spi", .data = &imx93_lpspi_devtype_data,}, 152 unsigned int val = readl(fsl_lpspi->base + IMX7ULP_RDR); \ 154 if (fsl_lpspi->rx_buf) { \ [all …]
|
H A D | spi-sifive.c | 1 // SPDX-License-Identifier: GPL-2.0 35 #define SIFIVE_SPI_REG_RXDATA 0x4c /* Rx FIFO data */ 36 #define SIFIVE_SPI_REG_TXMARK 0x50 /* Tx FIFO watermark */ 37 #define SIFIVE_SPI_REG_RXMARK 0x54 /* Rx FIFO watermark */ 96 struct completion done; /* wake-up from interrupt */ 101 iowrite32(value, spi->regs + offset); in sifive_spi_write() 106 return ioread32(spi->regs + offset); in sifive_spi_read() 111 /* Watermark interrupts are disabled by default */ in sifive_spi_init() 114 /* Default watermark FIFO threshold values */ in sifive_spi_init() 126 /* Exit specialized memory-mapped SPI flash mode */ in sifive_spi_init() [all …]
|
H A D | spi-zynq-qspi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 #include <linux/spi/spi-mem.h> 28 #define ZYNQ_QSPI_TXD_00_00_OFFSET 0x1C /* Transmit 4-byte inst, WO */ 29 #define ZYNQ_QSPI_TXD_00_01_OFFSET 0x80 /* Transmit 1-byte inst, WO */ 30 #define ZYNQ_QSPI_TXD_00_10_OFFSET 0x84 /* Transmit 2-byte inst, WO */ 31 #define ZYNQ_QSPI_TXD_00_11_OFFSET 0x88 /* Transmit 3-byte inst, WO */ 34 #define ZYNQ_QSPI_TX_THRESH_OFFSET 0x28 /* TX FIFO Watermark Reg, RW */ 35 #define ZYNQ_QSPI_RX_THRESH_OFFSET 0x2C /* RX FIFO Watermark Reg, RW */ 57 * QSPI Configuration Register - Baud rate and slave select 72 #define ZYNQ_QSPI_IXR_RX_OVERFLOW_MASK BIT(0) /* QSPI RX FIFO Overflow */ [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 …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/toshiba/ |
H A D | spider_net.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 The Structure of the RX Ring. 20 The receive (RX) ring is a circular linked list of RX descriptors, 29 "full" and "not-in-use". An "empty" or "ready" descriptor is ready 31 and is waiting to be emptied and processed by the OS. A "not-in-use" 36 spidernet device driver) allocates a set of RX descriptors and RX 40 buffers, processing them, and re-marking them empty. 47 flowing RX traffic, every descr behind it should be marked "full", 54 descr. The OS will process this descr, and then mark it "not-in-use", 55 and advance the tail pointer. Thus, when there is flowing RX traffic, [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | serial.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/serial.c 21 #include <asm/mach-types.h> 36 offset <<= up->regshift; in omap_serial_in() 37 return (unsigned int)__raw_readb(up->membase + offset); in omap_serial_in() 43 offset <<= p->regshift; in omap_serial_outp() 44 __raw_writeb(value, p->membase + offset); in omap_serial_outp() 49 * properly. Note that the TX watermark initialization may not be needed 50 * once the 8250.c watermark handling code is merged. 56 omap_serial_outp(p, UART_OMAP_SCR, 0x08); /* TX watermark */ in omap_serial_reset() [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | hisi-ptt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 +--------------Core 0-------+ 25 | | [Root Port]---[Endpoint] 26 | | [Root Port]---[Endpoint] 27 | | [Root Port]---[Endpoint] 28 Root Complex |------Core 1-------+ 30 | | [Root Port]---[ Switch ]---[Endpoint] 31 | | [Root Port]---[Endpoint] `-[Endpoint] 32 | | [Root Port]---[Endpoint] 33 +---------------------------+ [all …]
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | envy24ht.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 39 #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) 49 #define VT1724_REG_SYS_CFG 0x04 /* byte - system configuration PCI60 on Envy24*/ 60 #define VT1724_CFG_AC97_PACKED 0x01 /* split or packed mode - AC'97 */ 65 #define VT1724_CFG_I2S_RESMASK 0x30 /* resolution mask, 16,18,20,24-bit */ 81 #define VT1724_REG_MPU_RXFIFO 0x0b /*byte ro. number of bytes in RX fifo*/ 91 #define VT1724_REG_MPU_FIFO_WM 0x0e /*byte set the high/low watermarks for RX/TX fifos*/ 92 #define VT1724_MPU_RX_FIFO 0x20 //1=rx fifo watermark 0=tx fifo watermark 106 bit3 - during reset used for Eeprom power-on strapping 114 * Professional multi-track direct control registers [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunqe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */ 45 /* The following registers are for per-qe channel information/status. */ 48 #define CREG_RXDS 0x08UL /* RX descriptor ring ptr */ 50 #define CREG_RIMASK 0x10UL /* RX Interrupt Mask */ 54 #define CREG_RXWBUFPTR 0x20UL /* Local memory rx write ptr */ 55 #define CREG_RXRBUFPTR 0x24UL /* Local memory rx read ptr */ 59 #define CREG_PIPG 0x34UL /* Inter-Frame Gap */ 74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */ 79 #define CREG_STAT_RCCOFLOW 0x00001000 /* RX Coll-counter Overflow */ [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_sai.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright 2012-2015 Freescale Semiconductor, Inc. 23 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 27 #include "imx-pcm.h" 45 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream 56 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced() 59 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced() 66 if (sai->is_pdm_mode) { in fsl_sai_get_pins_state() 69 state = pinctrl_lookup_state(sai->pinctrl, "dsd512"); in fsl_sai_get_pins_state() 73 state = pinctrl_lookup_state(sai->pinctrl, "dsd"); in fsl_sai_get_pins_state() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_fdma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * https://github.com/microchip-ung/sparx-5_reginfo 15 #include <linux/dma-mapping.h> 42 * +---------------------------+ 44 * +---------------------------+ 46 * +---------------------------+ 48 * +---------------------------+ 50 * +---------------------------+ 52 * +---------------------------+ 54 * +---------------------------+ [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | smsc95xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2007-2008 SMSC 22 /* Rx status word */ 38 /* SCSRs - System Control and Status Registers */ 54 #define INT_STS_RX_STOP_ (0x00010000) /* RX Stopped */ 59 #define INT_STS_RXDF_ (0x00000800) /* RX Dropped Frame */ 77 #define HW_CFG_RXDOFF_ (0x00000600) /* RX Data Offset */ 80 #define HW_CFG_DRP_ (0x00000040) /* Discard Errored RX Frame */ 90 #define RX_FIFO_INF_USED_ (0x0000FFFF) /* RX Data FIFO Used Space */ 133 /* Hi watermark = 15.5Kb (~10 mtu pkts) */ [all …]
|
/openbmc/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" 102 struct mutex rx_params_lock; /* protects Rx parameter settings cache */ 107 spinlock_t rx_kfifo_lock; /* protect Rx data kfifo */ 117 return state ? state->ir_state : NULL; in to_ir_state() 122 * Rx and Tx Clock Divider register computations 135 d--; in count_to_clock_divider() 265 * Pulse Clocks computations: Combined Pulse Width Count & Rx Clock Counts [all …]
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23888-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "cx23888-ir.h" 16 #include <media/v4l2-device.h> 17 #include <media/rc-core.h> 161 * Rx and Tx Clock Divider register computations 174 d--; in count_to_clock_divider() 278 * Pulse Clocks computations: Combined Pulse Width Count & Rx Clock Counts 282 * When the Rx clock divider ticks down to 0, it increments the 18 bit pulse 306 count--; in pulse_clocks_to_clock_divider() 384 if (*carrier_range_high > DIV_ROUND_CLOSEST(c16, 16 - 3)) { in control_rx_s_carrier_window() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 44 #define UART_IIR_RX_TIMEOUT 0x0c /* OMAP RX Timeout interrupt */ 60 * RX:76 = 00 01 10 11 TX:54 = 00 01 10 11 131 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 141 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 199 #define UART_TRG 0 /* FCTR bit 7 selects Rx or Tx 222 #define UART_FCTR_TRGA 0x00 /* Tx/Rx 550 trigger table select */ 223 #define UART_FCTR_TRGB 0x10 /* Tx/Rx 650 trigger table select */ 224 #define UART_FCTR_TRGC 0x20 /* Tx/Rx 654 trigger table select */ 225 #define UART_FCTR_TRGD 0x30 /* Tx/Rx 850 programmable trigger select */ [all …]
|
/openbmc/linux/include/net/page_pool/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/dma-direction.h> 14 * DMA-synced-for-device according to 17 * Please note DMA-sync-for-CPU is still 28 * The cache size and refill watermark is related to the network 29 * use-case. The NAPI budget is 64 packets. After a NAPI poll the RX 33 * Keeping room for more objects, is due to XDP_DROP use-case. As 47 * struct page_pool_params - page pool parameters 52 * @dev: device, for DMA pre-mapping purposes 75 * struct page_pool_alloc_stats - allocation statistics [all …]
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* atl2.h -- atl2 driver definitions 9 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 39 ((a)->hw_addr + (reg)))) 41 #define ATL2_WRITE_FLUSH(a) (ioread32((a)->hw_addr)) 43 #define ATL2_READ_REG(a, reg) (ioread32((a)->hw_addr + (reg))) 46 ((a)->hw_addr + (reg)))) 48 #define ATL2_READ_REGB(a, reg) (ioread8((a)->hw_addr + (reg))) 51 ((a)->hw_addr + (reg)))) 53 #define ATL2_READ_REGW(a, reg) (ioread16((a)->hw_addr + (reg))) [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qcom-geni-se.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 10 #include <linux/dma-mapping.h> 17 #include <linux/soc/qcom/geni-se.h> 31 * GENI based QUP is a highly-flexible and programmable module for supporting 41 * +-----------------------------------------+ 43 * | +----------------------------+ | 44 * --QUP & SE Clocks--> | Serial Engine N | +-IO------> 46 * <---Clock Perf.----+ +----+-----------------------+ | | 50 * <--------AHB-------> | | | | [all …]
|