| /kernel/linux/linux-5.10/drivers/staging/iio/resolver/ |
| D | ad2s1210.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2010 Analog Devices Inc. 78 static const struct ad2s1210_gpio gpios[] = { variable 86 static const unsigned int ad2s1210_resolution_value[] = { 10, 12, 14, 16 }; 91 struct gpio_desc *gpios[5]; member 92 unsigned int fclkin; 93 unsigned int fexcit; 97 u8 rx[2] ____cacheline_aligned; member 101 static const int ad2s1210_mode_vals[4][2] = { 110 gpiod_set_value(st->gpios[AD2S1210_A0], ad2s1210_mode_vals[mode][0]); in ad2s1210_set_mode() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/ |
| D | microchip,mcp251xfd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 Microchip MCP2517FD and MCP2518FD stand-alone CAN controller device tree 12 - Marc Kleine-Budde <mkl@pengutronix.de> 17 - const: microchip,mcp2517fd 19 - const: microchip,mcp2518fd 21 - const: microchip,mcp251xfd 33 vdd-supply: 36 xceiver-supply: [all …]
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-fsl-spi.c | 23 #include <linux/dma-mapping.h> 42 #include "spi-fsl-lib.h" 43 #include "spi-fsl-cpm.h" 44 #include "spi-fsl-spi.h" 50 int type; 74 static int fsl_spi_get_type(struct device *dev) in fsl_spi_get_type() 78 if (dev->of_node) { in fsl_spi_get_type() 79 match = of_match_node(of_fsl_spi_match, dev->of_node); in fsl_spi_get_type() 80 if (match && match->data) in fsl_spi_get_type() 81 return ((struct fsl_spi_match_data *)match->data)->type; in fsl_spi_get_type() [all …]
|
| D | spi-ppc4xx.c | 44 #include <asm/dcr-regs.h> 46 /* bits in mode register - bit 0 is MSb */ 59 * SPI_PPC4XX_MODE_RD = 0 means "MSB first" - this is the normal mode 60 * SPI_PPC4XX_MODE_RD = 1 means "LSB first" - this is bit-reversed mode 108 * CDM = (OPBCLK/4*SCPClkOut) - 1 122 int irqnum; 124 unsigned int opb_freq; 127 int len; 128 int count; 131 unsigned char *rx; member [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sun7i-a20-pcduino3.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun7i-a20.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "linksprite,pcduino3", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; [all …]
|
| D | sun4i-a10-pcduino.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 68 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | sun4i-a10-pcduino.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun4i-a10.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "linksprite,a10-pcduino", "allwinner,sun4i-a10"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 68 gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; [all …]
|
| D | sun7i-a20-pcduino3.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun7i-a20.dtsi" 46 #include "sunxi-common-regulators.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 54 compatible = "linksprite,pcduino3", "allwinner,sun7i-a20"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "gpio-leds"; [all …]
|
| D | imx6qdl-udoo.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 17 stdout-path = &uart2; 21 compatible = "gpio-backlight"; 22 gpios = <&gpio1 4 0>; 23 default-on; 27 gpio-poweroff { 28 compatible = "gpio-poweroff"; 29 gpios = <&gpio2 4 0>; 30 pinctrl-0 = <&pinctrl_power_off>; 31 pinctrl-names = "default"; [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/cpm_uart/ |
| D | cpm_uart_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * (C) 2005-2006 MontaVista Software, Inc. 28 #include <linux/dma-mapping.h> 55 static int cpm_uart_tx_pump(struct uart_port *port); 67 static unsigned int cpm_uart_tx_empty(struct uart_port *port) in cpm_uart_tx_empty() 71 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 72 int ret = 0; in cpm_uart_tx_empty() 75 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() 78 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty() 85 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/ |
| D | cpm_uart_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * (C) 2005-2006 MontaVista Software, Inc. 28 #include <linux/dma-mapping.h> 50 static int cpm_uart_tx_pump(struct uart_port *port); 62 static unsigned int cpm_uart_tx_empty(struct uart_port *port) in cpm_uart_tx_empty() 66 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty() 67 int ret = 0; in cpm_uart_tx_empty() 70 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() 73 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty() 80 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | stm32-usart.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Inspired by st-asc.c from STMicroelectronics (c) 14 #include <linux/dma-direction.h> 16 #include <linux/dma-mapping.h> 35 #include "stm32-usart.h" 49 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits() 51 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits() 58 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits() 60 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits() 98 static int stm32_usart_config_rs485(struct uart_port *port, in stm32_usart_config_rs485() [all …]
|
| D | ar933x_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Atheros AR933X SoC built-in UART driver 31 #include <asm/mach-ath79/ar933x_uart.h> 35 #define DRIVER_NAME "ar933x-uart" 49 unsigned int ier; /* shadow Interrupt Enable Register */ 50 unsigned int min_baud; 51 unsigned int max_baud; 53 struct mctrl_gpios *gpios; member 57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read() 58 int offset) in ar933x_uart_read() [all …]
|
| D | mxs-auart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 11 * Copyright 2008-2010 Freescale Semiconductor, Inc. 34 #include <linux/dma-mapping.h> 126 * RW. Tell the UART to execute the RX DMA Command. The 133 * RW. RX TIMEOUT Enable. Valid for FIFO and DMA. 134 * Warning: If this bit is set to 0, the RX timeout will not affect receive DMA 140 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before 141 * asserting timeout on the RX input. If the RXFIFO is not empty and the RX 142 * input is idle, then the watchdog counter will decrement each bit-time. Note [all …]
|
| D | atmel_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 23 #include <linux/dma-mapping.h> 45 * These two offsets are substracted from the RX FIFO size to define the RTS 61 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we 70 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port 83 unsigned int dma_size; 84 unsigned int ofs; 112 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */ 114 int break_active; /* break being received */ 118 short pdc_rx_idx; /* current PDC RX buffer */ [all …]
|
| D | imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 30 #include <linux/dma-mapping.h> 33 #include <linux/platform_data/serial-imx.h> 34 #include <linux/platform_data/dma-imx.h> 125 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7) 154 #define UTS_LOOP (1<<12) /* Loop tx and rx */ 161 /* We've been assigned a range on the "Low-density serial ports" major */ 174 #define DRIVER_NAME "IMX-uart" 202 unsigned int old_status; 203 unsigned int have_rtscts:1; [all …]
|
| D | stm32-usart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define DRIVER_NAME "stm32-usart" 30 int fifosize; 219 /* RX FIFO threashold set to half of its depth */ 252 #define RX_BUF_L 200 /* dma rx buffer length */ 253 #define RX_BUF_P RX_BUF_L /* dma rx buffer period */ 260 struct dma_chan *rx_ch; /* dma rx channel */ 261 dma_addr_t rx_dma_buf; /* dma rx buffer bus address */ 262 unsigned char *rx_buf; /* dma rx buffer cpu address */ 268 int last_res; [all …]
|
| D | pic32_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Sorin-Andrei Pistirica <andrei.pistirica@microchip.com> 27 #include <asm/mach-pic32/pic32.h> 31 #define PIC32_DEV_NAME "pic32-uart" 45 static inline int pic32_enable_clock(struct pic32_sport *sport) in pic32_enable_clock() 47 int ret = clk_prepare_enable(sport->clk); in pic32_enable_clock() 52 sport->ref_clk++; in pic32_enable_clock() 58 sport->ref_clk--; in pic32_disable_clock() 59 clk_disable_unprepare(sport->clk); in pic32_disable_clock() 63 static unsigned int pic32_uart_tx_empty(struct uart_port *port) in pic32_uart_tx_empty() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | qcom,wcd9335.txt | 3 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, supports 5 the MSM8996, MSM8976, and MSM8956 chipsets. It has in-built 11 - compatible: 21 - reg 26 - interrupts 28 Value type: <prop-encoded-array> 31 - interrupt-names: 37 - reset-gpios: 42 - slim-ifc-dev: 47 - clocks: [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/ |
| D | atmel_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 #include <linux/dma-mapping.h> 47 * These two offsets are substracted from the RX FIFO size to define the RTS 67 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we 76 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port 89 unsigned int dma_size; 90 unsigned int ofs; 118 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */ 120 int break_active; /* break being received */ 124 short pdc_rx_idx; /* current PDC RX buffer */ [all …]
|
| D | mxs-auart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 11 * Copyright 2008-2010 Freescale Semiconductor, Inc. 38 #include <linux/dma-mapping.h> 130 * RW. Tell the UART to execute the RX DMA Command. The 137 * RW. RX TIMEOUT Enable. Valid for FIFO and DMA. 138 * Warning: If this bit is set to 0, the RX timeout will not affect receive DMA 144 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before 145 * asserting timeout on the RX input. If the RXFIFO is not empty and the RX 146 * input is idle, then the watchdog counter will decrement each bit-time. Note [all …]
|
| D | pic32_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Sorin-Andrei Pistirica <andrei.pistirica@microchip.com> 27 #include <asm/mach-pic32/pic32.h> 31 #define PIC32_DEV_NAME "pic32-uart" 45 static inline int pic32_enable_clock(struct pic32_sport *sport) in pic32_enable_clock() 47 int ret = clk_prepare_enable(sport->clk); in pic32_enable_clock() 52 sport->ref_clk++; in pic32_enable_clock() 58 sport->ref_clk--; in pic32_disable_clock() 59 clk_disable_unprepare(sport->clk); in pic32_disable_clock() 63 static unsigned int pic32_uart_tx_empty(struct uart_port *port) in pic32_uart_tx_empty() [all …]
|
| D | imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 32 #include <linux/dma-mapping.h> 35 #include <linux/platform_data/serial-imx.h> 36 #include <linux/platform_data/dma-imx.h> 127 #define UFCR_RFDIV_REG(x) (((x) < 7 ? 6 - (x) : 6) << 7) 156 #define UTS_LOOP (1<<12) /* Loop tx and rx */ 163 /* We've been assigned a range on the "Low-density serial ports" major */ 176 #define DRIVER_NAME "IMX-uart" 197 unsigned int old_status; 198 unsigned int have_rtscts:1; [all …]
|
| D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 30 #include <linux/dma-mapping.h> 60 #include "sh-sci.h" 62 /* Offsets into the sci_port->irqs array */ 76 ((port)->irqs[SCIx_ERI_IRQ] == \ 77 (port)->irqs[SCIx_RXI_IRQ]) || \ 78 ((port)->irqs[SCIx_ERI_IRQ] && \ [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &hyp_mem; 24 /delete-node/ &xbl_mem; 25 /delete-node/ &aop_mem; 26 /delete-node/ &sec_apps_mem; 27 /delete-node/ &tz_mem; 35 reserved-memory { [all …]
|