/openbmc/linux/crypto/ |
H A D | rmd160.c | 43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ macro 68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform() 69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform() 70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform() 71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform() 72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform() 73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform() 74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform() 75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform() 76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd160_transform() [all …]
|
H A D | blowfish_generic.c | 35 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) macro 45 ROUND(yr, yl, 0); in bf_encrypt() 46 ROUND(yl, yr, 1); in bf_encrypt() 47 ROUND(yr, yl, 2); in bf_encrypt() 48 ROUND(yl, yr, 3); in bf_encrypt() 49 ROUND(yr, yl, 4); in bf_encrypt() 50 ROUND(yl, yr, 5); in bf_encrypt() 51 ROUND(yr, yl, 6); in bf_encrypt() 52 ROUND(yl, yr, 7); in bf_encrypt() 53 ROUND(yr, yl, 8); in bf_encrypt() [all …]
|
H A D | blowfish_common.c | 305 #define ROUND(a, b, n) ({ b ^= P[n]; a ^= bf_F(b); }) macro 318 ROUND(yr, yl, 0); in encrypt_block() 319 ROUND(yl, yr, 1); in encrypt_block() 320 ROUND(yr, yl, 2); in encrypt_block() 321 ROUND(yl, yr, 3); in encrypt_block() 322 ROUND(yr, yl, 4); in encrypt_block() 323 ROUND(yl, yr, 5); in encrypt_block() 324 ROUND(yr, yl, 6); in encrypt_block() 325 ROUND(yl, yr, 7); in encrypt_block() 326 ROUND(yr, yl, 8); in encrypt_block() [all …]
|
H A D | blake2b_generic.c | 58 #define ROUND(r) \ macro 92 ROUND(0); in blake2b_compress_one_generic() 93 ROUND(1); in blake2b_compress_one_generic() 94 ROUND(2); in blake2b_compress_one_generic() 95 ROUND(3); in blake2b_compress_one_generic() 96 ROUND(4); in blake2b_compress_one_generic() 97 ROUND(5); in blake2b_compress_one_generic() 98 ROUND(6); in blake2b_compress_one_generic() 99 ROUND(7); in blake2b_compress_one_generic() 100 ROUND(8); in blake2b_compress_one_generic() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | hash.c | 44 #define ROUND(f, a, b, c, d, x, s) \ macro 58 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform() 59 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform() 60 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform() 61 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform() 62 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform() 63 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform() 64 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform() 65 ROUND(F, b, c, d, a, in[7] + K1, 19); in half_md4_transform() 68 ROUND(G, a, b, c, d, in[1] + K2, 3); in half_md4_transform() [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | blake2s-generic.c | 78 #define ROUND(r) do { \ in blake2s_compress_generic() macro 88 ROUND(0); in blake2s_compress_generic() 89 ROUND(1); in blake2s_compress_generic() 90 ROUND(2); in blake2s_compress_generic() 91 ROUND(3); in blake2s_compress_generic() 92 ROUND(4); in blake2s_compress_generic() 93 ROUND(5); in blake2s_compress_generic() 94 ROUND(6); in blake2s_compress_generic() 95 ROUND(7); in blake2s_compress_generic() 96 ROUND(8); in blake2s_compress_generic() [all …]
|
H A D | des.c | 582 #define ROUND(L, R, A, B, K, d) \ macro 792 ROUND(L, R, A, B, K, 2); in des_encrypt() 793 ROUND(R, L, A, B, K, 2); in des_encrypt() 813 ROUND(L, R, A, B, K, -2); in des_decrypt() 814 ROUND(R, L, A, B, K, -2); in des_decrypt() 855 ROUND(L, R, A, B, K, 2); in des3_ede_encrypt() 856 ROUND(R, L, A, B, K, 2); in des3_ede_encrypt() 859 ROUND(R, L, A, B, K, 2); in des3_ede_encrypt() 860 ROUND(L, R, A, B, K, 2); in des3_ede_encrypt() 863 ROUND(L, R, A, B, K, 2); in des3_ede_encrypt() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | sm4-aesni-avx-asm_64.S | 188 #define ROUND(round, s0, s1, s2, s3) \ macro 217 ROUND(0, RA0, RA1, RA2, RA3); 218 ROUND(1, RA1, RA2, RA3, RA0); 219 ROUND(2, RA2, RA3, RA0, RA1); 220 ROUND(3, RA3, RA0, RA1, RA2); 225 #undef ROUND 276 #define ROUND(round, s0, s1, s2, s3, r0, r1, r2, r3) \ macro 333 ROUND(0, RA0, RA1, RA2, RA3, RB0, RB1, RB2, RB3); 334 ROUND(1, RA1, RA2, RA3, RA0, RB1, RB2, RB3, RB0); 335 ROUND(2, RA2, RA3, RA0, RA1, RB2, RB3, RB0, RB1); [all …]
|
H A D | sm4-aesni-avx2-asm_64.S | 182 #define ROUND(round, s0, s1, s2, s3, r0, r1, r2, r3) \ macro 245 ROUND(0, RA0, RA1, RA2, RA3, RB0, RB1, RB2, RB3); 246 ROUND(1, RA1, RA2, RA3, RA0, RB1, RB2, RB3, RB0); 247 ROUND(2, RA2, RA3, RA0, RA1, RB2, RB3, RB0, RB1); 248 ROUND(3, RA3, RA0, RA1, RA2, RB3, RB0, RB1, RB2); 253 #undef ROUND
|
/openbmc/linux/drivers/gpu/drm/hisilicon/kirin/ |
H A D | dw_drm_dsi.c | 33 #define ROUND(x, y) ((x) / (y) + \ macro 260 phy->clk_t_lpx = ROUND(50, 8 * ui); in dsi_get_phy_params() 261 phy->clk_t_hs_prepare = ROUND(133, 16 * ui) - 1; in dsi_get_phy_params() 263 phy->clk_t_hs_zero = ROUND(262, 8 * ui); in dsi_get_phy_params() 264 phy->clk_t_hs_trial = 2 * (ROUND(60, 8 * ui) - 1); in dsi_get_phy_params() 265 phy->clk_t_wakeup = ROUND(1000000, (ref_clk_ps / 1000) - 1); in dsi_get_phy_params() 270 phy->data_t_hs_prepare = ROUND(125 + 10 * ui, 16 * ui) - 1; in dsi_get_phy_params() 271 phy->data_t_hs_zero = ROUND(105 + 6 * ui, 8 * ui); in dsi_get_phy_params() 272 phy->data_t_hs_trial = 2 * (ROUND(60 + 4 * ui, 8 * ui) - 1); in dsi_get_phy_params() 277 phy->clklp2hs_time = ROUND(407, 8 * ui) + 12; in dsi_get_phy_params() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
H A D | endian-ness_handling.patch | 117 -#define ROUND(len) (((len) + sizeof (Elf32_Word)) - 1) & -sizeof (Elf32_Word))) 119 - + ROUND (abi_note[0]) 120 - + ROUND (abi_note[1]); 121 +#define ROUND(len) (((len) + sizeof (Elf32_Word) - 1) & -sizeof (Elf32_Word)) 123 + + ROUND (read32(abi_note[0], be)) 124 + + ROUND (read32(abi_note[1], be)); 263 +#undef ROUND 264 #define ROUND(len) (((len) + sizeof (Elf64_Word) - 1) & -sizeof (Elf64_Word)) 266 - + ROUND (abi_note[0]) 267 - + ROUND (abi_note[1]); [all …]
|
H A D | 32and64bit.patch | 114 +#define ROUND(len) (((len) + sizeof (Elf32_Word)) - 1) & -sizeof (Elf32_Word))) 116 + + ROUND (abi_note[0]) 117 + + ROUND (abi_note[1]); 273 -#define ROUND(len) (((len) + sizeof (ElfW(Word)) - 1) & -sizeof (ElfW(Word))) 275 +#define ROUND(len) (((len) + sizeof (Elf64_Word) - 1) & -sizeof (Elf64_Word)) 277 + ROUND (abi_note[0]) 278 + ROUND (abi_note[1]);
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | tsc_msrs_test.c | 15 #define ROUND(x) ((x + UNITY / 2) & -UNITY) macro 16 #define rounded_rdmsr(x) ROUND(rdmsr(x)) 17 #define rounded_host_rdmsr(x) ROUND(vcpu_get_msr(vcpu, x))
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | dma-mapping.h | 16 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, ROUND(len, ARCH_DMA_MINALIGN)); in dma_alloc_coherent()
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | io.h | 52 flush_dcache_range(addr, addr + ROUND(length, CACHELINE_SIZE)); in dwc3_flush_cache()
|
/openbmc/u-boot/include/configs/ |
H A D | usb_a9263.h | 92 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
|
H A D | meesc.h | 116 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + \
|
H A D | at91sam9rlek.h | 105 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
|
H A D | pm9g45.h | 117 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024,\
|
H A D | picosam9g45.h | 104 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
|
H A D | at91sam9261ek.h | 133 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
|
H A D | at91sam9260ek.h | 156 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
|
H A D | at91rm9200ek.h | 168 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + SZ_128K, \
|
H A D | at91sam9m10g45ek.h | 96 #define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000)
|
/openbmc/u-boot/tools/ |
H A D | rkcommon.c | 174 hdr->init_size = ROUND(hdr->init_size, 4); in rkcommon_set_header0() 375 padded_size = ROUND(unpadded_size, alignment); in rkcommon_vrec_header()
|