/linux/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 {"TC58NVG0S3E 1G 3.3V 8-bit", 31 SZ_2K, SZ_128, SZ_128K, 0, 8, 64, NAND_ECC_INFO(1, SZ_512), }, 32 {"TC58NVG2S0F 4G 3.3V 8-bit", 34 SZ_4K, SZ_512, SZ_256K, 0, 8, 224, NAND_ECC_INFO(4, SZ_512) }, 35 {"TC58NVG2S0H 4G 3.3V 8-bit", 37 SZ_4K, SZ_512, SZ_256K, 0, 8, 256, NAND_ECC_INFO(8, SZ_512) }, 38 {"TC58NVG3S0F 8G 3.3V 8-bit", 40 SZ_4K, SZ_1K, SZ_256K, 0, 8, 232, NAND_ECC_INFO(4, SZ_512) }, 41 {"TC58NVG5D2 32G 3.3V 8-bit", [all …]
|
/linux/drivers/phy/ |
H A D | phy-airoha-pcie-regs.h | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #define CSR_2L_PXP_CMN_LANE_EN BIT(0) 16 #define REG_CSR_2L_JCPLL_LPF_SHCK_EN BIT(8) 22 #define CSR_2L_PXP_JCPLL_LPF_BC GENMASK(12, 8) 33 #define CSR_2L_PXP_JCPLL_KBAND_KF GENMASK(9, 8) 35 #define CSR_2L_PXP_JCPLL_POSTDIV_EN BIT(24) 39 #define CSR_2L_PXP_JCPLL_POSTDIV_D2 BIT(16) 40 #define CSR_2L_PXP_JCPLL_POSTDIV_D5 BIT(24) 47 #define CSR_2L_PXP_JCPLL_RST BIT(8) 48 #define CSR_2L_PXP_JCPLL_SDM_DI_EN BIT(16) [all …]
|
/linux/include/soc/mscc/ |
H A D | ocelot_dev.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 11 #define DEV_CLOCK_CFG_MAC_TX_RST BIT(7) 12 #define DEV_CLOCK_CFG_MAC_RX_RST BIT(6) 13 #define DEV_CLOCK_CFG_PCS_TX_RST BIT(5) 14 #define DEV_CLOCK_CFG_PCS_RX_RST BIT(4) 15 #define DEV_CLOCK_CFG_PORT_RST BIT(3) 16 #define DEV_CLOCK_CFG_PHY_RST BIT(2) 20 #define DEV_PORT_MISC_FWD_ERROR_ENA BIT(4) 21 #define DEV_PORT_MISC_FWD_PAUSE_ENA BIT(3) 22 #define DEV_PORT_MISC_FWD_CTRL_ENA BIT(2) [all …]
|
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 …]
|
/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 …]
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | skfbi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 * FDDI-Fx (x := {I(SA), P(CI)}) 19 /*--------------------------------------------------------------------------*/ 40 #define B0_RAP 0x0000 /* 8 bit register address port */ 41 /* 0x0001 - 0x0003: reserved */ 42 #define B0_CTRL 0x0004 /* 8 bit control register */ 43 #define B0_DAS 0x0005 /* 8 Bit control register (DAS) */ 44 #define B0_LED 0x0006 /* 8 Bit LED register */ 45 #define B0_TST_CTRL 0x0007 /* 8 bit test control register */ 46 #define B0_ISRC 0x0008 /* 32 bit Interrupt source register */ [all …]
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright © 2014-2015 Broadcom 26 ('3' << 8) | \ 37 # define V3D_IDENT1_QUPS_MASK VC4_MASK(11, 8) 38 # define V3D_IDENT1_QUPS_SHIFT 8 47 # define V3D_L2CACTL_L2CCLR BIT(2) 48 # define V3D_L2CACTL_L2CDIS BIT(1) 49 # define V3D_L2CACTL_L2CENA BIT(0) 56 # define V3D_SLCACTL_UCC_MASK VC4_MASK(11, 8) 57 # define V3D_SLCACTL_UCC_SHIFT 8 [all …]
|
/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 219 #define RCC_SECCFGR_PLL12SEC 8 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) 245 #define RCC_MP_APRSTCR_RSTTO_MASK GENMASK(14, 8) 246 #define RCC_MP_APRSTCR_RSTTO_SHIFT 8 249 #define RCC_MP_APRSTSR_RSTTOV_MASK GENMASK(14, 8) 250 #define RCC_MP_APRSTSR_RSTTOV_SHIFT 8 [all …]
|
/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 31 #define AX_MCAST_FILTER_SIZE 8 121 #define AX_FC_RX BIT(0) 122 #define AX_FC_TX BIT(1) 123 #define AX_FC_ANEG BIT(2) 126 #define AX_CAP_COMP BIT(0) 153 #define PSR_DEV_READY BIT(7) 155 #define PSR_RESET_CLR BIT(15) 158 #define FER_IPALM BIT(0) 159 #define FER_DCRC BIT(1) [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_regs.h | 1 /* SPDX-License-Identifier: ISC */ 15 #define MT_CMB_CTRL_XTAL_RDY BIT(22) 16 #define MT_CMB_CTRL_PLL_LD BIT(23) 21 #define MT_EFUSE_CTRL_LDO_OFF_TIME GENMASK(13, 8) 24 #define MT_EFUSE_CTRL_KICK BIT(30) 25 #define MT_EFUSE_CTRL_SEL BIT(31) 31 #define MT_COEXCFG0_COEX_EN BIT(0) 34 #define MT_WLAN_FUN_CTRL_WLAN_EN BIT(0) 35 #define MT_WLAN_FUN_CTRL_WLAN_CLK_EN BIT(1) 36 #define MT_WLAN_FUN_CTRL_WLAN_RESET_RF BIT(2) [all …]
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 #define MT_CMB_CTRL_XTAL_RDY BIT(22) 19 #define MT_CMB_CTRL_PLL_LD BIT(23) 24 #define MT_EFUSE_CTRL_LDO_OFF_TIME GENMASK(13, 8) 27 #define MT_EFUSE_CTRL_KICK BIT(30) 28 #define MT_EFUSE_CTRL_SEL BIT(31) 34 #define MT_COEXCFG0_COEX_EN BIT(0) 37 #define MT_WLAN_FUN_CTRL_WLAN_EN BIT(0) 38 #define MT_WLAN_FUN_CTRL_WLAN_CLK_EN BIT(1) 39 #define MT_WLAN_FUN_CTRL_WLAN_RESET_RF BIT(2) [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | regs.h | 1 /* SPDX-License-Identifier: ISC */ 28 #define MT_INT_RX_DONE(_n) BIT(_n) 31 #define MT_INT_TX_DONE(_n) BIT((_n) + 4) 33 #define MT_INT_RX_COHERENT BIT(20) 34 #define MT_INT_TX_COHERENT BIT(21) 35 #define MT_INT_MAC_IRQ3 BIT(27) 37 #define MT_INT_MCU_CMD BIT(30) 40 #define MT_WPDMA_GLO_CFG_TX_DMA_EN BIT(0) 41 #define MT_WPDMA_GLO_CFG_TX_DMA_BUSY BIT(1) 42 #define MT_WPDMA_GLO_CFG_RX_DMA_EN BIT(2) [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_hw_autogen.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2018-2023, Intel Corporation. */ 4 /* Machine-generated file */ 19 #define PF_FW_ARQLEN_ARQVFE_M BIT(28) 20 #define PF_FW_ARQLEN_ARQOVFL_M BIT(29) 21 #define PF_FW_ARQLEN_ARQCRIT_M BIT(30) 22 #define PF_FW_ARQLEN_ARQENABLE_M BIT(31) 30 #define PF_FW_ATQLEN_ATQVFE_M BIT(28) 31 #define PF_FW_ATQLEN_ATQOVFL_M BIT(29) 32 #define PF_FW_ATQLEN_ATQCRIT_M BIT(30) [all …]
|
/linux/sound/soc/codecs/ |
H A D | mt6357.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mt6357.h -- mt6357 ALSA SoC audio codec driver 14 /* Reg bit defines */ 16 #define MT6357_GPIO8_DIR_MASK BIT(8) 18 #define MT6357_GPIO8_DIR_OUTPUT BIT(8) 19 #define MT6357_GPIO9_DIR_MASK BIT(9) 21 #define MT6357_GPIO9_DIR_OUTPUT BIT(9) 22 #define MT6357_GPIO10_DIR_MASK BIT(10) 24 #define MT6357_GPIO10_DIR_OUTPUT BIT(10) 25 #define MT6357_GPIO11_DIR_MASK BIT(11) [all …]
|
/linux/drivers/net/ethernet/marvell/ |
H A D | skge.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 131 /* B0_CTST 16 bit Control/Status register */ 133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */ 134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */ 135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */ 138 CS_BUS_SLOT_SZ = 1<<8, /* Slot Size 0/1 = 32/64 bit slot */ 142 CS_STOP_MAST = 1<<4, /* Command Bit to stop the master */ 148 /* B0_LED 8 Bit LED register */ 149 /* Bit 7.. 2: reserved */ 153 /* B0_POWER_CTRL 8 Bit Power Control reg (YUKON only) */ [all …]
|
/linux/drivers/staging/vme_user/ |
H A D | vme_tsi148.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 26 #define TSI148_MAX_MASTER 8 /* Max Master Windows */ 27 #define TSI148_MAX_SLAVE 8 /* Max Slave Windows */ 30 #define TSI148_MAX_SEMAPHORE 8 /* Max Semaphores */ 50 * Layout of a DMAC Linked-List Descriptor 53 * correctly laid out - It must also be aligned on 64-bit boundaries. 70 * The descriptor needs to be aligned on a 64-bit boundary, we increase 79 * TSI148 ASIC register structure overlays and bit field definitions. 83 * PCFS - PCI Configuration Space Registers 84 * LCSR - Local Control and Status Registers [all …]
|
/linux/drivers/pmdomain/mediatek/ |
H A D | mt8188-pm-domains.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include "mtk-pm-domains.h" 11 #include <dt-bindings/power/mediatek,mt8188-power.h> 20 .sta_mask = BIT(1), 24 .sram_pdn_bits = BIT(8), 25 .sram_pdn_ack_bits = BIT(12), 30 .sta_mask = BIT(2), 34 .sram_pdn_bits = BIT(8), 35 .sram_pdn_ack_bits = BIT(12), 72 .sta_mask = BIT(3), [all …]
|
H A D | mt8186-pm-domains.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Author: Chun-Jie Chen <chun-jie.chen@mediatek.com> 10 #include "mtk-pm-domains.h" 11 #include <dt-bindings/power/mt8186-power.h> 20 .sta_mask = BIT(2), 24 .sram_pdn_bits = BIT(8), 25 .sram_pdn_ack_bits = BIT(12), 30 .sta_mask = BIT(3), 34 .sram_pdn_bits = BIT(8), 35 .sram_pdn_ack_bits = BIT(12), [all …]
|
H A D | mt8195-pm-domains.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Author: Chun-Jie Chen <chun-jie.chen@mediatek.com> 10 #include "mtk-pm-domains.h" 11 #include <dt-bindings/power/mt8195-power.h> 20 .sta_mask = BIT(11), 24 .sram_pdn_bits = GENMASK(8, 8), 41 .sta_mask = BIT(12), 45 .sram_pdn_bits = GENMASK(8, 8), 62 .sta_mask = BIT(13), 70 .sta_mask = BIT(14), [all …]
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * vsp1_regs.h -- R-Car VSP1 Registers Definitions 13 /* ----------------------------------------------------------------------------- 18 #define VI6_CMD_UPDHDR BIT(4) 19 #define VI6_CMD_STRCMD BIT(0) 22 #define VI6_CLK_DCSWT_CSTPW_MASK (0xff << 8) 23 #define VI6_CLK_DCSWT_CSTPW_SHIFT 8 28 #define VI6_SRESET_SRTS(n) BIT(n) 31 #define VI6_STATUS_FLD_STD(n) BIT((n) + 28) 32 #define VI6_STATUS_SYS_ACT(n) BIT((n) + 8) [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 10 #define DATA_RATE_MODE_CTRL_MASK GENMASK(8, 7) 11 #define DATA_RATE_MODE_CTRL_MASK_V1 GENMASK(10, 8) 28 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_rate_mode() 41 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_ht_mcs() 49 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_mcs() 62 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_nss() 71 #define RTW89_TXWD_BODY0_MORE_DATA BIT(23) 72 #define RTW89_TXWD_BODY0_WD_INFO_EN BIT(22) 73 #define RTW89_TXWD_BODY0_FW_DL BIT(20) [all …]
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * mt8186-reg.h -- Mediatek 8186 audio driver reg definition 12 /* reg bit enum */ 26 #define RESERVED_MASK_SFT BIT(31) 28 #define AHB_IDLE_EN_INT_MASK_SFT BIT(30) 30 #define AHB_IDLE_EN_EXT_MASK_SFT BIT(29) 32 #define PDN_NLE_MASK_SFT BIT(28) 34 #define PDN_TML_MASK_SFT BIT(27) 36 #define PDN_DAC_PREDIS_MASK_SFT BIT(26) 38 #define PDN_DAC_MASK_SFT BIT(25) [all …]
|
/linux/drivers/media/cec/platform/tegra/ |
H A D | tegra_cec.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (c) 2012-2015, NVIDIA CORPORATION. All rights reserved. 11 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 37 #define TEGRA_CEC_HWCTRL_RX_SNOOP BIT(15) 38 #define TEGRA_CEC_HWCTRL_RX_NAK_MODE BIT(16) 39 #define TEGRA_CEC_HWCTRL_TX_NAK_MODE BIT(24) 40 #define TEGRA_CEC_HWCTRL_FAST_SIM_MODE BIT(30) 41 #define TEGRA_CEC_HWCTRL_TX_RX_MODE BIT(31) 43 #define TEGRA_CEC_INPUT_FILTER_MODE BIT(31) 47 #define TEGRA_CEC_TX_REG_EOM BIT(8) [all …]
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_regs.h | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (C) 2017-2018 Broadcom */ 30 # define V3D_HUB_IDENT1_WITH_MSO BIT(19) 31 # define V3D_HUB_IDENT1_WITH_TSY BIT(18) 32 # define V3D_HUB_IDENT1_WITH_TFU BIT(17) 33 # define V3D_HUB_IDENT1_WITH_L3C BIT(16) 36 # define V3D_HUB_IDENT1_NCORES_MASK V3D_MASK(11, 8) 37 # define V3D_HUB_IDENT1_NCORES_SHIFT 8 44 # define V3D_HUB_IDENT2_WITH_MMU BIT(8) 49 # define V3D_HUB_IDENT3_IPREV_MASK V3D_MASK(15, 8) [all …]
|
/linux/Documentation/gpu/ |
H A D | afbc.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 It provides fine-grained random access and minimizes the amount of 21 AFBC streams can contain several components - where a component 37 reside in the least-significant bits of the corresponding linear 42 * Component 0: R(8) 43 * Component 1: G(8) 44 * Component 2: B(8) 45 * Component 3: A(8) 49 * Component 0: R(8) 50 * Component 1: G(8) [all …]
|