| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_gen4_ras.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #define ADF_GEN4_ERRSOU0_BIT BIT(0) 18 #define ADF_GEN4_ERRSOU1_HIAEUNCERRLOG_CPP0_BIT BIT(0) 19 #define ADF_GEN4_ERRSOU1_HICPPAGENTCMDPARERRLOG_BIT BIT(1) 20 #define ADF_GEN4_ERRSOU1_RIMEM_PARERR_STS_BIT BIT(2) 21 #define ADF_GEN4_ERRSOU1_TIMEM_PARERR_STS_BIT BIT(3) 22 #define ADF_GEN4_ERRSOU1_RIMISCSTS_BIT BIT(4) 51 * BIT(0) - BIT(3) - ri_iosf_pdata_rxq[0:3] parity error 52 * BIT(4) - ri_tlq_phdr parity error 53 * BIT(5) - ri_tlq_pdata parity error [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpkg.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2013-2015 Freescale Semiconductor Inc. 16 * DPKG_NUM_OF_MASKS - Number of masks per key extraction 21 * DPKG_MAX_NUM_OF_EXTRACTS - Number of extractions per key profile 26 * enum dpkg_extract_from_hdr_type - Selecting extraction by header types 38 * enum dpkg_extract_type - Enumeration for selecting extraction type 41 * @DPKG_EXTRACT_FROM_PARSE: Extract from parser-result; 52 * struct dpkg_mask - A structure for defining a single extraction mask 64 #define NH_FLD_ETH_DA BIT(0) 65 #define NH_FLD_ETH_SA BIT(1) [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2024 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 | lan937x_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019-2024 Microchip Technology Inc. 10 /* 0 - Operation */ 13 #define SW_PHY_REG_BLOCK BIT(7) 14 #define SW_FAST_MODE BIT(3) 15 #define SW_FAST_MODE_OVERRIDE BIT(2) 20 #define LUE_INT BIT(31) 21 #define TRIG_TS_INT BIT(30) 22 #define APB_TIMEOUT_INT BIT(29) 23 #define OVER_TEMP_INT BIT(28) [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/comedi/drivers/ |
| 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 …]
|
| /linux/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
| H A D | sun8i_a83t_mipi_csi2_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Copyright 2020-2022 Bootlin 14 #define SUN8I_A83T_MIPI_CSI2_CTRL_RESET_N BIT(31) 24 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_ECC_ERR_DBL BIT(28) 25 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_LINE_CKSM_ERR_VC3 BIT(27) 26 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_LINE_CKSM_ERR_VC2 BIT(26) 27 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_LINE_CKSM_ERR_VC1 BIT(25) 28 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_LINE_CKSM_ERR_VC0 BIT(24) 29 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_LINE_SEQ_ERR_DT3 BIT(23) 30 #define SUN8I_A83T_MIPI_CSI2_INT_STA0_LINE_SEQ_ERR_DT2 BIT(22) [all …]
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-bcm63xx-gate.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <linux/clk-provider.h> 8 #include <dt-bindings/clock/bcm3368-clock.h> 9 #include <dt-bindings/clock/bcm6318-clock.h> 10 #include <dt-bindings/clock/bcm6328-clock.h> 11 #include <dt-bindings/clock/bcm6358-clock.h> 12 #include <dt-bindings/clock/bcm6362-clock.h> 13 #include <dt-bindings/clock/bcm6368-clock.h> 14 #include <dt-bindings/clock/bcm63268-clock.h> 18 u8 bit; member [all …]
|
| /linux/drivers/net/ieee802154/ |
| H A D | mcr20a.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Driver for NXP MCR20A 802.15.4 Wireless-PAN Networking controller 50 /*------------------ 0x27 */ 69 /*----------------------- 0x3A */ 118 /*-------------------- 0x29 */ 124 /*------------------ 0x2F */ 128 /*------------------- 0x33 */ 147 /*-------------------- 0x46 */ 163 /*------------------- 0x56 */ 164 /*------------------- 0x57 */ [all …]
|
| /linux/drivers/net/ethernet/asix/ |
| H A D | ax88796c_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 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) 160 #define FER_RH3M BIT(2) [all …]
|
| /linux/drivers/reset/ |
| H A D | reset-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/reset-controller.h> 14 #include <dt-bindings/reset/aspeed,ast2700-scu.h> 24 u32 offset, bit; member 35 spinlock_t lock; /* Protect read-modify-write cycle */ 40 [SCU0_RESET_SDRAM] = { true, SCU0_RESET_CTRL1, BIT(0) }, 41 [SCU0_RESET_DDRPHY] = { true, SCU0_RESET_CTRL1, BIT(1) }, 42 [SCU0_RESET_RSA] = { true, SCU0_RESET_CTRL1, BIT(2) }, 43 [SCU0_RESET_SHA3] = { true, SCU0_RESET_CTRL1, BIT(3) }, 44 [SCU0_RESET_HACE] = { true, SCU0_RESET_CTRL1, BIT(4) }, [all …]
|
| H A D | reset-imx7.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/reset-controller.h> 16 #include <dt-bindings/reset/imx7-reset.h> 17 #include <dt-bindings/reset/imx8mq-reset.h> 18 #include <dt-bindings/reset/imx8mp-reset.h> 21 unsigned int offset, bit; member 51 const struct imx7_src_signal *signal = &imx7src->signals[id]; in imx7_reset_update() 53 return regmap_update_bits(imx7src->regmap, in imx7_reset_update() 54 signal->offset, signal->bit, value); in imx7_reset_update() 58 [IMX7_RESET_A7_CORE_POR_RESET0] = { SRC_A7RCR0, BIT(0) }, [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 106 /*----------------------------------------------------- 110 *----------------------------------------------------- 121 /*----------------------------------------------------- 125 *----------------------------------------------------- 137 /*----------------------------------------------------- 141 *----------------------------------------------------- 206 *----------------------------------------------------- 210 *----------------------------------------------------- [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/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 | rohm-bd71815.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 * Author: yanglsh@embest-tech.com 32 /* LDO for Low-Power State Retention */ 236 #define BD71815_BUCK_PWM_FIXED BIT(4) 237 #define BD71815_BUCK_SNVS_ON BIT(3) 238 #define BD71815_BUCK_RUN_ON BIT(2) 239 #define BD71815_BUCK_LPSR_ON BIT(1) 240 #define BD71815_BUCK_SUSP_ON BIT(0) 243 #define BD71815_BUCK_DVSSEL BIT(7) 244 #define BD71815_BUCK_STBY_DVS BIT(6) [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/net/wireless/realtek/rtl8xxxu/ |
| H A D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014 - 2017 Jes Sorensen <Jes.Sorensen@gmail.com> 10 #define SYS_ISO_MD2PP BIT(0) 11 #define SYS_ISO_ANALOG_IPS BIT(5) 12 #define SYS_ISO_DIOR BIT(9) 13 #define SYS_ISO_PWC_EV25V BIT(14) 14 #define SYS_ISO_PWC_EV12V BIT(15) 17 #define SYS_FUNC_BBRSTB BIT(0) 18 #define SYS_FUNC_BB_GLB_RSTN BIT(1) 19 #define SYS_FUNC_USBA BIT(2) [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/media/platform/ti/omap3isp/ |
| H A D | ispreg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * TI OMAP3 ISP - Registers definitions 48 #define ISPCCP2_SYSCONFIG_SOFT_RESET BIT(1) 58 #define ISPCCP2_SYSSTATUS_RESET_DONE BIT(0) 61 #define ISPCCP2_LC01_IRQSTATUS_LC0_FS_IRQ BIT(11) 62 #define ISPCCP2_LC01_IRQSTATUS_LC0_LE_IRQ BIT(10) 63 #define ISPCCP2_LC01_IRQSTATUS_LC0_LS_IRQ BIT(9) 64 #define ISPCCP2_LC01_IRQSTATUS_LC0_FE_IRQ BIT(8) 65 #define ISPCCP2_LC01_IRQSTATUS_LC0_COUNT_IRQ BIT(7) 66 #define ISPCCP2_LC01_IRQSTATUS_LC0_FIFO_OVF_IRQ BIT(5) [all …]
|
| /linux/drivers/usb/mtu3/ |
| H A D | mtu3_hw_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mtu3_hw_regs.h - MediaTek USB3 DRD register and field definitions 23 /* --------------- SSUSB_DEV REGISTER DEFINITION --------------- */ 93 /*---------------- SSUSB_DEV FIELD DEFINITION ---------------*/ 96 #define EP_CTRL_INTR BIT(5) 97 #define MAC2_INTR BIT(4) 98 #define DMA_INTR BIT(3) 99 #define MAC3_INTR BIT(2) 100 #define QMU_INTR BIT(1) 101 #define BMU_INTR BIT(0) [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 7 /* ----------------------------------------------------- */ 9 /* ----------------------------------------------------- */ 71 #define MAC0_ON BIT(7) 72 #define MAC1_ON BIT(0) 73 #define MAC0_READY BIT(0) 74 #define MAC1_READY BIT(0) 76 /* ----------------------------------------------------- */ 78 /* ----------------------------------------------------- */ [all …]
|
| /linux/drivers/power/supply/ |
| H A D | qcom_smbx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved. 7 * This driver is for the switch-mode battery charger and boost 12 #include <linux/devm-helpers.h> 26 /* clang-format off */ 28 #define BVR_INITIAL_RAMP_BIT BIT(7) 29 #define CC_SOFT_TERMINATE_BIT BIT(6) 35 #define INPUT_CURRENT_LIMITED_BIT BIT(7) 36 #define CHARGER_ERROR_STATUS_SFT_EXPIRE_BIT BIT(6) 37 #define CHARGER_ERROR_STATUS_BAT_OV_BIT BIT(5) [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 …]
|