| /linux/lib/raid6/ |
| H A D | mktables.c | 21 static uint8_t gfmul(uint8_t a, uint8_t b) in gfmul() argument 25 while (b) { in gfmul() 26 if (b & 1) in gfmul() 29 b >>= 1; in gfmul() 35 static uint8_t gfpow(uint8_t a, int b) in gfpow() argument 39 b %= 255; in gfpow() 40 if (b < 0) in gfpow() 41 b += 255; in gfpow() 43 while (b) { in gfpow() 44 if (b & 1) in gfpow() [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | cm81xx.h | 13 #define TI81XX_CM_ACTIVE_MOD 0x0400 /* 256B */ 14 #define TI81XX_CM_DEFAULT_MOD 0x0500 /* 256B */ 16 #define TI81XX_CM_SGX_MOD 0x0900 /* 256B */ 19 #define TI816X_CM_IVAHD0_MOD 0x0600 /* 256B */ 20 #define TI816X_CM_IVAHD1_MOD 0x0700 /* 256B */ 21 #define TI816X_CM_IVAHD2_MOD 0x0800 /* 256B */
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | metafmt-vsp1-hgo.rst | 25 additionally output the histogram with 64 or 256 bins, resulting in four 31 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B) 34 - In *256 bins normal mode*, the HGO operates on the Y channel to compute a 35 single 256-bins histogram. Only the YCbCr image format is supported. 36 - In *256 bins maximum mode*, the HGO operates on the maximum of the (R, G, B) 37 channels to compute a single 256-bins histogram. Only the RGB image format is 67 - B/Cb/V max [7:0] 69 - B/Cb/V min [7:0] 75 - :cspan:`4` B/Cb/V sum [31:0] 89 - :cspan:`4` B/Cb/V bin 0 [31:0] [all …]
|
| H A D | colorspaces-details.rst | 71 Y' = 0.2990R' + 0.5870G' + 0.1140B' 73 Cb = -0.1687R' - 0.3313G' + 0.5B' 75 Cr = 0.5R' - 0.4187G' - 0.0813B' 147 Y' = 0.2126R' + 0.7152G' + 0.0722B' 149 Cb = -0.1146R' - 0.3854G' + 0.5B' 151 Cr = 0.5R' - 0.4542G' - 0.0458B' 167 similar to the Rec. 709 encoding, but it allows for R', G' and B' values 173 Y' = \frac{219}{256} * (0.2126R' + 0.7152G' + 0.0722B') + \frac{16}{256} 175 Cb = \frac{224}{256} * (-0.1146R' - 0.3854G' + 0.5B') 177 Cr = \frac{224}{256} * (0.5R' - 0.4542G' - 0.0458B') [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nft_concat_range.sh | 500 # Setup veth pair: this namespace receives traffic, B generates it 502 ip netns add B 506 ip link set veth_b netns B 508 ip -n B link set veth_b up 517 ip -n B route add default dev veth_b 519 ip -6 -n B addr add fe80::2/64 dev veth_b nodad 520 ip -6 -n B addr add 2001:db8::2/64 dev veth_b nodad 521 ip -6 -n B route add default dev veth_b 523 B() { 524 ip netns exec B " 511 B() { global() function [all...] |
| /linux/arch/s390/lib/ |
| H A D | xor.c | 23 "0: xc 0(256,%1),0(%2)\n" in xor_xc_2() 24 " la %1,256(%1)\n" in xor_xc_2() 25 " la %2,256(%2)\n" in xor_xc_2() 26 " brctg 0,0b\n" in xor_xc_2() 45 "0: xc 0(256,%1),0(%2)\n" in xor_xc_3() 46 " xc 0(256,%1),0(%3)\n" in xor_xc_3() 47 " la %1,256(%1)\n" in xor_xc_3() 48 " la %2,256(%2)\n" in xor_xc_3() 49 " la %3,256(%3)\n" in xor_xc_3() 50 " brctg 0,0b\n" in xor_xc_3() [all …]
|
| H A D | uaccess.c | 78 EX_TABLE_UA_MVCOS_FROM(0b, 0b) in raw_copy_from_user_key() 79 EX_TABLE_UA_MVCOS_FROM(1b, 0b) in raw_copy_from_user_key() 127 EX_TABLE_UA_MVCOS_TO(0b, 0b) in raw_copy_to_user_key() 128 EX_TABLE_UA_MVCOS_TO(1b, 0b) in raw_copy_to_user_key() 166 " sacf 256\n" in __cmpxchg_user_key_small() 180 " brct %[count],2b\n" in __cmpxchg_user_key_small() 184 EX_TABLE_UA_LOAD_REG(0b, 5b, %[rc], %[prev]) in __cmpxchg_user_key_small() 185 EX_TABLE_UA_LOAD_REG(1b, 5b, %[rc], %[prev]) in __cmpxchg_user_key_small() 186 EX_TABLE_UA_LOAD_REG(3b, 5b, %[rc], %[prev]) in __cmpxchg_user_key_small() 187 EX_TABLE_UA_LOAD_REG(4b, 5b, %[rc], %[prev]) in __cmpxchg_user_key_small() [all …]
|
| /linux/crypto/ |
| H A D | ecrdsa_defs.h | 24 * cp256{a,b,c} curves first defined for GOST R 34.10-2001 in RFC 4357 (as 25 * 256-bit {A,B,C}-ParamSet), but inherited for GOST R 34.10-2012 and 26 * proposed for use in R 50.1.114-2016 and RFC 7836 as the 256-bit curves. 35 static u64 cp256a_p[] = { /* p = 2^256 - 617 */ 50 .nbits = 256, 54 .ndigits = 256 / 64, 59 .b = cp256a_b 84 .nbits = 256, 88 .ndigits = 256 / 64, 93 .b = cp256b_b [all …]
|
| /linux/lib/crypto/arm64/ |
| H A D | sha256-ce.S | 3 * sha2-ce-core.S - core SHA-224/SHA-256 transform using v8 Crypto Extensions 30 mov dg2v.16b, dg0v.16b 51 * The SHA-256 round constants 97 CPU_LE( rev32 v16.16b, v16.16b ) 98 CPU_LE( rev32 v17.16b, v17.16b ) 99 CPU_LE( rev32 v18.16b, v18.16b ) 100 CPU_LE( rev32 v19.16b, v19.16b ) 103 mov dg0v.16b, dgav.16b 104 mov dg1v.16b, dgbv.16b 134 cbnz x2, 0b [all …]
|
| /linux/net/sched/ |
| H A D | cls_route.c | 23 * 1. For now we assume that route tags < 256. 37 struct route4_bucket __rcu *table[256 + 1]; 131 struct route4_bucket *b; in route4_classify() local 164 b = rcu_dereference_bh(head->table[h]); in route4_classify() 165 if (b) { in route4_classify() 166 for (f = rcu_dereference_bh(b->ht[route4_hash_from(id)]); in route4_classify() 172 for (f = rcu_dereference_bh(b->ht[route4_hash_iif(iif)]); in route4_classify() 178 for (f = rcu_dereference_bh(b->ht[route4_hash_wild()]); in route4_classify() 183 if (h < 256) { in route4_classify() 184 h = 256; in route4_classify() [all …]
|
| /linux/scripts/mod/ |
| H A D | file2alias.c | 107 __u8 b[16]; 111 __u8 b[16]; 118 __u8 b[16]; 164 uuid.b[3], uuid.b[2], uuid.b[1], uuid.b[0], in add_uuid() 165 uuid.b[5], uuid.b[4], uuid.b[ in add_uuid() 106 __u8 b[16]; global() member 110 __u8 b[16]; global() member 117 __u8 b[16]; global() member [all...] |
| /linux/arch/s390/boot/ |
| H A D | head_kdump.S | 42 mvc 0(256,%r8),0(%r10) # Copy data mover code 45 mvc 0(256,%r8),0(%r10) # reserved mem 68 mvc 0(256,%r10),0(%r5) # Copy old kernel to tmp 69 mvc 0(256,%r5),0(%r11) # Copy new kernel to old 70 mvc 0(256,%r11),0(%r10) # Copy tmp to new 71 aghi %r11,256 72 aghi %r5,256 74 jl 1b 76 lg %r14,.Lstartup_kdump-0b(%r13) 88 0: lpswe .Lrestart_psw-0b(%r13) # Start new kernel...
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_reloc_nesting.c | 12 char in[256]; 13 char out[256]; 21 int b; member 24 /* int a.a.a and b.b.b accesses */ 30 union core_reloc_nesting_subunion b; member 31 } b; member 44 if (CORE_READ(&out->b.b.b, &in->b.b.b)) in test_core_nesting()
|
| H A D | test_core_reloc_flavors.c | 12 char in[256]; 13 char out[256]; 18 int b; member 25 int b; member 32 int b; member 56 /* read b using reversed layout */ in test_core_flavors() 57 if (CORE_READ(&out->b, &in_rev->b)) in test_core_flavors()
|
| H A D | test_core_reloc_primitives.c | 12 char in[256]; 13 char out[256]; 18 B = 1, enumerator 23 int b; member 38 CORE_READ(&out->b, &in->b) || in test_core_primitives()
|
| /linux/arch/sh/kernel/cpu/sh2a/ |
| H A D | ex.S | 19 .rept 256 28 extu.b r1,r1 35 ! exception no 256 to 511 38 .rept 256 46 extu.b r1,r1 62 .rept 256 67 .rept 256
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | radix-64k.h | 8 #define RADIX_PTE_INDEX_SIZE 5 // size: 8B << 5 = 256B, maps 2^5 x 64K = 2MB 9 #define RADIX_PMD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 2MB = 1GB 10 #define RADIX_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 1GB = 512GB 11 #define RADIX_PGD_INDEX_SIZE 13 // size: 8B << 13 = 64KB, maps 2^13 x 512GB = 4PB 14 * We use a 256 byte PTE page fragment in radix
|
| /linux/arch/x86/include/asm/ |
| H A D | xor.h | 38 #define PF_OFFS(x) "256+16*("#x")" 102 " jnz 1b ;\n" in xor_sse_2() 105 : [inc] XOR_CONSTANT_CONSTRAINT (256UL) in xor_sse_2() 137 " jnz 1b ;\n" in xor_sse_2_pf64() 140 : [inc] XOR_CONSTANT_CONSTRAINT (256UL) in xor_sse_2_pf64() 197 " jnz 1b ;\n" in xor_sse_3() 200 : [inc] XOR_CONSTANT_CONSTRAINT (256UL) in xor_sse_3() 235 " jnz 1b ;\n" in xor_sse_3_pf64() 238 : [inc] XOR_CONSTANT_CONSTRAINT (256UL) in xor_sse_3_pf64() 303 " jnz 1b ;\n" in xor_sse_4() [all …]
|
| /linux/lib/crypto/ |
| H A D | gf128mul.c | 130 static const u16 gf128mul_table_le[256] = gf128mul_dat(xda_le); 131 static const u16 gf128mul_table_be[256] = gf128mul_dat(xda_be); 143 u64 b = be64_to_cpu(x->b); in gf128mul_x8_lle() local 144 u64 _tt = gf128mul_table_le[b & 0xff]; in gf128mul_x8_lle() 146 x->b = cpu_to_be64((b >> 8) | (a << 56)); in gf128mul_x8_lle() 154 u64 b = be64_to_cpu(x->b); in gf128mul_x8_lle_ti() local 155 u64 _tt = xda_le(b & 0xff); /* avoid table lookup */ in gf128mul_x8_lle_ti() 157 x->b = cpu_to_be64((b >> 8) | (a << 56)); in gf128mul_x8_lle_ti() 164 u64 b = be64_to_cpu(x->b); in gf128mul_x8_bbe() local 167 x->a = cpu_to_be64((a << 8) | (b >> 56)); in gf128mul_x8_bbe() [all …]
|
| H A D | arc4.c | 21 for (i = 0; i < 256; i++) in arc4_setkey() 24 for (i = 0; i < 256; i++) { in arc4_setkey() 41 u32 x, y, a, b; in arc4_crypt() local 52 b = S[y]; in arc4_crypt() 56 a = (a + b) & 0xff; in arc4_crypt() 57 S[x] = b; in arc4_crypt() 67 b = tb; in arc4_crypt()
|
| /linux/lib/crypto/powerpc/ |
| H A D | chacha-p10le-8x.S | 11 # 1. a += b; d ^= a; d <<<= 16; 12 # 2. c += d; b ^= c; b <<<= 12; 13 # 3. a += b; d ^= a; d <<<= 8; 14 # 4. c += d; b ^= c; b <<<= 7 21 # 4 blocks (a b c d) 99 addi 9, 1, 256 117 SAVE_VSX 18, 256, 9 134 addi 9, 1, 256 152 RESTORE_VSX 18, 256, 9 513 # write 256 bytes [all …]
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | v3,v360epc-pci.yaml | 36 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, 512MB, 1GB or 2GB in size. The 46 256MB (0x10000000) in size. The prefetchable memory window must be 73 … <0x02000000 0 0x40000000 0x40000000 0 0x10000000>, /* 256 MiB @ LB 40000000 1:1 */ 74 … <0x42000000 0 0x50000000 0x50000000 0 0x10000000>; /* 256 MiB @ LB 50000000 1:1 */ 81 <0x4800 0 0 2 &pic 14>, /* INT B on slot 9 is irq 14 */ 86 <0x5000 0 0 2 &pic 15>, /* INT B on slot 10 is irq 15 */ 91 <0x5800 0 0 2 &pic 16>, /* INT B on slot 11 is irq 16 */ 96 <0x6000 0 0 2 &pic 13>, /* INT B on slot 12 is irq 13 */
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_fb.c | 20 * The PicoLCD use a Topway LCD module of 256x64 pixel 39 #define PICOLCDFB_WIDTH (256) 144 int i, b, changed = 0; in picolcd_fb_update_tile() local 149 for (b = 7; b >= 0; b--) { in picolcd_fb_update_tile() 150 const u8 *bdata = bitmap + tile * 256 + chip * 8 + b * 32; in picolcd_fb_update_tile() 157 for (b = 7; b >= 0; b--) { in picolcd_fb_update_tile() 158 const u8 *bdata = bitmap + (tile * 256 + chip * 8 + b * 32) * 8; in picolcd_fb_update_tile() 346 int i, b; in picolcd_set_par() local 349 for (b = 0; b < 8; b++) { in picolcd_set_par() 351 p |= o_fb[i*8+b] ? 0x01 : 0x00; in picolcd_set_par() [all …]
|
| /linux/arch/arm64/crypto/ |
| H A D | polyval-ce-core.S | 73 * components of the 256-bit product into LO, MI, HI. 84 * Later, the 256-bit result can be extracted as: 96 ext v25.16b, X.16b, X.16b, #8 97 ext v26.16b, Y.16b, Y.16b, #8 98 eor v25.16b, v25.16b, X.16b 99 eor v26.16b, v26.16b, Y.16b 103 eor HI.16b, HI.16b, v28.16b 104 eor LO.16b, LO.16b, v29.16b 105 eor MI.16b, MI.16b, v27.16b 117 ext v25.16b, X.16b, X.16b, #8 [all …]
|
| /linux/block/partitions/ |
| H A D | sysv68.c | 11 * Volume ID structure: on first 256-bytes sector of disk 20 * config block: second 256-bytes sector on disk 55 struct dkblk0 *b; in sysv68_partition() local 63 b = (struct dkblk0 *)data; in sysv68_partition() 64 if (memcmp(b->dk_vid.vid_mac, "MOTOROLA", sizeof(b->dk_vid.vid_mac))) { in sysv68_partition() 68 slices = be16_to_cpu(b->dk_ios.ios_slccnt); in sysv68_partition() 69 i = be32_to_cpu(b->dk_ios.ios_slcblk); in sysv68_partition()
|