/linux/Documentation/devicetree/bindings/serial/ |
H A D | serial.yaml | 1 # 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 28 cts-gpios: 32 the UART's CTS line. 34 dcd-gpios: 40 dsr-gpios: [all …]
|
H A D | st,stm32-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/st,stm32-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Erwan Le Ray <erwan.leray@foss.st.com> 15 - st,stm32-uart 16 - st,stm32f7-uart 17 - st,stm32h7-uart 34 st,hw-flow-ctrl: 38 rx-tx-swap: true [all …]
|
/linux/include/uapi/linux/ |
H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 46 #define UART_IIR_CTS_RTS_DSR 0x20 /* OMAP CTS/RTS/DSR Change */ 132 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 136 #define UART_MCR_RTS 0x02 /* RTS complement */ 142 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 158 #define UART_MSR_DCTS 0x01 /* Delta CTS */ 175 #define UART_EFR_CTS 0x80 /* CTS flow control */ 176 #define UART_EFR_RTS 0x40 /* RTS flow control */ 217 #define UART_FCTR_RTS_NODELAY 0x00 /* RTS flow control delay */ 227 #define UART_FCTR_SCR_SWAP 0x40 /* Scratch pad register swap */ [all …]
|
/linux/net/can/j1939/ |
H A D | transport.c | 1 // 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/drivers/net/wireless/ath/ath5k/ |
H A D | reg.h | 2 * 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/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | main.c | 3 * 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 */ 355 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate() 357 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate() 370 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : in get_sifs() [all …]
|
H A D | d11.h | 32 #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/drivers/tty/serial/ |
H A D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 26 #include <linux/dma-mapping.h> 58 #include "sh-sci.h" 60 /* Offsets into the sci_port->irqs array */ 74 ((port)->irqs[SCIx_ERI_IRQ] == \ 75 (port)->irqs[SCIx_RXI_IRQ]) || \ 76 ((port)->irqs[SCIx_ERI_IRQ] && \ [all …]
|
H A D | qcom_geni_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018, The Linux foundation. All rights reserved. 18 #include <linux/soc/qcom/geni-se.h> 24 #include <dt-bindings/interconnect/qcom,icc.h> 90 /* UART pin swap value */ 195 struct platform_device *pdev = to_platform_device(uport->dev); in qcom_geni_serial_request_port() 198 uport->membase = devm_platform_ioremap_resource(pdev, 0); in qcom_geni_serial_request_port() 199 if (IS_ERR(uport->membase)) in qcom_geni_serial_request_port() 200 return PTR_ERR(uport->membase); in qcom_geni_serial_request_port() 201 port->se.base = uport->membase; in qcom_geni_serial_request_port() [all …]
|
/linux/drivers/usb/serial/ |
H A D | mos7720.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * Greg Kroah-Hartman <gregkh@suse.de> 18 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 85 PPF = 2<<5, /* moschip calls this 'CB-FIFO mode */ 97 atomic_t shadowDSR; /* updated in int-in callback */ 186 struct usb_device *usbdev = serial->dev; in write_mos_reg() 195 dev_err(&usbdev->dev, in write_mos_reg() 208 struct usb_device *usbdev = serial->dev; in read_mos_reg() 220 return -ENOMEM; in read_mos_reg() 228 dev_err(&usbdev->dev, in read_mos_reg() [all …]
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_wlan_util.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 50 switch (psta->wireless_mode) { in networktype_to_raid_ex() 66 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex() 117 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in is_basicrate() 120 val = pmlmeext->basicrate[i]; in is_basicrate() 136 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in ratetbl2rateset() 139 rate = pmlmeext->datarate[i]; in ratetbl2rateset() 253 return adapter_to_dvobj(adapter)->oper_channel; in rtw_get_oper_ch() 266 if (dvobj->oper_channel != ch) { in rtw_set_oper_ch() [all …]
|
/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | core.c | 1 // 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. 25 static int rtl8xxxu_dma_agg_timeout = -1; 26 static int rtl8xxxu_dma_agg_pages = -1; 53 MODULE_PARM_DESC(dma_agg_timeout, "Set DMA aggregation timeout (range 1-127)"); 55 MODULE_PARM_DESC(dma_agg_pages, "Set DMA aggregation pages (range 1-127, 0 to disable)"); 616 struct usb_device *udev = priv->udev; in rtl8xxxu_read8() 620 if (priv->rtl_chip == RTL8710B && addr <= 0xff) in rtl8xxxu_read8() 623 mutex_lock(&priv->usb_buf_mutex); in rtl8xxxu_read8() [all …]
|
/linux/drivers/net/usb/ |
H A D | hso.c | 1 // 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() 417 {default_port_device(0x0af0, 0xc031)}, /* Icon-Edge */ 419 {icon321_port_device(0x0af0, 0xd031)}, /* Icon-321 */ 420 {icon321_port_device(0x0af0, 0xd033)}, /* Icon-322 */ 468 switch (hso_dev->port_spec & HSO_PORT_MASK) { in hsotype_show() [all …]
|
/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik-db8500.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/gpio/gpio-nomadik.h> 572 /* Optional 4-bit Memory Stick interface */ 844 * UART2 can be muxed out with just RX/TX in four places, CTS+RTS is however 858 /* MSP0 can swap RX/TX like MSP0 but has no SCK pin available */
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2005 - 2014, 2018 - 2023 Intel Corporation. All rights reserved. 5 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 6 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 19 #include "fw-api.h" 21 #include "iwl-op-mode.h" 98 RS_ACTION_DOWNSCALE = -1, 131 return iwl_mvm_bt_coex_is_ant_avail(mvm, next_col->ant); in rs_ant_allow() 138 if (!sta->deflink.ht_cap.ht_supported) in rs_mimo_allow() 141 if (sta->deflink.smps_mode == IEEE80211_SMPS_STATIC) in rs_mimo_allow() [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/crc-ccitt.h> 87 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 104 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_write() 112 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 136 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_bbp_read() 146 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 152 switch (rt2x00dev->chip.rt) { in rt2800_rfcsr_write() 179 mutex_unlock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_write() 228 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_read() [all …]
|