| /rk3399_rockchip-uboot/include/synopsys/ |
| H A D | dwcddr21mctl.h | 48 #define DWCDDR21MCTL_CCR_ECCEN(x) ((x) << 0) argument 49 #define DWCDDR21MCTL_CCR_NOMRWR(x) ((x) << 1) argument 50 #define DWCDDR21MCTL_CCR_HOSTEN(x) ((x) << 2) argument 51 #define DWCDDR21MCTL_CCR_XBISC(x) ((x) << 3) argument 52 #define DWCDDR21MCTL_CCR_NOAPD(x) ((x) << 4) argument 53 #define DWCDDR21MCTL_CCR_RRB(x) ((x) << 13) argument 54 #define DWCDDR21MCTL_CCR_DQSCFG(x) ((x) << 14) argument 55 #define DWCDDR21MCTL_CCR_DFTLM(x) (((x) & 0x3) << 15) argument 56 #define DWCDDR21MCTL_CCR_DFTCMP(x) ((x) << 17) argument 57 #define DWCDDR21MCTL_CCR_FLUSH(x) ((x) << 27) argument [all …]
|
| /rk3399_rockchip-uboot/board/samsung/odroid/ |
| H A D | setup.h | 12 #define SDIV(x) ((x) & 0x7) argument 13 #define PDIV(x) (((x) & 0x3f) << 8) argument 14 #define MDIV(x) (((x) & 0x3ff) << 16) argument 15 #define FSEL(x) (((x) & 0x1) << 27) argument 17 #define PLL_ENABLE(x) (((x) & 0x1) << 31) argument 20 #define MUX_APLL_SEL(x) ((x) & 0x1) argument 21 #define MUX_CORE_SEL(x) (((x) & 0x1) << 16) argument 22 #define MUX_HPM_SEL(x) (((x) & 0x1) << 20) argument 23 #define MUX_MPLL_USER_SEL_C(x) (((x) & 0x1) << 24) argument 28 #define APLL_SEL(x) ((x) & 0x7) argument [all …]
|
| /rk3399_rockchip-uboot/include/andestech/ |
| H A D | andes_pcu.h | 80 #define ANDES_PCU_REV_NUMBER_PCS(x) (((x) >> 0) & 0xff) argument 81 #define ANDES_PCU_REV_VER(x) (((x) >> 16) & 0xffff) argument 86 #define ANDES_PCU_SPINFO_SIZE(x) (((x) >> 0) & 0xff) argument 87 #define ANDES_PCU_SPINFO_OFFSET(x) (((x) >> 8) & 0xf) argument 92 #define ANDES_PCU_SOC_ID_VER_MINOR(x) (((x) >> 0) & 0xf) argument 93 #define ANDES_PCU_SOC_ID_VER_MAJOR(x) (((x) >> 4) & 0xfff) argument 94 #define ANDES_PCU_SOC_ID_DEVICEID(x) (((x) >> 16) & 0xffff) argument 99 #define ANDES_PCU_SOC_AHB_AHBC(x) ((x) << 0) argument 100 #define ANDES_PCU_SOC_AHB_APBREG(x) ((x) << 1) argument 101 #define ANDES_PCU_SOC_AHB_APB(x) ((x) << 2) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | opcodes.h | 25 #define ___asm_opcode_swab32(x) ( \ argument 31 #define ___asm_opcode_swab16(x) ( \ argument 35 #define ___asm_opcode_swahb32(x) ( \ argument 39 #define ___asm_opcode_swahw32(x) ( \ argument 43 #define ___asm_opcode_identity32(x) ((x) & 0xFFFFFFFF) argument 44 #define ___asm_opcode_identity16(x) ((x) & 0xFFFF) argument 89 #define ___opcode_swab32(x) swab32(x) argument 90 #define ___opcode_swab16(x) swab16(x) argument 91 #define ___opcode_swahb32(x) swahb32(x) argument 92 #define ___opcode_swahw32(x) swahw32(x) argument [all …]
|
| /rk3399_rockchip-uboot/include/linux/byteorder/ |
| 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 …]
|
| 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 | swab.h | 21 #define ___swab16(x) \ argument 25 #define ___swab32(x) \ argument 31 #define ___swab64(x) \ argument 46 # define __arch__swab16(x) ___swab16(x) argument 49 # define __arch__swab32(x) ___swab32(x) argument 52 # define __arch__swab64(x) ___swab64(x) argument 56 # define __arch__swab16p(x) __swab16(*(x)) argument 59 # define __arch__swab32p(x) __swab32(*(x)) argument 62 # define __arch__swab64p(x) __swab64(*(x)) argument 66 # define __arch__swab16s(x) do { *(x) = __swab16p((x)); } while (0) argument [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | compiler.h | 67 #define uswap_16(x) \ argument 70 #define uswap_32(x) \ argument 75 #define _uswap_64(x, sfx) \ argument 85 # define uswap_64(x) _uswap_64(x, ull) argument 87 # define uswap_64(x) _uswap_64(x, ) argument 91 # define cpu_to_le16(x) (x) argument 92 # define cpu_to_le32(x) (x) argument 93 # define cpu_to_le64(x) (x) argument 94 # define le16_to_cpu(x) (x) argument 95 # define le32_to_cpu(x) (x) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap3/ |
| H A D | omap3-regs.h | 24 #define CLKACTIVATIONTIME(x) (((x) & 3) << 25) argument 25 #define ATTACHEDDEVICEPAGELENGTH(x) (((x) & 3) << 23) argument 28 #define WAITMONITORINGTIME(x) (((x) & 3) << 18) argument 29 #define WAITPINSELECT(x) (((x) & 3) << 16) argument 30 #define DEVICESIZE(x) (((x) & 3) << 12) argument 33 #define DEVICETYPE(x) (((x) & 3) << 10) argument 38 #define GPMCFCLKDIVIDER(x) (((x) & 3) << 0) argument 41 #define CSWROFFTIME(x) (((x) & 0x1f) << 16) argument 42 #define CSRDOFFTIME(x) (((x) & 0x1f) << 8) argument 44 #define CSONTIME(x) (((x) & 0xf) << 0) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/ |
| H A D | vop_rk3288.h | 123 #define V_AUTO_GATING_EN(x) (((x) & 1) << 23) argument 124 #define V_STANDBY_EN(x) (((x) & 1) << 22) argument 125 #define V_DMA_STOP(x) (((x) & 1) << 21) argument 126 #define V_MMU_EN(x) (((x) & 1) << 20) argument 127 #define V_DMA_BURST_LENGTH(x) (((x) & 3) << 18) argument 128 #define V_MIPI_OUT_EN(x) (((x) & 1) << 15) argument 129 #define V_EDP_OUT_EN(x) (((x) & 1) << 14) argument 130 #define V_HDMI_OUT_EN(x) (((x) & 1) << 13) argument 131 #define V_RGB_OUT_EN(x) (((x) & 1) << 12) argument 132 #define V_EDPI_WMS_FS(x) (((x) & 1) << 10) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/include/mach/ |
| H A D | psc_defs.h | 24 #define PSC_REG_PDSTAT(x) (0x200 + (4 * (x))) argument 25 #define PSC_REG_PDCTL(x) (0x300 + (4 * (x))) argument 26 #define PSC_REG_MDCFG(x) (0x600 + (4 * (x))) argument 27 #define PSC_REG_MDSTAT(x) (0x800 + (4 * (x))) argument 28 #define PSC_REG_MDCTL(x) (0xa00 + (4 * (x))) argument 31 static inline u32 _boot_bit_mask(u32 x, u32 y) in _boot_bit_mask() 37 static inline u32 boot_read_bitfield(u32 z, u32 x, u32 y) in boot_read_bitfield() 43 static inline u32 boot_set_bitfield(u32 z, u32 f, u32 x, u32 y) in boot_set_bitfield() 51 #define PSC_REG_PDCTL_SET_NEXT(x, y) boot_set_bitfield((x), (y), 0, 0) argument 52 #define PSC_REG_PDCTL_SET_PDMODE(x, y) boot_set_bitfield((x), (y), 15, 12) argument [all …]
|
| /rk3399_rockchip-uboot/drivers/video/rk_eink/ |
| H A D | rk_ebc_tcon.c | 34 #define HIWORD_UPDATE(x, l, h) (((x) << (l)) | (GENMASK(h, l) << 16)) argument 35 #define UPDATE(x, h, l) (((x) << (l)) & GENMASK((h), (l))) argument 65 #define DSP_HTOTAL(x) UPDATE(x, 27, 16) argument 66 #define DSP_HS_END(x) UPDATE(x, 7, 0) argument 67 #define DSP_HACT_END(x) UPDATE(x, 26, 16) argument 68 #define DSP_HACT_ST(x) UPDATE(x, 7, 0) argument 69 #define DSP_VTOTAL(x) UPDATE(x, 26, 16) argument 70 #define DSP_VS_END(x) UPDATE(x, 7, 0) argument 71 #define DSP_VACT_END(x) UPDATE(x, 26, 16) argument 72 #define DSP_VACT_ST(x) UPDATE(x, 7, 0) argument [all …]
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/coldfire/ |
| H A D | lcd.h | 51 #define LCDC_SSAR_SSA(x) (((x)&0x3FFFFFFF)<<2) argument 54 #define LCDC_SR_XMAX(x) (((x)&0x0000003F)<<20) argument 55 #define LCDC_SR_YMAX(x) ((x)&0x000003FF) argument 58 #define LCDC_VPWR_VPW(x) (((x)&0x000003FF) argument 61 #define LCDC_CPR_CC(x) (((x)&0x00000003)<<30) argument 67 #define LCDC_CPR_CXP(x) (((x)&0x000003FF)<<16) argument 68 #define LCDC_CPR_CYP(x) ((x)&0x000003FF) argument 72 #define LCDC_CWHBR_CW(x) (((x)&0x0000001F)<<24) argument 73 #define LCDC_CWHBR_CH(x) (((x)&0x0000001F)<<16) argument 74 #define LCDC_CWHBR_BD(x) ((x)&0x000000FF) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-s5pc1xx/include/mach/ |
| H A D | sromc.h | 16 #define SMC_DATA16_WIDTH(x) (1<<((x*4)+0)) argument 17 #define SMC_BYTE_ADDR_MODE(x) (1<<((x*4)+1)) /* 0-> Half-word base address*/ argument 19 #define SMC_WAIT_ENABLE(x) (1<<((x*4)+2)) argument 20 #define SMC_BYTE_ENABLE(x) (1<<((x*4)+3)) argument 22 #define SMC_BC_TACS(x) (x << 28) /* 0clk address set-up */ argument 23 #define SMC_BC_TCOS(x) (x << 24) /* 4clk chip selection set-up */ argument 24 #define SMC_BC_TACC(x) (x << 16) /* 14clk access cycle */ argument 25 #define SMC_BC_TCOH(x) (x << 12) /* 1clk chip selection hold */ argument 26 #define SMC_BC_TAH(x) (x << 8) /* 4clk address holding time */ argument 27 #define SMC_BC_TACP(x) (x << 4) /* 6clk page mode access cycle */ argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx7ulp/ |
| H A D | imx_lpi2c.h | 92 #define LPI2C_VERID_FEATURE(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_VERID_FEATUR… argument 95 #define LPI2C_VERID_MINOR(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_VERID_MINOR_… argument 98 #define LPI2C_VERID_MAJOR(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_VERID_MAJOR_… argument 103 #define LPI2C_PARAM_MTXFIFO(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_PARAM_MTXFIF… argument 106 #define LPI2C_PARAM_MRXFIFO(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_PARAM_MRXFIF… argument 111 #define LPI2C_MCR_MEN(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_MEN_SHIF… argument 114 #define LPI2C_MCR_RST(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_RST_SHIF… argument 117 #define LPI2C_MCR_DOZEN(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_DOZEN_SH… argument 120 #define LPI2C_MCR_DBGEN(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_DBGEN_SH… argument 123 #define LPI2C_MCR_RTF(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCR_RTF_SHIF… argument [all …]
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | m5329.h | 18 #define SCM_MPR_MPROT0(x) (((x)&0x0F)<<28) argument 19 #define SCM_MPR_MPROT1(x) (((x)&0x0F)<<24) argument 20 #define SCM_MPR_MPROT2(x) (((x)&0x0F)<<20) argument 21 #define SCM_MPR_MPROT4(x) (((x)&0x0F)<<12) argument 22 #define SCM_MPR_MPROT5(x) (((x)&0x0F)<<8) argument 23 #define SCM_MPR_MPROT6(x) (((x)&0x0F)<<4) argument 40 #define SCM_PACRA_PACR0(x) (((x)&0x0F)<<28) argument 41 #define SCM_PACRA_PACR1(x) (((x)&0x0F)<<24) argument 42 #define SCM_PACRA_PACR2(x) (((x)&0x0F)<<20) argument 48 #define SCM_PACRB_PACR8(x) (((x)&0x0F)<<28) argument [all …]
|
| H A D | m520x.h | 14 #define SCM_MPR_MPROT0(x) (((x) & 0x0F) << 28) argument 15 #define SCM_MPR_MPROT1(x) (((x) & 0x0F) << 24) argument 16 #define SCM_MPR_MPROT2(x) (((x) & 0x0F) << 20) argument 21 #define SCM_PACRA_PACR0(x) (((x) & 0x0F) << 28) argument 22 #define SCM_PACRA_PACR1(x) (((x) & 0x0F) << 24) argument 23 #define SCM_PACRA_PACR2(x) (((x) & 0x0F) << 20) argument 25 #define SCM_PACRB_PACR12(x) (((x) & 0x0F) << 12) argument 27 #define SCM_PACRC_PACR16(x) (((x) & 0x0F) << 28) argument 28 #define SCM_PACRC_PACR17(x) (((x) & 0x0F) << 24) argument 29 #define SCM_PACRC_PACR18(x) (((x) & 0x0F) << 20) argument [all …]
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/mach-generic/ |
| H A D | mangle-port.h | 28 # define ioswabb(a, x) (x) argument 29 # define __mem_ioswabb(a, x) (x) argument 30 # define ioswabw(a, x) le16_to_cpu(x) argument 31 # define __mem_ioswabw(a, x) (x) argument 32 # define ioswabl(a, x) le32_to_cpu(x) argument 33 # define __mem_ioswabl(a, x) (x) argument 34 # define ioswabq(a, x) le64_to_cpu(x) argument 35 # define __mem_ioswabq(a, x) (x) argument 39 # define ioswabb(a, x) (x) argument 40 # define __mem_ioswabb(a, x) (x) argument [all …]
|
| /rk3399_rockchip-uboot/arch/arm/mach-at91/include/mach/ |
| H A D | sama5d3_smc.h | 34 #define AT91_SMC_SETUP_NWE(x) (x & 0x3f) argument 35 #define AT91_SMC_SETUP_NCS_WR(x) ((x & 0x3f) << 8) argument 36 #define AT91_SMC_SETUP_NRD(x) ((x & 0x3f) << 16) argument 37 #define AT91_SMC_SETUP_NCS_RD(x) ((x & 0x3f) << 24) argument 39 #define AT91_SMC_PULSE_NWE(x) (x & 0x3f) argument 40 #define AT91_SMC_PULSE_NCS_WR(x) ((x & 0x3f) << 8) argument 41 #define AT91_SMC_PULSE_NRD(x) ((x & 0x3f) << 16) argument 42 #define AT91_SMC_PULSE_NCS_RD(x) ((x & 0x3f) << 24) argument 44 #define AT91_SMC_CYCLE_NWE(x) (x & 0x1ff) argument 45 #define AT91_SMC_CYCLE_NRD(x) ((x & 0x1ff) << 16) argument [all …]
|
| /rk3399_rockchip-uboot/drivers/ddr/microchip/ |
| H A D | ddr2_regs.h | 47 #define REFCNT_CLK(x) (x) argument 48 #define REFDLY_CLK(x) ((x) << 16) argument 49 #define MAX_PEND_REF(x) ((x) << 24) argument 52 #define PRECH_PWR_DN_ONLY(x) ((x) << 22) argument 53 #define SELF_REF_DLY(x) ((x) << 12) argument 54 #define PWR_DN_DLY(x) ((x) << 4) argument 55 #define EN_AUTO_SELF_REF(x) ((x) << 3) argument 56 #define EN_AUTO_PWR_DN(x) ((x) << 2) argument 57 #define ERR_CORR_EN(x) ((x) << 1) argument 58 #define ECC_EN(x) (x) argument [all …]
|
| /rk3399_rockchip-uboot/include/faraday/ |
| H A D | ftsdmc021.h | 43 #define FTSDMC021_TP1_TCL(x) ((x) & 0x3) /* CAS Latency */ argument 44 #define FTSDMC021_TP1_TWR(x) (((x) & 0x3) << 4) /* W-Recovery Time */ argument 45 #define FTSDMC021_TP1_TRF(x) (((x) & 0xf) << 8) /* Auto-Refresh Cycle */ argument 46 #define FTSDMC021_TP1_TRCD(x) (((x) & 0x7) << 12) /* RAS-to-CAS Delay */ argument 47 #define FTSDMC021_TP1_TRP(x) (((x) & 0xf) << 16) /* Precharge Cycle */ argument 48 #define FTSDMC021_TP1_TRAS(x) (((x) & 0xf) << 20) argument 53 #define FTSDMC021_TP2_REF_INTV(x) ((x) & 0xffff) /* Refresh interval */ argument 55 #define FTSDMC021_TP2_INI_REFT(x) (((x) & 0xf) << 16) argument 57 #define FTSDMC021_TP2_INI_PREC(x) (((x) & 0xf) << 20) argument 62 #define FTSDMC021_CR1_BNKSIZE(x) ((x) & 0xf) /* Bank Size */ argument [all …]
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rockchip_lvds.c | 29 #define PX30_LVDS_SELECT(x) HIWORD_UPDATE(x, 14, 13) argument 30 #define PX30_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 12, 12) argument 31 #define PX30_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 11, 11) argument 32 #define PX30_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 6, 6) argument 33 #define PX30_LVDS_VOP_SEL(x) HIWORD_UPDATE(x, 1, 1) argument 36 #define RK3126_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 9, 9) argument 37 #define RK3126_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 6, 6) argument 38 #define RK3126_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 3, 3) argument 39 #define RK3126_LVDS_SELECT(x) HIWORD_UPDATE(x, 2, 1) argument 42 #define RK3288_LVDS_LCDC_SEL(x) HIWORD_UPDATE(x, 3, 3) argument [all …]
|
| /rk3399_rockchip-uboot/drivers/video/drm/rk628/ |
| H A D | rk628_dsi.h | 20 #define TO_CLK_DIVISION(x) UPDATE(x, 15, 8) argument 21 #define TX_ESC_CLK_DIVISION(x) UPDATE(x, 7, 0) argument 23 #define DPI_VID(x) UPDATE(x, 1, 0) argument 26 #define DPI_COLOR_CODING(x) UPDATE(x, 3, 0) argument 34 #define OUTVACT_LPCMD_TIME(x) UPDATE(x, 23, 16) argument 35 #define INVACT_LPCMD_TIME(x) UPDATE(x, 7, 0) argument 44 #define CMD_VIDEO_MODE(x) UPDATE(x, 0, 0) argument 55 #define VID_MODE_TYPE(x) UPDATE(x, 1, 0) argument 57 #define VID_PKT_SIZE(x) UPDATE(x, 13, 0) argument 61 #define VID_HSA_TIME(x) UPDATE(x, 11, 0) argument [all …]
|
| /rk3399_rockchip-uboot/include/u-boot/ |
| H A D | variadic-macro.h | 17 #define _VM_HELP_1(_call, x, ...) _call(x) argument 18 #define _VM_HELP_2(_call, x, ...) _call(x) _VM_HELP_1(_call, __VA_ARGS__) argument 19 #define _VM_HELP_3(_call, x, ...) _call(x) _VM_HELP_2(_call, __VA_ARGS__) argument 20 #define _VM_HELP_4(_call, x, ...) _call(x) _VM_HELP_3(_call, __VA_ARGS__) argument 21 #define _VM_HELP_5(_call, x, ...) _call(x) _VM_HELP_4(_call, __VA_ARGS__) argument 22 #define _VM_HELP_6(_call, x, ...) _call(x) _VM_HELP_5(_call, __VA_ARGS__) argument 23 #define _VM_HELP_7(_call, x, ...) _call(x) _VM_HELP_6(_call, __VA_ARGS__) argument 24 #define _VM_HELP_8(_call, x, ...) _call(x) _VM_HELP_7(_call, __VA_ARGS__) argument 25 #define _VM_HELP_9(_call, x, ...) _call(x) _VM_HELP_8(_call, __VA_ARGS__) argument 26 #define _VM_HELP_10(_call, x, ...) _call(x) _VM_HELP_9(_call, __VA_ARGS__) argument [all …]
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | libfdt_env.h | 72 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 73 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 74 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 76 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 81 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 85 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16() 90 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() 94 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() 99 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu() 103 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
|