/linux-6.14.4/drivers/hid/intel-thc-hid/intel-quicki2c/ |
D | quicki2c-dev.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/hid-over-i2c.h> 62 * struct quicki2c_subip_acpi_parameter - QuickI2C ACPI DSD parameters 77 * struct quicki2c_subip_acpi_config - QuickI2C ACPI DSD parameters 78 * @SMHX: Standard Mode (100 kbit/s) Serial Clock Line HIGH Period 79 * @SMLX: Standard Mode (100 kbit/s) Serial Clock Line LOW Period 80 * @SMTD: Standard Mode (100 kbit/s) Serial Data Line Transmit Hold Period 81 * @SMRD: Standard Mode (100 kbit/s) Serial Data Receive Hold Period 82 * @FMHX: Fast Mode (400 kbit/s) Serial Clock Line HIGH Period 83 * @FMLX: Fast Mode (400 kbit/s) Serial Clock Line LOW Period [all …]
|
/linux-6.14.4/drivers/spi/ |
D | spi-falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #define DRV_NAME "sflash-falcon" 26 /* Serial Flash Configuration Register */ 28 /* Serial Flash Time Register */ 30 /* Serial Flash Status Register */ 32 /* Serial Flash Command Register */ 34 /* Serial Flash Address Register */ 36 /* Serial Flash Data Register */ 38 /* Serial Flash I/O Control Register */ 52 /* SCK Rise-edge Position */ [all …]
|
/linux-6.14.4/drivers/tty/ |
D | amiserial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Serial driver for the amiga builtin port. 5 * This code was created by taking serial.c version 4.30 from kernel 9 * associated with the registers and bits of 16550 compatible UARTS - 10 * but only to keep track of status, etc in the state variables. It 12 * (non hardware specific) changes to serial.c. 33 * End of serial driver configuration section. 52 #include <linux/serial.h> 103 /* some serial hardware definitions */ 126 * ------------------------------------------------------------ [all …]
|
/linux-6.14.4/drivers/usb/serial/ |
D | mxuport.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mxuport.c - MOXA UPort series driver 8 * Supports the following Moxa USB to serial converters: 11 * 8 ports : UPort 1610-8, UPort 1650-8 12 * 16 ports : UPort 1610-16, UPort 1650-16 19 #include <linux/serial.h> 27 #include <linux/usb/serial.h> 72 #define RQ_VENDOR_SET_HIGH_PERFOR 0x11 /* Set hi-performance */ 90 #define RQ_VENDOR_GET_ROM_PROC 0x83 /* Get ROM process state */ 105 /* Definitions for serial event type */ [all …]
|
D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 6 * Copyright (C) 2010-2021 Johan Hovold ([email protected]) 10 * control thanks to Munir Nassar nassarmu@real-time.com 21 #include <linux/usb/serial.h> 26 #define DRIVER_DESC "Silicon Labs CP210x RS232 serial adaptor driver" 55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ [all …]
|
D | belkin_sa.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for Belkin USB Serial Adapter Driver 8 * This program is largely derived from work by the linux-usb group 9 * and associated source files. Please see the usb/serial files for 12 * See Documentation/usb/usb-serial.rst for more information on using this 15 * 12-Mar-2001 gkh 16 * Added GoHubs GO-COM232 device id. 18 * 06-Nov-2000 gkh 21 * 12-Oct-2000 William Greathouse 22 * First cut at supporting Belkin USB Serial Adapter F5U103 [all …]
|
D | pl2303.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Prolific PL2303 USB to serial adaptor driver 5 * Copyright (C) 2001-2007 Greg Kroah-Hartman ([email protected]) 10 * See Documentation/usb/usb-serial.rst for more information on using this 20 #include <linux/serial.h> 26 #include <linux/usb/serial.h> 244 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read() argument 247 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_read() 248 struct device *dev = &serial->interface->dev; in pl2303_vendor_read() 252 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_read() [all …]
|
D | kl5kusb105.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2001 Utz-Uwe Haus <[email protected]> 10 * It was written out of frustration with the PalmConnect USB Serial adapter 15 * It seems that KLSI bought some silicon-design information from ScanLogic, 21 * on the protocol used (or find errors in my reverse-engineered stuff), please 25 * are adventurous, try it with any KLSI-based device and let me know how it 44 #include <linux/usb/serial.h> 47 #define DRIVER_AUTHOR "Utz-Uwe Haus <[email protected]>, Johan Hovold <[email protected]>" 48 #define DRIVER_DESC "KLSI KL5KUSB105 chipset USB->Serial Converter driver" 127 rc = usb_control_msg_send(port->serial->dev, in klsi_105_chg_port_settings() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/ |
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 <[email protected]> 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-6.14.4/net/rxrpc/ |
D | conn_event.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* connection-level event handling 17 #include "ar-internal.h" 20 * Set the completion state on an aborted connection. 28 if (conn->state != RXRPC_CONN_ABORTED) { in rxrpc_set_conn_aborted() 29 spin_lock_irq(&conn->state_lock); in rxrpc_set_conn_aborted() 30 if (conn->state != RXRPC_CONN_ABORTED) { in rxrpc_set_conn_aborted() 31 conn->abort_code = abort_code; in rxrpc_set_conn_aborted() 32 conn->error = err; in rxrpc_set_conn_aborted() 33 conn->completion = compl; in rxrpc_set_conn_aborted() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/serial/ |
D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/serial/pl011.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM AMBA Primecell PL011 serial UART 10 - Rob Herring <[email protected]> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: serial.yaml# 22 - arm,pl011 24 - compatible [all …]
|
/linux-6.14.4/Documentation/driver-api/serial/ |
D | driver.rst | 2 Low Level Serial API 6 This document is meant as a brief overview of some aspects of the new serial 10 The reference implementation is contained within amba-pl011.c. 14 Low Level Serial Hardware Driver 15 -------------------------------- 17 The low level serial hardware driver is responsible for supplying port 19 by uart_ops) to the core serial driver. The low level driver is also 25 --------------- 27 The serial core provides a few helper functions. This includes identifying 38 ------- [all …]
|
/linux-6.14.4/arch/powerpc/ |
D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Don't build arch/powerpc code with -Werror" 7 arch/powerpc with the -Werror flag (which means warnings 47 emulated by the in-kernel emulator. Counters for the various classes 51 powerpc/emulated_instructions/do_warn in debugfs), rate-limited 56 bool "Run self-tests of the code-patching code" 78 bool "Run self-tests of the feature-fixup code" 82 bool "Run self-tests of the MSI bitmap code" 87 prompt "Enable Guest State Buffer unit tests" 92 The Guest State Buffer is a data format specified in the PAPR. [all …]
|
/linux-6.14.4/drivers/parisc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 The VSC, GSC and HSC busses were used from the earliest 700-series 12 were also used in servers from the E-class to the K-class. They 17 bool "HP-PB bus support" 20 The HP-PB bus was used in the Nova class and K-class servers. 28 generation of PA-RISC cache-coherent machines. Programs the 36 many PA-RISC workstations & servers. It includes interfaces 37 for a parallel port, serial port, NCR 53c710 SCSI, Apricot 48 715/100. Wax includes an EISA adapter, a serial port (not always 67 Note that Dino also supplies one of the serial ports on certain [all …]
|
/linux-6.14.4/drivers/iio/chemical/ |
D | sps30_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Sensirion SPS30 particulate matter sensor serial driver 51 static int sps30_serial_xfer(struct sps30_state *state, const unsigned char *buf, size_t size) in sps30_serial_xfer() argument 53 struct serdev_device *serdev = to_serdev_device(state->dev); in sps30_serial_xfer() 54 struct sps30_serial_priv *priv = state->priv; in sps30_serial_xfer() 57 priv->num = 0; in sps30_serial_xfer() 58 priv->escaped = false; in sps30_serial_xfer() 59 priv->done = false; in sps30_serial_xfer() 65 return -EIO; in sps30_serial_xfer() 67 ret = wait_for_completion_interruptible_timeout(&priv->new_frame, SPS30_SERIAL_TIMEOUT); in sps30_serial_xfer() [all …]
|
D | scd30_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Sensirion SCD30 carbon dioxide sensor serial driver 55 static int scd30_serdev_xfer(struct scd30_state *state, char *txbuf, int txsize, in scd30_serdev_xfer() argument 58 struct serdev_device *serdev = to_serdev_device(state->dev); in scd30_serdev_xfer() 59 struct scd30_serdev_priv *priv = state->priv; in scd30_serdev_xfer() 62 priv->buf = rxbuf; in scd30_serdev_xfer() 63 priv->num_expected = rxsize; in scd30_serdev_xfer() 64 priv->num = 0; in scd30_serdev_xfer() 70 return -EIO; in scd30_serdev_xfer() 72 ret = wait_for_completion_interruptible_timeout(&priv->meas_ready, SCD30_SERDEV_TIMEOUT); in scd30_serdev_xfer() [all …]
|
/linux-6.14.4/drivers/iio/imu/bno055/ |
D | bno055_ser_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Serial line interface for Bosh BNO055 IMU (via serdev). 4 * This file implements serial communication up to the register read/write 7 * Copyright (C) 2021-2022 Istituto Italiano di Tecnologia 33 * +------+------+-----+-----+----- ... ----+ 35 * +------+------+-----+-----+----- ... ----+ 38 * +------+----------+ 40 * +------+----------+ 45 * sw resets - bno055 on serial bus basically requires the hw reset pin). 48 * +------+------+-----+-----+ [all …]
|
/linux-6.14.4/arch/arm/include/asm/hardware/ |
D | sa1111.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This file contains definitions for the SA-1111 Companion Chip. 8 * (Structure and naming borrowed from SA-1101.h, by Peter Danielsson.) 10 * Macro that calculates real address for registers in the SA-1111 50 * - The October 1999 errata (278260-007) says its bit 13, 1 to enable. 51 * - The Feb 2001 errata (278260-010) says that the previous errata 52 * (278260-009) is wrong, and its bit actually 12, fixed in spec 53 * 278242-003. 54 * - The SA1111 manual (278242) says bit 12, but 0 to enable. 55 * - Reality is bit 13, 1 to enable. [all …]
|
/linux-6.14.4/drivers/tty/serial/ |
D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 ** serial driver for the Mux console found in some PA-RISC servers. 7 ** (c) Copyright 2002 Hewlett-Packard Company 18 #include <linux/serial.h> 26 #include <asm/parisc-device.h> 63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) 64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET) 67 * get_mux_port_count - Get the number of available ports on the Mux. 82 /* If this is the built-in Mux for the K-Class (Eole CAP/MUX), in get_mux_port_count() 86 if(dev->id.hversion == 0x15) in get_mux_port_count() [all …]
|
D | serial_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver core for serial ports 5 * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. 8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. 24 #include <linux/serial.h> /* for serial_state and serial_icounter_struct */ 38 * This is used to lock changes in serial line configuration. 43 * lockdep: port->lock is initialized in two places, but we 44 * want only one lock-class: 48 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) 55 static void uart_change_pm(struct uart_state *state, [all …]
|
/linux-6.14.4/drivers/soc/qcom/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 25 resources. Platform drivers that require to set state of a shared 26 resource on a RPM-hardened platform must use this database to get 30 tristate "QCOM GENI Serial Engine Driver" 35 driver is also used to manage the common aspects of multiple Serial 39 tristate "QCOM General Serial Bus Interface" 44 functions for connecting the underlying serial UART, SPI, and I2C 84 and instances handled by the remote DSPs. This is a kernel-space 124 Say yes here to support USB-C and battery status on modern Qualcomm [all …]
|
/linux-6.14.4/security/keys/ |
D | proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 51 p = proc_create_seq("key-users", 0, NULL, &proc_key_users_ops); in key_proc_init() 53 panic("Cannot create /proc/key-users\n"); in key_proc_init() 71 if (kuid_has_mapping(user_ns, key->user->uid)) in key_serial_next() 86 if (id < key->serial) { in find_ge_key() 87 if (!minkey || minkey->serial > key->serial) in find_ge_key() 89 n = n->rb_left; in find_ge_key() 90 } else if (id > key->serial) { in find_ge_key() 91 n = n->rb_right; in find_ge_key() 103 if (kuid_has_mapping(user_ns, minkey->user->uid)) in find_ge_key() [all …]
|
/linux-6.14.4/include/linux/ |
D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 ((port)->cons && (port)->cons->index == (port)->line) 37 * struct uart_ops -- interface between serial_core and the driver 55 * This function sets the modem control lines for @port to the state 58 * - %TIOCM_RTS RTS signal. 59 * - %TIOCM_DTR DTR signal. 60 * - %TIOCM_OUT1 OUT1 signal. 61 * - %TIOCM_OUT2 OUT2 signal. 62 * - %TIOCM_LOOP Set the port into loopback mode. 68 * Locking: @port->lock taken. [all …]
|
/linux-6.14.4/arch/arm/boot/dts/microchip/ |
D | at91-vinco.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * 2015 Gregory CLEMENT <gregory.clement@free-electrons.com> 9 /dts-v1/; 17 stdout-path = "serial0:115200n8"; 26 clock-frequency = <32768>; 30 clock-frequency = <12000000>; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 46 vqmmc-supply = <&vcc_3v3_reg>; 47 vmmc-supply = <&vcc_3v3_reg>; [all …]
|
/linux-6.14.4/drivers/platform/surface/ |
D | surface3_power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2016-2018 Red Hat, Inc 6 * (C) Copyright 2016-2018 Benjamin Tissoires <[email protected]> 9 * This driver has been reverse-engineered by parsing the DSDT of the Surface 3 13 * - the driver is required for the ACPI BAT0 device to communicate to the chip 15 * - the various defines for the operation region functions to communicate with 17 * - the DSM 3f99e367-6220-4955-8b0f-06ef2ae79412 allows to trigger ACPI 21 * - there are 2 chips declared: 24 * - the battery chip uses a SMBus protocol (using plain SMBus allows non 84 char serial[SURFACE_3_STRLEN]; member [all …]
|