/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac3_mac.h | 1 /* SPDX-License-Identifier: ISC */ 28 #define MT_RXD0_MESH BIT(18) 29 #define MT_RXD0_MHCP BIT(19) 31 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 32 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 40 #define MT_RXD1_NORMAL_GROUP_1 BIT(16) 41 #define MT_RXD1_NORMAL_GROUP_2 BIT(17) 42 #define MT_RXD1_NORMAL_GROUP_3 BIT(18) 43 #define MT_RXD1_NORMAL_GROUP_4 BIT(19) 44 #define MT_RXD1_NORMAL_GROUP_5 BIT(20) [all …]
|
H A D | mt76_connac2_mac.h | 1 /* SPDX-License-Identifier: ISC */ 41 #define MT_TX_FREE_PAIR BIT(31) 46 #define MT_TXD0_PKT_FMT GENMASK(24, 23) 50 #define MT_TXD1_LONG_FORMAT BIT(31) 51 #define MT_TXD1_TGID BIT(30) 52 #define MT_TXD1_OWN_MAC GENMASK(29, 24) 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/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.h | 1 /* SPDX-License-Identifier: ISC */ 15 #define MT_RXD0_NORMAL_IP_SUM BIT(23) 16 #define MT_RXD0_NORMAL_UDP_TCP_SUM BIT(24) 17 #define MT_RXD0_NORMAL_GROUP_1 BIT(25) 18 #define MT_RXD0_NORMAL_GROUP_2 BIT(26) 19 #define MT_RXD0_NORMAL_GROUP_3 BIT(27) 20 #define MT_RXD0_NORMAL_GROUP_4 BIT(28) 23 #define MT_RXD1_NORMAL_PAYLOAD_FORMAT GENMASK(25, 24) 25 #define MT_RXD1_MID_AMSDU_FRAME BIT(1) 26 #define MT_RXD1_LAST_AMSDU_FRAME BIT(0) [all …]
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750_accel.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 #define DE_SOURCE_WRAP BIT(31) 32 #define DE_DESTINATION_WRAP BIT(31) 43 #define DE_CONTROL_STATUS BIT(31) 44 #define DE_CONTROL_PATTERN BIT(30) 45 #define DE_CONTROL_UPDATE_DESTINATION_X BIT(29) 46 #define DE_CONTROL_QUICK_START BIT(28) 47 #define DE_CONTROL_DIRECTION BIT(27) 48 #define DE_CONTROL_MAJOR BIT(26) 49 #define DE_CONTROL_STEP_X BIT(25) [all …]
|
/openbmc/linux/drivers/gpu/drm/mxsfb/ |
H A D | lcdif_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 39 #define CTRL_SFTRST BIT(31) 40 #define CTRL_CLKGATE BIT(30) 41 #define CTRL_BYPASS_COUNT BIT(19) 42 #define CTRL_VSYNC_MODE BIT(18) 43 #define CTRL_DOTCLK_MODE BIT(17) 44 #define CTRL_DATA_SELECT BIT(16) 54 #define CTRL_MASTER BIT(5) 55 #define CTRL_DF16 BIT(3) 56 #define CTRL_DF18 BIT(2) [all …]
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-sun6i-a31.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai 5 * Chen-Yu Tsai <wens@csie.org> 7 * Based on ccu-sun8i-h3.c by Maxime Ripard. 10 #include <linux/clk-provider.h> 30 #include "ccu-sun6i-a31.h" 32 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_cpu_clk, "pll-cpu", 37 BIT(31), /* gate */ 38 BIT(28), /* lock */ 46 * With sigma-delta modulation for fractional-N on the audio PLL, [all …]
|
H A D | ccu-sun50i-h6.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 23 #include "ccu-sun50i-h6.h" 37 .enable = BIT(31), 38 .lock = BIT(28), 42 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 51 .enable = BIT(31), 52 .lock = BIT(28), 58 .hw.init = CLK_HW_INIT("pll-ddr0", "osc24M", 66 .enable = BIT(31), [all …]
|
H A D | ccu-sun8i-r40.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 25 #include "ccu-sun8i-r40.h" 29 .enable = BIT(31), 30 .lock = BIT(28), 37 .hw.init = CLK_HW_INIT("pll-cpu", 49 * With sigma-delta modulation for fractional-N on the audio PLL, 63 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 67 pll_audio_sdm_table, BIT(24), 68 0x284, BIT(31), [all …]
|
H A D | ccu-sun20i-d1.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 26 #include "ccu-sun20i-d1.h" 38 .enable = BIT(27), 39 .lock = BIT(28), 43 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-cpux", osc24M, 52 .enable = BIT(27), 53 .lock = BIT(28), 59 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-ddr0", osc24M, 67 .enable = BIT(27), [all …]
|
H A D | ccu-sun50i-a100.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 23 #include "ccu-sun50i-a100.h" 25 #define SUN50I_A100_PLL_SDM_ENABLE BIT(24) 26 #define SUN50I_A100_PLL_OUTPUT_ENABLE BIT(27) 27 #define SUN50I_A100_PLL_LOCK BIT(28) 28 #define SUN50I_A100_PLL_LOCK_ENABLE BIT(29) 29 #define SUN50I_A100_PLL_ENABLE BIT(31) 50 .hw.init = CLK_HW_INIT("pll-cpux", "dcxo24M", 66 .hw.init = CLK_HW_INIT("pll-ddr0", "dcxo24M", [all …]
|
H A D | ccu-sun9i-a80.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved. 6 #include <linux/clk-provider.h> 21 #include "ccu-sun9i-a80.h" 28 * Neither mainline Linux, U-boot, nor the vendor BSPs use these. 36 .enable = BIT(31), 37 .lock = BIT(0), 43 .hw.init = CLK_HW_INIT("pll-c0cpux", "osc24M", 50 .enable = BIT(31), 51 .lock = BIT(1), [all …]
|
H A D | ccu-sun8i-a33.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 24 #include "ccu-sun8i-a23-a33.h" 27 .enable = BIT(31), 28 .lock = BIT(28), 37 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 48 * With sigma-delta modulation for fractional-N on the audio PLL, 62 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base", 66 pll_audio_sdm_table, BIT(24), 67 0x284, BIT(31), [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | divide.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * __divqu: 64-bit unsigned long divide 15 * __remqu: 64-bit unsigned long remainder 16 * __divqs/__remqs: signed 64-bit 17 * __divlu/__remlu: unsigned 32-bit 18 * __divls/__remls: signed 32-bit 22 * $24 and $25, and return the result in $27. Register $28 may 27 * This is a rather simple bit-at-a-time algorithm: it's very good 28 * at dividing random 64-bit numbers, but the more usual case where 37 * $0 - current bit [all …]
|
/openbmc/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 …]
|
/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 24 ((2 << 24) | \ 47 # define V3D_L2CACTL_L2CCLR BIT(2) 48 # define V3D_L2CACTL_L2CDIS BIT(1) 49 # define V3D_L2CACTL_L2CENA BIT(0) 52 # define V3D_SLCACTL_T1CC_MASK VC4_MASK(27, 24) 53 # define V3D_SLCACTL_T1CC_SHIFT 24 64 # define V3D_INT_SPILLUSE BIT(3) 65 # define V3D_INT_OUTOMEM BIT(2) [all …]
|
/openbmc/linux/include/linux/mfd/syscon/ |
H A D | imx6q-iomuxc-gpr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 40 #define IMX6Q_GPR0_CLOCK_3_MUX_SEL_MASK (0x3 << 24) 41 #define IMX6Q_GPR0_CLOCK_3_MUX_SEL_AUDMUX_RXCLK_P7_MUXED (0x3 << 24) 42 #define IMX6Q_GPR0_CLOCK_3_MUX_SEL_AUDMUX_RXCLK_P7 (0x3 << 24) 43 #define IMX6Q_GPR0_CLOCK_3_MUX_SEL_SSI3_SSI_SRCK (0x3 << 24) 44 #define IMX6Q_GPR0_CLOCK_3_MUX_SEL_SSI3_RX_BIT_CLK (0x3 << 24) 69 #define IMX6Q_GPR0_DMAREQ_MUX_SEL7_MASK BIT(7) 71 #define IMX6Q_GPR0_DMAREQ_MUX_SEL7_IOMUX BIT(7) 72 #define IMX6Q_GPR0_DMAREQ_MUX_SEL6_MASK BIT(6) 74 #define IMX6Q_GPR0_DMAREQ_MUX_SEL6_I2C3 BIT(6) [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 27 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_rate_mode() 40 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_ht_mcs() 48 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_mcs() 56 if (rtwdev->chip->chip_gen == RTW89_CHIP_BE) in rtw89_get_data_nss() 63 #define RTW89_TXWD_BODY0_WP_OFFSET GENMASK(31, 24) 64 #define RTW89_TXWD_BODY0_WP_OFFSET_V1 GENMASK(28, 24) 65 #define RTW89_TXWD_BODY0_MORE_DATA BIT(23) 66 #define RTW89_TXWD_BODY0_WD_INFO_EN BIT(22) 67 #define RTW89_TXWD_BODY0_FW_DL BIT(20) [all …]
|
/openbmc/linux/drivers/gpu/drm/tve200/ |
H A D | tve200_drm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2006-2008 Intel Corporation 28 /* Bits 2-31 are valid physical base addresses */ 36 #define TVE200_INT_BUS_ERR BIT(7) 37 #define TVE200_INT_V_STATUS BIT(6) /* vertical blank */ 38 #define TVE200_INT_V_NEXT_FRAME BIT(5) 39 #define TVE200_INT_U_NEXT_FRAME BIT(4) 40 #define TVE200_INT_Y_NEXT_FRAME BIT(3) 41 #define TVE200_INT_V_FIFO_UNDERRUN BIT(2) 42 #define TVE200_INT_U_FIFO_UNDERRUN BIT(1) [all …]
|
/openbmc/u-boot/arch/mips/mach-mscc/include/mach/luton/ |
H A D | luton_icpu_cfg.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 14 #define ICPU_RESET_CORE_RST_CPU_ONLY BIT(3) 15 #define ICPU_RESET_CORE_RST_PROTECT BIT(2) 16 #define ICPU_RESET_CORE_RST_FORCE BIT(1) 17 #define ICPU_RESET_MEM_RST_FORCE BIT(0) 21 #define ICPU_GENERAL_CTRL_SWC_CLEAR_IF BIT(6) 22 #define ICPU_GENERAL_CTRL_CPU_BUSIF_SLEEP_DIS BIT(5) 23 #define ICPU_GENERAL_CTRL_CPU_BUSIF_WERR_ENA BIT(4) 24 #define ICPU_GENERAL_CTRL_IF_MASTER_DIS BIT(3) 25 #define ICPU_GENERAL_CTRL_IF_MASTER_SPI_ENA BIT(2) [all …]
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_eth_io_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 24 /* 15:0 : length - Buffer length in bytes, must 26 * to update like End-to-End CRC, Authentication GMAC 29 * the 4-byte added in the end for 802.3 Ethernet FCS 30 * 21:16 : req_id_hi - Request ID[15:10] 31 * 22 : reserved22 - MBZ 32 * 23 : meta_desc - MBZ 33 * 24 : phase 34 * 25 : reserved1 - MBZ [all …]
|
/openbmc/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) 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) 35 #define VI6_WPF_IRQ_ENB_UNDE BIT(16) 36 #define VI6_WPF_IRQ_ENB_DFEE BIT(1) [all …]
|
/openbmc/linux/drivers/net/phy/mscc/ |
H A D | mscc_macsec.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 17 #define CONTROL_IV0 BIT(5) 18 #define CONTROL_IV1 BIT(6) 19 #define CONTROL_IV2 BIT(7) 20 #define CONTROL_UPDATE_SEQ BIT(13) 21 #define CONTROL_IV_IN_SEQ BIT(14) 22 #define CONTROL_ENCRYPT_AUTH BIT(15) 23 #define CONTROL_KEY_IN_CTX BIT(16) 33 #define CONTROL_SEQ_MASK BIT(30) 34 #define CONTROL_CONTEXT_ID BIT(31) [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/ |
H A D | clock_sun50i_h6.h | 6 * SPDX-License-Identifier: GPL-2.0+ 88 u8 reserved_0x528[24]; 205 u8 reserved_0xb64[24]; 208 u8 reserved_0xb84[24]; 225 /* pll1 bit field */ 226 #define CCM_PLL1_CTRL_EN BIT(31) 227 #define CCM_PLL1_LOCK_EN BIT(29) 228 #define CCM_PLL1_LOCK BIT(28) 229 #define CCM_PLL1_CLOCK_TIME_2 (2 << 24) 233 /* pll5 bit field */ [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-lite-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include "fimc-lite.h" 24 #define FLITE_REG_CIGCTRL_YUV422_1P (0x1e << 24) 25 #define FLITE_REG_CIGCTRL_RAW8 (0x2a << 24) 26 #define FLITE_REG_CIGCTRL_RAW10 (0x2b << 24) 27 #define FLITE_REG_CIGCTRL_RAW12 (0x2c << 24) 28 #define FLITE_REG_CIGCTRL_RAW14 (0x2d << 24) 30 #define FLITE_REG_CIGCTRL_USER(x) ((0x30 + x - 1) << 24) 31 #define FLITE_REG_CIGCTRL_FMT_MASK (0x3f << 24) 32 #define FLITE_REG_CIGCTRL_SHADOWMASK_DISABLE BIT(21) [all …]
|
/openbmc/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 …]
|