/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_hw4.h | 36 * #define example_bit_field_MASK 0x03 47 * bf_set(example_bit_field, &t1, 0); 63 #define get_wqe_reqtag(x) (((x)->wqe.words[9] >> 0) & 0xFFFF) 64 #define get_wqe_tmo(x) (((x)->wqe.words[7] >> 24) & 0x00FF) 79 #define lpfc_sli_intf_valid_MASK 0x00000007 83 #define lpfc_sli_intf_sli_hint2_MASK 0x0000001F 85 #define LPFC_SLI_INTF_SLI_HINT2_NONE 0 87 #define lpfc_sli_intf_sli_hint1_MASK 0x000000FF 89 #define LPFC_SLI_INTF_SLI_HINT1_NONE 0 93 #define lpfc_sli_intf_if_type_MASK 0x0000000F [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | netcp_xgbepcsr.c | 13 #define XGBE_CTRL_OFFSET 0x0c 14 #define XGBE_SGMII_1_OFFSET 0x0114 15 #define XGBE_SGMII_2_OFFSET 0x0214 18 #define PCSR_CPU_CTRL_OFFSET 0x1fd0 31 #define PHY_A(serdes) 0 40 {0x0000, 0x00800002, 0x00ff00ff}, 41 {0x0014, 0x00003838, 0x0000ffff}, 42 {0x0060, 0x1c44e438, 0xffffffff}, 43 {0x0064, 0x00c18400, 0x00ffffff}, 44 {0x0068, 0x17078200, 0xffffff00}, [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalHWImg8723B_MAC.c | 16 ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /* _GLNA */ in CheckPositive() 31 pDM_Odm->TypeGLNA << 0 | in CheckPositive() 40 if (((cond1 & 0x0000F000) != 0) && ((cond1 & 0x0000F000) != (driver1 & 0x0000F000))) in CheckPositive() 42 if (((cond1 & 0x0F000000) != 0) && ((cond1 & 0x0F000000) != (driver1 & 0x0F000000))) in CheckPositive() 48 cond1 &= 0x000F0FFF; in CheckPositive() 49 driver1 &= 0x000F0FFF; in CheckPositive() 52 u32 bitMask = 0; in CheckPositive() 53 if ((cond1 & 0x0F) == 0) /* BoardType is DONTCARE */ in CheckPositive() 56 if ((cond1 & BIT0) != 0) /* GLNA */ in CheckPositive() 57 bitMask |= 0x000000FF; in CheckPositive() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_phy_28nm.xml.h | 56 static inline uint32_t REG_DSI_28nm_PHY_LN(uint32_t i0) { return 0x00000000 + 0x40*i0; } in REG_DSI_28nm_PHY_LN() 58 static inline uint32_t REG_DSI_28nm_PHY_LN_CFG_0(uint32_t i0) { return 0x00000000 + 0x40*i0; } in REG_DSI_28nm_PHY_LN_CFG_0() 60 static inline uint32_t REG_DSI_28nm_PHY_LN_CFG_1(uint32_t i0) { return 0x00000004 + 0x40*i0; } in REG_DSI_28nm_PHY_LN_CFG_1() 62 static inline uint32_t REG_DSI_28nm_PHY_LN_CFG_2(uint32_t i0) { return 0x00000008 + 0x40*i0; } in REG_DSI_28nm_PHY_LN_CFG_2() 64 static inline uint32_t REG_DSI_28nm_PHY_LN_CFG_3(uint32_t i0) { return 0x0000000c + 0x40*i0; } in REG_DSI_28nm_PHY_LN_CFG_3() 66 static inline uint32_t REG_DSI_28nm_PHY_LN_CFG_4(uint32_t i0) { return 0x00000010 + 0x40*i0; } in REG_DSI_28nm_PHY_LN_CFG_4() 68 static inline uint32_t REG_DSI_28nm_PHY_LN_TEST_DATAPATH(uint32_t i0) { return 0x00000014 + 0x40*i0… in REG_DSI_28nm_PHY_LN_TEST_DATAPATH() 70 static inline uint32_t REG_DSI_28nm_PHY_LN_DEBUG_SEL(uint32_t i0) { return 0x00000018 + 0x40*i0; } in REG_DSI_28nm_PHY_LN_DEBUG_SEL() 72 static inline uint32_t REG_DSI_28nm_PHY_LN_TEST_STR_0(uint32_t i0) { return 0x0000001c + 0x40*i0; } in REG_DSI_28nm_PHY_LN_TEST_STR_0() 74 static inline uint32_t REG_DSI_28nm_PHY_LN_TEST_STR_1(uint32_t i0) { return 0x00000020 + 0x40*i0; } in REG_DSI_28nm_PHY_LN_TEST_STR_1() [all …]
|
H A D | dsi_phy_20nm.xml.h | 56 static inline uint32_t REG_DSI_20nm_PHY_LN(uint32_t i0) { return 0x00000000 + 0x40*i0; } in REG_DSI_20nm_PHY_LN() 58 static inline uint32_t REG_DSI_20nm_PHY_LN_CFG_0(uint32_t i0) { return 0x00000000 + 0x40*i0; } in REG_DSI_20nm_PHY_LN_CFG_0() 60 static inline uint32_t REG_DSI_20nm_PHY_LN_CFG_1(uint32_t i0) { return 0x00000004 + 0x40*i0; } in REG_DSI_20nm_PHY_LN_CFG_1() 62 static inline uint32_t REG_DSI_20nm_PHY_LN_CFG_2(uint32_t i0) { return 0x00000008 + 0x40*i0; } in REG_DSI_20nm_PHY_LN_CFG_2() 64 static inline uint32_t REG_DSI_20nm_PHY_LN_CFG_3(uint32_t i0) { return 0x0000000c + 0x40*i0; } in REG_DSI_20nm_PHY_LN_CFG_3() 66 static inline uint32_t REG_DSI_20nm_PHY_LN_CFG_4(uint32_t i0) { return 0x00000010 + 0x40*i0; } in REG_DSI_20nm_PHY_LN_CFG_4() 68 static inline uint32_t REG_DSI_20nm_PHY_LN_TEST_DATAPATH(uint32_t i0) { return 0x00000014 + 0x40*i0… in REG_DSI_20nm_PHY_LN_TEST_DATAPATH() 70 static inline uint32_t REG_DSI_20nm_PHY_LN_DEBUG_SEL(uint32_t i0) { return 0x00000018 + 0x40*i0; } in REG_DSI_20nm_PHY_LN_DEBUG_SEL() 72 static inline uint32_t REG_DSI_20nm_PHY_LN_TEST_STR_0(uint32_t i0) { return 0x0000001c + 0x40*i0; } in REG_DSI_20nm_PHY_LN_TEST_STR_0() 74 static inline uint32_t REG_DSI_20nm_PHY_LN_TEST_STR_1(uint32_t i0) { return 0x00000020 + 0x40*i0; } in REG_DSI_20nm_PHY_LN_TEST_STR_1() [all …]
|
H A D | dsi_phy_28nm_8960.xml.h | 56 static inline uint32_t REG_DSI_28nm_8960_PHY_LN(uint32_t i0) { return 0x00000000 + 0x40*i0; } in REG_DSI_28nm_8960_PHY_LN() 58 static inline uint32_t REG_DSI_28nm_8960_PHY_LN_CFG_0(uint32_t i0) { return 0x00000000 + 0x40*i0; } in REG_DSI_28nm_8960_PHY_LN_CFG_0() 60 static inline uint32_t REG_DSI_28nm_8960_PHY_LN_CFG_1(uint32_t i0) { return 0x00000004 + 0x40*i0; } in REG_DSI_28nm_8960_PHY_LN_CFG_1() 62 static inline uint32_t REG_DSI_28nm_8960_PHY_LN_CFG_2(uint32_t i0) { return 0x00000008 + 0x40*i0; } in REG_DSI_28nm_8960_PHY_LN_CFG_2() 64 static inline uint32_t REG_DSI_28nm_8960_PHY_LN_TEST_DATAPATH(uint32_t i0) { return 0x0000000c + 0x… in REG_DSI_28nm_8960_PHY_LN_TEST_DATAPATH() 66 static inline uint32_t REG_DSI_28nm_8960_PHY_LN_TEST_STR_0(uint32_t i0) { return 0x00000014 + 0x40*… in REG_DSI_28nm_8960_PHY_LN_TEST_STR_0() 68 static inline uint32_t REG_DSI_28nm_8960_PHY_LN_TEST_STR_1(uint32_t i0) { return 0x00000018 + 0x40*… in REG_DSI_28nm_8960_PHY_LN_TEST_STR_1() 70 #define REG_DSI_28nm_8960_PHY_LNCK_CFG_0 0x00000100 72 #define REG_DSI_28nm_8960_PHY_LNCK_CFG_1 0x00000104 74 #define REG_DSI_28nm_8960_PHY_LNCK_CFG_2 0x00000108 [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | tonga_sdma_pkt_open.h | 26 #define SDMA_OP_NOP 0 41 #define SDMA_SUBOP_TIMESTAMP_SET 0 44 #define SDMA_SUBOP_COPY_LINEAR 0 50 #define SDMA_SUBOP_WRITE_LINEAR 0 54 #define SDMA_PKT_HEADER_op_offset 0 55 #define SDMA_PKT_HEADER_op_mask 0x000000FF 56 #define SDMA_PKT_HEADER_op_shift 0 60 #define SDMA_PKT_HEADER_sub_op_offset 0 61 #define SDMA_PKT_HEADER_sub_op_mask 0x000000FF 71 #define SDMA_PKT_COPY_LINEAR_HEADER_op_offset 0 [all …]
|
H A D | vega10_sdma_pkt_open.h | 26 #define SDMA_OP_NOP 0 42 #define SDMA_SUBOP_TIMESTAMP_SET 0 45 #define SDMA_SUBOP_COPY_LINEAR 0 53 #define SDMA_SUBOP_WRITE_LINEAR 0 55 #define SDMA_SUBOP_PTEPDE_GEN 0 65 #define SDMA_OP_AQL_COPY 0 66 #define SDMA_OP_AQL_BARRIER_OR 0 69 #define SDMA_PKT_HEADER_op_offset 0 70 #define SDMA_PKT_HEADER_op_mask 0x000000FF 71 #define SDMA_PKT_HEADER_op_shift 0 [all …]
|
H A D | iceland_sdma_pkt_open.h | 26 #define SDMA_OP_NOP 0 41 #define SDMA_SUBOP_TIMESTAMP_SET 0 44 #define SDMA_SUBOP_COPY_LINEAR 0 50 #define SDMA_SUBOP_WRITE_LINEAR 0 54 #define SDMA_PKT_HEADER_op_offset 0 55 #define SDMA_PKT_HEADER_op_mask 0x000000FF 56 #define SDMA_PKT_HEADER_op_shift 0 60 #define SDMA_PKT_HEADER_sub_op_offset 0 61 #define SDMA_PKT_HEADER_sub_op_mask 0x000000FF 71 #define SDMA_PKT_COPY_LINEAR_HEADER_op_offset 0 [all …]
|
H A D | sdma_v6_0_0_pkt_open.h | 26 #define SDMA_OP_NOP 0 44 #define SDMA_SUBOP_TIMESTAMP_SET 0 47 #define SDMA_SUBOP_COPY_LINEAR 0 61 #define SDMA_SUBOP_WRITE_LINEAR 0 64 #define SDMA_SUBOP_PTEPDE_GEN 0 76 #define SDMA_OP_AQL_COPY 0 77 #define SDMA_OP_AQL_BARRIER_OR 0 80 #define SDMA_GCR_SEQ(x) (((x) & 0x3) << 16) 84 #define SDMA_GCR_GL2_RANGE(x) (((x) & 0x3) << 11) 92 #define SDMA_GCR_GL1_RANGE(x) (((x) & 0x3) << 2) [all …]
|
H A D | navi10_sdma_pkt_open.h | 26 #define SDMA_OP_NOP 0 44 #define SDMA_SUBOP_TIMESTAMP_SET 0 47 #define SDMA_SUBOP_COPY_LINEAR 0 60 #define SDMA_SUBOP_WRITE_LINEAR 0 63 #define SDMA_SUBOP_PTEPDE_GEN 0 73 #define SDMA_OP_AQL_COPY 0 74 #define SDMA_OP_AQL_BARRIER_OR 0 77 #define SDMA_GCR_SEQ(x) (((x) & 0x3) << 16) 81 #define SDMA_GCR_GL2_RANGE(x) (((x) & 0x3) << 11) 89 #define SDMA_GCR_GL1_RANGE(x) (((x) & 0x3) << 2) [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | fsl_epu.c | 13 {EPGCR, 0}, 15 {EPECR0 + EPECR_STRIDE * 0, 0}, 16 {EPECR0 + EPECR_STRIDE * 1, 0}, 17 {EPECR0 + EPECR_STRIDE * 2, 0xF0004004}, 18 {EPECR0 + EPECR_STRIDE * 3, 0x80000084}, 19 {EPECR0 + EPECR_STRIDE * 4, 0x20000084}, 20 {EPECR0 + EPECR_STRIDE * 5, 0x08000004}, 21 {EPECR0 + EPECR_STRIDE * 6, 0x80000084}, 22 {EPECR0 + EPECR_STRIDE * 7, 0x80000084}, 23 {EPECR0 + EPECR_STRIDE * 8, 0x60000084}, [all …]
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2400pci.h | 20 #define RF2420 0x0000 21 #define RF2421 0x0001 32 #define CSR_REG_BASE 0x0000 33 #define CSR_REG_SIZE 0x014c 34 #define EEPROM_BASE 0x0000 35 #define EEPROM_SIZE 0x0100 36 #define BBP_BASE 0x0000 37 #define BBP_SIZE 0x0020 38 #define RF_BASE 0x0004 39 #define RF_SIZE 0x000c [all …]
|
H A D | rt2500pci.h | 20 #define RF2522 0x0000 21 #define RF2523 0x0001 22 #define RF2524 0x0002 23 #define RF2525 0x0003 24 #define RF2525E 0x0004 25 #define RF5222 0x0010 43 #define CSR_REG_BASE 0x0000 44 #define CSR_REG_SIZE 0x0174 45 #define EEPROM_BASE 0x0000 46 #define EEPROM_SIZE 0x0200 [all …]
|
H A D | rt73usb.h | 20 #define RF5226 0x0001 21 #define RF2528 0x0002 22 #define RF5225 0x0003 23 #define RF2527 0x0004 34 #define CSR_REG_BASE 0x3000 35 #define CSR_REG_SIZE 0x04b0 36 #define EEPROM_BASE 0x0000 37 #define EEPROM_SIZE 0x0100 38 #define BBP_BASE 0x0000 39 #define BBP_SIZE 0x0080 [all …]
|
H A D | rt61pci.h | 20 #define RT2561s_PCI_ID 0x0301 21 #define RT2561_PCI_ID 0x0302 22 #define RT2661_PCI_ID 0x0401 27 #define RF5225 0x0001 28 #define RF5325 0x0002 29 #define RF2527 0x0003 30 #define RF2529 0x0004 41 #define CSR_REG_BASE 0x3000 42 #define CSR_REG_SIZE 0x04b0 43 #define EEPROM_BASE 0x0000 [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/coldfire/ |
H A D | lcd.h | 14 u32 ssar; /* 0x00 Screen Start Address Register */ 15 u32 sr; /* 0x04 LCD Size Register */ 16 u32 vpw; /* 0x08 Virtual Page Width Register */ 17 u32 cpr; /* 0x0C Cursor Position Register */ 18 u32 cwhb; /* 0x10 Cursor Width Height and Blink Register */ 19 u32 ccmr; /* 0x14 Color Cursor Mapping Register */ 20 u32 pcr; /* 0x18 Panel Configuration Register */ 21 u32 hcr; /* 0x1C Horizontal Configuration Register */ 22 u32 vcr; /* 0x20 Vertical Configuration Register */ 23 u32 por; /* 0x24 Panning Offset Register */ [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | table.c | 8 0x800, 0x80040000, 9 0x804, 0x00000003, 10 0x808, 0x0000FC00, 11 0x80C, 0x0000000A, 12 0x810, 0x10001331, 13 0x814, 0x020C3D10, 14 0x818, 0x02200385, 15 0x81C, 0x00000000, 16 0x820, 0x01000100, 17 0x824, 0x00190204, [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-rc32434/ |
H A D | eth.h | 33 #define ETH0_BASE_ADDR 0x18060000 84 #define ETH_INT_FC_EN (1 << 0) 90 #define ETH_INT_FC_IOC 0x000000c0 93 #define ETH_FIFI_TT_TTH_BIT 0 94 #define ETH_FIFO_TT_TTH 0x0000007f 97 #define ETH_ARC_PRO (1 << 0) 103 #define ETH_SAL_BYTE_5 0x000000ff 104 #define ETH_SAL_BYTE_4 0x0000ff00 105 #define ETH_SAL_BYTE_3 0x00ff0000 106 #define ETH_SAL_BYTE_2 0xff000000 [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_u32_parse.h | 48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos() 49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos() 51 return 0; in cxgb4_fill_ipv4_tos() 60 frag_val = (ntohl(val) >> 13) & 0x00000007; in cxgb4_fill_ipv4_frag() 61 mask_val = ntohl(mask) & 0x0000FFFF; in cxgb4_fill_ipv4_frag() 63 if (frag_val == 0x1 && mask_val != 0x3FFF) { /* MF set */ in cxgb4_fill_ipv4_frag() 66 } else if (frag_val == 0x2 && mask_val != 0x3FFF) { /* DF set */ in cxgb4_fill_ipv4_frag() 67 f->val.frag = 0; in cxgb4_fill_ipv4_frag() 73 return 0; in cxgb4_fill_ipv4_frag() 79 f->val.proto = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_proto() [all …]
|
/openbmc/u-boot/drivers/soc/keystone/ |
H A D | keystone_serdes.c | 13 #define SERDES_CMU_REGS(x) (0x0000 + (0x0c00 * (x))) 14 #define SERDES_LANE_REGS(x) (0x0200 + (0x200 * (x))) 15 #define SERDES_COMLANE_REGS 0x0a00 16 #define SERDES_WIZ_REGS 0x1fc0 18 #define SERDES_CMU_REG_000(x) (SERDES_CMU_REGS(x) + 0x000) 19 #define SERDES_CMU_REG_010(x) (SERDES_CMU_REGS(x) + 0x010) 20 #define SERDES_COMLANE_REG_000 (SERDES_COMLANE_REGS + 0x000) 21 #define SERDES_LANE_REG_000(x) (SERDES_LANE_REGS(x) + 0x000) 22 #define SERDES_LANE_REG_028(x) (SERDES_LANE_REGS(x) + 0x028) 23 #define SERDES_LANE_CTL_STATUS_REG(x) (SERDES_WIZ_REGS + 0x0020 + (4 * (x))) [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | preg_alias.c | 32 "%0 = C4\n" in preg_alias() 46 "%0 = C5:4\n" in preg_alias_pair() 66 "%0 = p0\n\t" in creg_alias() 78 uint64_t cval_pair = (0xdeadbeefULL << 32) | cval; in creg_alias_pair() 82 "%0 = p0\n\t" in creg_alias_pair() 92 check32(c5, 0xdeadbeef); in creg_alias_pair() 103 uint32_t old_val = 0x0000001c; in test_packet() 111 " if (!p2) %0 = %3\n\t" in test_packet() 114 : "r"(0xffffffff), "r"(0xff00ffff), "r"(0x837ed653) in test_packet() 119 result = 0xffffffff; in test_packet() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | table.c | 6 0x800, 0x80040000, 7 0x804, 0x00000003, 8 0x808, 0x0000FC00, 9 0x80C, 0x0000000A, 10 0x810, 0x10001331, 11 0x814, 0x020C3D10, 12 0x818, 0x02200385, 13 0x81C, 0x00000000, 14 0x820, 0x01000100, 15 0x824, 0x00390204, [all …]
|
/openbmc/linux/arch/sh/drivers/pci/ |
H A D | pci-sh7751.h | 13 #define SH7751_VENDOR_ID 0x1054 14 #define SH7751_DEVICE_ID 0x3505 15 #define SH7751R_DEVICE_ID 0x350e 18 #define SH7751_PCI_CONFIG_BASE 0xFD000000 /* Config space base addr */ 19 #define SH7751_PCI_CONFIG_SIZE 0x1000000 /* Config space size */ 20 #define SH7751_PCI_MEMORY_BASE 0xFD000000 /* Memory space base addr */ 21 #define SH7751_PCI_MEM_SIZE 0x01000000 /* Size of Memory window */ 22 #define SH7751_PCI_IO_BASE 0xFE240000 /* IO space base address */ 23 #define SH7751_PCI_IO_SIZE 0x40000 /* Size of IO window */ 25 #define SH7751_PCIREG_BASE 0xFE200000 /* PCI regs base address */ [all …]
|
/openbmc/linux/drivers/media/rc/img-ir/ |
H A D | img-ir.h | 20 #define IMG_IR_CONTROL 0x00 21 #define IMG_IR_STATUS 0x04 22 #define IMG_IR_DATA_LW 0x08 23 #define IMG_IR_DATA_UP 0x0c 24 #define IMG_IR_LEAD_SYMB_TIMING 0x10 25 #define IMG_IR_S00_SYMB_TIMING 0x14 26 #define IMG_IR_S01_SYMB_TIMING 0x18 27 #define IMG_IR_S10_SYMB_TIMING 0x1c 28 #define IMG_IR_S11_SYMB_TIMING 0x20 29 #define IMG_IR_FREE_SYMB_TIMING 0x24 [all …]
|