/linux/include/linux/mfd/da9150/ |
H A D | registers.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * DA9150 MFD Driver - Registers 159 #define DA9150_WRITE_MODE_SHIFT 6 160 #define DA9150_WRITE_MODE_MASK BIT(6) 162 #define DA9150_REVERT_MASK BIT(7) 167 #define DA9150_SLEEP_STAT_SHIFT 6 168 #define DA9150_SLEEP_STAT_MASK (0x03 << 6) 172 #define DA9150_VFAULT_STAT_MASK BIT(0) 174 #define DA9150_TFAULT_STAT_MASK BIT(1) 178 #define DA9150_VDD33_STAT_MASK BIT(0) [all …]
|
/linux/Documentation/input/devices/ |
H A D | elantech.rst | 4 Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net> 24 5.2 Native absolute mode 6 byte packet format 25 5.2.1 Parity checking and packet re-synchronization 28 6. Hardware version 3 30 6.2 Native absolute mode 6 byte packet format 35 7.2 Native absolute mode 6 byte packet format 41 8.2 Native relative mode 6 byte packet format 52 packet. Version 2 seems to be introduced with the EeePC and uses 6 bytes 54 and width of the touch. Hardware version 3 uses 6 bytes per packet (and 55 for 2 fingers the concatenation of two 6 bytes packets) and allows tracking [all …]
|
/linux/include/linux/mfd/da9062/ |
H A D | registers.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2015-2017 Dialog Semiconductor 151 * Bit fields 157 #define DA9062AA_WRITE_MODE_SHIFT 6 158 #define DA9062AA_WRITE_MODE_MASK BIT(6) 160 #define DA9062AA_REVERT_MASK BIT(7) 166 #define DA9062AA_DVC_BUSY_MASK BIT(2) 172 #define DA9062AA_GPI1_MASK BIT(1) 174 #define DA9062AA_GPI2_MASK BIT(2) 176 #define DA9062AA_GPI3_MASK BIT(3) [all …]
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 Microchip Technology Inc. 14 /* 0 - Operation */ 43 #define SW_GIGABIT_ABLE BIT(6) 44 #define SW_REDUNDANCY_ABLE BIT(5) 45 #define SW_AVB_ABLE BIT(4) 63 #define SW_QW_ABLE BIT(5) 69 #define LUE_INT BIT(31) 70 #define TRIG_TS_INT BIT(30) 71 #define APB_TIMEOUT_INT BIT(29) [all …]
|
H A D | ksz8_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 27 #define KSZ8863_GLOBAL_SOFTWARE_RESET BIT(4) 28 #define KSZ8863_PCS_RESET BIT(0) 31 #define KSZ88X3_PORT3_RMII_CLK_INTERNAL BIT(3) 35 #define SW_NEW_BACKOFF BIT(7) 36 #define SW_GLOBAL_RESET BIT(6) 37 #define SW_FLUSH_DYN_MAC_TABLE BIT(5) 38 #define SW_FLUSH_STA_MAC_TABLE BIT(4) 39 #define SW_LINK_AUTO_AGING BIT(0) 43 #define SW_HUGE_PACKET BIT(6) [all …]
|
/linux/drivers/usb/typec/tcpm/ |
H A D | fusb302_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright 2016-2017 Google, Inc 5 * Fairchild FUSB302 Type-C Chip Driver 13 #define FUSB_REG_SWITCHES0_CC2_PU_EN BIT(7) 14 #define FUSB_REG_SWITCHES0_CC1_PU_EN BIT(6) 15 #define FUSB_REG_SWITCHES0_VCONN_CC2 BIT(5) 16 #define FUSB_REG_SWITCHES0_VCONN_CC1 BIT(4) 17 #define FUSB_REG_SWITCHES0_MEAS_CC2 BIT(3) 18 #define FUSB_REG_SWITCHES0_MEAS_CC1 BIT(2) 19 #define FUSB_REG_SWITCHES0_CC2_PD_EN BIT(1) [all …]
|
/linux/Documentation/userspace-api/media/rc/ |
H A D | rc-protos.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 17 Other things can be encoded too. Some IR protocols encode a toggle bit; this 20 toggle bit will invert from one IR message to the next. 22 Some remotes have a pointer-type device which can used to control the 29 rc-5 (RC_PROTO_RC5) 30 ------------------- 38 .. flat-table:: rc5 bits scancode mapping 41 * - rc-5 bit 43 - scancode bit 45 - description [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 …]
|
H A D | rk3328_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 #define PWR_RST_BYPASS_DIS (0x0 << 6) 30 #define PWR_RST_BYPASS_EN (0x1 << 6) 37 #define PIN_DIRECTION_MASK BIT(5) 40 #define DAC_I2S_MODE_MASK BIT(4) 45 #define DAC_I2S_LRP_MASK BIT(7) 48 #define DAC_VDL_MASK GENMASK(6, 5) 58 #define DAC_LR_SWAP_MASK BIT(2) 68 #define DAC_RST_MASK BIT(1) 71 #define DAC_BCP_MASK BIT(0) [all …]
|
H A D | tas6424.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier 5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 57 #define TAS6424_RESET BIT(7) 60 #define TAS6424_SAP_RATE_MASK GENMASK(7, 6) 61 #define TAS6424_SAP_RATE_44100 (0x00 << 6) 62 #define TAS6424_SAP_RATE_48000 (0x01 << 6) 63 #define TAS6424_SAP_RATE_96000 (0x02 << 6) 64 #define TAS6424_SAP_TDM_SLOT_LAST BIT(5) 65 #define TAS6424_SAP_TDM_SLOT_SZ_16 BIT(4) [all …]
|
H A D | wcd939x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 15 #define WCD939X_BIAS_ANALOG_BIAS_EN BIT(7) 16 #define WCD939X_BIAS_PRECHRG_EN BIT(6) 17 #define WCD939X_BIAS_PRECHRG_CTL_MODE BIT(5) 19 #define WCD939X_RX_SUPPLIES_VPOS_EN BIT(7) 20 #define WCD939X_RX_SUPPLIES_VNEG_EN BIT(6) 21 #define WCD939X_RX_SUPPLIES_VPOS_PWR_LVL BIT(3) 22 #define WCD939X_RX_SUPPLIES_VNEG_PWR_LVL BIT(2) 23 #define WCD939X_RX_SUPPLIES_REGULATOR_MODE BIT(1) [all …]
|
/linux/include/linux/mfd/ |
H A D | lp87565.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ 97 #define LP87565_BUCK_CTRL_1_EN BIT(7) 98 #define LP87565_BUCK_CTRL_1_EN_PIN_CTRL BIT(6) 101 #define LP87565_BUCK_CTRL_1_ROOF_FLOOR_EN BIT(3) 102 #define LP87565_BUCK_CTRL_1_RDIS_EN BIT(2) 103 #define LP87565_BUCK_CTRL_1_FPWM BIT(1) 105 #define LP87565_BUCK_CTRL_1_FPWM_MP_0_2 BIT(0) 119 #define LP87565_RESET_SW_RESET BIT(0) 121 #define LP87565_CONFIG_DOUBLE_DELAY BIT(7) [all …]
|
H A D | lp873x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 68 #define LP873X_BUCK0_CTRL_1_BUCK0_FPWM BIT(3) 69 #define LP873X_BUCK0_CTRL_1_BUCK0_RDIS_EN BIT(2) 70 #define LP873X_BUCK0_CTRL_1_BUCK0_EN_PIN_CTRL BIT(1) 71 #define LP873X_BUCK0_CTRL_1_BUCK0_EN BIT(0) 76 #define LP873X_BUCK1_CTRL_1_BUCK1_FPWM BIT(3) 77 #define LP873X_BUCK1_CTRL_1_BUCK1_RDIS_EN BIT(2) 78 #define LP873X_BUCK1_CTRL_1_BUCK1_EN_PIN_CTRL BIT(1) 79 #define LP873X_BUCK1_CTRL_1_BUCK1_EN BIT(0) [all …]
|
H A D | max77620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Defining registers address and its bit definitions of MAX77620 and MAX20024 74 #define MAX77620_TRACK4_MASK BIT(5) 118 #define MAX77620_FPS_SRC_SHIFT 6 157 #define MAX77620_SD_CNF2_ROVS_EN_SD1 BIT(1) 158 #define MAX77620_SD_CNF2_ROVS_EN_SD0 BIT(2) 167 #define MAX77620_SD_SR_SHIFT 6 170 #define MAX77620_SD_CFG1_ADE_MASK BIT(3) 172 #define MAX77620_SD_CFG1_ADE_ENABLE BIT(3) 177 #define MAX77620_SD_CFG1_FPWM_SD_MASK BIT(2) [all …]
|
H A D | tps65219.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2022 BayLibre Incorporated - https://www.baylibre.com/ 91 #define TPS65219_REG_INT_TO_RV_POS 6 103 #define TPS65219_BUCKS_UV_THR_SEL_MASK BIT(6) 104 #define TPS65219_BUCKS_BW_SEL_MASK BIT(7) 105 #define LDO_BYP_SHIFT 6 106 #define TPS65219_LDOS_BYP_CONFIG_MASK BIT(LDO_BYP_SHIFT) 107 #define TPS65219_LDOS_LSW_CONFIG_MASK BIT(7) 109 #define TPS65219_ENABLE_BUCK1_EN_MASK BIT(0) 110 #define TPS65219_ENABLE_BUCK2_EN_MASK BIT(1) [all …]
|
H A D | max77843-private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 183 #define MAX77843_SYS_IRQ_SYSUVLO_INT BIT(0) 184 #define MAX77843_SYS_IRQ_SYSOVLO_INT BIT(1) 185 #define MAX77843_SYS_IRQ_TSHDN_INT BIT(2) 186 #define MAX77843_SYS_IRQ_TM_INT BIT(3) 190 #define MAX77843_MAINCTRL1_BIASEN_MASK BIT(MAINCTRL1_BIASEN_SHIFT) 194 #define MCONFIG_MEN_SHIFT 6 197 #define MAX77843_MCONFIG_MODE_MASK BIT(MCONFIG_MODE_SHIFT) 198 #define MAX77843_MCONFIG_MEN_MASK BIT(MCONFIG_MEN_SHIFT) 202 #define MAX77843_CHG_BYP_I BIT(0) [all …]
|
/linux/drivers/platform/x86/intel/pmc/ |
H A D | mtl.c | 1 // SPDX-License-Identifier: GPL-2.0 20 static const u8 MTL_LPM_REG_INDEX[] = {0, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20}; 25 * MTL-M SOC-M IOE-M None 26 * MTL-P SOC-M IOE-P None 27 * MTL-S SOC-S IOE-P PCH-S 31 {"PMC", BIT(0)}, 32 {"OPI", BIT(1)}, 33 {"SPI", BIT(2)}, 34 {"XHCI", BIT(3)}, 35 {"SPA", BIT(4)}, [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | sil-sii8620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 35 #define BIT_SYS_CTRL1_OTPVMUTEOVR_SET BIT(7) 36 #define BIT_SYS_CTRL1_VSYNCPIN BIT(6) 37 #define BIT_SYS_CTRL1_OTPADROPOVR_SET BIT(5) 38 #define BIT_SYS_CTRL1_BLOCK_DDC_BY_HPD BIT(4) 39 #define BIT_SYS_CTRL1_OTP2XVOVR_EN BIT(3) 40 #define BIT_SYS_CTRL1_OTP2XAOVR_EN BIT(2) 41 #define BIT_SYS_CTRL1_TX_CTRL_HDMI BIT(1) 42 #define BIT_SYS_CTRL1_OTPAMUTEOVR_SET BIT(0) [all …]
|
/linux/include/soc/mscc/ |
H A D | ocelot_ana.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 11 #define ANA_ANAGEFIL_B_DOM_EN BIT(22) 12 #define ANA_ANAGEFIL_B_DOM_VAL BIT(21) 13 #define ANA_ANAGEFIL_AGE_LOCKED BIT(20) 14 #define ANA_ANAGEFIL_PID_EN BIT(19) 18 #define ANA_ANAGEFIL_VID_EN BIT(13) 24 #define ANA_STORMLIMIT_CFG_STORM_RATE(x) (((x) << 3) & GENMASK(6, 3)) 25 #define ANA_STORMLIMIT_CFG_STORM_RATE_M GENMASK(6, 3) 26 #define ANA_STORMLIMIT_CFG_STORM_RATE_X(x) (((x) & GENMASK(6, 3)) >> 3) 27 #define ANA_STORMLIMIT_CFG_STORM_UNIT 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/power/supply/ |
H A D | bd99954-charger.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 483 [F_CHGSTM_STATE] = REG_FIELD(CHGSTM_STATUS, 0, 6), 487 [F_VRECHG_DET] = REG_FIELD(CHGOP_STATUS, 6, 6), 502 [F_VBUS_EN] = REG_FIELD(VIN_CTRL_SET, 6, 6), 514 [F_AUTO_TOF] = REG_FIELD(CHGOP_SET1, 6, 6), 522 [F_USB_SUS] = REG_FIELD(CHGOP_SET2, 6, 6), 534 [F_VSYSREG_SET] = REG_FIELD(VSYSREG_SET, 6, 14), 535 [F_VSYSVAL_THH_SET] = REG_FIELD(VSYSVAL_THH_SET, 6, 14), 536 [F_VSYSVAL_THL_SET] = REG_FIELD(VSYSVAL_THL_SET, 6, 14), 537 [F_ITRICH_SET] = REG_FIELD(ITRICH_SET, 6, 10), [all …]
|
/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_dsi_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #define DSI_MCTL_MAIN_DATA_CTL_LINK_EN BIT(0) 9 #define DSI_MCTL_MAIN_DATA_CTL_IF1_MODE BIT(1) 10 #define DSI_MCTL_MAIN_DATA_CTL_VID_EN BIT(2) 11 #define DSI_MCTL_MAIN_DATA_CTL_TVG_SEL BIT(3) 12 #define DSI_MCTL_MAIN_DATA_CTL_TBG_SEL BIT(4) 13 #define DSI_MCTL_MAIN_DATA_CTL_IF1_TE_EN BIT(5) 14 #define DSI_MCTL_MAIN_DATA_CTL_IF2_TE_EN BIT(6) 15 #define DSI_MCTL_MAIN_DATA_CTL_REG_TE_EN BIT(7) 16 #define DSI_MCTL_MAIN_DATA_CTL_READ_EN BIT(8) [all …]
|
/linux/drivers/pinctrl/tegra/ |
H A D | pinctrl-tegra.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 47 /* argument: Integer, range is HW-dependant */ 49 /* argument: Integer, range is HW-dependant */ 51 /* argument: Integer, range is HW-dependant */ 53 /* argument: Integer, range is HW-dependant */ 55 /* argument: Integer, range is HW-dependant */ 75 * struct tegra_function - Tegra pinctrl mux function 87 * struct tegra_pingroup - Tegra pin group 96 * @mux_bit: Mux register bit. 97 * @pupd_reg: Pull-up/down register offset. [all …]
|
/linux/include/linux/mfd/abx500/ |
H A D | ab8500-sysctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) ST-Ericsson SA 2010 83 #define AB8500_TURNONSTATUS_PORNVBAT BIT(0) 84 #define AB8500_TURNONSTATUS_PONKEY1DBF BIT(1) 85 #define AB8500_TURNONSTATUS_PONKEY2DBF BIT(2) 86 #define AB8500_TURNONSTATUS_RTCALARM BIT(3) 87 #define AB8500_TURNONSTATUS_MAINCHDET BIT(4) 88 #define AB8500_TURNONSTATUS_VBUSDET BIT(5) 89 #define AB8500_TURNONSTATUS_USBIDDETECT BIT(6) 91 #define AB8500_RESETSTATUS_RESETN4500NSTATUS BIT(0) [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_hdmi_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #define LR_SWAP BIT(0) 13 #define LFE_CC_SWAP BIT(1) 14 #define LSRS_SWAP BIT(2) 15 #define RLS_RRS_SWAP BIT(3) 16 #define LR_STATUS_SWAP BIT(4) 23 #define I2S_UV_V BIT(0) 24 #define I2S_UV_U BIT(1) 26 #define I2S_UV_CH_EN(x) BIT((x) + 2) 27 #define I2S_UV_TMDS_DEBUG BIT(6) [all …]
|