/openbmc/u-boot/include/synopsys/ |
H A D | dwcddr21mctl.h | 47 #define DWCDDR21MCTL_CCR_ECCEN(x) ((x) << 0) argument 48 #define DWCDDR21MCTL_CCR_NOMRWR(x) ((x) << 1) argument 49 #define DWCDDR21MCTL_CCR_HOSTEN(x) ((x) << 2) argument 50 #define DWCDDR21MCTL_CCR_XBISC(x) ((x) << 3) argument 51 #define DWCDDR21MCTL_CCR_NOAPD(x) ((x) << 4) argument 52 #define DWCDDR21MCTL_CCR_RRB(x) ((x) << 13) argument 53 #define DWCDDR21MCTL_CCR_DQSCFG(x) ((x) << 14) argument 54 #define DWCDDR21MCTL_CCR_DFTLM(x) (((x) & 0x3) << 15) argument 55 #define DWCDDR21MCTL_CCR_DFTCMP(x) ((x) << 17) argument 56 #define DWCDDR21MCTL_CCR_FLUSH(x) ((x) << 27) argument [all …]
|
/openbmc/u-boot/board/samsung/odroid/ |
H A D | setup.h | 11 #define SDIV(x) ((x) & 0x7) argument 12 #define PDIV(x) (((x) & 0x3f) << 8) argument 13 #define MDIV(x) (((x) & 0x3ff) << 16) argument 14 #define FSEL(x) (((x) & 0x1) << 27) argument 16 #define PLL_ENABLE(x) (((x) & 0x1) << 31) argument 19 #define MUX_APLL_SEL(x) ((x) & 0x1) argument 20 #define MUX_CORE_SEL(x) (((x) & 0x1) << 16) argument 21 #define MUX_HPM_SEL(x) (((x) & 0x1) << 20) argument 22 #define MUX_MPLL_USER_SEL_C(x) (((x) & 0x1) << 24) argument 27 #define APLL_SEL(x) ((x) & 0x7) argument [all …]
|
/openbmc/linux/drivers/phy/microchip/ |
H A D | sparx5_serdes_regs.h | 35 #define SD10G_LANE_LANE_01_CFG_PMA_TX_CK_BITWIDTH_2_0_SET(x)\ argument 37 #define SD10G_LANE_LANE_01_CFG_PMA_TX_CK_BITWIDTH_2_0_GET(x)\ argument 41 #define SD10G_LANE_LANE_01_CFG_RXDET_EN_SET(x)\ argument 43 #define SD10G_LANE_LANE_01_CFG_RXDET_EN_GET(x)\ argument 47 #define SD10G_LANE_LANE_01_CFG_RXDET_STR_SET(x)\ argument 49 #define SD10G_LANE_LANE_01_CFG_RXDET_STR_GET(x)\ argument 56 #define SD10G_LANE_LANE_02_CFG_EN_ADV_SET(x)\ argument 58 #define SD10G_LANE_LANE_02_CFG_EN_ADV_GET(x)\ argument 62 #define SD10G_LANE_LANE_02_CFG_EN_MAIN_SET(x)\ argument 64 #define SD10G_LANE_LANE_02_CFG_EN_MAIN_GET(x)\ argument [all …]
|
H A D | lan966x_serdes_regs.h | 21 #define HSIO_SD_CFG_PHY_RESET_SET(x)\ argument 23 #define HSIO_SD_CFG_PHY_RESET_GET(x)\ argument 27 #define HSIO_SD_CFG_TX_RESET_SET(x)\ argument 29 #define HSIO_SD_CFG_TX_RESET_GET(x)\ argument 33 #define HSIO_SD_CFG_TX_RATE_SET(x)\ argument 35 #define HSIO_SD_CFG_TX_RATE_GET(x)\ argument 39 #define HSIO_SD_CFG_TX_INVERT_SET(x)\ argument 41 #define HSIO_SD_CFG_TX_INVERT_GET(x)\ argument 45 #define HSIO_SD_CFG_TX_EN_SET(x)\ argument 47 #define HSIO_SD_CFG_TX_EN_GET(x)\ argument [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | rs600d.h | 33 #define S_000040_SCRATCH_INT_MASK(x) (((x) & 0x1) << 18) argument 34 #define G_000040_SCRATCH_INT_MASK(x) (((x) >> 18) & 0x1) argument 36 #define S_000040_GUI_IDLE_MASK(x) (((x) & 0x1) << 19) argument 37 #define G_000040_GUI_IDLE_MASK(x) (((x) >> 19) & 0x1) argument 39 #define S_000040_DMA_VIPH1_INT_EN(x) (((x) & 0x1) << 13) argument 40 #define G_000040_DMA_VIPH1_INT_EN(x) (((x) >> 13) & 0x1) argument 42 #define S_000040_DMA_VIPH2_INT_EN(x) (((x) & 0x1) << 14) argument 43 #define G_000040_DMA_VIPH2_INT_EN(x) (((x) >> 14) & 0x1) argument 45 #define S_000040_DMA_VIPH3_INT_EN(x) (((x) & 0x1) << 15) argument 46 #define G_000040_DMA_VIPH3_INT_EN(x) (((x) >> 15) & 0x1) argument [all …]
|
H A D | r100d.h | 69 #define S_0000F0_SOFT_RESET_CP(x) (((x) & 0x1) << 0) argument 70 #define G_0000F0_SOFT_RESET_CP(x) (((x) >> 0) & 0x1) argument 72 #define S_0000F0_SOFT_RESET_HI(x) (((x) & 0x1) << 1) argument 73 #define G_0000F0_SOFT_RESET_HI(x) (((x) >> 1) & 0x1) argument 75 #define S_0000F0_SOFT_RESET_SE(x) (((x) & 0x1) << 2) argument 76 #define G_0000F0_SOFT_RESET_SE(x) (((x) >> 2) & 0x1) argument 78 #define S_0000F0_SOFT_RESET_RE(x) (((x) & 0x1) << 3) argument 79 #define G_0000F0_SOFT_RESET_RE(x) (((x) >> 3) & 0x1) argument 81 #define S_0000F0_SOFT_RESET_PP(x) (((x) & 0x1) << 4) argument 82 #define G_0000F0_SOFT_RESET_PP(x) (((x) >> 4) & 0x1) argument [all …]
|
H A D | r420d.h | 32 #define S_0001F8_MC_IND_ADDR(x) (((x) & 0x7F) << 0) argument 33 #define G_0001F8_MC_IND_ADDR(x) (((x) >> 0) & 0x7F) argument 35 #define S_0001F8_MC_IND_WR_EN(x) (((x) & 0x1) << 8) argument 36 #define G_0001F8_MC_IND_WR_EN(x) (((x) >> 8) & 0x1) argument 39 #define S_0001FC_MC_IND_DATA(x) (((x) & 0xFFFFFFFF) << 0) argument 40 #define G_0001FC_MC_IND_DATA(x) (((x) >> 0) & 0xFFFFFFFF) argument 43 #define S_0007C0_MRU_BUSY(x) (((x) & 0x1) << 0) argument 44 #define G_0007C0_MRU_BUSY(x) (((x) >> 0) & 0x1) argument 46 #define S_0007C0_MWU_BUSY(x) (((x) & 0x1) << 1) argument 47 #define G_0007C0_MWU_BUSY(x) (((x) >> 1) & 0x1) argument [all …]
|
H A D | rs690d.h | 34 #define G_00005F_K8_ADDR_EXT(x) (((x) >> 0) & 0xFF) argument 36 #define S_000078_MC_IND_ADDR(x) (((x) & 0x1FF) << 0) argument 37 #define G_000078_MC_IND_ADDR(x) (((x) >> 0) & 0x1FF) argument 39 #define S_000078_MC_IND_WR_EN(x) (((x) & 0x1) << 9) argument 40 #define G_000078_MC_IND_WR_EN(x) (((x) >> 9) & 0x1) argument 43 #define S_00007C_MC_DATA(x) (((x) & 0xFFFFFFFF) << 0) argument 44 #define G_00007C_MC_DATA(x) (((x) >> 0) & 0xFFFFFFFF) argument 47 #define S_0000F8_CONFIG_MEMSIZE(x) (((x) & 0xFFFFFFFF) << 0) argument 48 #define G_0000F8_CONFIG_MEMSIZE(x) (((x) >> 0) & 0xFFFFFFFF) argument 51 #define S_000134_HDP_FB_START(x) (((x) & 0xFFFF) << 0) argument [all …]
|
H A D | r300d.h | 70 #define S_000148_MC_FB_START(x) (((x) & 0xFFFF) << 0) argument 71 #define G_000148_MC_FB_START(x) (((x) >> 0) & 0xFFFF) argument 73 #define S_000148_MC_FB_TOP(x) (((x) & 0xFFFF) << 16) argument 74 #define G_000148_MC_FB_TOP(x) (((x) >> 16) & 0xFFFF) argument 77 #define S_00014C_MC_AGP_START(x) (((x) & 0xFFFF) << 0) argument 78 #define G_00014C_MC_AGP_START(x) (((x) >> 0) & 0xFFFF) argument 80 #define S_00014C_MC_AGP_TOP(x) (((x) & 0xFFFF) << 16) argument 81 #define G_00014C_MC_AGP_TOP(x) (((x) >> 16) & 0xFFFF) argument 84 #define S_00015C_AGP_BASE_ADDR_2(x) (((x) & 0xF) << 0) argument 85 #define G_00015C_AGP_BASE_ADDR_2(x) (((x) >> 0) & 0xF) argument [all …]
|
H A D | rs400d.h | 33 #define S_000148_MC_FB_START(x) (((x) & 0xFFFF) << 0) argument 34 #define G_000148_MC_FB_START(x) (((x) >> 0) & 0xFFFF) argument 36 #define S_000148_MC_FB_TOP(x) (((x) & 0xFFFF) << 16) argument 37 #define G_000148_MC_FB_TOP(x) (((x) >> 16) & 0xFFFF) argument 40 #define S_00015C_MC_FB_START(x) (((x) & 0xFFFF) << 0) argument 41 #define G_00015C_MC_FB_START(x) (((x) >> 0) & 0xFFFF) argument 43 #define S_00015C_MC_FB_TOP(x) (((x) & 0xFFFF) << 16) argument 44 #define G_00015C_MC_FB_TOP(x) (((x) >> 16) & 0xFFFF) argument 47 #define S_0007C0_MRU_BUSY(x) (((x) & 0x1) << 0) argument 48 #define G_0007C0_MRU_BUSY(x) (((x) >> 0) & 0x1) argument [all …]
|
H A D | r520d.h | 33 #define S_0000F8_CONFIG_MEMSIZE(x) (((x) & 0xFFFFFFFF) << 0) argument 34 #define G_0000F8_CONFIG_MEMSIZE(x) (((x) >> 0) & 0xFFFFFFFF) argument 37 #define S_000134_HDP_FB_START(x) (((x) & 0xFFFF) << 0) argument 38 #define G_000134_HDP_FB_START(x) (((x) >> 0) & 0xFFFF) argument 41 #define S_0007C0_MRU_BUSY(x) (((x) & 0x1) << 0) argument 42 #define G_0007C0_MRU_BUSY(x) (((x) >> 0) & 0x1) argument 44 #define S_0007C0_MWU_BUSY(x) (((x) & 0x1) << 1) argument 45 #define G_0007C0_MWU_BUSY(x) (((x) >> 1) & 0x1) argument 47 #define S_0007C0_RSIU_BUSY(x) (((x) & 0x1) << 2) argument 48 #define G_0007C0_RSIU_BUSY(x) (((x) >> 2) & 0x1) argument [all …]
|
H A D | rv250d.h | 32 #define S_00000D_SCLK_SRC_SEL(x) (((x) & 0x7) << 0) argument 33 #define G_00000D_SCLK_SRC_SEL(x) (((x) >> 0) & 0x7) argument 35 #define S_00000D_CP_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 3) argument 36 #define G_00000D_CP_MAX_DYN_STOP_LAT(x) (((x) >> 3) & 0x1) argument 38 #define S_00000D_HDP_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 4) argument 39 #define G_00000D_HDP_MAX_DYN_STOP_LAT(x) (((x) >> 4) & 0x1) argument 41 #define S_00000D_TV_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 5) argument 42 #define G_00000D_TV_MAX_DYN_STOP_LAT(x) (((x) >> 5) & 0x1) argument 44 #define S_00000D_E2_MAX_DYN_STOP_LAT(x) (((x) & 0x1) << 6) argument 45 #define G_00000D_E2_MAX_DYN_STOP_LAT(x) (((x) >> 6) & 0x1) argument [all …]
|
H A D | rv515d.h | 210 #define S_0000F0_SOFT_RESET_CP(x) (((x) & 0x1) << 0) argument 211 #define G_0000F0_SOFT_RESET_CP(x) (((x) >> 0) & 0x1) argument 213 #define S_0000F0_SOFT_RESET_HI(x) (((x) & 0x1) << 1) argument 214 #define G_0000F0_SOFT_RESET_HI(x) (((x) >> 1) & 0x1) argument 216 #define S_0000F0_SOFT_RESET_VAP(x) (((x) & 0x1) << 2) argument 217 #define G_0000F0_SOFT_RESET_VAP(x) (((x) >> 2) & 0x1) argument 219 #define S_0000F0_SOFT_RESET_RE(x) (((x) & 0x1) << 3) argument 220 #define G_0000F0_SOFT_RESET_RE(x) (((x) >> 3) & 0x1) argument 222 #define S_0000F0_SOFT_RESET_PP(x) (((x) & 0x1) << 4) argument 223 #define G_0000F0_SOFT_RESET_PP(x) (((x) >> 4) & 0x1) argument [all …]
|
/openbmc/u-boot/include/andestech/ |
H A D | andes_pcu.h | 79 #define ANDES_PCU_REV_NUMBER_PCS(x) (((x) >> 0) & 0xff) argument 80 #define ANDES_PCU_REV_VER(x) (((x) >> 16) & 0xffff) argument 85 #define ANDES_PCU_SPINFO_SIZE(x) (((x) >> 0) & 0xff) argument 86 #define ANDES_PCU_SPINFO_OFFSET(x) (((x) >> 8) & 0xf) argument 91 #define ANDES_PCU_SOC_ID_VER_MINOR(x) (((x) >> 0) & 0xf) argument 92 #define ANDES_PCU_SOC_ID_VER_MAJOR(x) (((x) >> 4) & 0xfff) argument 93 #define ANDES_PCU_SOC_ID_DEVICEID(x) (((x) >> 16) & 0xffff) argument 98 #define ANDES_PCU_SOC_AHB_AHBC(x) ((x) << 0) argument 99 #define ANDES_PCU_SOC_AHB_APBREG(x) ((x) << 1) argument 100 #define ANDES_PCU_SOC_AHB_APB(x) ((x) << 2) argument [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_main_regs.h | 65 #define ANA_AC_RAM_INIT_RAM_INIT_SET(x)\ argument 67 #define ANA_AC_RAM_INIT_RAM_INIT_GET(x)\ argument 71 #define ANA_AC_RAM_INIT_RAM_CFG_HOOK_SET(x)\ argument 73 #define ANA_AC_RAM_INIT_RAM_CFG_HOOK_GET(x)\ argument 81 #define ANA_AC_OWN_UPSID_OWN_UPSID_SET(x)\ argument 83 #define ANA_AC_OWN_UPSID_OWN_UPSID_GET(x)\ argument 99 #define ANA_AC_SRC_CFG2_PORT_MASK2_SET(x)\ argument 101 #define ANA_AC_SRC_CFG2_PORT_MASK2_GET(x)\ argument 117 #define ANA_AC_PGID_CFG2_PORT_MASK2_SET(x)\ argument 119 #define ANA_AC_PGID_CFG2_PORT_MASK2_GET(x)\ argument [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu2_regs.h | 14 #define VEPU_REG_VP8_QUT_DC_Y2(x) (((x) & 0x3fff) << 16) argument 15 #define VEPU_REG_VP8_QUT_DC_Y1(x) (((x) & 0x3fff) << 0) argument 17 #define VEPU_REG_VP8_QUT_AC_Y1(x) (((x) & 0x3fff) << 16) argument 18 #define VEPU_REG_VP8_QUT_DC_CHR(x) (((x) & 0x3fff) << 0) argument 20 #define VEPU_REG_VP8_QUT_AC_CHR(x) (((x) & 0x3fff) << 16) argument 21 #define VEPU_REG_VP8_QUT_AC_Y2(x) (((x) & 0x3fff) << 0) argument 23 #define VEPU_REG_VP8_QUT_ZB_DC_CHR(x) (((x) & 0x1ff) << 18) argument 24 #define VEPU_REG_VP8_QUT_ZB_DC_Y2(x) (((x) & 0x1ff) << 9) argument 25 #define VEPU_REG_VP8_QUT_ZB_DC_Y1(x) (((x) & 0x1ff) << 0) argument 27 #define VEPU_REG_VP8_QUT_ZB_AC_CHR(x) (((x) & 0x1ff) << 18) argument [all …]
|
H A D | hantro_g1_regs.h | 28 #define G1_REG_CONFIG_DEC_AXI_RD_ID(x) (((x) & 0xff) << 24) argument 37 #define G1_REG_CONFIG_DEC_LATENCY(x) (((x) & 0x3f) << 11) argument 41 #define G1_REG_CONFIG_PRIORITY_MODE(x) (((x) & 0x7) << 5) argument 45 #define G1_REG_CONFIG_DEC_MAX_BURST(x) (((x) & 0x1f) << 0) argument 47 #define G1_REG_DEC_CTRL0_DEC_MODE(x) (((x) & 0xf) << 28) argument 70 #define G1_REG_DEC_CTRL0_DEC_AXI_WR_ID(x) (((x) & 0xff) << 0) argument 74 #define G1_REG_DEC_CTRL1_PIC_MB_WIDTH(x) (((x) & 0x1ff) << 23) argument 75 #define G1_REG_DEC_CTRL1_MB_WIDTH_OFF(x) (((x) & 0xf) << 19) argument 76 #define G1_REG_DEC_CTRL1_PIC_MB_HEIGHT_P(x) (((x) & 0xff) << 11) argument 77 #define G1_REG_DEC_CTRL1_MB_HEIGHT_OFF(x) (((x) & 0xf) << 7) argument [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_regs.h | 38 #define AFI_PORT_FRM_OUT_FRM_OUT_CNT_SET(x)\ argument 40 #define AFI_PORT_FRM_OUT_FRM_OUT_CNT_GET(x)\ argument 47 #define AFI_PORT_CFG_FC_SKIP_TTI_INJ_SET(x)\ argument 49 #define AFI_PORT_CFG_FC_SKIP_TTI_INJ_GET(x)\ argument 53 #define AFI_PORT_CFG_FRM_OUT_MAX_SET(x)\ argument 55 #define AFI_PORT_CFG_FRM_OUT_MAX_GET(x)\ argument 62 #define ANA_ADVLEARN_VLAN_CHK_SET(x)\ argument 64 #define ANA_ADVLEARN_VLAN_CHK_GET(x)\ argument 74 #define ANA_ANAINTR_INTR_SET(x)\ argument 76 #define ANA_ANAINTR_INTR_GET(x)\ argument [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf_endian.h | 13 #define ___bpf_mvb(x, b, n, m) ((__u##b)(x) << (b-(n+1)*8) >> (b-8) << (m*8)) argument 15 #define ___bpf_swab16(x) ((__u16)( \ argument 19 #define ___bpf_swab32(x) ((__u32)( \ argument 25 #define ___bpf_swab64(x) ((__u64)( \ argument 51 # define __bpf_ntohs(x) __builtin_bswap16(x) argument 52 # define __bpf_htons(x) __builtin_bswap16(x) argument 53 # define __bpf_constant_ntohs(x) ___bpf_swab16(x) argument 54 # define __bpf_constant_htons(x) ___bpf_swab16(x) argument 55 # define __bpf_ntohl(x) __builtin_bswap32(x) argument 56 # define __bpf_htonl(x) __builtin_bswap32(x) argument [all …]
|
/openbmc/linux/include/soc/mscc/ |
H A D | ocelot_ana.h | 15 #define ANA_ANAGEFIL_PID_VAL(x) (((x) << 14) & GENMASK(18, 14)) argument 17 #define ANA_ANAGEFIL_PID_VAL_X(x) (((x) & GENMASK(18, 14)) >> 14) argument 19 #define ANA_ANAGEFIL_VID_VAL(x) ((x) & GENMASK(12, 0)) argument 24 #define ANA_STORMLIMIT_CFG_STORM_RATE(x) (((x) << 3) & GENMASK(6, 3)) argument 26 #define ANA_STORMLIMIT_CFG_STORM_RATE_X(x) (((x) & GENMASK(6, 3)) >> 3) argument 28 #define ANA_STORMLIMIT_CFG_STORM_MODE(x) ((x) & GENMASK(1, 0)) argument 32 #define ANA_AUTOAGE_AGE_PERIOD(x) (((x) << 1) & GENMASK(20, 1)) argument 34 #define ANA_AUTOAGE_AGE_PERIOD_X(x) (((x) & GENMASK(20, 1)) >> 1) argument 40 #define ANA_AGENCTRL_FID_MASK(x) (((x) << 12) & GENMASK(23, 12)) argument 42 #define ANA_AGENCTRL_FID_MASK_X(x) (((x) & GENMASK(23, 12)) >> 12) argument [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | opcodes.h | 24 #define ___asm_opcode_swab32(x) ( \ argument 30 #define ___asm_opcode_swab16(x) ( \ argument 34 #define ___asm_opcode_swahb32(x) ( \ argument 38 #define ___asm_opcode_swahw32(x) ( \ argument 42 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument 43 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument 88 #define ___opcode_swab32(x) swab32(x) argument 89 #define ___opcode_swab16(x) swab16(x) argument 90 #define ___opcode_swahb32(x) swahb32(x) argument 91 #define ___opcode_swahw32(x) swahw32(x) argument [all …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | opcodes.h | 24 #define ___asm_opcode_swab32(x) ( \ argument 30 #define ___asm_opcode_swab16(x) ( \ argument 34 #define ___asm_opcode_swahb32(x) ( \ argument 38 #define ___asm_opcode_swahw32(x) ( \ argument 42 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument 43 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument 88 #define ___opcode_swab32(x) swab32(x) argument 89 #define ___opcode_swab16(x) swab16(x) argument 90 #define ___opcode_swahb32(x) swahb32(x) argument 91 #define ___opcode_swahw32(x) swahw32(x) argument [all …]
|
/openbmc/linux/include/uapi/linux/byteorder/ |
H A D | little_endian.h | 16 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument 17 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument 18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument 19 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument 20 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument 21 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument 22 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument 23 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument 24 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument 25 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument [all …]
|
H A D | big_endian.h | 16 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument 17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument 18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument 19 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument 20 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument 21 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument 22 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument 23 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument 24 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument 25 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument [all …]
|
/openbmc/u-boot/include/linux/byteorder/ |
H A D | little_endian.h | 16 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument 17 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument 18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument 19 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument 20 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument 21 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument 22 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument 23 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument 24 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument 25 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument [all …]
|