| /Linux-v5.15/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | police.json | 17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 40 "$TC actions add action police rate 4Mbit burst 120k index 9" 42 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 45 "matchPattern": "action order [0-9]*: police 0x9", 66 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 69 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 90 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde… 93 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 114 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", [all …]
|
| /Linux-v5.15/drivers/staging/media/hantro/ |
| D | hantro_vp8.c | 42 { 0, -9, 93, 50, -6, 0 }, 44 { 0, -6, 50, 93, -9, 0 }, 53 u32 i, j, k; in hantro_vp8_prob_update() local 84 dst[4] = entropy->mv_probs[0][8 + 9]; in hantro_vp8_prob_update() 85 dst[5] = entropy->mv_probs[0][9 + 9]; in hantro_vp8_prob_update() 86 dst[6] = entropy->mv_probs[1][8 + 9]; in hantro_vp8_prob_update() 87 dst[7] = entropy->mv_probs[1][9 + 9]; in hantro_vp8_prob_update() 91 dst[0] = entropy->mv_probs[i][j + 9 + 0]; in hantro_vp8_prob_update() 92 dst[1] = entropy->mv_probs[i][j + 9 + 1]; in hantro_vp8_prob_update() 93 dst[2] = entropy->mv_probs[i][j + 9 + 2]; in hantro_vp8_prob_update() [all …]
|
| /Linux-v5.15/drivers/block/paride/ |
| D | ktti.c | 48 w0(r); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_regr() 49 a = r1(); w2(0xc); b = r1(); w2(9); w2(0xc); w2(9); in ktti_read_regr() 56 { int k, a, b; in ktti_read_block() local 58 for (k=0;k<count/2;k++) { in ktti_read_block() 59 w0(0x10); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_block() 60 a = r1(); w2(0xc); b = r1(); w2(9); in ktti_read_block() 61 buf[2*k] = j44(a,b); in ktti_read_block() 62 a = r1(); w2(0xc); b = r1(); w2(9); in ktti_read_block() 63 buf[2*k+1] = j44(a,b); in ktti_read_block() 69 { int k; in ktti_write_block() local [all …]
|
| D | dstr.c | 117 { int k, a, b; in dstr_read_block() local 120 if (pi->mode) { w0(0x19); } else { w0(9); } in dstr_read_block() 125 case 0: for (k=0;k<count;k++) { in dstr_read_block() 128 buf[k] = j44(a,b); in dstr_read_block() 133 for (k=0;k<count;k++) { in dstr_read_block() 134 w2(0x26); buf[k] = r0(); w2(0x24); in dstr_read_block() 140 for (k=0;k<count;k++) buf[k] = r4(); in dstr_read_block() 145 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w(); in dstr_read_block() 150 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l(); in dstr_read_block() 159 { int k; in dstr_write_block() local [all …]
|
| /Linux-v5.15/include/uapi/linux/ |
| D | keyboard.h | 18 #define NR_SHIFT 9 38 #define KT_ASCII 9 45 #define K(t,v) (((t)<<8)|(v)) macro 49 #define K_F1 K(KT_FN,0) 50 #define K_F2 K(KT_FN,1) 51 #define K_F3 K(KT_FN,2) 52 #define K_F4 K(KT_FN,3) 53 #define K_F5 K(KT_FN,4) 54 #define K_F6 K(KT_FN,5) 55 #define K_F7 K(KT_FN,6) [all …]
|
| /Linux-v5.15/net/ceph/ |
| D | ceph_hash.c | 25 const unsigned char *k = (const unsigned char *)str; in ceph_str_hash_rjenkins() local 37 a = a + (k[0] + ((__u32)k[1] << 8) + ((__u32)k[2] << 16) + in ceph_str_hash_rjenkins() 38 ((__u32)k[3] << 24)); in ceph_str_hash_rjenkins() 39 b = b + (k[4] + ((__u32)k[5] << 8) + ((__u32)k[6] << 16) + in ceph_str_hash_rjenkins() 40 ((__u32)k[7] << 24)); in ceph_str_hash_rjenkins() 41 c = c + (k[8] + ((__u32)k[9] << 8) + ((__u32)k[10] << 16) + in ceph_str_hash_rjenkins() 42 ((__u32)k[11] << 24)); in ceph_str_hash_rjenkins() 44 k = k + 12; in ceph_str_hash_rjenkins() 52 c = c + ((__u32)k[10] << 24); in ceph_str_hash_rjenkins() 55 c = c + ((__u32)k[9] << 16); in ceph_str_hash_rjenkins() [all …]
|
| /Linux-v5.15/arch/powerpc/include/asm/book3s/64/ |
| D | hash-4k.h | 5 #define H_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 4KB = 2MB 7 #define H_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 256MB = 128GB 8 #define H_PGD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 128GB = 64TB 11 * Each context is 512TB. But on 4k we restrict our max TASK size to 64TB 51 * Not supported by 4k linux page size 72 * On all 4K setups, remap_4k_pfn() equates to remap_pfn_range() 93 * 4K PTE format is different from 64K PTE format. Saving the hash_slot is just 94 * a matter of returning the PTE bits that need to be modified. On 64K PTE,
|
| D | radix-4k.h | 6 * For 4K page size supported index is 13/9/9/9 8 #define RADIX_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 4K = 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
|
| D | radix-64k.h | 6 * For 64K page size supported index is 13/9/9/5 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
|
| /Linux-v5.15/crypto/ |
| D | serpent_generic.c | 25 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; }) 28 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; }) 31 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; }) 36 #define K(x0, x1, x2, x3, i) ({ \ macro 37 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \ 38 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \ 48 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \ 49 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\ 50 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \ 54 x0 ^= k[4*i+0]; x1 ^= k[4*i+1]; x2 ^= k[4*i+2]; \ [all …]
|
| D | cast5_generic.c | 324 * Rounds 3, 6, 9, 12, and 15 use f function Type 3. in __cast5_encrypt() 336 t = l; l = r; r = t ^ F1(r, Km[9], Kr[9]); in __cast5_encrypt() 379 t = l; l = r; r = t ^ F1(r, Km[9], Kr[9]); in __cast5_decrypt() 400 static void key_schedule(u32 *x, u32 *z, u32 *k) in key_schedule() argument 411 s5[xi(9)]; in key_schedule() 412 z[3] = x[1] ^ s5[zi(10)] ^ s6[zi(9)] ^ s7[zi(11)] ^ sb8[zi(8)] ^ in key_schedule() 414 k[0] = s5[zi(8)] ^ s6[zi(9)] ^ s7[zi(7)] ^ sb8[zi(6)] ^ s5[zi(2)]; in key_schedule() 415 k[1] = s5[zi(10)] ^ s6[zi(11)] ^ s7[zi(5)] ^ sb8[zi(4)] ^ in key_schedule() 417 k[2] = s5[zi(12)] ^ s6[zi(13)] ^ s7[zi(3)] ^ sb8[zi(2)] ^ in key_schedule() 418 s7[zi(9)]; in key_schedule() [all …]
|
| D | md4.c | 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 85 ROUND1(d, a, b, c, in[9], 7); in md4_transform() 95 ROUND2(c, d, a, b, in[8], 9); in md4_transform() 99 ROUND2(c, d, a, b, in[9], 9); in md4_transform() 103 ROUND2(c, d, a, b, in[10], 9); in md4_transform() 107 ROUND2(c, d, a, b, in[11], 9); in md4_transform() 111 ROUND3(d, a, b, c, in[8], 9); in md4_transform() 115 ROUND3(d, a, b, c, in[10], 9); in md4_transform() [all …]
|
| /Linux-v5.15/tools/testing/selftests/bpf/progs/ |
| D | test_jhash.h | 39 const unsigned char *k = key; in jhash() local 44 a += *(volatile u32 *)(k); in jhash() 45 b += *(volatile u32 *)(k + 4); in jhash() 46 c += *(volatile u32 *)(k + 8); in jhash() 49 k += 12; in jhash() 52 case 12: c += (u32)k[11]<<24; in jhash() 53 case 11: c += (u32)k[10]<<16; in jhash() 54 case 10: c += (u32)k[9]<<8; in jhash() 55 case 9: c += k[8]; in jhash() 56 case 8: b += (u32)k[7]<<24; in jhash() [all …]
|
| /Linux-v5.15/include/trace/events/ |
| D | bcache.h | 30 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 42 TP_PROTO(struct bkey *k), 43 TP_ARGS(k), 53 __entry->inode = KEY_INODE(k); 54 __entry->offset = KEY_OFFSET(k); 55 __entry->size = KEY_SIZE(k); 56 __entry->dirty = KEY_DIRTY(k); 104 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 139 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 170 __entry->nr_sector = bio->bi_iter.bi_size >> 9; [all …]
|
| /Linux-v5.15/drivers/media/usb/pwc/ |
| D | pwc-dec23.c | 92 int compression_mode, j, k, bit, pw; in build_table_color() local 104 for (k = 0; k < 16; k++) { in build_table_color() 105 if (k == 0) in build_table_color() 107 else if (k >= 1 && k < 3) in build_table_color() 109 else if (k >= 3 && k < 6) in build_table_color() 111 else if (k >= 6 && k < 10) in build_table_color() 112 bit = (r[0] >> 9) & 7; in build_table_color() 113 else if (k >= 10 && k < 13) in build_table_color() 115 else if (k >= 13 && k < 15) in build_table_color() 119 if (k == 0) in build_table_color() [all …]
|
| /Linux-v5.15/fs/smbfs_common/ |
| D | cifs_md4.c | 50 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 51 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 52 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 72 ROUND1(d, a, b, c, in[9], 7); in md4_transform() 82 ROUND2(c, d, a, b, in[8], 9); in md4_transform() 86 ROUND2(c, d, a, b, in[9], 9); in md4_transform() 90 ROUND2(c, d, a, b, in[10], 9); in md4_transform() 94 ROUND2(c, d, a, b, in[11], 9); in md4_transform() 98 ROUND3(d, a, b, c, in[8], 9); in md4_transform() 102 ROUND3(d, a, b, c, in[10], 9); in md4_transform() [all …]
|
| /Linux-v5.15/tools/include/linux/ |
| D | jhash.h | 61 * @k: sequence of bytes as key 73 const u8 *k = key; in jhash() local 80 a += __get_unaligned_cpu32(k); in jhash() 81 b += __get_unaligned_cpu32(k + 4); in jhash() 82 c += __get_unaligned_cpu32(k + 8); in jhash() 85 k += 12; in jhash() 90 case 12: c += (u32)k[11]<<24; in jhash() 91 case 11: c += (u32)k[10]<<16; in jhash() 92 case 10: c += (u32)k[9]<<8; in jhash() 93 case 9: c += k[8]; in jhash() [all …]
|
| /Linux-v5.15/include/linux/ |
| D | jhash.h | 61 * @k: sequence of bytes as key 73 const u8 *k = key; in jhash() local 80 a += __get_unaligned_cpu32(k); in jhash() 81 b += __get_unaligned_cpu32(k + 4); in jhash() 82 c += __get_unaligned_cpu32(k + 8); in jhash() 85 k += 12; in jhash() 89 case 12: c += (u32)k[11]<<24; fallthrough; in jhash() 90 case 11: c += (u32)k[10]<<16; fallthrough; in jhash() 91 case 10: c += (u32)k[9]<<8; fallthrough; in jhash() 92 case 9: c += k[8]; fallthrough; in jhash() [all …]
|
| /Linux-v5.15/arch/powerpc/crypto/ |
| D | md5-asm.S | 72 addi w0,w0,k0l; /* 1: wk = w + k */ \ 74 addis w0,w0,k0h; /* 1: wk = w + k' */ \ 75 addis w1,w1,k1h; /* 2: wk = w + k */ \ 77 addi w1,w1,k1l; /* 2: wk = w + k' */ \ 92 addi w0,w0,k0l; /* 1: wk = w + k */ \ 94 addis w0,w0,k0h; /* 1: wk = w + k' */ \ 96 addi w1,w1,k1l; /* 2: wk = w + k */ \ 98 addis w1,w1,k1h; /* 2: wk = w + k' */ \ 111 addi w0,w0,k0l; /* 1: wk = w + k */ \ 113 addis w0,w0,k0h; /* 1: wk = w + k' */ \ [all …]
|
| /Linux-v5.15/lib/ |
| D | bitmap.c | 51 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local 52 for (k = 0; k < lim; ++k) in __bitmap_equal() 53 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal() 57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal() 69 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local 72 for (k = 0; k < lim; ++k) { in __bitmap_or_equal() 73 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k]) in __bitmap_or_equal() 80 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; in __bitmap_or_equal() 86 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local 87 for (k = 0; k < lim; ++k) in __bitmap_complement() [all …]
|
| /Linux-v5.15/arch/sparc/crypto/ |
| D | camellia_asm.S | 36 ld [%o0 + 0x00], %f0 ! i0, k[0] 37 ld [%o0 + 0x04], %f1 ! i1, k[1] 38 ld [%o0 + 0x08], %f2 ! i2, k[2] 39 ld [%o0 + 0x0c], %f3 ! i3, k[3] 40 std %f0, [%o1 + 0x00] ! k[0, 1] 42 std %f2, [%o1 + 0x08] ! k[2, 3] 49 std %f0, [%o1 + 0x20] ! k[8, 9] 57 std %f2, [%o1 + 0x28] ! k[10, 11] 89 std %f0, [%o1 + 0x10] ! k[ 4, 5] 90 std %f2, [%o1 + 0x18] ! k[ 6, 7] [all …]
|
| /Linux-v5.15/drivers/video/fbdev/mb862xx/ |
| D | mb862xxfb_accel.c | 49 cmd[1] = (2 << 7) | (GDC_ROP_COPY << 9); in mb86290fb_copyarea() 83 cmd[1] = (2 << 7) | (GDC_ROP_COPY << 9); in mb86290fb_imageblit1() 102 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1() 105 int k = 0; in mb86290fb_imageblit1() local 106 for (k = 0; k < step; k++) in mb86290fb_imageblit1() 107 cmd[9 + i * step + k] = in mb86290fb_imageblit1() 108 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1() 210 cmdlen = 9 + height * step; in mb86290fb_imageblit() 282 cmd[1] = (2 << 7) | (GDC_ROP_XOR << 9); in mb86290fb_fillrect() 287 cmd[1] = (2 << 7) | (GDC_ROP_COPY << 9); in mb86290fb_fillrect()
|
| /Linux-v5.15/drivers/clk/berlin/ |
| D | bg2q.c | 70 .divsel_shift = 9, 100 BERLIN2_DIV_SELECT(REG_CLKSELECT0, 9), 116 BERLIN2_PLL_SWITCH(REG_CLKSWITCH0, 9), 175 BERLIN2_DIV_SELECT(REG_CLKSELECT1, 9), 268 { "sata", "perif", 9 }, 283 const char *parent_names[9]; in berlin2q_clock_setup() 336 int k; in berlin2q_clock_setup() local 338 for (k = 0; k < dd->num_parents; k++) in berlin2q_clock_setup() 339 parent_names[k] = clk_names[dd->parent_ids[k]]; in berlin2q_clock_setup()
|
| /Linux-v5.15/drivers/iio/magnetometer/ |
| D | yamaha-yas530.c | 107 s32 a2, a3, a4, a5, a6, a7, a8, a9, k; member 158 * 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 in yas530_extract_axis() 173 * 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 in yas532_extract_axis() 225 * The t value is 9 bits in big endian format in yas5xx_measure() 227 * 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 in yas5xx_measure() 241 * 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 in yas5xx_measure() 361 * x' = k * --------------------------- in yas5xx_get_measure() 365 * y' = k * --------------------------- in yas5xx_get_measure() 369 * z' = k * --------------------------- in yas5xx_get_measure() 372 *xo = c->k * ((100 * sx + c->a2 * sy + c->a3 * sz) / 10); in yas5xx_get_measure() [all …]
|
| /Linux-v5.15/arch/powerpc/ |
| D | Kconfig | 21 # consume "normal" amounts of address space. Book3S 64 only supports 64K 22 # and 4K page sizes. 23 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K) 24 default 33 if PPC_BOOK3S_64 # 33 = 45 (32T) - 12 (4K) 28 # of address space (2^44). Only 4K page sizes are supported. 29 default 32 if 64BIT # 32 = 44 (16T) - 12 (4K) 36 default 14 if 64BIT && PPC_64K_PAGES # 14 = 30 (1GB) - 16 (64K) 37 default 18 if 64BIT # 18 = 30 (1GB) - 12 (4K) 45 default 11 if PPC_256K_PAGES # 11 = 29 (512MB) - 18 (256K) 46 default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K) [all …]
|