Home
last modified time | relevance | path

Searched +full:overrun +full:- +full:throttle +full:- +full:ms (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/serial/
D8250.yaml3 ---
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 …]
/Linux-v5.10/Documentation/driver-api/serial/
Ddriver.rst10 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 …]
/Linux-v5.10/drivers/tty/serial/8250/
D8250_of.c1 // 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 …]
D8250_port.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Base port operations for 8250/16550-type serial ports
255 * tx_loadsz is set to 63-bytes instead of 64-bytes to implement
256 * workaround of errata A-008006 which states that tx_loadsz should
268 .name = "Palmchip BK-3103",
335 -1, /* UART_SCR (unmapped) */
344 -1, /* UART_LSR (unmapped) */
345 -1, /* UART_MSR (unmapped) */
346 -1, /* UART_SCR (unmapped) */
356 return __raw_readl(p->membase + (offset << p->regshift)); in au_serial_in()
[all …]
/Linux-v5.10/drivers/usb/serial/
Dgeneric.c1 // 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 …]
Dftdi_sio.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2009 - 2013
7 * Copyright (C) 1999 - 2001
8 * Greg Kroah-Hartman (greg@kroah.com)
13 * See Documentation/usb/usb-serial.rst for more information on using this
16 * See http://ftdi-usb-sio.sourceforge.net for up to date testing info
24 /* Bill Ryder - bryder@sgi.com - wrote the FTDI_SIO implementation */
28 assimilated :-) */
47 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober …
58 u16 last_set_data_value; /* the last data state set - needed for doing
[all …]
/Linux-v5.10/include/uapi/linux/
Dcyclades.h1 /* 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 …]
/Linux-v5.10/Documentation/networking/
Dcan.rst2 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 …]
/Linux-v5.10/drivers/tty/
Dcyclades.c1 // 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 …]
Dmxser.c1 // 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 …]
Dsynclink.c1 // SPDX-License-Identifier: GPL-1.0+
96 #include <linux/dma-mapping.h>
105 #define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0
107 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0
136 u32 phys_addr; /* 32-bit flat physical address of data buffer */
141 u32 link; /* 32-bit flat link to next buffer entry */
392 #define RDMR 0x82 /* Receive DMA mode Register (non-shared) */
553 #define usc_UnlatchTxstatusBits(a,b) usc_OutReg( (a), TCSR, (u16)((a)->tcsr_value + ((b) & 0x00FF))…
673 #define usc_TCmd(a,b) usc_OutReg((a), TCSR, (u16)((a)->tcsr_value + (b)))
713 #define dev_to_port(D) (dev_to_hdlc(D)->priv)
[all …]
/Linux-v5.10/drivers/scsi/aic7xxx/
Daic79xx_osm.c6 * --------------------------------------------------------------------------
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 …]
/Linux-v5.10/drivers/net/usb/
Dusbnet.c1 // 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 …]
/Linux-v5.10/drivers/usb/class/
Dcdc-acm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * cdc-acm.c
41 #include "cdc-acm.h"
71 mutex_lock(&acm->mutex); in acm_get_by_minor()
72 if (acm->disconnected) { in acm_get_by_minor()
73 mutex_unlock(&acm->mutex); in acm_get_by_minor()
76 tty_port_get(&acm->port); in acm_get_by_minor()
77 mutex_unlock(&acm->mutex); in acm_get_by_minor()
102 idr_remove(&acm_minors, acm->minor); in acm_release_minor()
115 retval = usb_autopm_get_interface(acm->control); in acm_ctrl_msg()
[all …]
/Linux-v5.10/drivers/usb/host/
Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 #include <linux/io-64-nonatomic-lo-hi.h>
21 /* Code sharing between pci-quirks and xhci hcd */
22 #include "xhci-ext-caps.h"
23 #include "pci-quirks.h"
28 /* Max number of USB devices for any host controller - limit in section 6.1 */
30 /* Section 5.3.3 - MaxPorts */
40 * struct xhci_cap_regs - xHCI Host Controller Capability Registers.
42 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1
43 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2
[all …]
Dfotg210-hcd.c1 // SPDX-License-Identifier: GPL-2.0+
2 /* Faraday FOTG210 EHCI-like driver
6 * Author: Yuan-Hsin Chen <yhchen@faraday-tech.com>
7 * Feng-Hsin Chiang <john453@faraday-tech.com>
8 * Po-Yu Chuang <ratbert.chuang@gmail.com>
10 * Most of code borrowed from the Linux-3.7 EHCI driver
29 #include <linux/dma-mapping.h>
42 #define DRIVER_AUTHOR "Yuan-Hsin Chen"
50 #define FOTG210_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */
51 #define FOTG210_TUNE_RL_HS 4 /* nak throttle; see 4.9 */
[all …]
Doxu210hp-hcd.c1 // SPDX-License-Identifier: GPL-2.0+
6 * This code is *strongly* based on EHCI-HCD code by David Brownell since
7 * the chip is a quasi-EHCI compatible.
25 #include <linux/dma-mapping.h>
82 #define EHCI_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */
83 #define EHCI_TUNE_RL_HS 4 /* nak throttle; see 4.9 */
85 #define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
101 u32 hcs_params; /* HCSPARAMS - offset 0x4 */
110 u32 hcc_params; /* HCCPARAMS - offset 0x8 */
116 #define HCC_64BIT_ADDR(p) ((p)&(1)) /* true: can use 64-bit addr */
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
297 #define E1000_MNG_DHCP_COMMAND_TIMEOUT 10 /* Time in ms to process MNG command */
425 /* MAC decode size is 128K - This is the size of BAR0 */
446 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE)
489 * E1000_RAR_ENTRIES - 1 multicast addresses.
506 /* Receive Descriptor - Extended */
532 /* Receive Descriptor - Packet Split */
556 __le16 length[3]; /* length of buffers 1-3 */
570 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */
[all …]
/Linux-v5.10/drivers/tty/serial/
Domap-serial.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for OMAP-UART controller.
16 * this driver as required for the omap-platform.
37 #include <linux/platform_data/serial-omap.h>
78 #define OMAP_UART_DMA_CH_FREE -1
173 offset <<= up->port.regshift; in serial_in()
174 return readw(up->port.membase + offset); in serial_in()
179 offset <<= up->port.regshift; in serial_out()
180 writew(value, up->port.membase + offset); in serial_out()
194 struct omap_uart_port_info *pdata = dev_get_platdata(up->dev); in serial_omap_get_context_loss_count()
[all …]
/Linux-v5.10/kernel/sched/
Dfair.c1 // SPDX-License-Identifier: GPL-2.0
26 * Targeted preemption latency for CPU-bound tasks:
29 * 'timeslice length' - timeslices in CFS are of variable length
30 * and have no persistent notion like in traditional, time-slice
34 * run vmstat and monitor the context-switches (cs) field)
36 * (default: 6ms * (1 + ilog(ncpus)), units: nanoseconds)
42 * The initial- and re-scaling of tunables is configurable
46 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
47 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus)
48 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Datomisp_cmd.c1 // SPDX-License-Identifier: GPL-2.0
32 #include <media/v4l2-event.h>
33 #include <media/videobuf-vmalloc.h>
43 #include "atomisp-regs.h"
67 * At 15fps this means 133ms. We set the timeout a bit longer.
71 #define FLASH_TIMEOUT 800 /* ms */
85 * get sensor:dis71430/ov2720 related info from v4l2_subdev->priv data field.
86 * subdev->priv is set in mrst.c
114 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_fps()
119 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_get_sensor_fps()
[all …]