/openbmc/linux/include/linux/mfd/wm8350/ |
H A D | core.h | 27 #define WM8350_RESET_ID 0x00 28 #define WM8350_ID 0x01 29 #define WM8350_REVISION 0x02 30 #define WM8350_SYSTEM_CONTROL_1 0x03 31 #define WM8350_SYSTEM_CONTROL_2 0x04 32 #define WM8350_SYSTEM_HIBERNATE 0x05 33 #define WM8350_INTERFACE_CONTROL 0x06 34 #define WM8350_POWER_MGMT_1 0x08 35 #define WM8350_POWER_MGMT_2 0x09 36 #define WM8350_POWER_MGMT_3 0x0A [all …]
|
H A D | gpio.h | 16 #define WM8350_GPIO_DEBOUNCE 0x80 17 #define WM8350_GPIO_PIN_PULL_UP_CONTROL 0x81 18 #define WM8350_GPIO_PULL_DOWN_CONTROL 0x82 19 #define WM8350_GPIO_INT_MODE 0x83 20 #define WM8350_GPIO_CONTROL 0x85 21 #define WM8350_GPIO_CONFIGURATION_I_O 0x86 22 #define WM8350_GPIO_PIN_POLARITY_TYPE 0x87 23 #define WM8350_GPIO_FUNCTION_SELECT_1 0x8C 24 #define WM8350_GPIO_FUNCTION_SELECT_2 0x8D 25 #define WM8350_GPIO_FUNCTION_SELECT_3 0x8E [all …]
|
H A D | pmic.h | 19 #define WM8350_CURRENT_SINK_DRIVER_A 0xAC 20 #define WM8350_CSA_FLASH_CONTROL 0xAD 21 #define WM8350_CURRENT_SINK_DRIVER_B 0xAE 22 #define WM8350_CSB_FLASH_CONTROL 0xAF 23 #define WM8350_DCDC_LDO_REQUESTED 0xB0 24 #define WM8350_DCDC_ACTIVE_OPTIONS 0xB1 25 #define WM8350_DCDC_SLEEP_OPTIONS 0xB2 26 #define WM8350_POWER_CHECK_COMPARATOR 0xB3 27 #define WM8350_DCDC1_CONTROL 0xB4 28 #define WM8350_DCDC1_TIMEOUTS 0xB5 [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/privring/ |
H A D | gf100.c | 31 u32 addr = nvkm_rd32(device, 0x122120 + (i * 0x0400)); in gf100_privring_intr_hub() 32 u32 data = nvkm_rd32(device, 0x122124 + (i * 0x0400)); in gf100_privring_intr_hub() 33 u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400)); in gf100_privring_intr_hub() 41 u32 addr = nvkm_rd32(device, 0x124120 + (i * 0x0400)); in gf100_privring_intr_rop() 42 u32 data = nvkm_rd32(device, 0x124124 + (i * 0x0400)); in gf100_privring_intr_rop() 43 u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400)); in gf100_privring_intr_rop() 51 u32 addr = nvkm_rd32(device, 0x128120 + (i * 0x0400)); in gf100_privring_intr_gpc() 52 u32 data = nvkm_rd32(device, 0x128124 + (i * 0x0400)); in gf100_privring_intr_gpc() 53 u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400)); in gf100_privring_intr_gpc() 61 u32 intr0 = nvkm_rd32(device, 0x121c58); in gf100_privring_intr() [all …]
|
/openbmc/linux/drivers/clk/samsung/ |
H A D | clk-exynos5260.h | 15 #define MUX_SEL_AUD 0x0200 16 #define MUX_ENABLE_AUD 0x0300 17 #define MUX_STAT_AUD 0x0400 18 #define MUX_IGNORE_AUD 0x0500 19 #define DIV_AUD0 0x0600 20 #define DIV_AUD1 0x0604 21 #define DIV_STAT_AUD0 0x0700 22 #define DIV_STAT_AUD1 0x0704 23 #define EN_ACLK_AUD 0x0800 24 #define EN_PCLK_AUD 0x0900 [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | cs8900.h | 56 #define ISQ_RxEvent 0x04 57 #define ISQ_TxEvent 0x08 58 #define ISQ_BufEvent 0x0C 59 #define ISQ_RxMissEvent 0x10 60 #define ISQ_TxColEvent 0x12 61 #define ISQ_EventMask 0x3F 66 #define PP_ChipID 0x0000 /* Chip identifier - must be 0x630E */ 67 #define PP_ChipRev 0x0002 /* Chip revision, model codes */ 69 #define PP_IntReg 0x0022 /* Interrupt configuration */ 70 #define PP_IntReg_IRQ0 0x0000 /* Use INTR0 pin */ [all …]
|
/openbmc/linux/drivers/net/ethernet/cirrus/ |
H A D | cs89x0.h | 18 #define PP_ChipID 0x0000 /* offset 0h -> Corp -ID */ 22 #define PP_ISAIOB 0x0020 /* IO base address */ 23 #define PP_CS8900_ISAINT 0x0022 /* ISA interrupt select */ 24 #define PP_CS8920_ISAINT 0x0370 /* ISA interrupt select */ 25 #define PP_CS8900_ISADMA 0x0024 /* ISA Rec DMA channel */ 26 #define PP_CS8920_ISADMA 0x0374 /* ISA Rec DMA channel */ 27 #define PP_ISASOF 0x0026 /* ISA DMA offset */ 28 #define PP_DmaFrameCnt 0x0028 /* ISA DMA Frame count */ 29 #define PP_DmaByteCnt 0x002A /* ISA DMA Byte count */ 30 #define PP_CS8900_ISAMemB 0x002C /* Memory base */ [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | smc37c93x.h | 14 #define FDC_PRIMARY_BASE 0x3f0 15 #define IDE1_PRIMARY_BASE 0x1f0 16 #define IDE1_SECONDARY_BASE 0x170 17 #define PARPORT_PRIMARY_BASE 0x378 18 #define COM1_PRIMARY_BASE 0x2f8 19 #define COM2_PRIMARY_BASE 0x3f8 20 #define RTC_PRIMARY_BASE 0x070 21 #define KBC_PRIMARY_BASE 0x060 22 #define AUXIO_PRIMARY_BASE 0x000 /* XXX */ 25 #define LDN_FDC 0 [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | mii.h | 16 #define MII_BMCR 0x00 /* Basic mode control register */ 17 #define MII_BMSR 0x01 /* Basic mode status register */ 18 #define MII_PHYSID1 0x02 /* PHYS ID 1 */ 19 #define MII_PHYSID2 0x03 /* PHYS ID 2 */ 20 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ 21 #define MII_LPA 0x05 /* Link partner ability reg */ 22 #define MII_EXPANSION 0x06 /* Expansion register */ 23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ 24 #define MII_STAT1000 0x0a /* 1000BASE-T status */ 25 #define MII_MMD_CTRL 0x0d /* MMD Access Control Register */ [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | wm8400-private.h | 16 #define WM8400_REGISTER_COUNT 0x55 28 #define WM8400_RESET_ID 0x00 29 #define WM8400_ID 0x01 30 #define WM8400_POWER_MANAGEMENT_1 0x02 31 #define WM8400_POWER_MANAGEMENT_2 0x03 32 #define WM8400_POWER_MANAGEMENT_3 0x04 33 #define WM8400_AUDIO_INTERFACE_1 0x05 34 #define WM8400_AUDIO_INTERFACE_2 0x06 35 #define WM8400_CLOCKING_1 0x07 36 #define WM8400_CLOCKING_2 0x08 [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-db1x00/ |
H A D | bcsr.h | 23 #define DB1000_BCSR_PHYS_ADDR 0x0E000000 24 #define DB1000_BCSR_HEXLED_OFS 0x01000000 26 #define DB1550_BCSR_PHYS_ADDR 0x0F000000 27 #define DB1550_BCSR_HEXLED_OFS 0x00400000 29 #define PB1550_BCSR_PHYS_ADDR 0x0F000000 30 #define PB1550_BCSR_HEXLED_OFS 0x00800000 32 #define DB1200_BCSR_PHYS_ADDR 0x19800000 33 #define DB1200_BCSR_HEXLED_OFS 0x00400000 35 #define PB1200_BCSR_PHYS_ADDR 0x0D800000 36 #define PB1200_BCSR_HEXLED_OFS 0x00400000 [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mmio.c | 15 [WF_AGG_BASE] = { { 0x820e2000, 0x820f2000, 0x830e2000 } }, 16 [WF_ARB_BASE] = { { 0x820e3000, 0x820f3000, 0x830e3000 } }, 17 [WF_TMAC_BASE] = { { 0x820e4000, 0x820f4000, 0x830e4000 } }, 18 [WF_RMAC_BASE] = { { 0x820e5000, 0x820f5000, 0x830e5000 } }, 19 [WF_DMA_BASE] = { { 0x820e7000, 0x820f7000, 0x830e7000 } }, 20 [WF_WTBLOFF_BASE] = { { 0x820e9000, 0x820f9000, 0x830e9000 } }, 21 [WF_ETBF_BASE] = { { 0x820ea000, 0x820fa000, 0x830ea000 } }, 22 [WF_LPON_BASE] = { { 0x820eb000, 0x820fb000, 0x830eb000 } }, 23 [WF_MIB_BASE] = { { 0x820ed000, 0x820fd000, 0x830ed000 } }, 24 [WF_RATE_BASE] = { { 0x820ee000, 0x820fe000, 0x830ee000 } }, [all …]
|
/openbmc/linux/include/linux/mfd/wm831x/ |
H A D | regulator.h | 14 * R16462 (0x404E) - Current Sink 1 16 #define WM831X_CS1_ENA 0x8000 /* CS1_ENA */ 17 #define WM831X_CS1_ENA_MASK 0x8000 /* CS1_ENA */ 20 #define WM831X_CS1_DRIVE 0x4000 /* CS1_DRIVE */ 21 #define WM831X_CS1_DRIVE_MASK 0x4000 /* CS1_DRIVE */ 24 #define WM831X_CS1_SLPENA 0x1000 /* CS1_SLPENA */ 25 #define WM831X_CS1_SLPENA_MASK 0x1000 /* CS1_SLPENA */ 28 #define WM831X_CS1_OFF_RAMP_MASK 0x0C00 /* CS1_OFF_RAMP - [11:10] */ 31 #define WM831X_CS1_ON_RAMP_MASK 0x0300 /* CS1_ON_RAMP - [9:8] */ 34 #define WM831X_CS1_ISEL_MASK 0x003F /* CS1_ISEL - [5:0] */ [all …]
|
H A D | pmu.h | 14 * R16387 (0x4003) - Power State 16 #define WM831X_CHIP_ON 0x8000 /* CHIP_ON */ 17 #define WM831X_CHIP_ON_MASK 0x8000 /* CHIP_ON */ 20 #define WM831X_CHIP_SLP 0x4000 /* CHIP_SLP */ 21 #define WM831X_CHIP_SLP_MASK 0x4000 /* CHIP_SLP */ 24 #define WM831X_REF_LP 0x1000 /* REF_LP */ 25 #define WM831X_REF_LP_MASK 0x1000 /* REF_LP */ 28 #define WM831X_PWRSTATE_DLY_MASK 0x0C00 /* PWRSTATE_DLY - [11:10] */ 31 #define WM831X_SWRST_DLY 0x0200 /* SWRST_DLY */ 32 #define WM831X_SWRST_DLY_MASK 0x0200 /* SWRST_DLY */ [all …]
|
H A D | irq.h | 14 #define WM831X_IRQ_TEMP_THW 0 75 * R16400 (0x4010) - System Interrupts 77 #define WM831X_PS_INT 0x8000 /* PS_INT */ 78 #define WM831X_PS_INT_MASK 0x8000 /* PS_INT */ 81 #define WM831X_TEMP_INT 0x4000 /* TEMP_INT */ 82 #define WM831X_TEMP_INT_MASK 0x4000 /* TEMP_INT */ 85 #define WM831X_GP_INT 0x2000 /* GP_INT */ 86 #define WM831X_GP_INT_MASK 0x2000 /* GP_INT */ 89 #define WM831X_ON_PIN_INT 0x1000 /* ON_PIN_INT */ 90 #define WM831X_ON_PIN_INT_MASK 0x1000 /* ON_PIN_INT */ [all …]
|
/openbmc/linux/drivers/media/platform/ti/vpe/ |
H A D | csc.c | 51 0x0400, 0x0000, 0x057D, 0x0400, 0x1EA7, 0x1D35, 52 0x0400, 0x06EF, 0x1FFE, 0x0D40, 0x0210, 0x0C88, 57 0x04A8, 0x1FFE, 0x0662, 0x04A8, 0x1E6F, 0x1CBF, 58 0x04A8, 0x0812, 0x1FFF, 0x0C84, 0x0220, 0x0BAC, 65 0x0400, 0x0000, 0x0629, 0x0400, 0x1F45, 0x1E2B, 66 0x0400, 0x0742, 0x0000, 0x0CEC, 0x0148, 0x0C60, 71 0x04A8, 0x0000, 0x072C, 0x04A8, 0x1F26, 0x1DDE, 72 0x04A8, 0x0873, 0x0000, 0x0C20, 0x0134, 0x0B7C, 81 0x0132, 0x0259, 0x0075, 0x1F50, 0x1EA5, 0x020B, 82 0x020B, 0x1E4A, 0x1FAB, 0x0000, 0x0200, 0x0200, [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | meson-gxl.c | 18 * - Early failures: MII_LPA is just 0x0001. if MII_EXPANSION reports that 43 ret = phy_write(phydev, MDIO_DEVAD_NONE, 0x14, 0x0000); in meson_gxl_startup() 46 ret = phy_write(phydev, MDIO_DEVAD_NONE, 0x14, 0x0400); in meson_gxl_startup() 49 ret = phy_write(phydev, MDIO_DEVAD_NONE, 0x14, 0x0000); in meson_gxl_startup() 52 ret = phy_write(phydev, MDIO_DEVAD_NONE, 0x14, 0x0400); in meson_gxl_startup() 57 ret = phy_write(phydev, MDIO_DEVAD_NONE, 0x14, 0x8D80); in meson_gxl_startup() 62 wol = phy_read(phydev, MDIO_DEVAD_NONE, 0x15); in meson_gxl_startup() 63 if (wol < 0) in meson_gxl_startup() 67 if (lpa < 0) in meson_gxl_startup() 71 if (exp < 0) in meson_gxl_startup() [all …]
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | ether3.h | 13 /* use 0 for production, 1 for verification, >2 for debug. debug flags: */ 19 #define NET_DEBUG 0 25 #define REG_COMMAND (priv(dev)->seeq + 0x0000) 26 #define CMD_ENINTDMA 0x0001 27 #define CMD_ENINTRX 0x0002 28 #define CMD_ENINTTX 0x0004 29 #define CMD_ENINTBUFWIN 0x0008 30 #define CMD_ACKINTDMA 0x0010 31 #define CMD_ACKINTRX 0x0020 32 #define CMD_ACKINTTX 0x0040 [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | dz.h | 18 #define DZ_TRDY 0x8000 /* Transmitter empty */ 19 #define DZ_TIE 0x4000 /* Transmitter Interrupt Enbl */ 20 #define DZ_TLINE 0x0300 /* Transmitter Line Number */ 21 #define DZ_RDONE 0x0080 /* Receiver data ready */ 22 #define DZ_RIE 0x0040 /* Receive Interrupt Enable */ 23 #define DZ_MSE 0x0020 /* Master Scan Enable */ 24 #define DZ_CLR 0x0010 /* Master reset */ 25 #define DZ_MAINT 0x0008 /* Loop Back Mode */ 30 #define DZ_RBUF_MASK 0x00FF /* Data Mask */ 31 #define DZ_LINE_MASK 0x0300 /* Line Mask */ [all …]
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atlx.h | 23 #define SPEED_0 0xffff 30 #define MEDIA_TYPE_AUTO_SENSOR 0 33 #define REG_PM_CTRLSTAT 0x44 35 #define REG_PCIE_CAP_LIST 0x58 37 #define REG_VPD_CAP 0x6C 38 #define VPD_CAP_ID_MASK 0xFF 39 #define VPD_CAP_ID_SHIFT 0 40 #define VPD_CAP_NEXT_PTR_MASK 0xFF 42 #define VPD_CAP_VPD_ADDR_MASK 0x7FFF 44 #define VPD_CAP_VPD_FLAG 0x80000000 [all …]
|
/openbmc/linux/include/soc/fsl/ |
H A D | cpm.h | 54 u8 res6[0x22]; 61 #define CPMFCR_GBL ((u_char)0x00) /* Flag doesn't exist in CPM1 */ 62 #define CPMFCR_TC2 ((u_char)0x00) /* Flag doesn't exist in CPM1 */ 63 #define CPMFCR_DTB ((u_char)0x00) /* Flag doesn't exist in CPM1 */ 64 #define CPMFCR_BDB ((u_char)0x00) /* Flag doesn't exist in CPM1 */ 66 #define CPMFCR_GBL ((u_char)0x20) /* Set memory snooping */ 67 #define CPMFCR_TC2 ((u_char)0x04) /* Transfer code 2 value */ 68 #define CPMFCR_DTB ((u_char)0x02) /* Use local bus for data when set */ 69 #define CPMFCR_BDB ((u_char)0x01) /* Use local bus for BD when set */ 71 #define CPMFCR_EB ((u_char)0x10) /* Set big endian byte order */ [all …]
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | cm9780.h | 5 #define CM9780_JACK 0x62 6 #define CM9780_MIXER 0x64 7 #define CM9780_GPIO_SETUP 0x70 8 #define CM9780_GPIO_STATUS 0x72 11 #define CM9780_RSOE 0x0001 12 #define CM9780_CBOE 0x0002 13 #define CM9780_SSOE 0x0004 14 #define CM9780_FROE 0x0008 15 #define CM9780_HP2FMICOE 0x0010 16 #define CM9780_CB2MICOE 0x0020 [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | prcm43xx.h | 15 #define AM43XX_PRM_OCP_SOCKET_INST 0x0000 16 #define AM43XX_PRM_MPU_INST 0x0300 17 #define AM43XX_PRM_GFX_INST 0x0400 18 #define AM43XX_PRM_RTC_INST 0x0500 19 #define AM43XX_PRM_TAMPER_INST 0x0600 20 #define AM43XX_PRM_CEFUSE_INST 0x0700 21 #define AM43XX_PRM_PER_INST 0x0800 22 #define AM43XX_PRM_WKUP_INST 0x2000 23 #define AM43XX_PRM_DEVICE_INST 0x4000 26 #define AM43XX_PRM_IRQSTATUS_MPU_OFFSET 0x0004 [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | smi.h | 15 /* Offset 0x00: SMI Command Register */ 16 #define MV88E6XXX_SMI_CMD 0x00 17 #define MV88E6XXX_SMI_CMD_BUSY 0x8000 18 #define MV88E6XXX_SMI_CMD_MODE_MASK 0x1000 19 #define MV88E6XXX_SMI_CMD_MODE_45 0x0000 20 #define MV88E6XXX_SMI_CMD_MODE_22 0x1000 21 #define MV88E6XXX_SMI_CMD_OP_MASK 0x0c00 22 #define MV88E6XXX_SMI_CMD_OP_22_WRITE 0x0400 23 #define MV88E6XXX_SMI_CMD_OP_22_READ 0x0800 24 #define MV88E6XXX_SMI_CMD_OP_45_WRITE_ADDR 0x0000 [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.h | 7 #define ICH_FLASH_GFPREG 0x0000 8 #define ICH_FLASH_HSFSTS 0x0004 9 #define ICH_FLASH_HSFCTL 0x0006 10 #define ICH_FLASH_FADDR 0x0008 11 #define ICH_FLASH_FDATA0 0x0010 12 #define ICH_FLASH_PR0 0x0074 18 #define ICH_FLASH_LINEAR_ADDR_MASK 0x00FFFFFF 21 #define ICH_CYCLE_READ 0 25 #define FLASH_GFPREG_BASE_MASK 0x1FFF 33 #define E1000_ICH_FWSM_RSPCIPHY 0x00000040 /* Reset PHY on PCI Reset */ [all …]
|