| /linux/drivers/hid/intel-thc-hid/intel-quicki2c/ |
| H A D | quicki2c-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/hid-over-i2c.h> 51 * and low power LTR to save CPU power. 53 * change to low power LTR mode. 72 * struct quicki2c_subip_acpi_parameter - QuickI2C ACPI DSD parameters 88 * struct quicki2c_subip_acpi_config - QuickI2C ACPI DSD parameters 89 * @SMHX: Standard Mode (100 kbit/s) Serial Clock Line HIGH Period 90 * @SMLX: Standard Mode (100 kbit/s) Serial Clock Line LOW Period 91 * @SMTD: Standard Mode (100 kbit/s) Serial Data Line Transmit Hold Period 92 * @SMRD: Standard Mode (100 kbit/s) Serial Data Receive Hold Period [all …]
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-bcm6358.txt | 4 In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller), 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: [all …]
|
| H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 17 as spi-gpio. See 20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 29 explained later in brcm,link-signal-sources). Even if a LED is hardware [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | nuvoton,sgpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jim LIU <JJLIU0@nuvoton.com> 14 information is in the NPCM7XX/8XX SERIAL I/O EXPANSION INTERFACE section. 15 Nuvoton NPCM7xx SGPIO module is combines a serial to parallel IC (HC595) 16 and a parallel to serial IC (HC165). 22 - Support interrupt option for each input port and various interrupt 23 sensitivity options (level-high, level-low, edge-high, edge-low) 24 - ngpios is number of nuvoton,input-ngpios GPIO lines and nuvoton,output-ngpios GPIO lines. [all …]
|
| /linux/drivers/atm/ |
| H A D | nicstarmac.c | 1 // SPDX-License-Identifier: GPL-2.0 27 /* Write Data To EEProm from SI line on rising edge of CLK */ 28 /* Read Data From EEProm on falling edge of CLK */ 31 #define CS_LOW 0x0000 /* Chip select low (active low) */ 33 #define CLK_LOW 0x0000 /* Clock low */ 34 #define SI_HIGH 0x0001 /* Serial input data high */ 35 #define SI_LOW 0x0000 /* Serial input data low */ 132 /* Done sending instruction - now pull data off of bit 16, MSB first */ 136 for (i = 7, j = 0; i >= 0; i--) { 173 for (i = 7; i >= 0; i--) { in read_eprom_byte() [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt7622-bananapi-bpi-r64.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 17 model = "Bananapi BPI-R64"; 18 chassis-type = "embedded"; 19 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 26 stdout-path = "serial0:115200n8"; 32 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
| /linux/include/uapi/linux/ |
| H A D | tty_flags.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 29 #define ASYNCB_LOW_LATENCY 13 /* Request low latency behaviour */ 33 #define ASYNCB_MAGIC_MULTIPLIER 16 /* Use special CLK or divisor */ 37 * Internal flags used only by kernel (read-only) 40 * TTY_PORT_ flags in the iflags field (and not userspace-visible) 43 #define ASYNCB_INITIALIZED 31 /* Serial port was initialized */ 44 #define ASYNCB_SUSPENDED 30 /* Serial port is suspended */ 47 #define ASYNCB_CLOSING 27 /* Serial port is closing */ 75 #define ASYNC_FLAGS ((1U << (ASYNCB_LAST_USER + 1)) - 1) 94 #define ASYNC_INTERNAL_FLAGS (~((1U << ASYNCB_FIRST_KERNEL) - 1))
|
| /linux/drivers/soc/fsl/qe/ |
| H A D | tsa.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <dt-bindings/soc/cpm1-fsl,tsa.h> 12 #include <dt-bindings/soc/qe-fsl,tsa.h> 14 #include <linux/clk.h> 51 * - CPM1: 32bit register split in 2*16bit (16bit TDM) 52 * - QE: 4x16bit registers, one per TDM 140 struct clk *l1rclk_clk; 141 struct clk *l1rsync_clk; 142 struct clk *l1tclk_clk; 143 struct clk *l1tsync_clk; [all …]
|
| /linux/drivers/leds/ |
| H A D | leds-bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c 59 * struct bcm6328_led - state container for bcm6328 based LEDs 66 * @active_low: LED is active low 98 * bits [31:0] -> LEDs 8-23 99 * bits [47:32] -> LEDs 0-7 100 * bits [63:48] -> unused 105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift() 107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift() 115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode() [all …]
|
| /linux/arch/m68k/atari/ |
| H A D | debug.c | 4 * Atari debugging and serial console stuff 6 * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek 31 .index = -1, 45 while (count--) { in atari_mfp_console_write() 64 while (count--) { in atari_scc_console_write() 81 while (count--) { in atari_midi_console_write() 91 /* This a some-seconds timeout in case no printer is connected */ in ata_par_out() 94 while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */ in ata_par_out() 117 while (count--) { in atari_par_console_write() 158 * SCC serial ports. They're used by the debugging interface, kgdb, and the [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btmtkuart.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Bluetooth support for MediaTek serial devices 13 #include <linux/clk.h> 59 struct clk *clk; member 60 struct clk *osc; 86 ((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 88 !((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 102 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync() 104 err = -EINVAL; in mtk_hci_wmt_sync() 110 err = -ENOMEM; in mtk_hci_wmt_sync() [all …]
|
| /linux/arch/microblaze/boot/dts/ |
| H A D | system.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2007-2008 Xilinx, Inc. 6 * (C) Copyright 2007-2009 Michal Simek 13 * XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101 16 /dts-v1/; 18 #address-cells = <1>; 19 #size-cells = <1>; 32 stdout-path = "/plb@0/serial@84000000"; 35 #address-cells = <1>; 37 #size-cells = <0>; [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | atmel_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Atmel AT91 Serial ports 7 * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. 16 #include <linux/serial.h> 17 #include <linux/clk.h> 18 #include <linux/clk-provider.h> 24 #include <linux/dma-mapping.h> 47 * high and low thresholds 62 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we 71 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port [all …]
|
| H A 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: 13 * Modified to support multiple serial ports. Stuart Menefy (May 2000). 20 #include <linux/clk.h> 26 #include <linux/dma-mapping.h> 42 #include <linux/serial.h> 59 #include "sh-sci.h" 60 #include "sh-sci-common.h" [all …]
|
| /linux/drivers/auxdisplay/ |
| H A D | panel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 5 * Copyright (C) 2016-2017 Glider bvba 10 * The LCD module may either be an HD44780-like 8-bit parallel LCD, or a 1-bit 11 * serial module compatible with Samsung's KS0074. The pins may be connected in 15 * data output pins or to the ground. The combinations have to be hard-coded 22 * - the initialization/deinitialization process is very dirty and should 26 * - document 24 keys keyboard (3 rows of 8 cols, 32 diodes + 2 inputs) 27 * - make the LCD a part of a virtual screen of Vx*Vy 28 * - make the inputs list smp-safe [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | tw9910.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 18 #include <linux/clk.h> 26 #include <linux/v4l2-mediabus.h> 30 #include <media/v4l2-subdev.h> 46 #define VDELAY_LO 0x08 /* Vertical Delay Register, Low */ 47 #define VACTIVE_LO 0x09 /* Vertical Active Register, Low */ 48 #define HDELAY_LO 0x0A /* Horizontal Delay Register, Low */ 49 #define HACTIVE_LO 0x0B /* Horizontal Active Register, Low */ 51 #define VSCALE_LO 0x0D /* Vertical Scaling Register, Low */ [all …]
|
| /linux/Documentation/driver-api/gpio/ |
| H A D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from 31 off/on, for an actual PWM waveform, see pwm-gpio below.) [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-apalis-v1.1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 16 avdd-pexa-supply = <&vdd2_reg>; 17 avdd-pexb-supply = <&vdd2_reg>; 18 avdd-pex-pll-supply = <&vdd2_reg>; 19 avdd-plle-supply = <&ldo6_reg>; 20 hvdd-pex-supply = <®_module_3v3>; 21 vddio-pex-ctl-supply = <®_module_3v3>; 22 vdd-pexa-supply = <&vdd2_reg>; 23 vdd-pexb-supply = <&vdd2_reg>; 27 nvidia,num-lanes = <4>; [all …]
|
| H A D | tegra30-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 avdd-pexa-supply = <&vdd2_reg>; 16 avdd-pexb-supply = <&vdd2_reg>; 17 avdd-pex-pll-supply = <&vdd2_reg>; 18 avdd-plle-supply = <&ldo6_reg>; 19 hvdd-pex-supply = <®_module_3v3>; 20 vddio-pex-ctl-supply = <®_module_3v3>; 21 vdd-pexa-supply = <&vdd2_reg>; 22 vdd-pexb-supply = <&vdd2_reg>; 26 nvidia,num-lanes = <4>; [all …]
|
| H A D | tegra30-lg-x3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/mfd/max77620.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-cpu-opp.dtsi" 11 #include "tegra30-cpu-opp-microvolt.dtsi" 14 chassis-type = "handset"; 30 * pre-existing /chosen node to be available to insert the [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rv1108.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/rv1108-cru.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 15 interrupt-parent = <&gic>; [all …]
|
| /linux/include/linux/ssb/ |
| H A D | ssb_driver_chipcommon.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * gpio interface, extbus, and support for serial and parallel flashes. 30 #define SSB_CHIPCO_CAP_UARTGPIO 0x00000020 /* UARTs on GPIO 15-12 */ 34 #define SSB_CHIPCO_FLASHT_STSER 0x00000100 /* ST serial flash */ 35 #define SSB_CHIPCO_FLASHT_ATSER 0x00000200 /* Atmel serial flash */ 52 #define SSB_CHIPCO_CAP_64BIT 0x08000000 /* 64-bit Backplane */ 58 #define SSB_CHIPCO_CORECTL_SE 0x00000002 /* sync clk out enable (corerev >= 3) */ 169 #define SSB_CHIPCO_SYSCLKCTL_IDLPEN 0x00000001 /* ILPen: Enable Idle Low Power */ 170 #define SSB_CHIPCO_SYSCLKCTL_ALPEN 0x00000002 /* ALPen: Enable Active Low Power */ 267 #define SSB_PMU0_PLLCTL1_WILD_IMSK 0xF0000000 /* Wild int mask (low nibble) */ [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | omap_hwmod_3xxx_data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap_hwmod_3xxx_data.c - hardware modules present on the OMAP3xxx chips 5 * Copyright (C) 2009-2011 Nokia Corporation 12 * XXX these should be marked initdata for multi-OMAP kernels 15 #include <linux/platform_data/i2c-omap.h> 17 #include <linux/platform_data/hsmmc-omap.h> 25 #include "prm-regbits-34xx.h" 26 #include "cm-regbits-34xx.h" 36 * is driver-specific or driver-kernel integration-specific belongs 286 * 32-bit watchdog upward counter that generates a pulse on the reset pin on [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | keyspan.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 Keyspan USB to Serial Converter driver 5 (C) Copyright (C) 2000-2001 Hugh Blemings <hugh@blemings.org> 6 (C) Copyright (C) 2002 Greg Kroah-Hartman <greg@kroah.com> 11 from Brian Warner's original Keyspan-PDA driver. 14 and Keyspan, Inc the manufacturers of the Keyspan USB-serial products. 38 #include <linux/usb/serial.h> 42 #define DRIVER_DESC "Keyspan USB to Serial Converter Driver" 63 static int keyspan_usa28_send_setup(struct usb_serial *serial, 66 static int keyspan_usa26_send_setup(struct usb_serial *serial, [all …]
|
| /linux/arch/powerpc/platforms/512x/ |
| H A D | clock-commonclk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/clk.h> 12 #include <linux/clk-provider.h> 21 #include <dt-bindings/clock/mpc512x-clock.h> 70 static struct clk *clks[MPC512x_CLK_LAST_PRIVATE]; 89 * interpretation, no CFM, different fourth PSC/CAN mux0 input -- yet 215 /* common clk API wrappers {{{ */ 217 /* convenience wrappers around the common clk API */ 218 static inline struct clk *mpc512x_clk_fixed(const char *name, int rate) in mpc512x_clk_fixed() 223 static inline struct clk *mpc512x_clk_factor( in mpc512x_clk_factor() [all …]
|