Home
last modified time | relevance | path

Searched defs:x (Results 51 – 75 of 1111) sorted by relevance

12345678910>>...45

/openbmc/u-boot/arch/m68k/include/asm/coldfire/
H A Ddspi.h36 #define DSPI_MCR_DCONF(x) (((x)&0x03)<<28) argument
54 #define DSPI_MCR_SMPL_PT(x) (((x)&0x03)<<8) argument
58 #define DSPI_TCR_SPI_TCNT(x) (((x)&0x0000FFFF)<<16) argument
62 #define DSPI_CTAR_TRSZ(x) (((x)&0x0F)<<27) argument
66 #define DSPI_CTAR_PCSSCK(x) (((x)&0x03)<<22) argument
71 #define DSPI_CTAR_PASC(x) (((x)&0x03)<<20) argument
76 #define DSPI_CTAR_PDT(x) (((x)&0x03)<<18) argument
81 #define DSPI_CTAR_PBR(x) (((x)&0x03)<<16) argument
86 #define DSPI_CTAR_CSSCK(x) (((x)&0x0F)<<12) argument
87 #define DSPI_CTAR_ASC(x) (((x)&0x0F)<<8) argument
[all …]
/openbmc/u-boot/include/linux/
H A Dkernel.h42 #define REPEAT_BYTE(x) ((~0ul / 0xff) * (x)) argument
44 #define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1) argument
45 #define ALIGN_DOWN(x, a) ALIGN((x) - ((a) - 1), (a)) argument
46 #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) argument
48 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
50 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
58 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
59 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
60 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
77 #define roundup(x, y) ( \ argument
[all …]
H A Dcompiler.h13 # define __must_hold(x) __attribute__((context(x,1,1))) argument
14 # define __acquires(x) __attribute__((context(x,0,1))) argument
15 # define __releases(x) __attribute__((context(x,1,0))) argument
16 # define __acquire(x) __context__(x,1) argument
17 # define __release(x) __context__(x,-1) argument
18 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) argument
35 # define __chk_user_ptr(x) (void)0 argument
36 # define __chk_io_ptr(x) (void)0 argument
37 # define __builtin_warning(x, y...) (1) argument
38 # define __must_hold(x) argument
[all …]
H A Dconst.h25 #define _UL(x) (_AC(x, UL)) argument
26 #define _ULL(x) (_AC(x, ULL)) argument
28 #define _BITUL(x) (_UL(1) << (x)) argument
29 #define _BITULL(x) (_ULL(1) << (x)) argument
31 #define UL(x) (_UL(x)) argument
32 #define ULL(x) (_ULL(x)) argument
/openbmc/u-boot/arch/arm/include/asm/arch-imx/
H A Dimx-regs.h12 #define IO_ADDRESS(x) ((x) | IMX_IO_BASE) argument
15 # define __REG(x) (*((volatile u32 *)IO_ADDRESS(x))) argument
16 # define __REG2(x,y) (*(volatile u32 *)((u32)&__REG(x) + (y))) argument
18 # define __REG(x) (x) argument
19 # define __REG2(x,y) ((x)+(y)) argument
111 #define DDIR(x) __REG2(IMX_GPIO_BASE + 0x00, ((x) & 3) << 8) argument
112 #define OCR1(x) __REG2(IMX_GPIO_BASE + 0x04, ((x) & 3) << 8) argument
113 #define OCR2(x) __REG2(IMX_GPIO_BASE + 0x08, ((x) & 3) << 8) argument
114 #define ICONFA1(x) __REG2(IMX_GPIO_BASE + 0x0c, ((x) & 3) << 8) argument
115 #define ICONFA2(x) __REG2(IMX_GPIO_BASE + 0x10, ((x) & 3) << 8) argument
[all …]
/openbmc/u-boot/arch/m68k/include/asm/
H A Dm5441x.h191 #define SBF_SBFCR_BLDIV(x) (((x)&0x000F)) argument
226 #define CCM_MISCCR_PWM_EXTCLK(x) (((x)&(0x0003)<<14) argument
234 #define CCM_MISCCR_BMT(x) (((x)&0x0007)<<8) argument
251 #define CCM_CDRH_SSI0DIV(x) (((x)&0x00FF)<<8) argument
253 #define CCM_CDRH_SSI1DIV(x) (((x)&0x00FF)) argument
255 #define CCM_CDRL_LPDIV(x) (((x)&0x000F)<<8) argument
257 #define CCM_CDR_LPDIV(x) CCM_CDRL_LPDIV(x) argument
281 #define CCM_MISCCR3_ENETCLK(x) (((x)&7)<<8) argument
296 #define CCM_MISCCR2_PLLMODE(x) (((x)&7)<<8) argument
307 #define CCM_FNACR_PCR(x) (((x)&0x0F)<<24) argument
[all …]
H A Dm5445x.h115 #define SBF_SBFCR_BLDIV(x) (((x)&0x000F)) /* Boot loader clock divider */ argument
138 #define CCM_CCR_360_PLLMULT2(x) (((x)&0x0003)) /* 2-Bit PLL clock mode */ argument
142 #define CCM_CCR_360_FBCONFIG(x) (((x)&0x0007)<<5) /* Flexbus/PCI port size configuration */ argument
143 #define CCM_CCR_360_PLLMULT3(x) (((x)&0x0007)) /* 3-Bit PLL Clock Mode */ argument
170 #define CCM_CCR_256_PLLMULT3(x) (((x)&0x0007)) /* 3-Bit PLL clock mode */ argument
173 #define CCM_CCR_256_FBCONFIG(x) (((x)&0x0007)<<5) /* Flexbus/PCI port size configuration */ argument
192 #define CCM_RCON_360_PLLMULT(x) (((x)&0x0003)) /* PLL clock mode */ argument
196 #define CCM_RCON_360_FBCONFIG(x) (((x)&0x0007)<<5) /* Flexbus/PCI port size configuration */ argument
199 #define CCM_RCON_256_PLLMULT(x) (((x)&0x0007)) /* PLL clock mode */ argument
202 #define CCM_RCON_256_FBCONFIG(x) (((x)&0x0007)<<5) /* Flexbus/PCI port size configuration */ argument
[all …]
/openbmc/qemu/include/qemu/
H A Dcompiler.h29 #define xglue(x, y) x ## y argument
30 #define glue(x, y) xglue(x, y) argument
39 #define likely(x) __builtin_expect(!!(x), 1) argument
40 #define unlikely(x) __builtin_expect(!!(x), 0) argument
67 #define QEMU_BUILD_BUG_ON_STRUCT(x) \ argument
72 #define QEMU_BUILD_BUG_MSG(x, msg) _Static_assert(!(x), msg) argument
74 #define QEMU_BUILD_BUG_ON(x) QEMU_BUILD_BUG_MSG(x, "not expecting: " #x) argument
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \ argument
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */ argument
92 #define __has_feature(x) 0 /* compatibility with non-clang compilers */ argument
[all …]
/openbmc/u-boot/arch/mips/mach-ath79/qca953x/
H A Dddr.c23 #define DDR_REFRESH(x) ((x) & DDR_REFRESH_M) argument
28 #define DDR_TRAS(x) (((x) & DDR_TRAS_M) << DDR_TRAS_S) argument
31 #define DDR_TRCD(x) (((x) & DDR_TRCD_M) << DDR_TRCD_S) argument
34 #define DDR_TRP(x) (((x) & DDR_TRP_M) << DDR_TRP_S) argument
37 #define DDR_TRRD(x) (((x) & DDR_TRRD_M) << DDR_TRRD_S) argument
40 #define DDR_TRFC(x) (((x) & DDR_TRFC_M) << DDR_TRFC_S) argument
43 #define DDR_TMRD(x) (((x) & DDR_TMRD_M) << DDR_TMRD_S) argument
46 #define DDR_CAS_L(x) (((x) & DDR_CAS_L_M) << DDR_CAS_L_S) argument
59 #define DDR_BURST_LEN(x) ((x) << DDR_BURST_LEN_S) argument
66 #define DDR_TWR(x) (((x) & DDR_TWR_M) << DDR_TWR_S) argument
[all …]
/openbmc/qemu/linux-headers/linux/
H A Dconst.h25 #define _UL(x) (_AC(x, UL)) argument
26 #define _ULL(x) (_AC(x, ULL)) argument
28 #define _BITUL(x) (_UL(1) << (x)) argument
29 #define _BITULL(x) (_ULL(1) << (x)) argument
45 #define _BIT128(x) ((unsigned __int128)(1) << (x)) argument
48 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) argument
49 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) argument
/openbmc/qemu/include/standard-headers/linux/
H A Dconst.h25 #define _UL(x) (_AC(x, UL)) argument
26 #define _ULL(x) (_AC(x, ULL)) argument
28 #define _BITUL(x) (_UL(1) << (x)) argument
29 #define _BITULL(x) (_ULL(1) << (x)) argument
45 #define _BIT128(x) ((unsigned __int128)(1) << (x)) argument
48 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) argument
49 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) argument
/openbmc/u-boot/arch/x86/include/asm/
H A Dbyteorder.h9 static __inline__ __u32 ___arch__swab32(__u32 x) in ___arch__swab32()
16 #define _constant_swab16(x) ((__u16)( \ argument
20 static __inline__ __u16 ___arch__swab16(__u16 x) in ___arch__swab16()
32 #define __arch__swab32(x) ___arch__swab32(x) argument
33 #define __arch__swab16(x) ___arch__swab16(x) argument
/openbmc/u-boot/include/faraday/
H A Dftsmc020.h34 #define FTSMC020_BANK_BASE(x) ((x) & 0x0fff1000) argument
62 #define FTSMC020_TPR_ETRNA(x) (((x) & 0xf) << 28) argument
63 #define FTSMC020_TPR_EATI(x) (((x) & 0xf) << 24) argument
65 #define FTSMC020_TPR_AST(x) (((x) & 0x3) << 18) argument
66 #define FTSMC020_TPR_CTW(x) (((x) & 0x3) << 16) argument
67 #define FTSMC020_TPR_ATI(x) (((x) & 0xf) << 12) argument
68 #define FTSMC020_TPR_AT2(x) (((x) & 0x3) << 8) argument
69 #define FTSMC020_TPR_WTC(x) (((x) & 0x3) << 6) argument
70 #define FTSMC020_TPR_AHT(x) (((x) & 0x3) << 4) argument
71 #define FTSMC020_TPR_TRNA(x) (((x) & 0xf) << 0) argument
H A Dftsdmc020.h29 #define FTSDMC020_TP0_TCL(x) ((x) & 0x3) argument
30 #define FTSDMC020_TP0_TWR(x) (((x) & 0x3) << 4) argument
31 #define FTSDMC020_TP0_TRF(x) (((x) & 0xf) << 8) argument
32 #define FTSDMC020_TP0_TRCD(x) (((x) & 0x7) << 12) argument
33 #define FTSDMC020_TP0_TRP(x) (((x) & 0xf) << 16) argument
34 #define FTSDMC020_TP0_TRAS(x) (((x) & 0xf) << 20) argument
39 #define FTSDMC020_TP1_REF_INTV(x) ((x) & 0xffff) argument
40 #define FTSDMC020_TP1_INI_REFT(x) (((x) & 0xf) << 16) argument
41 #define FTSDMC020_TP1_INI_PREC(x) (((x) & 0xf) << 20) argument
87 #define FTSDMC020_ACR_TOC(x) ((x) & 0x1f) argument
/openbmc/qemu/target/loongarch/
H A Dvec.h12 #define B(x) B[(x) ^ 15] argument
13 #define H(x) H[(x) ^ 7] argument
14 #define W(x) W[(x) ^ 3] argument
15 #define D(x) D[(x) ^ 1] argument
16 #define UB(x) UB[(x) ^ 15] argument
17 #define UH(x) UH[(x) ^ 7] argument
18 #define UW(x) UW[(x) ^ 3] argument
19 #define UD(x) UD[(x) ^ 1] argument
20 #define Q(x) Q[x] argument
22 #define B(x) B[x] argument
[all …]
/openbmc/u-boot/arch/mips/mach-ath79/ar933x/
H A Dddr.c23 #define DDR_REFRESH(x) ((x) & 0x3ff) argument
29 #define DDR_TRAS(x) ((x) << DDR_TRAS_S) argument
32 #define DDR_TRCD(x) ((x) << DDR_TRCD_S) argument
35 #define DDR_TRP(x) ((x) << DDR_TRP_S) argument
38 #define DDR_TRRD(x) ((x) << DDR_TRRD_S) argument
41 #define DDR_TRFC(x) ((x) << DDR_TRFC_S) argument
44 #define DDR_TMRD(x) ((x) << DDR_TMRD_S) argument
47 #define DDR_CAS_L(x) (((x) & DDR_CAS_L_M) << DDR_CAS_L_S) argument
56 #define DDR_BURST_LEN(x) ((x) << DDR_BURST_LEN_S) argument
63 #define DDR_TWR(x) ((x) << DDR_TWR_S) argument
[all …]
/openbmc/qemu/subprojects/libvhost-user/include/
H A Dcompiler.h34 xglue(x,y) global() argument
35 glue(x,y) global() argument
44 likely(x) global() argument
45 unlikely(x) global() argument
72 QEMU_BUILD_BUG_ON_STRUCT(x) global() argument
77 QEMU_BUILD_BUG_MSG(x,msg) global() argument
79 QEMU_BUILD_BUG_ON(x) global() argument
81 QEMU_BUILD_BUG_ON_ZERO(x) global() argument
93 __has_warning(x) global() argument
97 __has_feature(x) global() argument
101 __has_builtin(x) global() argument
109 __has_attribute(x) global() argument
204 QEMU_ANNOTATE(x) global() argument
206 QEMU_ANNOTATE(x) global() argument
221 IS_ENABLED(x) global() argument
[all...]
/openbmc/qemu/subprojects/libvduse/include/
H A Dcompiler.h34 xglue(x,y) global() argument
35 glue(x,y) global() argument
44 likely(x) global() argument
45 unlikely(x) global() argument
72 QEMU_BUILD_BUG_ON_STRUCT(x) global() argument
77 QEMU_BUILD_BUG_MSG(x,msg) global() argument
79 QEMU_BUILD_BUG_ON(x) global() argument
81 QEMU_BUILD_BUG_ON_ZERO(x) global() argument
93 __has_warning(x) global() argument
97 __has_feature(x) global() argument
101 __has_builtin(x) global() argument
109 __has_attribute(x) global() argument
204 QEMU_ANNOTATE(x) global() argument
206 QEMU_ANNOTATE(x) global() argument
221 IS_ENABLED(x) global() argument
[all...]
/openbmc/u-boot/drivers/net/
H A Daspeed_mdio.c19 #define FTGMAC100_PHYCR_MDC_CYCTHR(x) ((x) & 0x3f) argument
20 #define FTGMAC100_PHYCR_PHYAD(x) (((x) & 0x1f) << 16) argument
21 #define FTGMAC100_PHYCR_REGAD(x) (((x) & 0x1f) << 21) argument
31 #define FTGMAC100_PHYCR_NEW_WDATA(x) (x & 0xffff) argument
32 #define FTGMAC100_PHYCR_NEW_PHYAD(x) (((x) & 0x1f) << 21) argument
33 #define FTGMAC100_PHYCR_NEW_REGAD(x) (((x) & 0x1f) << 16) argument
40 #define FTGMAC100_PHYCR_NEW_WDATA(x) ((x & 0xffff) << 16) argument
41 #define FTGMAC100_PHYCR_NEW_PHYAD(x) (((x) & 0x1f) << 5) argument
42 #define FTGMAC100_PHYCR_NEW_REGAD(x) ((x) & 0x1f) argument
48 #define FTGMAC100_PHYDATA_MIIWDATA(x) ((x) & 0xffff) argument
[all …]
/openbmc/u-boot/lib/libavb/
H A Davb_sha512.c13 #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 SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) argument
20 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) argument
21 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7)) argument
22 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6)) argument
24 #define UNPACK32(x, str) \ argument
[all …]
/openbmc/u-boot/drivers/video/
H A Dam335x-fb.c29 #define LCD_CLK_DIVISOR(x) ((x) << 8) argument
36 #define LCD_DMA_BURST_SIZE(x) ((x) << 4) argument
43 #define LCD_HBPLSB(x) ((((x)-1) & 0xFF) << 24) argument
44 #define LCD_HFPLSB(x) ((((x)-1) & 0xFF) << 16) argument
45 #define LCD_HSWLSB(x) ((((x)-1) & 0x3F) << 10) argument
46 #define LCD_HORLSB(x) (((((x) >> 4)-1) & 0x3F) << 4) argument
47 #define LCD_HORMSB(x) (((((x) >> 4)-1) & 0x40) >> 4) argument
49 #define LCD_VBP(x) ((x) << 24) argument
50 #define LCD_VFP(x) ((x) << 16) argument
51 #define LCD_VSW(x) (((x)-1) << 10) argument
[all …]
/openbmc/qemu/bsd-user/
H A Dqemu.h310 #define __put_user_e(x, hptr, e) \ argument
321 #define __get_user_e(x, hptr, e) \ argument
335 # define __put_user(x, hptr) __put_user_e(x, hptr, be) argument
336 # define __get_user(x, hptr) __get_user_e(x, hptr, be) argument
338 # define __put_user(x, hptr) __put_user_e(x, hptr, le) argument
339 # define __get_user(x, hptr) __get_user_e(x, hptr, le) argument
349 #define put_user(x, gaddr, target_type) \ argument
363 #define get_user(x, gaddr, target_type) \ argument
379 #define put_user_ual(x, gaddr) put_user((x), (gaddr), abi_ulong) argument
380 #define put_user_sal(x, gaddr) put_user((x), (gaddr), abi_long) argument
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Ddram_sunxi_dw.h59 #define MCTL_CR_BUS_FULL_WIDTH(x) ((x) << 12) argument
61 #define MCTL_CR_PAGE_SIZE(x) ((fls(x) - 4) << 8) argument
62 #define MCTL_CR_ROW_BITS(x) (((x) - 1) << 4) argument
148 #define PTR3_TDINIT1(x) ((x) << 20) argument
149 #define PTR3_TDINIT0(x) ((x) << 0) argument
151 #define PTR4_TDINIT3(x) ((x) << 20) argument
152 #define PTR4_TDINIT2(x) ((x) << 0) argument
154 #define DRAMTMG0_TWTP(x) ((x) << 24) argument
155 #define DRAMTMG0_TFAW(x) ((x) << 16) argument
156 #define DRAMTMG0_TRAS_MAX(x) ((x) << 8) argument
[all …]
/openbmc/u-boot/include/zfs/
H A Dspa.h17 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
18 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
19 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
20 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
22 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
23 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
25 #define BF32_SET(x, low, len, val) \ argument
27 #define BF64_SET(x, low, len, val) \ argument
30 #define BF32_GET_SB(x, low, len, shift, bias) \ argument
32 #define BF64_GET_SB(x, low, len, shift, bias) \ argument
[all …]
/openbmc/u-boot/drivers/spi/
H A Datmel_spi.h14 #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 …]

12345678910>>...45