Home
last modified time | relevance | path

Searched +full:serial +full:- +full:state (Results 1 – 25 of 1041) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/Documentation/driver-api/serial/
Ddriver.rst2 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 identifing
38 -------
[all …]
/kernel/linux/linux-5.10/net/rxrpc/
Dconn_event.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* connection-level event handling
17 #include "ar-internal.h"
40 u32 serial, mtu, call_id, padding; in rxrpc_conn_retransmit_call() local
42 _enter("%d", conn->debug_id); in rxrpc_conn_retransmit_call()
44 if (sp && sp->hdr.type == RXRPC_PACKET_TYPE_ACK) { in rxrpc_conn_retransmit_call()
52 chan = &conn->channels[channel]; in rxrpc_conn_retransmit_call()
57 call_id = READ_ONCE(chan->last_call); in rxrpc_conn_retransmit_call()
60 if (skb && call_id != sp->hdr.callNumber) in rxrpc_conn_retransmit_call()
63 msg.msg_name = &conn->params.peer->srx.transport; in rxrpc_conn_retransmit_call()
[all …]
Dinput.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include "ar-internal.h"
29 if (rxrpc_abort_call(why, call, seq, RX_PROTOCOL_ERROR, -EBADMSG)) { in rxrpc_proto_abort()
30 set_bit(RXRPC_CALL_EV_ABORT, &call->events); in rxrpc_proto_abort()
36 * Do TCP-style congestion management [RFC 5681].
44 unsigned int cumulative_acks = call->cong_cumul_acks; in rxrpc_congestion_management()
45 unsigned int cwnd = call->cong_cwnd; in rxrpc_congestion_management()
48 summary->flight_size = in rxrpc_congestion_management()
49 (call->tx_top - call->tx_hard_ack) - summary->nr_acks; in rxrpc_congestion_management()
51 if (test_and_clear_bit(RXRPC_CALL_RETRANS_TIMEOUT, &call->flags)) { in rxrpc_congestion_management()
[all …]
Drecvmsg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include "ar-internal.h"
28 _enter("%d", call->debug_id); in rxrpc_notify_socket()
30 if (!list_empty(&call->recvmsg_link)) in rxrpc_notify_socket()
35 rx = rcu_dereference(call->socket); in rxrpc_notify_socket()
36 sk = &rx->sk; in rxrpc_notify_socket()
37 if (rx && sk->sk_state < RXRPC_CLOSE) { in rxrpc_notify_socket()
38 if (call->notify_rx) { in rxrpc_notify_socket()
39 spin_lock_bh(&call->notify_lock); in rxrpc_notify_socket()
40 call->notify_rx(sk, call, call->user_call_ID); in rxrpc_notify_socket()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Damiserial.c1 // 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.
37 #define DBG_CNT(s) printk("(%s): [%x] refc=%d, serc=%d, ttyc=%d -> %s\n", \
38 tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s)
44 * End of serial driver configuration section.
50 #include <linux/serial.h>
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-falcon.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/spi/
Dspi-falcon.c1 // 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-bcm6328.txt5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164
7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or
9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
18 explained later in brcm,link-signal-sources). Even if a LED is hardware
24 - compatible : should be "brcm,bcm6328-leds".
25 - #address-cells : must be 1.
26 - #size-cells : must be 0.
27 - reg : BCM6328 LED controller address and size.
30 - brcm,serial-leds : Boolean, enables Serial LEDs.
[all …]
/kernel/linux/linux-6.6/drivers/tty/
Damiserial.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dmxuport.c1 // 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 …]
Dpl2303.c1 // SPDX-License-Identifier: GPL-2.0
3 * Prolific PL2303 USB to serial adaptor driver
5 * Copyright (C) 2001-2007 Greg Kroah-Hartman (greg@kroah.com)
10 * See Documentation/usb/usb-serial.rst for more information on using this
20 #include <linux/serial.h>
26 #include <linux/usb/serial.h>
220 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read() argument
223 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_read()
224 struct device *dev = &serial->interface->dev; in pl2303_vendor_read()
228 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_read()
[all …]
Dbelkin_sa.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/usb/serial/
Dmxuport.c1 // 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 …]
Dcp210x.c1 // SPDX-License-Identifier: GPL-2.0
3 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver
6 * Copyright (C) 2010-2021 Johan Hovold (johan@kernel.org)
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 …]
Dbelkin_sa.h1 /* 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Dleds-bcm6328.yaml1 # 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 …]
/kernel/linux/linux-6.6/net/rxrpc/
Dconn_event.c1 // 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(&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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dpl011.yaml1 # 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 <robh@kernel.org>
13 - $ref: /schemas/serial.yaml#
21 - arm,pl011
22 - zte,zx296702-uart
24 - compatible
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/
Dpl011.yaml1 # 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 <robh@kernel.org>
13 - $ref: /schemas/arm/primecell.yaml#
14 - $ref: serial.yaml#
22 - arm,pl011
24 - compatible
[all …]
/kernel/linux/linux-5.10/drivers/staging/fwserial/
Dfwserial.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include <linux/firewire-constants.h>
15 #include <linux/serial.h>
54 * @serial: back pointer to associated fw_serial aggregate
55 * @guid: unique 64-bit guid for this unit device
61 * @fifo_addr: bus addr region to write serial output to
65 * @lock: spinlock to synchonize changes to state & port fields
70 * @timer: timer for resetting peer state if remote request times out
71 * @state: current state
72 * @connect: work item for auto-connecting
[all …]
Dfwserial.c1 // SPDX-License-Identifier: GPL-2.0+
3 * FireWire Serial driver
32 /* - doubles as loopback port index */
42 * - should be equal to WAKEUP_CHARS in drivers/tty/n_tty.c because
67 #define loop_idx(port) (((port)->index) / num_ports)
95 #define to_device(a, b) (a->b)
113 spin_lock_bh(&port->lock); in debug_short_write()
114 avail = dma_fifo_avail(&port->tx_fifo); in debug_short_write()
115 spin_unlock_bh(&port->lock); in debug_short_write()
131 spin_lock_bh(&port->lock); in fwtty_profile_fifo()
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/serial/
Ddriver.rst2 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 …]
/kernel/linux/linux-6.6/drivers/parisc/
DKconfig1 # 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 …]
/kernel/linux/linux-5.10/drivers/parisc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 The VSC, GSC and HSC busses were used from the earliest 700-series
11 were also used in servers from the E-class to the K-class. They
16 bool "HP-PB bus support"
19 The HP-PB bus was used in the Nova class and K-class servers.
27 generation of PA-RISC cache-coherent machines. Programs the
35 many PA-RISC workstations & servers. It includes interfaces
36 for a parallel port, serial port, NCR 53c710 SCSI, Apricot
47 715/100. Wax includes an EISA adapter, a serial port (not always
66 Note that Dino also supplies one of the serial ports on certain
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
DKconfig1 # 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
43 be called qcom-cpr
46 tristate "QCOM GENI Serial Engine Driver"
51 driver is also used to manage the common aspects of multiple Serial
55 tristate "QCOM General Serial Bus Interface"
60 functions for connecting the underlying serial UART, SPI, and I2C
106 purpose of exchanging sector-data between the remote filesystem
[all …]

12345678910>>...42