/openbmc/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 …]
|
/openbmc/u-boot/include/linux/ |
H A D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 43 #define UART_IIR_CTS_RTS_DSR 0x20 /* OMAP CTS/RTS/DSR Change */ 116 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 120 #define UART_MCR_RTS 0x02 /* RTS complement */ 126 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 142 #define UART_MSR_DCTS 0x01 /* Delta CTS */ 158 #define UART_EFR_CTS 0x80 /* CTS flow control */ 159 #define UART_EFR_RTS 0x40 /* RTS flow control */ 200 #define UART_FCTR_RTS_NODELAY 0x00 /* RTS flow control delay */ 210 #define UART_FCTR_SCR_SWAP 0x40 /* Scratch pad register swap */ [all …]
|
/openbmc/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 */ 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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/hw/char/ |
H A D | stm32l4x5_usart.c | 4 * Copyright (c) 2023 Arnaud Minier <arnaud.minier@telecom-paris.fr> 5 * Copyright (c) 2023 Inès Varhol <ines.varhol@telecom-paris.fr> 7 * SPDX-License-Identifier: GPL-2.0-or-later 10 * See the COPYING file in the top-level directory. 15 * for STM32L4x5 and STM32L4x6 advanced Arm ® -based 32-bit MCUs. 22 #include "chardev/char-fe.h" 23 #include "chardev/char-serial.h" 28 #include "hw/qdev-clock.h" 29 #include "hw/qdev-properties.h" 30 #include "hw/qdev-properties-system.h" [all …]
|
/openbmc/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 …]
|
/openbmc/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 */ 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 …]
|
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 …]
|
/openbmc/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 | 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 …]
|
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 */ 192 struct platform_device *pdev = to_platform_device(uport->dev); in qcom_geni_serial_request_port() 195 uport->membase = devm_platform_ioremap_resource(pdev, 0); in qcom_geni_serial_request_port() 196 if (IS_ERR(uport->membase)) in qcom_geni_serial_request_port() 197 return PTR_ERR(uport->membase); in qcom_geni_serial_request_port() 198 port->se.base = uport->membase; in qcom_geni_serial_request_port() [all …]
|
/openbmc/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 …]
|
/openbmc/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. 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 …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A 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 …]
|
/openbmc/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() 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 …]
|
/openbmc/linux/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik-db8500.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "pinctrl-nomadik.h" 571 /* Optional 4-bit Memory Stick interface */ 843 * UART2 can be muxed out with just RX/TX in four places, CTS+RTS is however 857 /* MSP0 can swap RX/TX like MSP0 but has no SCK pin available */
|
/openbmc/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 …]
|
/openbmc/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> 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() 227 mutex_lock(&rt2x00dev->csr_mutex); in rt2800_rfcsr_read() [all …]
|
/openbmc/linux/ |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |