| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/ |
| D | 8250_omap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vignesh Raghavendra <vigneshr@ti.com> 13 - $ref: /schemas/serial/serial.yaml# 14 - $ref: /schemas/serial/rs485.yaml# 19 - enum: 20 - ti,am3352-uart 21 - ti,am4372-uart 22 - ti,am654-uart [all …]
|
| D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 13 - $ref: serial.yaml# 14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 15 - if: 17 - required: 18 - aspeed,lpc-io-reg 19 - required: 20 - aspeed,lpc-interrupts [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/ |
| D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 13 - $ref: /schemas/serial.yaml# 14 - if: 16 - aspeed,sirq-polarity-sense 20 const: aspeed,ast2500-vuart 21 - if: 24 const: mrvl,mmp-uart 27 reg-shift: [all …]
|
| /kernel/linux/linux-6.6/Documentation/scheduler/ |
| D | sched-bwc.rst | 7 The SCHED_RT case is covered in Documentation/scheduler/sched-rt-group.rst 14 microseconds of CPU time. That quota is assigned to per-cpu run queues in 22 is transferred to cpu-local "silos" on a demand basis. The amount transferred 26 ------------- 30 Traditional (UP-EDF) bandwidth control is something like: 47 does maintain stability, since every overrun must be paired with an 66 https://lore.kernel.org/lkml/5371BD36-55AE-4F71-B9D7-B86DC32E3D2B@linux.alibaba.com/ 69 ---------- 75 :ref:`Documentation/admin-guide/cgroup-v2.rst <cgroup-v2-cpu>`. 77 - cpu.cfs_quota_us: run-time replenished within a period (in microseconds) [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/serial/ |
| D | driver.rst | 10 The reference implementation is contained within amba-pl011.c. 15 -------------------------------- 25 --------------- 38 ------- 41 necessary locking using port->lock. There are some exceptions (which 44 There are two locks. A per-port spinlock, and an overall semaphore. 46 From the core driver perspective, the port->lock locks the following 49 port->mctrl 50 port->icount 51 port->state->xmit.head (circ_buf->head) [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
| D | 8250_of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 struct device_node *np = ofdev->dev.of_node; in of_platform_serial_setup() 37 struct uart_port *port = &up->port; in of_platform_serial_setup() 43 pm_runtime_enable(&ofdev->dev); in of_platform_serial_setup() 44 pm_runtime_get_sync(&ofdev->dev); in of_platform_serial_setup() 46 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup() 49 info->clk = devm_clk_get(&ofdev->dev, NULL); in of_platform_serial_setup() 50 if (IS_ERR(info->clk)) { in of_platform_serial_setup() 51 ret = PTR_ERR(info->clk); in of_platform_serial_setup() 52 if (ret != -EPROBE_DEFER) in of_platform_serial_setup() [all …]
|
| D | 8250_omap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * 8250-core based driver for the OMAP internal UART 5 * based on omap-serial.c, Copyright (C) 2010 Texas Instruments. 28 #include <linux/dma-mapping.h> 165 return readl(priv->membase + (reg << OMAP_UART_REGSHIFT)); in uart_read() 179 struct omap8250_priv *priv = up->port.private_data; in __omap8250_set_mctrl() 184 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl() 191 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in __omap8250_set_mctrl() 192 priv->efr |= UART_EFR_RTS; in __omap8250_set_mctrl() 194 priv->efr &= ~UART_EFR_RTS; in __omap8250_set_mctrl() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | 8250_of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 struct device_node *np = ofdev->dev.of_node; in of_platform_serial_setup() 37 struct uart_port *port = &up->port; in of_platform_serial_setup() 43 pm_runtime_enable(&ofdev->dev); in of_platform_serial_setup() 44 pm_runtime_get_sync(&ofdev->dev); in of_platform_serial_setup() 46 if (of_property_read_u32(np, "clock-frequency", &clk)) { in of_platform_serial_setup() 49 info->clk = devm_clk_get(&ofdev->dev, NULL); in of_platform_serial_setup() 50 if (IS_ERR(info->clk)) { in of_platform_serial_setup() 51 ret = PTR_ERR(info->clk); in of_platform_serial_setup() 52 if (ret != -EPROBE_DEFER) in of_platform_serial_setup() [all …]
|
| D | 8250_omap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * 8250-core based driver for the OMAP internal UART 5 * based on omap-serial.c, Copyright (C) 2010 Texas Instruments. 29 #include <linux/dma-mapping.h> 159 return readl(priv->membase + (reg << OMAP_UART_REGSHIFT)); in uart_read() 164 writel(val, priv->membase + (reg << OMAP_UART_REGSHIFT)); in uart_write() 174 struct omap8250_priv *priv = up->port.private_data; in __omap8250_set_mctrl() 179 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl() 186 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in __omap8250_set_mctrl() 187 priv->efr |= UART_EFR_RTS; in __omap8250_set_mctrl() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2010 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com) 40 struct device *dev = &serial->interface->dev; in usb_serial_generic_probe() 42 dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n"); in usb_serial_generic_probe() 43 dev_info(dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n"); in usb_serial_generic_probe() 51 struct device *dev = &serial->interface->dev; in usb_serial_generic_calc_num_ports() 54 num_ports = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_generic_calc_num_ports() 58 return -ENODEV; in usb_serial_generic_calc_num_ports() 72 .throttle = usb_serial_generic_throttle, [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/serial/ |
| D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2010 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com) 40 struct device *dev = &serial->interface->dev; in usb_serial_generic_probe() 42 dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n"); in usb_serial_generic_probe() 43 dev_info(dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n"); in usb_serial_generic_probe() 51 struct device *dev = &serial->interface->dev; in usb_serial_generic_calc_num_ports() 54 num_ports = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_generic_calc_num_ports() 58 return -ENODEV; in usb_serial_generic_calc_num_ports() 72 .throttle = usb_serial_generic_throttle, [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | cyclades.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 *added throttle field on struct cyclades_port to indicate whether the 57 *fold in changes for Cyclom-Z -- including structures for 63 *to support use of this file in non-kernel applications 117 /*************** CYCLOM-Z ADDITIONS ***************/ 156 * CUSTOM_REG - Cyclom-Z/PCI Custom Registers Set. The driver 176 __u32 ram_wait_state; /* RAM wait-state Register */ 177 __u32 uart_wait_state; /* UART wait-state Register */ 178 __u32 timer_wait_state; /* timer wait-state Register */ 183 * RUNTIME_9060 - PLX PCI9060ES local configuration and shared runtime [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | motorola-mapphone-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 6 #include "motorola-cpcap-mapphone.dtsi" 10 stdout-path = &uart3; 19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked, 20 * then 1023 - 1024 seems to contain mbm. 28 gpio-poweroff { 29 compatible = "gpio-poweroff"; 30 pinctrl-0 = <&poweroff_gpio>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | can.rst | 2 SocketCAN - Controller Area Network 20 .. _socketcan-motivation: 29 functionality. Usually, there is only a hardware-specific device 32 Queueing of frames and higher-level transport protocols like ISO-TP 34 character-device implementations support only one single process to 47 protocol family module and also vice-versa. Also, the protocol family 57 communicate using a specific transport protocol, e.g. ISO-TP, just 60 CAN-IDs, frames, etc. 62 Similar functionality visible from user-space could be provided by a 74 * **Abstraction:** In most existing character-device implementations, the [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | can.rst | 2 SocketCAN - Controller Area Network 20 .. _socketcan-motivation: 29 functionality. Usually, there is only a hardware-specific device 32 Queueing of frames and higher-level transport protocols like ISO-TP 34 character-device implementations support only one single process to 47 protocol family module and also vice-versa. Also, the protocol family 57 communicate using a specific transport protocol, e.g. ISO-TP, just 60 CAN-IDs, frames, etc. 62 Similar functionality visible from user-space could be provided by a 74 * **Abstraction:** In most existing character-device implementations, the [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | motorola-mapphone-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 6 #include "motorola-cpcap-mapphone.dtsi" 10 stdout-path = &uart3; 19 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked, 20 * then 1023 - 1024 seems to contain mbm. 28 gpio-poweroff { 29 compatible = "gpio-poweroff"; 30 pinctrl-0 = <&poweroff_gpio>; [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | serial_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. 38 * lockdep: port->lock is initialized in two places, but we 39 * want only one lock-class: 43 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8) 60 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled() 65 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref() 66 return state->uart_port; in uart_port_ref() 72 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref() 73 wake_up(&uport->state->remove_wait); in uart_port_deref() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | cyclades.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Copyright (C) 2007-2009 Jiri Slaby <jirislaby@gmail.com> 17 * extensively rewritten by Theodore Ts'o, 8/16/92 -- 9/14/92, 137 Cyclom-Y/ISA boards at all addresses in here. If you want the 165 /* This is the per-card data structure containing address, irq, number of 175 * are accessed via settings in info->port.flags. 226 * CD1400-based boards (rev. 6.00 or later), there is no need for special 236 /* The Cyclom-Ye has placed the sequential chips in non-sequential 237 * address order. This look-up table overcomes that problem. 284 /* The Cyclades-Z polling cycle is defined by this variable */ [all …]
|
| D | mxser.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mxser.c -- MOXA Smartio/Industio family multiport serial driver. 5 * Copyright (C) 1999-2006 Moxa Technologies (support@moxa.com). 6 * Copyright (C) 2006-2008 Jiri Slaby <jirislaby@gmail.com> 15 * - Fixed x86_64 cleanness 110 { "CI-104J series", 4, }, 113 /* 5*/ { "C102 series", 4, MXSER_HAS2 }, /* C102-ISA */ 114 { "CI-132 series", 4, MXSER_HAS2 }, 115 { "CI-134 series", 4, }, 116 { "CP-132 series", 2, }, [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
| D | aic79xx_osm.c | 6 * -------------------------------------------------------------------------- 7 * Copyright (c) 1994-2000 Justin T. Gibbs. 8 * Copyright (c) 1997-1999 Doug Ledford 9 * Copyright (c) 2000-2003 Adaptec Inc. 23 * 3. Neither the names of the above-listed copyright holders nor the names 76 * To change the default number of tagged transactions allowed per-device, 83 * Twin adapters will use indexes 0-7 for channel 0, and indexes 8-15 96 * The driver will throttle the number of commands dispatched to a 102 * depths. The driver will throttle back when the queue fulls occur and 110 * (0, 2-11, 13-15), disables tagged queueing for ID 12, and tells the [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
| D | aic79xx_osm.c | 6 * -------------------------------------------------------------------------- 7 * Copyright (c) 1994-2000 Justin T. Gibbs. 8 * Copyright (c) 1997-1999 Doug Ledford 9 * Copyright (c) 2000-2003 Adaptec Inc. 23 * 3. Neither the names of the above-listed copyright holders nor the names 76 * To change the default number of tagged transactions allowed per-device, 83 * Twin adapters will use indexes 0-7 for channel 0, and indexes 8-15 96 * The driver will throttle the number of commands dispatched to a 102 * depths. The driver will throttle back when the queue fulls occur and 110 * (0, 2-11, 13-15), disables tagged queueing for ID 12, and tells the [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/ |
| D | serial_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd. 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) 62 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled() 67 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref() 68 return state->uart_port; in uart_port_ref() 74 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref() 75 wake_up(&uport->state->remove_wait); in uart_port_deref() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/usb/ |
| D | usbnet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2000-2005 by David Brownell 5 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> 10 * kinds of full and high speed networking devices: host-to-host cables, 34 /*-------------------------------------------------------------------------*/ 37 * Nineteen USB 1.1 max size bulk transactions per frame (ms), max. 48 #define RX_QLEN(dev) ((dev)->rx_qlen) 49 #define TX_QLEN(dev) ((dev)->tx_qlen) 54 /* throttle rx/tx briefly after some faults, so hub_wq might disconnect() 62 /*-------------------------------------------------------------------------*/ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/usb/ |
| D | usbnet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2000-2005 by David Brownell 5 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com> 10 * kinds of full and high speed networking devices: host-to-host cables, 37 /*-------------------------------------------------------------------------*/ 40 * Nineteen USB 1.1 max size bulk transactions per frame (ms), max. 51 #define RX_QLEN(dev) ((dev)->rx_qlen) 52 #define TX_QLEN(dev) ((dev)->tx_qlen) 57 /* throttle rx/tx briefly after some faults, so hub_wq might disconnect() 65 /*-------------------------------------------------------------------------*/ [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/class/ |
| D | cdc-acm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * cdc-acm.c 42 #include "cdc-acm.h" 72 mutex_lock(&acm->mutex); in acm_get_by_minor() 73 if (acm->disconnected) { in acm_get_by_minor() 74 mutex_unlock(&acm->mutex); in acm_get_by_minor() 77 tty_port_get(&acm->port); in acm_get_by_minor() 78 mutex_unlock(&acm->mutex); in acm_get_by_minor() 103 idr_remove(&acm_minors, acm->minor); in acm_release_minor() 116 retval = usb_autopm_get_interface(acm->control); in acm_ctrl_msg() [all …]
|