| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/serial/ |
| H A D | snps-dw-apb-uart.txt | 4 - compatible : "snps,dw-apb-uart" 5 - reg : offset and length of the register set for the device. 6 - interrupts : should contain uart interrupt. 10 - clock-frequency : the input clock frequency for the UART. 11 - clocks : phandle to the input clock 14 - clock-names: tuple listing input clock names. 18 - snps,uart-16550-compatible : reflects the value of UART_16550_COMPATIBLE 21 - resets : phandle to the parent reset controller. 22 - reg-shift : quantity to shift the register offsets by. If this property is 24 - reg-io-width : the size (in bytes) of the IO accesses that should be [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/serial/ |
| H A D | snps-dw-apb-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/serial.yaml# 18 - items: 19 - enum: 20 - renesas,r9a06g032-uart 21 - renesas,r9a06g033-uart [all …]
|
| H A D | cdns,uart.txt | 4 - compatible : 5 Use "xlnx,xuartps","cdns,uart-r1p8" for Zynq-7xxx SoC. 6 Use "xlnx,zynqmp-uart","cdns,uart-r1p12" for Zynq Ultrascale+ MPSoC. 7 - reg: Should contain UART controller registers location and length. 8 - interrupts: Should contain UART controller interrupts. 9 - clocks: Must contain phandles to the UART clocks 10 See ../clocks/clock-bindings.txt for details. 11 - clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk" 12 See ../clocks/clock-bindings.txt for details. 16 - cts-override : Override the CTS modem status signal. This signal will [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/intel_th/ |
| H A D | gth.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2014-2015 Intel Corporation. 42 REG_GTH_SCR = 0xc8, /* Source control (storeEn override) */ 45 REG_GTH_DESTOVR = 0xdc, /* Destination override */ 53 /* Common Capture Sequencer (CTS) registers */ 66 /* waiting for Trigger status to assert for CTS */
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/ |
| H A D | khronos-cts.inc | 1 LICENSE = "Apache-2.0" 5 git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ 8 …git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;destsuffix=git/external/spirv-heade… 9 …git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;destsuffix=git/external/spirv-tools/s… 15 SRCREV_FORMAT = "vk-gl-cts_amber_glslang_spirv-headers_spirv-tools" 25 SRC_URI += "file://0001-Workaround-for-GCC-11-uninit-variable-warnings-946.patch;patchdir=external/… 26 file://0001-Include-limits-header-for-numeric_limits.patch;patchdir=external/vulkancts \ 27 file://0001-vulkancts.patch \ 28 file://0001-use-library-sonames-for-linking.patch \ 31 SRC_URI:append:libc-musl = "\ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/ |
| H A D | desc.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 24 * struct ath5k_hw_rx_ctl - Common hardware RX control descriptor 38 * struct ath5k_hw_rx_status - Common hardware RX status descriptor 105 * enum ath5k_phy_error_code - PHY Error codes 113 * @AR5K_RX_PHY_ERROR_TOR: Transmit override receive 151 * struct ath5k_hw_2w_tx_ctl - 5210/5211 hardware 2-word TX control descriptor 166 #define AR5K_2W_TX_DESC_CTL0_RTSENA 0x00400000 /* RTS/CTS enable */ 168 #define AR5K_2W_TX_DESC_CTL0_VEOL_5211 0x00800000 /* [5211] virtual end-of-list */ 173 (ah->ah_version == AR5K_AR5210 ? \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/8250/ |
| H A D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 83 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr() 85 /* Override any modem control signals if needed */ in dw8250_modify_msr() 87 value |= d->msr_mask_on; in dw8250_modify_msr() 88 value &= ~d->msr_mask_off; in dw8250_modify_msr() 99 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() 104 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() 108 while (tries--) { in dw8250_check_lcr() 109 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_check_lcr() 117 if (p->type == PORT_OCTEON) in dw8250_check_lcr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 32 return core->base + HDMI_CORE_AV; in hdmi_av_base() 37 void __iomem *base = core->base; in hdmi4_core_ddc_init() 50 return -ETIMEDOUT; in hdmi4_core_ddc_init() 61 return -ETIMEDOUT; in hdmi4_core_ddc_init() 71 return -ETIMEDOUT; in hdmi4_core_ddc_init() 80 void __iomem *base = core->base; in hdmi4_core_ddc_read() 87 return -ETIMEDOUT; in hdmi4_core_ddc_read() 112 return -EIO; in hdmi4_core_ddc_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 33 return core->base + HDMI_CORE_AV; in hdmi_av_base() 38 void __iomem *base = core->base; in hdmi_core_ddc_init() 51 return -ETIMEDOUT; in hdmi_core_ddc_init() 62 return -ETIMEDOUT; in hdmi_core_ddc_init() 72 return -ETIMEDOUT; in hdmi_core_ddc_init() 81 void __iomem *base = core->base; in hdmi_core_ddc_edid() 90 return -ETIMEDOUT; in hdmi_core_ddc_edid() 118 return -EIO; in hdmi_core_ddc_edid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/ |
| H A D | target.h | 2 * Copyright (c) 2004-2010 Atheros Communications Inc. 161 * Pointer to application-defined area, if any. 175 * General-purpose flag bits, similar to ATH6KL_OPTION_* flags. 189 /* Override Target application start address */ 225 u32 hi_num_bpatch_streams; /* 0x70 -- unused */ 235 * NOTE: byte [0] = tx pin, [1] = rx pin, [2] = rts pin, [3] = cts 251 * 0xa8 - [1]: 0 = UART FC active low, 1 = UART FC active high 273 * 0xbc - [31:0]: idle timeout in ms 281 /* If non-zero, override values sent to Host in WMI_READY event. */ 286 * Percentage of high priority RX traffic to total expected RX traffic - [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | altera_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * altera_uart.c -- Altera UART driver 5 * Based on mcf.c -- Freescale ColdFire UART driver 7 * (C) Copyright 2003-2007, Greg Ungerer <gerg@snapgear.com> 54 #define ALTERA_UART_STATUS_DCTS_MSK 0x0400 /* CTS logic-level change */ 55 #define ALTERA_UART_STATUS_CTS_MSK 0x0800 /* CTS logic state */ 70 #define ALTERA_UART_CONTROL_DCTS_MSK 0x0400 /* Interrupt on CTS change */ 75 * Local per-uart structure. 86 return readl(port->membase + (reg << port->regshift)); in altera_uart_readl() 91 writel(dat, port->membase + (reg << port->regshift)); in altera_uart_writel() [all …]
|
| H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 ** serial driver for the Mux console found in some PA-RISC servers. 7 ** (c) Copyright 2002 Hewlett-Packard Company 26 #include <asm/parisc-device.h> 63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) 64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET) 67 * get_mux_port_count - Get the number of available ports on the Mux. 73 * are connected. This function can override the IODC and 82 /* If this is the built-in Mux for the K-Class (Eole CAP/MUX), in get_mux_port_count() 86 if(dev->id.hversion == 0x15) in get_mux_port_count() [all …]
|
| H A D | sirfsoc_uart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 24 #include <linux/dma-direction.h> 25 #include <linux/dma-mapping.h> 70 struct sirfsoc_register *ureg = &sirfport->uart_reg->uart_reg; in sirfsoc_uart_tx_empty() 71 struct sirfsoc_fifo_status *ufifo_st = &sirfport->uart_reg->fifo_status; in sirfsoc_uart_tx_empty() 72 reg = rd_regl(port, ureg->sirfsoc_tx_fifo_status); in sirfsoc_uart_tx_empty() 73 return (reg & ufifo_st->ff_empty(port)) ? TIOCSER_TEMT : 0; in sirfsoc_uart_tx_empty() 79 struct sirfsoc_register *ureg = &sirfport->uart_reg->uart_reg; in sirfsoc_uart_get_mctrl() 80 if (!sirfport->hw_flow_ctrl || !sirfport->ms_enabled) in sirfsoc_uart_get_mctrl() 82 if (sirfport->uart_reg->uart_type == SIRF_REAL_UART) { in sirfsoc_uart_get_mctrl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | ark3116.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * - implements a driver for the arkmicro ark3116 chipset (vendor=0x6547, 10 * productid=0x0232) (used in a datacable called KQ-U8A) 52 struct usb_device *dev = serial->dev; in is_irda() 53 if (le16_to_cpu(dev->descriptor.idVendor) == 0x18ec && in is_irda() 54 le16_to_cpu(dev->descriptor.idProduct) == 0x3118) in is_irda() 82 result = usb_control_msg(serial->dev, in ark3116_write_reg() 83 usb_sndctrlpipe(serial->dev, 0), in ark3116_write_reg() 97 result = usb_control_msg(serial->dev, in ark3116_read_reg() 98 usb_rcvctrlpipe(serial->dev, 0), in ark3116_read_reg() [all …]
|
| /OK3568_Linux_fs/kernel/fs/crypto/ |
| H A D | keysetup.c | 1 // SPDX-License-Identifier: GPL-2.0 18 .friendly_name = "AES-256-XTS", 26 .friendly_name = "AES-256-CTS-CBC", 27 .cipher_str = "cts(cbc(aes))", 33 .friendly_name = "AES-128-CBC-ESSIV", 41 .friendly_name = "AES-128-CTS-CBC", 42 .cipher_str = "cts(cbc(aes))", 65 if (S_ISREG(inode->i_mode)) in select_encryption_mode() 68 if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) in select_encryption_mode() 72 inode->i_ino, (inode->i_mode & S_IFMT)); in select_encryption_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | tx.h | 8 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 9 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation 25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 29 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 30 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation 65 * enum iwl_tx_flags - bitmasks for tx_flags in TX command 66 * @TX_CMD_FLG_PROT_REQUIRE: use RTS or CTS-to-self to protect the frame 80 * @TX_CMD_FLG_SEQ_CTL: set if FW should override the sequence control. 81 * Should be set for mgmt, non-QOS data, mcast, bcast and in scan command 82 * @TX_CMD_FLG_MORE_FRAG: this frame is non-last MPDU [all …]
|
| /OK3568_Linux_fs/kernel/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 */ 207 /* bit indicate to override mcs only */ 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() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | armada-370.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 #include "armada-370-xp.dtsi" 18 #address-cells = <1>; 19 #size-cells = <1>; 22 compatible = "marvell,armada370", "marvell,armada-370-xp"; 31 compatible = "marvell,armada370-mbus", "simple-bus"; 39 compatible = "marvell,armada-370-pcie"; 43 #address-cells = <3>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | sii9234.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 198 struct i2c_client *client = ctx->client[id]; in sii9234_writeb() 200 if (ctx->i2c_error) in sii9234_writeb() 201 return ctx->i2c_error; in sii9234_writeb() 205 dev_err(ctx->dev, "writeb: %4s[0x%02x] <- 0x%02x\n", in sii9234_writeb() 207 ctx->i2c_error = ret; in sii9234_writeb() 216 struct i2c_client *client = ctx->client[id]; in sii9234_writebm() 218 if (ctx->i2c_error) in sii9234_writebm() 219 return ctx->i2c_error; in sii9234_writebm() 223 dev_err(ctx->dev, "writebm: %4s[0x%02x] <- 0x%02x\n", in sii9234_writebm() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00queue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 5 Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com> 18 #include <linux/dma-mapping.h> 25 struct data_queue *queue = entry->queue; in rt2x00queue_alloc_rxskb() 26 struct rt2x00_dev *rt2x00dev = queue->rt2x00dev; in rt2x00queue_alloc_rxskb() 37 frame_size = queue->data_size + queue->desc_size + queue->winfo_size; in rt2x00queue_alloc_rxskb() 40 * The payload should be aligned to a 4-byte boundary, in rt2x00queue_alloc_rxskb() 79 skb_dma = dma_map_single(rt2x00dev->dev, skb->data, skb->len, in rt2x00queue_alloc_rxskb() 81 if (unlikely(dma_mapping_error(rt2x00dev->dev, skb_dma))) { in rt2x00queue_alloc_rxskb() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | event_log_payload.h | 24 * <<Broadcom-WL-IPTag/Dual:>> 87 * Two of these will be used per TxQ context---one for the high TxQ, and one for 88 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence 123 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues. 225 #define WL_SSUM_CLIENT_MASK 0x1C0u /* bit 8 - 6 */ 228 #define WL_SSUM_MODE_MASK 0xE00u /* bit 11 - 9 */ 297 /* flags[4] or HOME_CHAN = if set, represents home-channel */ 349 /* flags[4] or HOME_CHAN = if set, represents home-channel */ 413 /* Sub-block type for EVENT_LOG_TAG_AMPDU_DUMP */ 461 * per-slice [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | event_log_payload.h | 24 * <<Broadcom-WL-IPTag/Dual:>> 87 * Two of these will be used per TxQ context---one for the high TxQ, and one for 88 * the low txq that contains DMA prepared pkts. The high TxQ is a full multi-precidence 123 * a cubby ID and sub-ID to differentiate SCB cubby types and possible sub-queues. 225 #define WL_SSUM_CLIENT_MASK 0x1C0u /* bit 8 - 6 */ 228 #define WL_SSUM_MODE_MASK 0xE00u /* bit 11 - 9 */ 297 /* flags[4] or HOME_CHAN = if set, represents home-channel */ 349 /* flags[4] or HOME_CHAN = if set, represents home-channel */ 413 /* Sub-block type for EVENT_LOG_TAG_AMPDU_DUMP */ 461 * per-slice [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/pcmcia/ |
| H A D | synclink_cs.c | 83 #define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0 85 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 197 int if_mode; /* serial interface selection (RS-232, v.35 etc) */ 295 #define IRQ_CTS BIT10 // CTS status change 309 #define CTS BIT1 // CTS state macro 321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) 322 #define read_reg(info, reg) inb((info)->io_base + (reg)) 324 #define read_reg16(info, reg) inw((info)->io_base + (reg)) 325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg)) 339 info->imra_value |= mask; in irq_disable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | wlioctl.h | 11 * Copyright (C) 1999-2017, Broadcom Corporation 32 * <<Broadcom-WL-IPTag/Open:>> 61 * BCME_.. error codes are extended by various features - e.g. FTM, NAN, SAE etc. 68 * The error codes -4096 ... -5119 are reserved for firmware signing. 70 * Next available (inclusive) range: [-6*1024 + 1, -5*1024] 75 /* 11ax trigger frame format - versioning info */ 122 (sizeof(wl_dfs_forced_t) + (((n) < 1) ? (0) : (((n) - 1)* sizeof(chanspec_t)))) 138 #define DFS_SCAN_S_IDLE -1 253 * will see OBSS, [means that, we false detected that OBSS-is-gone 353 * Per-BSS information structure. [all …]
|