| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath11k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 5 --- 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Kalle Valo <kvalo@codeaurora.org> 21 - qcom,ipq8074-wifi 22 - qcom,ipq6018-wifi 29 - description: misc-pulse1 interrupt events 30 - description: misc-latch interrupt events 31 - description: sw exception interrupt events [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | scc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 #define PRIMUS 0x04 /* hardware type for PRIMUS-PC (DG9BL) card */ 66 /* misc. parameters */ 140 int command; /* one of the KISS-Commands defined above */ 141 unsigned param; /* KISS-Param */ 149 io_port vector_latch; /* INTACK-Latch (#) */ 160 /* (#) only one INTACK latch allowed. */
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | scc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 #define PRIMUS 0x04 /* hardware type for PRIMUS-PC (DG9BL) card */ 67 /* misc. parameters */ 141 int command; /* one of the KISS-Commands defined above */ 142 unsigned param; /* KISS-Param */ 150 io_port vector_latch; /* INTACK-Latch (#) */ 161 /* (#) only one INTACK latch allowed. */
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | scc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 #define PRIMUS 0x04 /* hardware type for PRIMUS-PC (DG9BL) card */ 66 /* misc. parameters */ 140 int command; /* one of the KISS-Commands defined above */ 141 unsigned param; /* KISS-Param */ 149 io_port vector_latch; /* INTACK-Latch (#) */ 160 /* (#) only one INTACK latch allowed. */
|
| /OK3568_Linux_fs/kernel/drivers/net/hamradio/ |
| H A D | z8530.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 35 #define RES_EOM_L 0xC0 /* Reset EOM latch */ 91 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 100 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 102 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 117 /* Write Register 10 (misc control bits) */ 149 /* Write Register 14 (Misc control bits) */ 199 /* Read Register 2 (channel b only) - Interrupt vector */ 211 /* Read Register 10 (misc status bits) */ 227 #define AUTOEOM 0x02 /* Auto EOM Latch Reset */
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 67 #define RES_EOM_L 0xC0 /* Reset EOM latch */ 126 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 136 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 138 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 153 /* Write Register 10 (misc control bits) */ 185 /* Write Register 14 (Misc control bits) */ 235 /* Read Register 2 (channel b only) - Interrupt vector */ 256 /* Read Register 10 (misc status bits) */ [all …]
|
| H A D | sunzilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 59 #define RES_EOM_L 0xC0 /* Reset EOM latch */ 118 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 128 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 130 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 155 /* Write Register 10 (misc control bits) */ 187 /* Write Register 14 (Misc control bits) */ 239 /* Read Register 2 (channel b only) - Interrupt vector */ 264 /* Read Register 10 (misc status bits) */ [all …]
|
| H A D | pmac_zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * of "escc" node (ie. ch-a or ch-b) 74 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 76 return uap->mate; in pmz_get_port_A() 88 writeb(reg, port->control_reg); in read_zsreg() 89 return readb(port->control_reg); in read_zsreg() 95 writeb(reg, port->control_reg); in write_zsreg() 96 writeb(value, port->control_reg); in write_zsreg() 101 return readb(port->data_reg); in read_zsdata() 106 writeb(data, port->data_reg); in write_zsdata() [all …]
|
| H A D | sc16is7xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SC16IS7xx tty serial driver - Copyright (C) 2014 GridPoint 46 * - only on 75x/76x 49 * - only on 75x/76x 52 * - only on 75x/76x 55 * - only on 75x/76x 64 #define SC16IS7XX_DLL_REG (0x00) /* Divisor Latch Low */ 65 #define SC16IS7XX_DLH_REG (0x01) /* Divisor Latch High */ 83 /* IER register bits - write only if (EFR[4] == 1) */ 96 /* FCR register bits - write only if (EFR[4] == 1) */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | vga16fb.c | 2 * linux/drivers/video/vga16.c -- VGA 16-color framebuffer driver 6 * Based on VESA framebuffer (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de> 36 /* --------------------------------------------------------------------- */ 47 unsigned char CrtCtrlIndex; /* CRT-Contr. Index reg. */ 49 unsigned char HorizontalTotal; /* CRT-Controller:00h */ 50 unsigned char HorizDisplayEnd; /* CRT-Controller:01h */ 51 unsigned char StartHorizRetrace;/* CRT-Controller:04h */ 52 unsigned char EndHorizRetrace; /* CRT-Controller:05h */ 53 unsigned char Overflow; /* CRT-Controller:07h */ 54 unsigned char StartVertRetrace; /* CRT-Controller:10h */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wan/ |
| H A D | z85230.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 56 #define RES_EOM_L 0xC0 /* Reset EOM latch */ 112 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 121 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 123 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 138 /* Write Register 10 (misc control bits) */ 170 /* Write Register 14 (Misc control bits) */ 222 /* Read Register 2 (channel b only) - Interrupt vector */ 234 /* Read Register 10 (misc status bits) */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/caam/ |
| H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * CAAM hardware register-level view 5 * Copyright 2008-2011 Freescale Semiconductor, Inc. 15 #include <linux/io-64-nonatomic-hi-lo.h> 18 * Architecture-specific register access methods 20 * CAAM's bus-addressable registers are 64 bits internally. 21 * They have been wired to be safely accessible on 32-bit 24 * can be treated as two 32-bit entities, or finally (c) if they 25 * must be treated as a single 64-bit value, then this can safely 26 * be done with two 32-bit cycles. [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | pci_psycho.c | 1 // SPDX-License-Identifier: GPL-2.0 31 /* Misc. PSYCHO PCI controller register offsets and definitions. */ 97 #define PSYCHO_IOMMU_TSBSZ_1K 0x0000000000000000UL /* TSB Table 1024 8-byte entries */ 98 #define PSYCHO_IOMMU_TSBSZ_2K 0x0000000000010000UL /* TSB Table 2048 8-byte entries */ 99 #define PSYCHO_IOMMU_TSBSZ_4K 0x0000000000020000UL /* TSB Table 4096 8-byte entries */ 100 #define PSYCHO_IOMMU_TSBSZ_8K 0x0000000000030000UL /* TSB Table 8192 8-byte entries */ 101 #define PSYCHO_IOMMU_TSBSZ_16K 0x0000000000040000UL /* TSB Table 16k 8-byte entries */ 102 #define PSYCHO_IOMMU_TSBSZ_32K 0x0000000000050000UL /* TSB Table 32k 8-byte entries */ 103 #define PSYCHO_IOMMU_TSBSZ_64K 0x0000000000060000UL /* TSB Table 64k 8-byte entries */ 104 #define PSYCHO_IOMMU_TSBSZ_128K 0x0000000000070000UL /* TSB Table 128k 8-byte entries */ [all …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbActions.c | 28 #include <dix-config.h> 36 #include "misc.h" 59 if (xkbPrivPtr->unwrapProc) in xkbUnwrapProc() 60 xkbPrivPtr->unwrapProc = NULL; in xkbUnwrapProc() 90 (!(xkb->ctrls->enabled_ctrls & XkbMouseKeysMask))) { in _FixUpAction() 94 if (xkb->ctrls->enabled_ctrls & XkbStickyKeysMask) { in _FixUpAction() 95 if (act->any.type == XkbSA_SetMods) { in _FixUpAction() 97 fake.mods.mask = act->mods.mask; in _FixUpAction() 98 if (XkbAX_NeedOption(xkb->ctrls, XkbAX_LatchToLockMask)) in _FixUpAction() 104 if (act->any.type == XkbSA_SetGroup) { in _FixUpAction() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | motorola-cpcap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2007-2009 Motorola, Inc. 179 #define CPCAP_REG_UIL 0x0e5c /* USB Interrupt Latch */ 235 #define CPCAP_REG_LGPU 0x1264 /* LMR GCAI GPIO Pull-up */ 240 #define CPCAP_REG_LMISC 0x1278 /* LMR Misc Bits */
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/ |
| H A D | ahb.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 10 #include <linux/dma-mapping.h> 20 { .compatible = "qcom,ipq8074-wifi", 23 { .compatible = "qcom,ipq6018-wifi", 41 "misc-pulse1", 42 "misc-latch", 43 "sw-exception", 57 "host2wbm-desc-feed", 58 "host2reo-re-injection", [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ |
| H A D | dt9812.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 79 DT9812_DEVID_DT9812_10, /* 8 2 8 8 1 +/- 10V */ 80 DT9812_DEVID_DT9812_2PT5, /* 8 2 8 8 1 0-2.44V */ 97 /* Read Flash memory misc config info */ 181 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / sizeof(u8)) 194 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \ 209 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \ 240 struct dt9812_private *devpriv = dev->private; in dt9812_read_info() 250 return -ENOMEM; in dt9812_read_info() [all …]
|
| /OK3568_Linux_fs/u-boot/board/samsung/odroid/ |
| H A D | odroid.c | 5 * SPDX-License-Identifier: GPL-2.0+ 23 #include <samsung/misc.h> 38 /* Set GPA1 pin 1 to HI - enable XCL205 output */ in set_board_type() 44 /* Set GPC1 pin 2 to IN - check XCL205 output state */ in set_board_type() 48 /* XCL205 - needs some latch time */ in set_board_type() 51 /* Check GPC1 pin2 - LED supplied by XCL205 - X2 only */ in set_board_type() 53 gd->board_type = ODROID_TYPE_X2; in set_board_type() 55 gd->board_type = ODROID_TYPE_U3; in set_board_type() 62 return board_type[gd->board_type]; in get_board_type() 113 clrsetbits_le32(&clk->src_cpu, clr_src_cpu, set); in board_clock_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_cmdevt.c | 7 * Copyright 2009-2022 NXP 14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 15 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 17 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 68 HostCmd_DS_802_11_SCAN_EXT *pext_scan_cmd = &pcmd->params.ext_scan; in wlan_is_cancel_scan_cmd() 69 if (pext_scan_cmd->ext_scan_type == EXT_SCAN_CANCEL) in wlan_is_cancel_scan_cmd() 84 mlan_adapter *pmadapter = pmpriv->adapter; in wlan_queue_scan_cmd() 90 pcmd_node->cmd_flag |= CMD_F_SCAN; in wlan_queue_scan_cmd() 92 util_enqueue_list_tail(pmadapter->pmoal_handle, in wlan_queue_scan_cmd() 93 &pmadapter->scan_pending_q, in wlan_queue_scan_cmd() [all …]
|
| H A D | mlan_misc.c | 7 * Copyright 2009-2022 NXP 14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 15 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 17 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 66 if (!IS_USB(pmadapter->card_type) && pmadapter->ireg) in wlan_pending_interrupt() 79 #define MLAN_CUSTOM_IE_HDR_SIZE (sizeof(custom_ie) - MAX_IE_SIZE) 87 * @return MLAN_STATUS_SUCCESS --unused, otherwise used. 93 pmlan_adapter pmadapter = pmpriv->adapter; in wlan_is_custom_ie_index_unused() 97 for (i = 0; i < pmadapter->priv_num; i++) { in wlan_is_custom_ie_index_unused() 98 priv = pmadapter->priv[i]; in wlan_is_custom_ie_index_unused() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | bcm54140.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include "bcm-phy-lib.h" 15 /* RDB per-port registers 44 #define BCM54140_RDB_C_MISC_CTRL 0x02f /* misc copper control */ 60 #define BCM54140_RDB_MON_CTRL_SEL_RR 3 /* meassure all round-robin */ 61 #define BCM54140_RDB_MON_CTRL_PWR_DOWN BIT(0) /* power-down monitor */ 80 * T = 413.35 - (0.49055 * bits[9:0]) 82 #define BCM54140_HWMON_TO_TEMP(v) (413350L - (v) * 491) 83 #define BCM54140_HWMON_FROM_TEMP(v) DIV_ROUND_CLOSEST_ULL(413350L - (v), 491) 179 struct bcm54140_priv *priv = phydev->priv; in bcm54140_hwmon_read_alarm() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/davinci/ |
| H A D | isif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2008-2009 Texas Instruments Inc 146 /* reg_modify() - read, modify and write register */ 200 val = (cul->hcpat_even << CULL_PAT_EVEN_LINE_SHIFT) | cul->hcpat_odd; in isif_config_culling() 204 regw(cul->vcpat, CULV); in isif_config_culling() 208 cul->en_lpf << ISIF_LPF_SHIFT, MODESET); in isif_config_culling() 217 val = (!!gain_off_p->gain_sdram_en << GAIN_SDRAM_EN_SHIFT) | in isif_config_gain_offset() 218 (!!gain_off_p->gain_ipipe_en << GAIN_IPIPE_EN_SHIFT) | in isif_config_gain_offset() 219 (!!gain_off_p->gain_h3a_en << GAIN_H3A_EN_SHIFT) | in isif_config_gain_offset() 220 (!!gain_off_p->offset_sdram_en << OFST_SDRAM_EN_SHIFT) | in isif_config_gain_offset() [all …]
|
| H A D | dm355_ccdc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2005-2009 Texas Instruments Inc 6 * ------------------------------ 11 * pre-process the Bayer RGB data, before writing it to SDRAM. 177 return -EFAULT; in ccdc_restore_defaults() 182 return -EFAULT; in ccdc_restore_defaults() 215 * ppc - per pixel count. indicates how many pixels per cell in ccdc_setwin() 219 horz_start = image_win->left << (ppc - 1); in ccdc_setwin() 220 horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; in ccdc_setwin() 225 vert_start = image_win->top; in ccdc_setwin() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_eth_ioctl.c | 7 * Copyright 2014-2022 NXP 14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 15 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 17 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 96 /** Bands supported in Ad-Hoc mode */ 145 if ((k == 0) && (i <= (int)(strlen(pos) - 2))) { in parse_arguments() 189 * @return MLAN_STATUS_SUCCESS -- success, otherwise fail 199 ie_len = len - 2; in woal_set_ap_wps_p2p_ie() 202 ret = -EFAULT; in woal_set_ap_wps_p2p_ie() 207 * "SET_AP_WPS_P2P_IE 1" -- beacon IE in woal_set_ap_wps_p2p_ie() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/hisilicon/kirin/kirin960/ |
| H A D | dw_drm_dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2014-2016 Hisilicon Limited. 39 #define DTS_COMP_DSI_NAME "hisilicon,hi3660-dsi" 40 #define DSS_REDUCE(x) ((x) > 0 ? ((x) - 1) : (x)) 61 u32 mask = (1UL << bw) - 1UL; in set_reg() 80 DRM_DEBUG_DRIVER("Checking mode %ix%i@%i clock: %i...", mode->hdisplay, in dsi_encoder_phy_mode_valid() 81 mode->vdisplay, drm_mode_vrefresh(mode), mode->clock); in dsi_encoder_phy_mode_valid() 82 if ((mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 148500) || in dsi_encoder_phy_mode_valid() 83 (mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 80192) || in dsi_encoder_phy_mode_valid() 84 (mode->hdisplay == 1920 && mode->vdisplay == 1080 && mode->clock == 74250) || in dsi_encoder_phy_mode_valid() [all …]
|