| /openbmc/u-boot/drivers/spi/ |
| H A D | atmel_spi.h | 14 #define ATMEL_SPI_CSR(x) (0x0030 + 4 * (x)) argument 31 #define ATMEL_SPI_MR_PCS(x) (((x) & 15) << 16) argument 32 #define ATMEL_SPI_MR_DLYBCS(x) ((x) << 24) argument 35 #define ATMEL_SPI_RDR_RD(x) (x) argument 36 #define ATMEL_SPI_RDR_PCS(x) ((x) << 16) argument 39 #define ATMEL_SPI_TDR_TD(x) (x) argument 40 #define ATMEL_SPI_TDR_PCS(x) ((x) << 16) argument 60 #define ATMEL_SPI_CSRx_BITS(x) ((x) << 4) argument 61 #define ATMEL_SPI_CSRx_SCBR(x) ((x) << 8) argument 63 #define ATMEL_SPI_CSRx_DLYBS(x) ((x) << 16) argument [all …]
|
| /openbmc/u-boot/arch/mips/include/asm/ |
| H A D | system.h | 69 #define __save_flags(x) \ argument 77 #define __save_and_cli(x) \ argument 126 # define save_flags(x) do { x = __global_save_flags(); } while (0) argument 127 # define restore_flags(x) __global_restore_flags(x) argument 128 # define save_and_cli(x) do { save_flags(x); cli(); } while(0) argument 134 # define save_flags(x) __save_flags(x) argument 135 # define save_and_cli(x) __save_and_cli(x) argument 136 # define restore_flags(x) __restore_flags(x) argument 141 #define local_irq_save(x) __save_and_cli(x); argument 142 #define local_irq_restore(x) __restore_flags(x); argument [all …]
|
| /openbmc/u-boot/post/lib_powerpc/fpu/ |
| H A D | compare-fp-1.c | 36 static void iuneq (float x, float y, int ok) in iuneq() 43 static void ieq (float x, float y, int ok) in ieq() 48 static void iltgt (float x, float y, int ok) in iltgt() 55 static void ine (float x, float y, int ok) in ine() 60 static void iunlt (float x, float y, int ok) in iunlt() 66 static void ilt (float x, float y, int ok) in ilt() 75 static void iunle (float x, float y, int ok) in iunle() 81 static void ile (float x, float y, int ok) in ile() 90 static void iungt (float x, float y, int ok) in iungt() 96 static void igt (float x, float y, int ok) in igt() [all …]
|
| /openbmc/u-boot/lib/libavb/ |
| H A D | avb_sha256.c | 13 #define SHFR(x, n) (x >> n) argument 14 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) argument 15 #define ROTL(x, n) ((x << n) | (x >> ((sizeof(x) << 3) - n))) argument 16 #define CH(x, y, z) ((x & y) ^ (~x & z)) argument 17 #define MAJ(x, y, z) ((x & y) ^ (x & z) ^ (y & z)) argument 19 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) argument 20 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) argument 21 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3)) argument 22 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10)) argument 24 #define UNPACK32(x, str) \ argument [all …]
|
| /openbmc/u-boot/arch/m68k/include/asm/ |
| H A D | m5275.h | 44 #define MCF_SDRAMC_SDMR_AD(x) (((x)&0x00000FFF)<<18) argument 45 #define MCF_SDRAMC_SDMR_BNKAD(x) (((x)&0x00000003)<<30) argument 52 #define MCF_SDRAMC_SDCR_DQS_OE(x) (((x)&0x00000003)<<10) argument 54 #define MCF_SDRAMC_SDCR_RCNT(x) (((x)&0x0000003F)<<16) argument 55 #define MCF_SDRAMC_SDCR_MUX(x) (((x)&0x00000003)<<24) argument 61 #define MCF_SDRAMC_SDCFG1_WTLAT(x) (((x)&0x00000007)<<4) argument 62 #define MCF_SDRAMC_SDCFG1_REF2ACT(x) (((x)&0x0000000F)<<8) argument 63 #define MCF_SDRAMC_SDCFG1_PRE2ACT(x) (((x)&0x00000007)<<12) argument 64 #define MCF_SDRAMC_SDCFG1_ACT2RW(x) (((x)&0x00000007)<<16) argument 65 #define MCF_SDRAMC_SDCFG1_RDLAT(x) (((x)&0x0000000F)<<20) argument [all …]
|
| H A D | rtc.h | 28 #define RTC_HOURMIN_MINUTES(x) (((x)&0x0000003F)) argument 29 #define RTC_HOURMIN_HOURS(x) (((x)&0x0000001F)<<8) argument 32 #define RTC_SECONDS_SECONDS(x) (((x)&0x0000003F)) argument 35 #define RTC_ALRM_HM_MINUTES(x) (((x)&0x0000003F)) argument 36 #define RTC_ALRM_HM_HOURS(x) (((x)&0x0000001F)<<8) argument 39 #define RTC_ALRM_SEC_SECONDS(x) (((x)&0x0000003F)) argument 43 #define RTC_CR_XTL(x) (((x)&0x00000003)<<5) argument 84 #define RTC_STPWCH_CNT(x) (((x)&0x0000003F)) argument 87 #define RTC_DAYS_DAYS(x) (((x)&0x0000FFFF)) argument 90 #define RTC_ALRM_DAY_DAYS(x) (((x)&0x0000FFFF)) argument
|
| /openbmc/u-boot/lib/ |
| H A D | tpm-utils.h | 16 #define __MSB(x) ((x) >> 8) argument 17 #define __LSB(x) ((x) & 0xFF) argument 18 #define tpm_u16(x) __MSB(x), __LSB(x) argument 19 #define tpm_u32(x) tpm_u16((x) >> 16), tpm_u16((x) & 0xFFFF) argument
|
| /openbmc/u-boot/drivers/bios_emulator/include/x86emu/ |
| H A D | debug.h | 102 # define ERR_PRINTF(x) printf(x) argument 103 # define ERR_PRINTF2(x, y) printf(x, y) argument 108 # define DECODE_PRINTF(x) if (DEBUG_DECODE()) \ argument 110 # define DECODE_PRINTF2(x,y) if (DEBUG_DECODE()) \ argument 119 #define INC_DECODED_INST_LEN(x) \ argument 123 #define SAVE_IP_CS(x,y) \ argument 130 # define INC_DECODED_INST_LEN(x) argument 131 # define DECODE_PRINTF(x) argument 132 # define DECODE_PRINTF2(x,y) argument 133 # define SAVE_IP_CS(x,y) argument [all …]
|
| /openbmc/u-boot/drivers/net/mscc_eswitch/ |
| H A D | luton_switch.c | 22 #define ANA_PORT_VLAN_CFG(x) (0x00 + 0x80 * (x)) argument 24 #define ANA_PORT_VLAN_CFG_POP_CNT(x) ((x) << 18) argument 25 #define ANA_PORT_CPU_FWD_CFG(x) (0x50 + 0x80 * (x)) argument 27 #define ANA_PORT_PORT_CFG(x) (0x60 + 0x80 * (x)) argument 29 #define ANA_PGID(x) (0x1000 + 4 * (x)) argument 37 #define SYS_PORT_MODE(x) (0x81bc + 0x4 * (x)) argument 39 #define SYS_SWITCH_PORT_MODE(x) (0x8294 + 0x4 * (x)) argument 44 #define REW_PORT_CFG(x) (0x8 + 0x80 * (x)) argument 52 #define QS_XTR_MAP(x) (0x10 + 4 * (x)) argument 59 #define HSIO_RCOMP_CFG_CFG0_MODE_SEL(x) ((x) << 8) argument [all …]
|
| /openbmc/u-boot/lib/zlib/ |
| H A D | zutil.h | 103 # define Trace(x) {if (z_verbose>=0) fprintf x ;} argument 104 # define Tracev(x) {if (z_verbose>0) fprintf x ;} argument 105 # define Tracevv(x) {if (z_verbose>1) fprintf x ;} argument 106 # define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;} argument 107 # define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;} argument 110 # define Trace(x) argument 111 # define Tracev(x) argument 112 # define Tracevv(x) argument 113 # define Tracec(c,x) argument 114 # define Tracecv(c,x) argument
|
| /openbmc/u-boot/arch/arm/include/asm/ |
| H A D | unified.h | 16 #define AR_CLASS(x...) argument 17 #define M_CLASS(x...) x argument 32 #define ARM(x...) argument 33 #define THUMB(x...) x argument
|
| /openbmc/u-boot/arch/m68k/include/asm/coldfire/ |
| H A D | crossbar.h | 37 #define XBS_PRS_M0(x) (((x)&0x00000007)) /* Core */ argument 38 #define XBS_PRS_M1(x) (((x)&0x00000007)<<4) /* eDMA */ argument 39 #define XBS_PRS_M2(x) (((x)&0x00000007)<<8) /* FEC0 */ argument 40 #define XBS_PRS_M3(x) (((x)&0x00000007)<<12) /* FEC1 */ argument 41 #define XBS_PRS_M5(x) (((x)&0x00000007)<<20) /* PCI controller */ argument 42 #define XBS_PRS_M6(x) (((x)&0x00000007)<<24) /* USB OTG */ argument 43 #define XBS_PRS_M7(x) (((x)&0x00000007)<<28) /* Serial Boot */ argument 46 #define XBS_CRS_PARK(x) (((x)&0x00000007)) /* Master parking ctrl */ argument 47 #define XBS_CRS_PCTL(x) (((x)&0x00000003)<<4) /* Parking mode ctrl */ argument
|
| /openbmc/u-boot/drivers/usb/host/ |
| H A D | ehci.h | 66 #define PORTSC_PSPD(x) (((x) >> 26) & 0x3) argument 107 #define ehci_readl(x) be32_to_cpu(__raw_readl(x)) argument 110 #define ehci_readl(x) readl(x) argument 115 #define hc32_to_cpu(x) be32_to_cpu((x)) argument 116 #define cpu_to_hc32(x) cpu_to_be32((x)) argument 118 #define hc32_to_cpu(x) le32_to_cpu((x)) argument 119 #define cpu_to_hc32(x) cpu_to_le32((x)) argument 139 #define EHCI_PS_IS_LOWSPEED(x) (((x) & EHCI_PS_LS) == (1 << 10)) argument 158 #define QT_TOKEN_DT(x) (((x) & 0x1) << 31) /* Data Toggle */ argument 159 #define QT_TOKEN_GET_DT(x) (((x) >> 31) & 0x1) argument [all …]
|
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | crc32.c | 42 #define tole(x) cpu_to_le32(x) argument 43 #define tobe(x) cpu_to_be32(x) argument 45 #define tole(x) (x) argument 46 #define tobe(x) (x) argument 88 # define DO_CRC(x) crc = tab[ (crc ^ (x)) & 255 ] ^ (crc>>8) in crc32_le() argument 90 # define DO_CRC(x) crc = tab[ ((crc >> 24) ^ (x)) & 255] ^ (crc<<8) in crc32_le() argument 186 # define DO_CRC(x) crc = tab[ (crc ^ (x)) & 255 ] ^ (crc>>8) in crc32_be() argument 188 # define DO_CRC(x) crc = tab[ ((crc >> 24) ^ (x)) & 255] ^ (crc<<8) in crc32_be() argument 397 unsigned char x = bitrev8(*buf); in bytereverse() local 409 static void store_le(u32 x, unsigned char *buf) in store_le() [all …]
|
| /openbmc/u-boot/include/faraday/ |
| H A D | ftahbc020s.h | 28 #define FTAHBC020S_SLAVE_BSR_BASE(x) (((x) & 0xfff) << 20) argument 29 #define FTAHBC020S_SLAVE_BSR_SIZE(x) (((x) & 0xf) << 16) argument 31 #define FTAHBC020S_BSR_SIZE(x) (ffs(x) - 1) /* size of Addr Space */ argument 36 #define FTAHBC020S_PCR_PLEVEL_(x) (1 << (x)) /* x: 1-15 */ argument 42 #define FTAHBC020S_CR_RESP(x) (((x) & 0x3) << 20) argument
|
| /openbmc/u-boot/arch/xtensa/include/asm/ |
| H A D | byteorder.h | 13 static inline __attribute__((const)) __u32 ___arch__swab32(__u32 x) in ___arch__swab32() 29 static inline __attribute__((const)) __u16 ___arch__swab16(__u16 x) in ___arch__swab16() 66 #define __arch__swab32(x) ___arch__swab32(x) argument 67 #define __arch__swab16(x) ___arch__swab16(x) argument
|
| /openbmc/u-boot/fs/zfs/ |
| H A D | zfs_sha256.c | 49 #define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 50 #define Maj(x, y, z) (((x) & (y)) ^ ((z) & ((x) ^ (y)))) argument 51 #define Rot32(x, s) (((x) >> s) | ((x) << (32 - s))) argument 52 #define SIGMA0(x) (Rot32(x, 2) ^ Rot32(x, 13) ^ Rot32(x, 22)) argument 53 #define SIGMA1(x) (Rot32(x, 6) ^ Rot32(x, 11) ^ Rot32(x, 25)) argument 54 #define sigma0(x) (Rot32(x, 7) ^ Rot32(x, 18) ^ ((x) >> 3)) argument 55 #define sigma1(x) (Rot32(x, 17) ^ Rot32(x, 19) ^ ((x) >> 10)) argument
|
| /openbmc/u-boot/arch/nds32/include/asm/ |
| H A D | system.h | 37 #define local_irq_save(x) \ argument 46 #define local_save_flags(x) \ argument 55 #define irqs_enabled_from_flags(x) ((x) != 0x1f) argument 57 #define local_irq_restore(x) \ argument
|
| /openbmc/qemu/linux-user/ |
| H A D | qemu.h | 225 #define __put_user_e(x, hptr, e) \ argument 236 #define __get_user_e(x, hptr, e) \ argument 250 # define __put_user(x, hptr) __put_user_e(x, hptr, be) argument 251 # define __get_user(x, hptr) __get_user_e(x, hptr, be) argument 253 # define __put_user(x, hptr) __put_user_e(x, hptr, le) argument 254 # define __get_user(x, hptr) __get_user_e(x, hptr, le) argument 262 #define put_user(x, gaddr, target_type) \ argument 275 #define get_user(x, gaddr, target_type) \ argument 291 #define put_user_ual(x, gaddr) put_user((x), (gaddr), abi_ulong) argument 292 #define put_user_sal(x, gaddr) put_user((x), (gaddr), abi_long) argument [all …]
|
| /openbmc/u-boot/arch/arm/mach-exynos/include/mach/ |
| H A D | fb.h | 159 #define EXYNOS_WINCON(x) (x * 0x04) argument 160 #define EXYNOS_VIDOSD(x) (x * 0x10) argument 161 #define EXYNOS_BUFFER_OFFSET(x) (x * 0x08) argument 162 #define EXYNOS_BUFFER_SIZE(x) (x * 0x04) argument 191 #define EXYNOS_VIDCON0_CLKVAL_F(x) (((x) & 0xff) << 6) argument 241 #define EXYNOS_VIDTCON0_VBPDE(x) (((x) & 0xff) << 24) argument 242 #define EXYNOS_VIDTCON0_VBPD(x) (((x) & 0xff) << 16) argument 243 #define EXYNOS_VIDTCON0_VFPD(x) (((x) & 0xff) << 8) argument 244 #define EXYNOS_VIDTCON0_VSPW(x) (((x) & 0xff) << 0) argument 247 #define EXYNOS_VIDTCON1_VFPDE(x) (((x) & 0xff) << 24) argument [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | libfdt_env.h | 20 #define fdt32_to_cpu(x) be32_to_cpu(x) argument 21 #define cpu_to_fdt32(x) cpu_to_be32(x) argument 22 #define fdt64_to_cpu(x) be64_to_cpu(x) argument 23 #define cpu_to_fdt64(x) cpu_to_be64(x) argument
|
| /openbmc/openbmc/meta-nuvoton/recipes-nuvoton/program-edid/program-edid/ |
| H A D | edid.json | 15 "x": 52, number 24 "x": 147, number 28 "x": 302, number 32 "x": 669, number 36 "x": 321, number 43 "x": 1920, number 47 "x": 160, number 51 "x": 0, number 55 "x": 48, number 59 "x": 519, number [all …]
|
| /openbmc/phosphor-power/phosphor-power-supply/test/ |
| H A D | power_supply_tests.cpp | 305 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 353 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 419 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 463 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 502 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 541 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 579 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 617 for (auto x = 1; x <= DEGLITCH_LIMIT; x++) in TEST_F() local 655 for (auto x = 1; x <= PGOOD_DEGLITCH_LIMIT; x++) in TEST_F() local 801 for (auto x = 1; x <= PGOOD_DEGLITCH_LIMIT; x++) in TEST_F() local [all …]
|
| /openbmc/qemu/pc-bios/s390-ccw/ |
| H A D | bswap.h | 9 static inline uint16_t bswap16(uint16_t x) in bswap16() 14 static inline uint32_t bswap32(uint32_t x) in bswap32() 20 static inline uint64_t bswap64(uint64_t x) in bswap64()
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | vec_internal.h | 37 #define H1(x) ((x) ^ 7) argument 38 #define H1_2(x) ((x) ^ 6) argument 39 #define H1_4(x) ((x) ^ 4) argument 40 #define H2(x) ((x) ^ 3) argument 41 #define H4(x) ((x) ^ 1) argument 43 #define H1(x) (x) argument 44 #define H1_2(x) (x) argument 45 #define H1_4(x) (x) argument 46 #define H2(x) (x) argument 47 #define H4(x) (x) argument [all …]
|