/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 …]
|
/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 31 * enum ssp_interface - interfaces allowed for this SSP Controller 48 * enum ssp_hierarchy - whether SSP is configured as Master or Slave 56 * enum ssp_clock_params - clock parameters, to set SSP clock at a 65 * enum ssp_rx_endian - endianess of Rx FIFO Data 74 * enum ssp_tx_endian - endianess of Tx FIFO Data 82 * enum ssp_data_size - number of bits in one data element 98 * enum ssp_mode - SSP mode of operation (Communication modes) [all …]
|
/linux/drivers/tty/serial/ |
H A D | msm_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 169 } rx; member 198 writel_relaxed(val, port->membase + off); in msm_write() 204 return readl_relaxed(port->membase + off); in msm_read() 216 port->uartclk = 1843200; in msm_serial_set_mnd_regs_tcxo() 228 port->uartclk = 1843200; in msm_serial_set_mnd_regs_tcxoby4() 239 if (msm_port->is_uartdm) in msm_serial_set_mnd_regs() 242 if (port->uartclk == 19200000) in msm_serial_set_mnd_regs() 244 else if (port->uartclk == 4800000) in msm_serial_set_mnd_regs() [all …]
|
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 …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | arm,pl022-peripheral-props.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/arm,pl022-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Peripheral-specific properties for Arm PL022 SPI controller 10 - Linus Walleij <linus.walleij@linaro.org> 19 - 0 # SPI 20 - 1 # Texas Instruments Synchronous Serial Frame Format 21 - 2 # Microwire (Half Duplex) 23 pl022,com-mode: [all …]
|
/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) 111 void (*rx)(struct fsl_lpspi_data *); member 114 u8 watermark; member 144 { .compatible = "fsl,imx7ulp-spi", .data = &imx7ulp_lpspi_devtype_data,}, 145 { .compatible = "fsl,imx93-spi", .data = &imx93_lpspi_devtype_data,}, 153 unsigned int val = readl(fsl_lpspi->base + IMX7ULP_RDR); \ 155 if (fsl_lpspi->rx_buf) { \ [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 /* Minimum watermark for backpressure */ 25 /* Rx Queue: maximum descriptors per ring */ 28 /* Rx buffer size: Use page size buffers. 31 * page buffers in consecutive Rx descriptors as fragments. 51 #define OCTEP_VF_MAX_MTU (10000 - (ETH_HLEN + ETH_FCS_LEN)) 56 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 57 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) 58 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 60 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) [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" 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 …]
|
/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 …]
|
/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 …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_sai.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright 2012-2015 Freescale Semiconductor, Inc. 22 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 26 #include "imx-pcm.h" 44 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream 55 int adir = (dir == TX) ? RX : TX; in fsl_sai_dir_is_synced() 58 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced() 65 if (sai->is_pdm_mode) { in fsl_sai_get_pins_state() 68 state = pinctrl_lookup_state(sai->pinctrl, "dsd512"); in fsl_sai_get_pins_state() 72 state = pinctrl_lookup_state(sai->pinctrl, "dsd"); in fsl_sai_get_pins_state() [all …]
|
/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 */ 61 * RX:76 = 00 01 10 11 TX:54 = 00 01 10 11 132 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 142 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 200 #define UART_TRG 0 /* FCTR bit 7 selects Rx or Tx 223 #define UART_FCTR_TRGA 0x00 /* Tx/Rx 550 trigger table select */ 224 #define UART_FCTR_TRGB 0x10 /* Tx/Rx 650 trigger table select */ 225 #define UART_FCTR_TRGC 0x20 /* Tx/Rx 654 trigger table select */ 226 #define UART_FCTR_TRGD 0x30 /* Tx/Rx 850 programmable trigger select */ [all …]
|
/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 23 /* Minimum watermark for backpressure */ 26 /* Rx Queue: maximum descriptors per ring */ 29 /* Rx buffer size: Use page size buffers. 32 * page buffers in consecutive Rx descriptors as fragments. 60 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 61 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) 62 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 64 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) 65 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) [all …]
|
/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 …]
|
/linux/sound/soc/tegra/ |
H A D | tegra186_asrc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra186_asrc.c - Tegra186 ASRC driver 73 regmap_write(asrc->regmap, in tegra186_asrc_lock_stream() 83 regcache_cache_only(asrc->regmap, true); in tegra186_asrc_runtime_suspend() 84 regcache_mark_dirty(asrc->regmap); in tegra186_asrc_runtime_suspend() 94 regcache_cache_only(asrc->regmap, false); in tegra186_asrc_runtime_resume() 101 regmap_write(asrc->regmap, TEGRA186_ASRC_GLOBAL_SCRATCH_ADDR, in tegra186_asrc_runtime_resume() 103 regmap_write(asrc->regmap, TEGRA186_ASRC_GLOBAL_ENB, in tegra186_asrc_runtime_resume() 106 regcache_sync(asrc->regmap); in tegra186_asrc_runtime_resume() 109 if (asrc->lane[id].ratio_source != in tegra186_asrc_runtime_resume() [all …]
|
/linux/include/net/page_pool/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/dma-direction.h> 16 * DMA-synced-for-device according to 19 * Please note DMA-sync-for-CPU is still 39 * The cache size and refill watermark is related to the network 40 * use-case. The NAPI budget is 64 packets. After a NAPI poll the RX 44 * Keeping room for more objects, is due to XDP_DROP use-case. As 58 * struct page_pool_params - page pool parameters 63 * @dev: device, for DMA pre-mapping purposes 97 * struct page_pool_alloc_stats - allocation statistics [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 /* Number of descriptors in a queue should be a multiple of 32. RX queue 66 * given RX completion queue has descriptors. This includes _ALL_ buffer 68 * you have a total of 1024 buffers so your RX queue _must_ have at least that 69 * many descriptors. This macro divides a given number of RX descriptors by 71 * can have without overrunning the RX queue. 83 #define IDPF_RX_BUFQ_WORKING_SET(rxq) ((rxq)->desc_count - 1) 87 if (unlikely(++(ntc) == (rxq)->desc_count)) { \ 95 if (unlikely(++(idx) == (q)->desc_count)) \ 117 ((((txq)->next_to_clean > (txq)->next_to_use) ? 0 : (txq)->desc_count) + \ [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define B44_BIST_STAT 0x000CUL /* Built-In Self-Test Status */ 43 #define ISTAT_RX 0x00010000 /* RX Interrupt */ 57 #define B44_RXBURST 0x00A4UL /* RX Max Burst Length */ 94 #define B44_DMARX_CTRL 0x0210UL /* DMA RX Control */ 98 #define B44_DMARX_ADDR 0x0214UL /* DMA RX Descriptor Ring Address */ 99 #define B44_DMARX_PTR 0x0218UL /* DMA RX Last Posted Descriptor */ 100 #define B44_DMARX_STAT 0x021CUL /* DMA RX Current Active Desc. + Status */ 126 #define B44_RXCONFIG 0x0400UL /* EMAC RX Config */ 136 #define B44_RXMAXLEN 0x0404UL /* EMAC RX Max Packet Length */ [all …]
|