| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | p1021_serdes.c | 19 #define FSL_SRDSCR3_EIC0(x) (((x) & 0x1f) << 8) argument 21 #define FSL_SRDSCR3_EIC1(x) (((x) & 0x1f) << 0) argument 23 #define FSL_SRDSCR4_EIC2(x) (((x) & 0x1f) << 8) argument 25 #define FSL_SRDSCR4_EIC3(x) (((x) & 0x1f) << 0) argument
|
| /openbmc/u-boot/arch/mips/include/asm/mach-generic/ |
| H A D | spaces.h | 80 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK)) argument 81 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK)) argument 82 #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK)) argument
|
| /openbmc/qemu/target/riscv/ |
| H A D | vcrypto_helper.c | 33 static uint64_t clmul64(uint64_t y, uint64_t x) in clmul64() 44 static uint64_t clmulh64(uint64_t y, uint64_t x) in clmulh64() 409 static inline uint32_t sig0_sha256(uint32_t x) in sig0_sha256() 414 static inline uint32_t sig1_sha256(uint32_t x) in sig1_sha256() 419 static inline uint64_t sig0_sha512(uint64_t x) in sig0_sha512() 424 static inline uint64_t sig1_sha512(uint64_t x) in sig1_sha512() 485 static inline uint64_t sum0_64(uint64_t x) in sum0_64() 490 static inline uint32_t sum0_32(uint32_t x) in sum0_32() 495 static inline uint64_t sum1_64(uint64_t x) in sum1_64() 500 static inline uint32_t sum1_32(uint32_t x) in sum1_32() [all …]
|
| /openbmc/u-boot/include/u-boot/ |
| H A D | u-boot.lds.h | 21 # define SORT_BY_ALIGNMENT(x) x argument 22 # define SORT_BY_NAME(x) x argument
|
| /openbmc/u-boot/drivers/net/mscc_eswitch/ |
| H A D | mscc_mac_table.c | 10 #define ANA_TABLES_MACACCESS_ENTRYTYPE(x) ((x) << 9) argument 11 #define ANA_TABLES_MACACCESS_DEST_IDX(x) ((x) << 3) argument 12 #define ANA_TABLES_MACACCESS_MAC_TABLE_CMD(x) (x) argument
|
| /openbmc/u-boot/arch/powerpc/include/asm/ |
| H A D | bitops.h | 149 static __inline__ int __ilog2(unsigned int x) in __ilog2() 157 static __inline__ int ffz(unsigned int x) in ffz() 170 static __inline__ int fls(unsigned int x) in fls() 188 static inline int fls64(__u64 x) in fls64() 196 static inline int fls64(__u64 x) in fls64() 213 static __inline__ int ffs(int x) in ffs() 224 #define hweight32(x) generic_hweight32(x) argument 225 #define hweight16(x) generic_hweight16(x) argument 226 #define hweight8(x) generic_hweight8(x) argument
|
| /openbmc/u-boot/arch/arm/include/asm/arch-armada100/ |
| H A D | spi.h | 16 #define CAT_BASE_ADDR(x) ARMD1_SSP ## x ## _BASE argument 17 #define SSP_REG_BASE(x) CAT_BASE_ADDR(x) argument 53 #define SSCR1_TXTRESH(x) ((x - 1) << 6) /* level [1..16] */ argument 54 #define SSCR1_RXTRESH(x) ((x - 1) << 10) /* level [1..16] */ argument 59 #define SSCR0_DATASIZE(x) (x - 1) /* Data Size Select [4..16] */ argument
|
| /openbmc/u-boot/lib/ |
| H A D | md5.c | 168 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 169 #define F2(x, y, z) F1(z, x, y) argument 170 #define F3(x, y, z) (x ^ y ^ z) argument 171 #define F4(x, y, z) (y ^ (x | ~z)) argument 174 #define MD5STEP(f, w, x, y, z, data, s) \ argument
|
| /openbmc/u-boot/arch/m68k/include/asm/ |
| H A D | m5271.h | 14 #define mbar_readLong(x) *((volatile unsigned long *) (CONFIG_SYS_MBAR + x)) argument 15 #define mbar_readShort(x) *((volatile unsigned short *) (CONFIG_SYS_MBAR + x)) argument 16 #define mbar_readByte(x) *((volatile unsigned char *) (CONFIG_SYS_MBAR + x)) argument 17 #define mbar_writeLong(x,y) *((volatile unsigned long *) (CONFIG_SYS_MBAR + x)) = y argument 18 #define mbar_writeShort(x,y) *((volatile unsigned short *) (CONFIG_SYS_MBAR + x)) = y argument 19 #define mbar_writeByte(x,y) *((volatile unsigned char *) (CONFIG_SYS_MBAR + x)) = y argument 24 #define MCF_FMPLL_SYNCR_MFD(x) ((x&0x7)<<24) argument 34 #define MCF_FMPLL_SYNCR_RFD(x) ((x&0x7)<<19) argument 183 #define MCF_GPIO_PAR_SDRAM_PAR_CSSDCS(x) (((x)&0x03)<<6) argument 189 #define MCF_SDRAMC_DCR_RC(x) (((x)&0x01FF)<<0) argument [all …]
|
| H A D | uart.h | 56 #define UART_UMR_BC(x) (((x)&0x03)) argument 58 #define UART_UMR_PM(x) (((x)&0x03)<<3) argument 62 #define UART_UMR_SB(x) (((x)&0x0F)) argument 65 #define UART_UMR_CM(x) (((x)&0x03)<<6) /* CM bits */ argument 96 #define UART_UCSR_TCS(x) (((x)&0x0F)) argument 97 #define UART_UCSR_RCS(x) (((x)&0x0F)<<4) argument 106 #define UART_UCR_RXC(x) (((x)&0x03)) argument 107 #define UART_UCR_TXC(x) (((x)&0x03)<<2) argument 108 #define UART_UCR_MISC(x) (((x)&0x07)<<4) argument
|
| /openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
| H A D | gpio.h | 215 #define at91_set_GPIO_periph(x, y) \ argument 217 #define at91_set_A_periph(x, y) \ argument 219 #define at91_set_B_periph(x, y) \ argument 221 #define at91_set_gpio_deglitch(x, y) \ argument 223 #define at91_set_gpio_output(x, y) \ argument 225 #define at91_set_gpio_input(x, y) \ argument 229 #define at91_set_gpio_value(x, y) \ argument 231 #define at91_get_gpio_value(x) \ argument 239 #define GPIO_PIN_PA(x) (GPIO_PIOA_BASE + (x)) argument 240 #define GPIO_PIN_PB(x) (GPIO_PIOB_BASE + (x)) argument [all …]
|
| H A D | at91_pmc.h | 69 #define AT91_PMC_MOR_OSCOUNT(x) (((x) & 0xff) << 8) argument 70 #define AT91_PMC_MOR_KEY(x) (((x) & 0xff) << 16) argument 73 #define AT91_PMC_PLLXR_DIV(x) ((x) & 0xFF) argument 74 #define AT91_PMC_PLLXR_PLLCOUNT(x) (((x) & 0x3F) << 8) argument 75 #define AT91_PMC_PLLXR_OUT(x) (((x) & 0x03) << 14) argument 78 #define AT91_PMC_PLLXR_MUL(x) (((x) & 0x7F) << 18) argument 80 #define AT91_PMC_PLLXR_MUL(x) (((x) & 0x7FF) << 16) argument 155 #define AT91_PMC_PCR_GCKCSS_(x) ((x & 0x07) << 8) argument 167 #define AT91_PMC_PCR_GCKDIV_(x) ((x & 0xff) << 20) argument 237 #define AT91_PMC_USB_USBS_(x) (x & 0x1) argument [all …]
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | iwmmxt_helper.c | 42 #define NBIT8(x) ((x) & 0x80) argument 43 #define NBIT16(x) ((x) & 0x8000) argument 44 #define NBIT32(x) ((x) & 0x80000000) argument 45 #define NBIT64(x) ((x) & 0x8000000000000000ULL) argument 46 #define ZBIT8(x) (((x) & 0xff) == 0) argument 47 #define ZBIT16(x) (((x) & 0xffff) == 0) argument 48 #define ZBIT32(x) (((x) & 0xffffffff) == 0) argument 49 #define ZBIT64(x) (x == 0) argument 83 #define abs(x) (((x) >= 0) ? x : -x) in HELPER() argument 152 #define NZBIT8(x, i) \ argument [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
| H A D | ncurses.py | 68 def __init__( self, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument 95 def setText( self, x, y, text, *args ): argument 109 … def __init__( self, title, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument 137 def __init__( self, x, y, width, height ): argument 153 def __init__( self, x, y, width, height ): argument 173 def __init__( self, x, y, width, height ): argument 180 def __init__( self, x, y, width, height ): argument
|
| /openbmc/u-boot/drivers/dma/ |
| H A D | bcm6348-iudma.c | 30 #define DMA_CHAN_FLOWC(x) ((x) >> 1) argument 39 #define DMA_CFG_FLOWC_ENABLE(x) BIT(DMA_CHAN_FLOWC(x) + 1) argument 44 #define DMA_FLOWC_THR_LO_REG(x) (0x04 + DMA_CHAN_FLOWC(x) * 0x0c) argument 45 #define DMA_FLOWC_THR_HI_REG(x) (0x08 + DMA_CHAN_FLOWC(x) * 0x0c) argument 46 #define DMA_FLOWC_ALLOC_REG(x) (0x0c + DMA_CHAN_FLOWC(x) * 0x0c) argument 53 #define DMA_RST_CHAN_MASK(x) (1 << x) argument 56 #define DMAC_CFG_REG(x) (DMA_CHAN_SIZE * (x) + 0x00) argument 65 #define DMAC_BURST_REG(x) (DMA_CHAN_SIZE * (x) + 0x0c) argument 68 #define DMAS_RSTART_REG(x) (DMA_CHAN_SIZE * (x) + 0x00) argument 71 #define DMAS_STATE_DATA_REG(x) (DMA_CHAN_SIZE * (x) + 0x04) argument [all …]
|
| /openbmc/u-boot/arch/mips/mach-mscc/include/mach/servalt/ |
| H A D | servalt_devcpu_gcb.h | 17 #define GPIO_GPIO_ALT(x) (0x74 + 4 * (x)) argument 18 #define GPIO_GPIO_ALT1(x) (0x7c + 4 * (x)) argument
|
| /openbmc/u-boot/arch/mips/mach-mscc/include/mach/jr2/ |
| H A D | jr2_devcpu_gcb.h | 17 #define GPIO_GPIO_ALT(x) (0x78 + 4 * (x)) argument 18 #define GPIO_GPIO_ALT1(x) (0x80 + 4 * (x)) argument
|
| /openbmc/qemu/tests/tcg/hexagon/ |
| H A D | mem_noshuf.c | 110 int32_t x, int32_t y) in pred_lw_sw_pi() 127 int64_t x, int64_t y) in pred_ld_sd() 143 int64_t x, int64_t y) in pred_ld_sd_pi() 159 static inline int32_t cancel_sw_lb(bool pred, int32_t *p, int8_t *q, int32_t x) in cancel_sw_lb() 173 static inline int64_t cancel_sw_ld(bool pred, int32_t *p, int64_t *q, int32_t x) in cancel_sw_ld()
|
| H A D | read_write_overlap.c | 55 static inline uint32_t insert_rp(uint32_t x, uint32_t width, uint32_t offset) in insert_rp() 77 static inline uint32_t asr_r_svw_trun(uint64_t x, uint32_t y) in asr_r_svw_trun() 103 static inline uint32_t swiz(uint32_t x) in swiz()
|
| /openbmc/u-boot/drivers/sound/ |
| H A D | samsung-i2s.c | 16 #define FIC_TX2COUNT(x) (((x) >> 24) & 0xf) argument 17 #define FIC_TX1COUNT(x) (((x) >> 16) & 0xf) argument 18 #define FIC_TXCOUNT(x) (((x) >> 8) & 0xf) argument 19 #define FIC_RXCOUNT(x) (((x) >> 0) & 0xf) argument 20 #define FICS_TXCOUNT(x) (((x) >> 8) & 0x7f) argument
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | fsl_espi.c | 42 #define ESPI_MODE_TXTHR(x) ((x) << 8) /* Tx FIFO threshold */ argument 43 #define ESPI_MODE_RXTHR(x) ((x) << 0) /* Rx FIFO threshold */ argument 45 #define ESPI_COM_CS(x) ((x) << 30) argument 46 #define ESPI_COM_TRANLEN(x) ((x) << 0) argument 52 #define ESPI_CSMODE_PM(x) ((x) << 24) argument 54 #define ESPI_CSMODE_LEN(x) ((x) << 16) argument 55 #define ESPI_CSMODE_CSBEF(x) ((x) << 12) argument 56 #define ESPI_CSMODE_CSAFT(x) ((x) << 8) argument 57 #define ESPI_CSMODE_CSCG(x) ((x) << 3) argument
|
| /openbmc/u-boot/drivers/pci/ |
| H A D | aspeed_pcie_phy.c | 24 #define PCIE_CFG_CLASS_CODE(x) ((x) << 8) argument 25 #define PCIE_CFG_REV_ID(x) (x) argument 28 #define ROOT_COMPLEX_ID(x) ((x) << 4) argument
|
| /openbmc/qemu/hw/display/ |
| H A D | cirrus_vga_rop.h | 85 int x,y; in glue() local 111 int x,y; in glue() local 134 int x,y; in glue() local 163 int x,y; in glue() local 187 int x,y; in glue() local 216 int x,y; in glue() local
|
| /openbmc/qemu/disas/ |
| H A D | sparc.c | 185 #define OP2(x) (((x) & 0x7) << 22) /* Op2 field of format2 insns. */ argument 186 #define OP3(x) (((x) & 0x3f) << 19) /* Op3 field of format3 insns. */ argument 187 #define OP(x) ((unsigned) ((x) & 0x3) << 30) /* Op field of all insns. */ argument 188 #define OPF(x) (((x) & 0x1ff) << 5) /* Opf field of float insns. */ argument 189 #define OPF_LOW5(x) OPF ((x) & 0x1f) /* V9. */ argument 190 #define F3F(x, y, z) (OP (x) | OP3 (y) | OPF (z)) /* Format3 float insns. */ argument 191 #define F3I(x) (((x) & 0x1) << 13) /* Immediate field of format 3 insns. */ argument 192 #define F2(x, y) (OP (x) | OP2(y)) /* Format 2 insns. */ argument 193 #define F3(x, y, z) (OP (x) | OP3(y) | F3I(z)) /* Format3 insns. */ argument 194 #define F1(x) (OP (x)) argument [all …]
|
| /openbmc/qemu/target/i386/tcg/ |
| H A D | helper-tcg.h | 50 static inline target_long lshift(target_long x, int n) in lshift() 92 static inline unsigned int compute_pf(uint8_t x) in compute_pf()
|