/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_regs.h | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #define MTK_PPE_GLO_CFG_EN BIT(0) 9 #define MTK_PPE_GLO_CFG_TSID_EN BIT(1) 10 #define MTK_PPE_GLO_CFG_IP4_L4_CS_DROP BIT(2) 11 #define MTK_PPE_GLO_CFG_IP4_CS_DROP BIT(3) 12 #define MTK_PPE_GLO_CFG_TTL0_DROP BIT(4) 13 #define MTK_PPE_GLO_CFG_PPE_BSWAP BIT(5) 14 #define MTK_PPE_GLO_CFG_PSE_HASH_OFS BIT(6) 15 #define MTK_PPE_GLO_CFG_MCAST_TB_EN BIT(7) 16 #define MTK_PPE_GLO_CFG_FLOW_DROP_KA BIT(8) [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 13 #include "fimc-core.h" 17 #define FIMC_REG_CISRCFMT_ITU601_8BIT BIT(31) 18 #define FIMC_REG_CISRCFMT_ITU601_16BIT BIT(29) 26 #define FIMC_REG_CIWDOFST_OFF_EN BIT(31) 27 #define FIMC_REG_CIWDOFST_CLROVFIY BIT(30) 28 #define FIMC_REG_CIWDOFST_CLROVRLB BIT(29) 30 #define FIMC_REG_CIWDOFST_CLROVFICB BIT(15) 31 #define FIMC_REG_CIWDOFST_CLROVFICR BIT(14) [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac2_mac.h | 1 /* SPDX-License-Identifier: ISC */ 39 #define MT_TX_FREE_STATUS GENMASK(14, 13) 41 #define MT_TX_FREE_PAIR BIT(31) 43 #define MT_TX_FREE_RATE GENMASK(13, 0) 50 #define MT_TXD1_LONG_FORMAT BIT(31) 51 #define MT_TXD1_TGID BIT(30) 53 #define MT_TXD1_AMSDU BIT(23) 58 #define MT_TXD1_ETH_802_3 BIT(15) 59 #define MT_TXD1_VTA BIT(10) 62 #define MT_TXD2_FIX_RATE BIT(31) [all …]
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot_hsio.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 85 #define HSIO_PLL5G_CFG0_ENA_ROT BIT(31) 86 #define HSIO_PLL5G_CFG0_ENA_LANE BIT(30) 87 #define HSIO_PLL5G_CFG0_ENA_CLKTREE BIT(29) 88 #define HSIO_PLL5G_CFG0_DIV4 BIT(28) 89 #define HSIO_PLL5G_CFG0_ENA_LOCK_FINE BIT(27) 99 #define HSIO_PLL5G_CFG0_ENA_VCO_CONTRH BIT(15) 100 #define HSIO_PLL5G_CFG0_ENA_CP1 BIT(14) 101 #define HSIO_PLL5G_CFG0_ENA_VCO_BUF BIT(13) 102 #define HSIO_PLL5G_CFG0_ENA_BIAS BIT(12) [all …]
|
/openbmc/linux/include/linux/soc/mediatek/ |
H A D | infracfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 #define MT8195_TOP_AXI_PROT_EN_VDOSYS0 BIT(6) 34 #define MT8195_TOP_AXI_PROT_EN_VPPSYS0 BIT(10) 35 #define MT8195_TOP_AXI_PROT_EN_MFG1 BIT(11) 37 #define MT8195_TOP_AXI_PROT_EN_VPPSYS0_2ND BIT(23) 39 #define MT8195_TOP_AXI_PROT_EN_1_CAM BIT(22) 40 #define MT8195_TOP_AXI_PROT_EN_2_CAM BIT(0) 42 #define MT8195_TOP_AXI_PROT_EN_2_MFG1 BIT(7) 43 #define MT8195_TOP_AXI_PROT_EN_2_AUDIO (BIT(9) | BIT(11)) 44 #define MT8195_TOP_AXI_PROT_EN_2_ADSP (BIT(12) | GENMASK(16, 14)) [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_tio_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 17 #define GI_ARM BIT(0) 18 #define GI_SAVE_TRACE BIT(1) 19 #define GI_LOAD BIT(2) 20 #define GI_DISARM BIT(4) 23 #define GI_WRITE_SWITCH BIT(7) 24 #define GI_SYNC_GATE BIT(8) 25 #define GI_LITTLE_BIG_ENDIAN BIT(9) 26 #define GI_BANK_SWITCH_START BIT(10) [all …]
|
H A D | ni_stc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Register descriptions for NI DAQ-STC chip 5 * COMEDI - Linux Control and Measurement Device Interface 6 * Copyright (C) 1998-9 David A. Schleef <ds@schleef.org> 11 * DAQ-STC Technical Reference Manual 21 * Registers in the National Instruments DAQ-STC chip 25 #define NISTC_INTA_ACK_G0_GATE BIT(15) 26 #define NISTC_INTA_ACK_G0_TC BIT(14) 27 #define NISTC_INTA_ACK_AI_ERR BIT(13) 28 #define NISTC_INTA_ACK_AI_STOP BIT(12) [all …]
|
/openbmc/linux/drivers/net/ipa/reg/ |
H A D | ipa_reg-v4.5.c | 1 // SPDX-License-Identifier: GPL-2.0 11 /* Bit 0 reserved */ 12 [GSI_SNOC_BYPASS_DIS] = BIT(1), 13 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 14 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 15 /* Bit 4 reserved */ 16 [IPA_QMB_SELECT_CONS_EN] = BIT(5), 17 [IPA_QMB_SELECT_PROD_EN] = BIT(6), 18 [GSI_MULTI_INORDER_RD_DIS] = BIT(7), 19 [GSI_MULTI_INORDER_WR_DIS] = BIT(8), [all …]
|
H A D | ipa_reg-v4.2.c | 1 // SPDX-License-Identifier: GPL-2.0 11 /* Bit 0 reserved */ 12 [GSI_SNOC_BYPASS_DIS] = BIT(1), 13 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 14 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 15 [IPA_DCMP_FAST_CLK_EN] = BIT(4), 16 [IPA_QMB_SELECT_CONS_EN] = BIT(5), 17 [IPA_QMB_SELECT_PROD_EN] = BIT(6), 18 [GSI_MULTI_INORDER_RD_DIS] = BIT(7), 19 [GSI_MULTI_INORDER_WR_DIS] = BIT(8), [all …]
|
H A D | ipa_reg-v5.0.c | 1 // SPDX-License-Identifier: GPL-2.0 20 [RAM_ARB_PRI_CLIENT_SAMP_FIX_DIS] = BIT(0), 21 [GSI_SNOC_BYPASS_DIS] = BIT(1), 22 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 23 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 24 /* Bit 4 reserved */ 25 [IPA_QMB_SELECT_CONS_EN] = BIT(5), 26 [IPA_QMB_SELECT_PROD_EN] = BIT(6), 27 [GSI_MULTI_INORDER_RD_DIS] = BIT(7), 28 [GSI_MULTI_INORDER_WR_DIS] = BIT(8), [all …]
|
H A D | ipa_reg-v4.11.c | 1 // SPDX-License-Identifier: GPL-2.0 11 [RAM_ARB_PRI_CLIENT_SAMP_FIX_DIS] = BIT(0), 12 [GSI_SNOC_BYPASS_DIS] = BIT(1), 13 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 14 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 15 /* Bit 4 reserved */ 16 [IPA_QMB_SELECT_CONS_EN] = BIT(5), 17 [IPA_QMB_SELECT_PROD_EN] = BIT(6), 18 [GSI_MULTI_INORDER_RD_DIS] = BIT(7), 19 [GSI_MULTI_INORDER_WR_DIS] = BIT(8), [all …]
|
H A D | ipa_reg-v4.9.c | 1 // SPDX-License-Identifier: GPL-2.0 11 [RAM_ARB_PRI_CLIENT_SAMP_FIX_DIS] = BIT(0), 12 [GSI_SNOC_BYPASS_DIS] = BIT(1), 13 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 14 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 15 /* Bit 4 reserved */ 16 [IPA_QMB_SELECT_CONS_EN] = BIT(5), 17 [IPA_QMB_SELECT_PROD_EN] = BIT(6), 18 [GSI_MULTI_INORDER_RD_DIS] = BIT(7), 19 [GSI_MULTI_INORDER_WR_DIS] = BIT(8), [all …]
|
H A D | ipa_reg-v4.7.c | 1 // SPDX-License-Identifier: GPL-2.0 11 [RAM_ARB_PRI_CLIENT_SAMP_FIX_DIS] = BIT(0), 12 [GSI_SNOC_BYPASS_DIS] = BIT(1), 13 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 14 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 15 /* Bit 4 reserved */ 16 [IPA_QMB_SELECT_CONS_EN] = BIT(5), 17 [IPA_QMB_SELECT_PROD_EN] = BIT(6), 18 [GSI_MULTI_INORDER_RD_DIS] = BIT(7), 19 [GSI_MULTI_INORDER_WR_DIS] = BIT(8), [all …]
|
H A D | ipa_reg-v3.5.1.c | 1 // SPDX-License-Identifier: GPL-2.0 11 [COMP_CFG_ENABLE] = BIT(0), 12 [GSI_SNOC_BYPASS_DIS] = BIT(1), 13 [GEN_QMB_0_SNOC_BYPASS_DIS] = BIT(2), 14 [GEN_QMB_1_SNOC_BYPASS_DIS] = BIT(3), 15 [IPA_DCMP_FAST_CLK_EN] = BIT(4), 16 /* Bits 5-31 reserved */ 22 [CLKON_RX] = BIT(0), 23 [CLKON_PROC] = BIT(1), 24 [TX_WRAPPER] = BIT(2), [all …]
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-xpcs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define DW_VENDOR BIT(15) 16 #define DW_USXGMII_RST BIT(10) 17 #define DW_USXGMII_EN BIT(9) 19 #define DW_VR_RST BIT(15) 20 #define DW_EN_VSMMD1 BIT(13) 21 #define DW_CL37_BP BIT(12) 28 #define DW_USXGMII_FULL BIT(8) 29 #define DW_USXGMII_SS_MASK (BIT(13) | BIT(6) | BIT(5)) 30 #define DW_USXGMII_10000 (BIT(13) | BIT(6)) [all …]
|
/openbmc/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi-mt8195.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/clk-provider.h> 34 #define RG_HDMITX21_VREF_SEL BIT(4) 35 #define RG_HDMITX21_BIAS_PE_VREF_SELB BIT(10) 37 #define RG_HDMITX21_BG_PWD BIT(20) 40 #define RG_HDMITX21_DRV_IMP_D0_EN1 GENMASK(13, 8) 46 #define RG_HDMITX21_CKLDO_EN BIT(3) 47 #define RG_HDMITX21_SLDOLPF_EN BIT(7) 51 #define RG_HDMITX21_D2_DRV_OP_EN BIT(8) 52 #define RG_HDMITX21_D1_DRV_OP_EN BIT(9) [all …]
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2019-2022 MediaTek Inc. 11 #define MTK_DP_HPD_DISCONNECT BIT(1) 12 #define MTK_DP_HPD_CONNECT BIT(2) 13 #define MTK_DP_HPD_INTERRUPT BIT(3) 21 #define DA_XTP_GLB_CKDET_EN_FORCE_VAL BIT(15) 22 #define DA_XTP_GLB_CKDET_EN_FORCE_EN BIT(14) 23 #define DA_CKM_INTCKTX_EN_FORCE_VAL BIT(13) 24 #define DA_CKM_INTCKTX_EN_FORCE_EN BIT(12) 25 #define DA_CKM_CKTX0_EN_FORCE_VAL BIT(11) [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/ |
H A D | ia_css_ctc_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * CSS-API header file for Chroma Tone Control parameters. 27 * IA_CSS_CTC_COEF_SHIFT(=13) includes not only the fractional bits 29 * from 13bit precision to 8bit precision. 32 * Input(Chorma) : s0.12 (13bit precision) 33 * Output(Chorma): s0.7 (8bit precision) 36 #define IA_CSS_CTC_COEF_SHIFT 13 41 #define IA_CSS_VAMEM_1_CTC_TABLE_SIZE BIT(IA_CSS_VAMEM_1_CTC_TABLE_SIZE_LOG2) 56 * (ISP1: CTC1 (CTC by look-up table) is used.) 61 u[ce_gain_exp].[13-ce_gain_exp], [0,8191], [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | meson-mx-sdhc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 15 #define MESON_SDHC_SEND_CMD_HAS_RESP BIT(6) 16 #define MESON_SDHC_SEND_CMD_HAS_DATA BIT(7) 17 #define MESON_SDHC_SEND_RESP_LEN BIT(8) 18 #define MESON_SDHC_SEND_RESP_NO_CRC BIT(9) 19 #define MESON_SDHC_SEND_DATA_DIR BIT(10) 20 #define MESON_SDHC_SEND_DATA_STOP BIT(11) 21 #define MESON_SDHC_SEND_R1B BIT(12) 26 #define MESON_SDHC_CTRL_DDR_MODE BIT(2) 27 #define MESON_SDHC_CTRL_TX_CRC_NOCHECK BIT(3) [all …]
|
/openbmc/u-boot/board/keymile/km_arm/ |
H A D | kwbimage_256M8_1.cfg | 1 # SPDX-License-Identifier: GPL-2.0+ 7 # Refer doc/README.kwbimage for more details about how-to configure 10 # This configuration applies to COGE5 design (ARM-part) 11 # Two 8-Bit devices are connected on the 16-Bit bus on the same 12 # chip-select. The supported devices are 13 # MT47H256M8EB-3IT:C 14 # MT47H256M8EB-25EIT:C 20 # bit 3-0: 2, MPPSel0 SPI_CSn (1=NF_IO[2]) 21 # bit 7-4: 2, MPPSel1 SPI_MOSI (1=NF_IO[3]) 22 # bit 12-8: 2, MPPSel2 SPI_SCK (1=NF_IO[4]) [all …]
|
H A D | kwbimage_128M16_1.cfg | 1 # SPDX-License-Identifier: GPL-2.0+ 12 # Refer doc/README.kwbimage for more details about how-to configure 20 # bit 3-0: 2, MPPSel0 SPI_CSn (1=NF_IO[2]) 21 # bit 7-4: 2, MPPSel1 SPI_SI (1=NF_IO[3]) 22 # bit 12-8: 2, MPPSel2 SPI_SCK (1=NF_IO[4]) 23 # bit 15-12: 2, MPPSel3 SPI_SO (1=NF_IO[5]) 24 # bit 19-16: 1, MPPSel4 NF_IO[6] 25 # bit 23-20: 1, MPPSel5 NF_IO[7] 26 # bit 27-24: 1, MPPSel6 SYSRST_O 27 # bit 31-28: 0, MPPSel7 GPO[7] [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 89 #define RX_ATTENTION_INFO1_FIRST_MPDU BIT(0) 90 #define RX_ATTENTION_INFO1_RSVD_1A BIT(1) 91 #define RX_ATTENTION_INFO1_MCAST_BCAST BIT(2) 92 #define RX_ATTENTION_INFO1_AST_IDX_NOT_FOUND BIT(3) 93 #define RX_ATTENTION_INFO1_AST_IDX_TIMEDOUT BIT(4) 94 #define RX_ATTENTION_INFO1_POWER_MGMT BIT(5) 95 #define RX_ATTENTION_INFO1_NON_QOS BIT(6) 96 #define RX_ATTENTION_INFO1_NULL_DATA BIT(7) [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | bd99954-charger.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 492 [F_CUR_ILIM_VAL] = REG_FIELD(CUR_ILIM_VAL, 0, 13), 493 [F_SEL_ILIM_VAL] = REG_FIELD(SEL_ILIM_VAL, 0, 13), 494 [F_IBUS_LIM_SET] = REG_FIELD(IBUS_LIM_SET, 5, 13), 495 [F_ICC_LIM_SET] = REG_FIELD(ICC_LIM_SET, 5, 13), 496 [F_IOTG_LIM_SET] = REG_FIELD(IOTG_LIM_SET, 5, 13), 499 [F_VRBOOST_EN] = REG_FIELD(VIN_CTRL_SET, 12, 13), 509 [F_ILIM_AUTO_DISEN] = REG_FIELD(CHGOP_SET1, 13, 13), 518 [F_DCDC_1MS_SEL] = REG_FIELD(CHGOP_SET2, 12, 13), 539 [F_ICHG_SET] = REG_FIELD(ICHG_SET, 6, 13), [all …]
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright © 2014-2015 Broadcom 47 # define V3D_L2CACTL_L2CCLR BIT(2) 48 # define V3D_L2CACTL_L2CDIS BIT(1) 49 # define V3D_L2CACTL_L2CENA BIT(0) 64 # define V3D_INT_SPILLUSE BIT(3) 65 # define V3D_INT_OUTOMEM BIT(2) 66 # define V3D_INT_FLDONE BIT(1) 67 # define V3D_INT_FRDONE BIT(0) 72 # define V3D_CTRSTA BIT(15) [all …]
|
/openbmc/linux/drivers/clk/stm32/ |
H A D | stm32mp13_rcc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 3 * Copyright (C) 2020, STMicroelectronics - All Rights Reserved 224 #define RCC_SECCFGR_MLAHBSEC 13 238 #define RCC_MP_SREQSETR_STPREQ_P0 BIT(0) 241 #define RCC_MP_SREQCLRR_STPREQ_P0 BIT(0) 244 #define RCC_MP_APRSTCR_RDCTLEN BIT(0) 257 #define RCC_MP_GRSTCSETR_MPSYSRST BIT(0) 258 #define RCC_MP_GRSTCSETR_MPUP0RST BIT(4) 261 #define RCC_BR_RSTSCLRR_PORRSTF BIT(0) 262 #define RCC_BR_RSTSCLRR_BORRSTF BIT(1) [all …]
|