| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/ |
| 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 26 cts-gpios: 30 the UART's CTS line. 32 dcd-gpios: 38 dsr-gpios: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| 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 */ 126 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 130 #define UART_MCR_RTS 0x02 /* RTS complement */ 136 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 152 #define UART_MSR_DCTS 0x01 /* Delta CTS */ 169 #define UART_EFR_CTS 0x80 /* CTS flow control */ 170 #define UART_EFR_RTS 0x40 /* RTS flow control */ 211 #define UART_FCTR_RTS_NODELAY 0x00 /* RTS flow control delay */ 221 #define UART_FCTR_SCR_SWAP 0x40 /* Scratch pad register swap */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| 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 */ 131 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 135 #define UART_MCR_RTS 0x02 /* RTS complement */ 141 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 157 #define UART_MSR_DCTS 0x01 /* Delta CTS */ 174 #define UART_EFR_CTS 0x80 /* CTS flow control */ 175 #define UART_EFR_RTS 0x40 /* RTS flow control */ 216 #define UART_FCTR_RTS_NODELAY 0x00 /* RTS flow control delay */ 226 #define UART_FCTR_SCR_SWAP 0x40 /* Scratch pad register swap */ [all …]
|
| /kernel/linux/linux-6.6/net/can/j1939/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/can/j1939/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | rocket_int.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | ifx6x60.c | 1 // 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 …]
|
| 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 …]
|
| D | qcom_geni_serial.c | 1 // 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 */ 200 struct platform_device *pdev = to_platform_device(uport->dev); in qcom_geni_serial_request_port() 203 uport->membase = devm_platform_ioremap_resource(pdev, 0); in qcom_geni_serial_request_port() 204 if (IS_ERR(uport->membase)) in qcom_geni_serial_request_port() 205 return PTR_ERR(uport->membase); in qcom_geni_serial_request_port() 206 port->se.base = uport->membase; in qcom_geni_serial_request_port() 213 uport->type = PORT_MSM; in qcom_geni_serial_config_port() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| 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 */ 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| 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 */ 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 …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/ |
| 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 …]
|
| D | stm32-usart.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Inspired by st-asc.c from STMicroelectronics (c) 15 #include <linux/dma-direction.h> 17 #include <linux/dma-mapping.h> 36 #include "stm32-usart.h" 120 val = readl_relaxed(port->membase + reg); in stm32_usart_set_bits() 122 writel_relaxed(val, port->membase + reg); in stm32_usart_set_bits() 129 val = readl_relaxed(port->membase + reg); in stm32_usart_clr_bits() 131 writel_relaxed(val, port->membase + reg); in stm32_usart_clr_bits() 137 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() [all …]
|
| 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 */ 190 struct platform_device *pdev = to_platform_device(uport->dev); in qcom_geni_serial_request_port() 193 uport->membase = devm_platform_ioremap_resource(pdev, 0); in qcom_geni_serial_request_port() 194 if (IS_ERR(uport->membase)) in qcom_geni_serial_request_port() 195 return PTR_ERR(uport->membase); in qcom_geni_serial_request_port() 196 port->se.base = uport->membase; in qcom_geni_serial_request_port() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/serial/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
| D | rtw_wlan_util.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| 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> 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() 231 return -ENOMEM; in read_mos_reg() 239 dev_err(&usbdev->dev, in read_mos_reg() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
| D | rtw_wlan_util.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 51 switch (psta->wireless_mode) { in networktype_to_raid_ex() 67 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex() 118 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in is_basicrate() 121 val = pmlmeext->basicrate[i]; in is_basicrate() 137 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in ratetbl2rateset() 140 rate = pmlmeext->datarate[i]; in ratetbl2rateset() 254 return adapter_to_dvobj(adapter)->oper_channel; in rtw_get_oper_ch() 267 if (dvobj->oper_channel != ch) { in rtw_set_oper_ch() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtl8xxxu/ |
| D | rtl8xxxu_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. 40 static int rtl8xxxu_dma_agg_timeout = -1; 41 static int rtl8xxxu_dma_agg_pages = -1; 68 MODULE_PARM_DESC(dma_agg_timeout, "Set DMA aggregation timeout (range 1-127)"); 70 MODULE_PARM_DESC(dma_agg_pages, "Set DMA aggregation pages (range 1-127, 0 to disable)"); 656 struct usb_device *udev = priv->udev; in rtl8xxxu_read8() 660 if (priv->rtl_chip == RTL8710B && addr <= 0xff) in rtl8xxxu_read8() 663 mutex_lock(&priv->usb_buf_mutex); in rtl8xxxu_read8() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/usb/ |
| 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() 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/usb/ |
| 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() 418 {default_port_device(0x0af0, 0xc031)}, /* Icon-Edge */ 420 {icon321_port_device(0x0af0, 0xd031)}, /* Icon-321 */ 421 {icon321_port_device(0x0af0, 0xd033)}, /* Icon-322 */ 469 switch (hso_dev->port_spec & HSO_PORT_MASK) { in hsotype_show() [all …]
|