Home
last modified time | relevance | path

Searched +full:cts +full:- +full:rts +full:- +full:swap (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/serial/
Dserial.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - Rob Herring <robh@kernel.org>
11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 where N is the port number (non-negative decimal integer) as printed on the
26 cts-gpios:
30 the UART's CTS line.
32 dcd-gpios:
38 dsr-gpios:
[all …]
/Linux-v5.10/include/uapi/linux/
Dserial_reg.h1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
46 #define UART_IIR_CTS_RTS_DSR 0x20 /* OMAP CTS/RTS/DSR Change */
125 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */
129 #define UART_MCR_RTS 0x02 /* RTS complement */
135 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */
151 #define UART_MSR_DCTS 0x01 /* Delta CTS */
168 #define UART_EFR_CTS 0x80 /* CTS flow control */
169 #define UART_EFR_RTS 0x40 /* RTS flow control */
210 #define UART_FCTR_RTS_NODELAY 0x00 /* RTS flow control delay */
220 #define UART_FCTR_SCR_SWAP 0x40 /* Scratch pad register swap */
[all …]
/Linux-v5.10/net/can/j1939/
Dtransport.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2010-2011 EIA Electronics,
6 // Copyright (c) 2017-2019 Pengutronix,
7 // Marc Kleine-Budde <kernel@pengutronix.de>
8 // Copyright (c) 2017-2019 Pengutronix,
13 #include "j1939-priv.h"
64 /* CTS messages received when data transfer is in progress
105 /* EDPO number of packets is greater than CTS */
140 return "CTS messages received when data transfer is in progress"; in j1939_xtp_abort_to_str()
154 return "EDPO number of packets is greater than CTS"; in j1939_xtp_abort_to_str()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath5k/
Dreg.h2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com>
28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf
30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf
33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal
42 * AR5210-Specific TXDP registers
46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */
47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */
70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */
[all …]
/Linux-v5.10/drivers/tty/
Drocket_int.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * rocket_int.h --- internal header file for rocket.c
34 * byte-swapping the I/O instructions. However, all accesses using
35 * sOutDW aren't really 32-bit accesses, but should be handled in byte
36 * order. Hence the use of the cpu_to_le32() macro to byte-swap
37 * things to no-op the byte swapping done by the big-endian outl()
93 #define CTLID_NULL -1 /* no controller exists */
97 #define AIOPID_NULL -1 /* no AIOP or channel exists */
101 Global Register Offsets - Direct Access - Fixed values
112 Channel Register Offsets for 1st channel in AIOP - Direct Access
[all …]
/Linux-v5.10/drivers/tty/serial/
Difx6x60.c1 // SPDX-License-Identifier: GPL-2.0
19 * o The driver is intended to be big-endian safe but has never been
26 #include <linux/dma-mapping.h>
60 #define IFX_SPI_HEADER_0 (-1)
61 #define IFX_SPI_HEADER_F (-2)
83 gpiod_set_value(ifx_dev->gpio.pmu_reset, 1); in ifx_modem_power_off()
103 * mrdy_set_high - set MRDY GPIO
109 gpiod_set_value(ifx->gpio.mrdy, 1); in mrdy_set_high()
113 * mrdy_set_low - clear MRDY GPIO
119 gpiod_set_value(ifx->gpio.mrdy, 0); in mrdy_set_low()
[all …]
Dqcom_geni_serial.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2017-2018, The Linux foundation. All rights reserved.
16 #include <linux/qcom-geni-se.h>
100 /* UART pin swap value */
199 struct platform_device *pdev = to_platform_device(uport->dev); in qcom_geni_serial_request_port()
202 uport->membase = devm_platform_ioremap_resource(pdev, 0); in qcom_geni_serial_request_port()
203 if (IS_ERR(uport->membase)) in qcom_geni_serial_request_port()
204 return PTR_ERR(uport->membase); in qcom_geni_serial_request_port()
205 port->se.base = uport->membase; in qcom_geni_serial_request_port()
212 uport->type = PORT_MSM; in qcom_geni_serial_config_port()
[all …]
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmain.c3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de>
50 /* n-mode support capability */
82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1)
133 /* Per-AC retry limit register definitions; uses defs.h bitfield macros */
167 #define BRCMS_PLCP_AUTO -1
172 #define BRCMS_PROTECTION_AUTO -1
199 /* MSC in use,indicates b0-6 holds an mcs */
361 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate()
363 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate()
376 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : in get_sifs()
[all …]
Dd11.h32 #define TX_AC_BE_FIFO 1 /* Best-Effort TX FIFO */
60 /* 2byte-wide pio register set per channel(xmt or rcv) */
74 /* 4byte-wide pio register set per channel(xmt or rcv) */
86 /* read: 32-bit register that can be read as 32-bit or as 2 16-bit
87 * write: only low 16b-it half can be written
108 /* Device Control ("semi-standard host registers") */
109 u32 PAD[3]; /* 0x0 - 0x8 */
119 u32 PAD[40]; /* 0x60 - 0xFC */
121 u32 intrcvlazy[4]; /* 0x100 - 0x10C */
123 u32 PAD[4]; /* 0x110 - 0x11c */
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
82 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in judge_network_type()
83 struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; in judge_network_type()
85 if (pmlmeinfo->HT_enable) in judge_network_type()
134 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in is_basicrate()
137 val = pmlmeext->basicrate[i]; in is_basicrate()
152 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in ratetbl2rateset()
155 rate = pmlmeext->datarate[i]; in ratetbl2rateset()
254 return adapter->mlmeextpriv.oper_channel; in rtw_get_oper_ch()
[all …]
/Linux-v5.10/drivers/usb/serial/
Dmos7720.c1 // SPDX-License-Identifier: GPL-2.0
14 * Greg Kroah-Hartman <gregkh@suse.de>
18 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com>
93 PPF = 2<<5, /* moschip calls this 'CB-FIFO mode */
108 atomic_t shadowDSR; /* updated in int-in callback */
197 struct usb_device *usbdev = serial->dev; in write_mos_reg()
206 dev_err(&usbdev->dev, in write_mos_reg()
219 struct usb_device *usbdev = serial->dev; in read_mos_reg()
230 return -ENOMEM; in read_mos_reg()
237 dev_err(&usbdev->dev, in read_mos_reg()
[all …]
/Linux-v5.10/drivers/net/usb/
Dhso.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * Copyright (C) 2008 Greg Kroah-Hartman <gregkh@suse.de>
31 * Interface 2: Standard modem interface - circuit switched interface, this
83 /* - use *_bit operations on it. (bit indices not values.) */
326 return hso_dev->port_data.dev_net; in dev2net()
331 return hso_dev->port_data.dev_serial; in dev2ser()
418 {default_port_device(0x0af0, 0xc031)}, /* Icon-Edge */
420 {icon321_port_device(0x0af0, 0xd031)}, /* Icon-321 */
421 {icon321_port_device(0x0af0, 0xd033)}, /* Icon-322 */
470 switch (hso_dev->port_spec & HSO_PORT_MASK) { in hso_sysfs_show_porttype()
[all …]
/Linux-v5.10/drivers/pinctrl/nomadik/
Dpinctrl-nomadik-db8500.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "pinctrl-nomadik.h"
559 /* Optional 4-bit Memory Stick interface */
831 * UART2 can be muxed out with just RX/TX in four places, CTS+RTS is however
845 /* MSP0 can swap RX/TX like MSP0 but has no SCK pin available */
/Linux-v5.10/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014 - 2017 Jes Sorensen <Jes.Sorensen@gmail.com>
8 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
40 static int rtl8xxxu_dma_agg_timeout = -1;
41 static int rtl8xxxu_dma_agg_pages = -1;
63 MODULE_PARM_DESC(dma_agg_timeout, "Set DMA aggregation timeout (range 1-127)");
65 MODULE_PARM_DESC(dma_agg_pages, "Set DMA aggregation pages (range 1-127, 0 to disable)");
651 struct usb_device *udev = priv->udev; in rtl8xxxu_read8()
655 mutex_lock(&priv->usb_buf_mutex); in rtl8xxxu_read8()
658 addr, 0, &priv->usb_buf.val8, sizeof(u8), in rtl8xxxu_read8()
[all …]
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2005 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
5 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
6 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
10 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
24 #include "fw-api.h"
26 #include "iwl-op-mode.h"
103 RS_ACTION_DOWNSCALE = -1,
136 return iwl_mvm_bt_coex_is_ant_avail(mvm, next_col->ant); in rs_ant_allow()
143 if (!sta->ht_cap.ht_supported) in rs_mimo_allow()
[all …]
/Linux-v5.10/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <linux/crc-ccitt.h>
86 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_write()
103 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_write()
111 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_read()
135 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_read()
145 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write()
151 switch (rt2x00dev->chip.rt) { in rt2800_rfcsr_write()
178 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write()
207 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_read()
[all …]