Home
last modified time | relevance | path

Searched +full:2 +full:k (Results 1 – 25 of 1135) sorted by relevance

12345678910>>...46

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c426 double RequiredDPPCLK[][2][DC__NUM_DPP__MAX],
427 double RequiredDISPCLK[][2],
429 unsigned int NoOfDPP[][2][DC__NUM_DPP__MAX],
430 double ProjectedDCFCLKDeepSleep[][2],
431 double MaximumVStartup[][2][DC__NUM_DPP__MAX],
432 double TotalVActivePixelBandwidth[][2],
433 double TotalVActiveCursorBandwidth[][2],
434 double TotalMetaRowBandwidth[][2],
435 double TotalDPTERowBandwidth[][2],
436 unsigned int TotalNumberOfActiveDPP[][2],
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20v2.c319 2)); in adjust_ReturnBW()
336 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay()
342 // N422/N420 operate at 2 pixels per clock in dscceComputeDelay()
347 pixelsPerClock = 2; in dscceComputeDelay()
374 wx = (w + 2) / 3; in dscceComputeDelay()
378 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay()
386 //dsc processes 3 pixel containers per cycle and a container can contain 1 or 2 pixels in dscceComputeDelay()
397 Delay = Delay + 2; in dscComputeDelay()
403 Delay = Delay + 2; in dscComputeDelay()
409 Delay = Delay + 2; in dscComputeDelay()
[all …]
Ddisplay_mode_vba_20.c295 2)); in adjust_ReturnBW()
312 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay()
318 // N422/N420 operate at 2 pixels per clock in dscceComputeDelay()
323 pixelsPerClock = 2; in dscceComputeDelay()
350 wx = (w + 2) / 3; in dscceComputeDelay()
354 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay()
362 //dsc processes 3 pixel containers per cycle and a container can contain 1 or 2 pixels in dscceComputeDelay()
373 Delay = Delay + 2; in dscComputeDelay()
379 Delay = Delay + 2; in dscComputeDelay()
385 Delay = Delay + 2; in dscComputeDelay()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c507 …mSlices = number of slices in the horiziontal direction per DSC engine in the set of {1, 2, 3, 4} in dscceComputeDelay()
513 // N422/N420 operate at 2 pixels per clock in dscceComputeDelay()
518 pixelsPerClock = 2; in dscceComputeDelay()
545 wx = (w + 2) / 3; in dscceComputeDelay()
549 ax = (a + 2) / 3 + D + 6 + 1; in dscceComputeDelay()
557 //dsc processes 3 pixel containers per cycle and a container can contain 1 or 2 pixels in dscceComputeDelay()
568 Delay = Delay + 2; in dscComputeDelay()
574 Delay = Delay + 2; in dscComputeDelay()
580 Delay = Delay + 2; in dscComputeDelay()
586 Delay = Delay + 2; in dscComputeDelay()
[all …]
/kernel/linux/linux-5.10/drivers/block/paride/
Dfrpw.c45 static int cont_map[2] = { 0x08, 0x10 };
76 { int h, l, k, ph; in frpw_read_block_int() local
81 for (k=0;k<count;k++) { in frpw_read_block_int()
84 buf[k] = j44(l,h); in frpw_read_block_int()
89 case 1: ph = 2; in frpw_read_block_int()
92 for (k=0;k<count;k++) { in frpw_read_block_int()
94 buf[k] = r0(); in frpw_read_block_int()
95 ph = 2 - ph; in frpw_read_block_int()
100 case 2: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
101 for (k=0;k<count;k++) buf[k] = r4(); in frpw_read_block_int()
[all …]
Dfriq.c49 static int cont_map[2] = { 0x08, 0x10 };
79 { int h, l, k, ph; in friq_read_block_int() local
84 for (k=0;k<count;k++) { in friq_read_block_int()
87 buf[k] = j44(l,h); in friq_read_block_int()
92 case 1: ph = 2; in friq_read_block_int()
95 for (k=0;k<count;k++) { in friq_read_block_int()
97 buf[k] = r0(); in friq_read_block_int()
98 ph = 2 - ph; in friq_read_block_int()
103 case 2: CMD(regr+0x80); in friq_read_block_int()
104 for (k=0;k<count-2;k++) buf[k] = r4(); in friq_read_block_int()
[all …]
Depia.c33 1 5/3 reads on ports 1 & 2, 8-bit writes
34 2 8-bit reads and writes
47 static int cont_map[2] = { 0, 0x80 };
68 case 2: r = regr^0x29; in epia_read_regr()
92 case 2: r = regr^0x19; in epia_write_regr()
138 { int k, ph, a, b; in epia_read_block() local
144 for (k=0;k<count;k++) { in epia_read_block()
145 w2(2+ph); a = r1(); in epia_read_block()
147 buf[k] = j44(a,b); in epia_read_block()
156 for (k=0;k<count;k++) { in epia_read_block()
[all …]
Depat.c42 cont = 2 internal EPAT registers
57 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr()
84 case 2: w0(0x20+r); w2(1); w2(0x25); in epat_read_regr()
99 { int k, ph, a, b; in epat_read_block() local
105 for(k=0;k<count;k++) { in epat_read_block()
106 if (k == count-1) w0(0xfd); in epat_read_block()
110 buf[k] = j44(a,b); in epat_read_block()
118 for(k=0;k<count;k++) { in epat_read_block()
119 if (k == count-1) w0(0xfd); in epat_read_block()
122 buf[k] = j53(a,b); in epat_read_block()
[all …]
Dkbic.c43 static int cont_map[2] = { 0x80, 0x40 };
61 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
85 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr()
136 { int k, a, b; in kbic_read_block() local
141 for (k=0;k<count/2;k++) { in kbic_read_block()
144 buf[2*k] = j44(a,b); in kbic_read_block()
147 buf[2*k+1] = j44(a,b); in kbic_read_block()
153 for (k=0;k<count/4;k++) { in kbic_read_block()
156 w0(8); buf[4*k] = j53(r12w()); in kbic_read_block()
157 w0(0xb8); buf[4*k+1] = j53(r12w()); in kbic_read_block()
[all …]
Ddstr.c30 2 8-bit EPP mode
45 static int cont_map[2] = { 0x20, 0x40 };
65 case 2: in dstr_read_regr()
81 if (pi->mode >= 2) { w0(0x11); } else { w0(1); } in dstr_write_regr()
90 case 2: in dstr_write_regr()
117 { int k, a, b; in dstr_read_block() local
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()
[all …]
/kernel/linux/linux-4.19/drivers/block/paride/
Dfrpw.c45 static int cont_map[2] = { 0x08, 0x10 };
76 { int h, l, k, ph; in frpw_read_block_int() local
81 for (k=0;k<count;k++) { in frpw_read_block_int()
84 buf[k] = j44(l,h); in frpw_read_block_int()
89 case 1: ph = 2; in frpw_read_block_int()
92 for (k=0;k<count;k++) { in frpw_read_block_int()
94 buf[k] = r0(); in frpw_read_block_int()
95 ph = 2 - ph; in frpw_read_block_int()
100 case 2: w2(4); w0(regr + 0x80); cec4; in frpw_read_block_int()
101 for (k=0;k<count;k++) buf[k] = r4(); in frpw_read_block_int()
[all …]
Dfriq.c49 static int cont_map[2] = { 0x08, 0x10 };
79 { int h, l, k, ph; in friq_read_block_int() local
84 for (k=0;k<count;k++) { in friq_read_block_int()
87 buf[k] = j44(l,h); in friq_read_block_int()
92 case 1: ph = 2; in friq_read_block_int()
95 for (k=0;k<count;k++) { in friq_read_block_int()
97 buf[k] = r0(); in friq_read_block_int()
98 ph = 2 - ph; in friq_read_block_int()
103 case 2: CMD(regr+0x80); in friq_read_block_int()
104 for (k=0;k<count-2;k++) buf[k] = r4(); in friq_read_block_int()
[all …]
Depia.c33 1 5/3 reads on ports 1 & 2, 8-bit writes
34 2 8-bit reads and writes
47 static int cont_map[2] = { 0, 0x80 };
68 case 2: r = regr^0x29; in epia_read_regr()
92 case 2: r = regr^0x19; in epia_write_regr()
138 { int k, ph, a, b; in epia_read_block() local
144 for (k=0;k<count;k++) { in epia_read_block()
145 w2(2+ph); a = r1(); in epia_read_block()
147 buf[k] = j44(a,b); in epia_read_block()
156 for (k=0;k<count;k++) { in epia_read_block()
[all …]
Depat.c42 cont = 2 internal EPAT registers
57 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr()
84 case 2: w0(0x20+r); w2(1); w2(0x25); in epat_read_regr()
99 { int k, ph, a, b; in epat_read_block() local
105 for(k=0;k<count;k++) { in epat_read_block()
106 if (k == count-1) w0(0xfd); in epat_read_block()
110 buf[k] = j44(a,b); in epat_read_block()
118 for(k=0;k<count;k++) { in epat_read_block()
119 if (k == count-1) w0(0xfd); in epat_read_block()
122 buf[k] = j53(a,b); in epat_read_block()
[all …]
Dkbic.c43 static int cont_map[2] = { 0x80, 0x40 };
61 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
85 case 2: w0(regr|0x10|s); w2(4); w2(6); w2(4); in kbic_write_regr()
136 { int k, a, b; in kbic_read_block() local
141 for (k=0;k<count/2;k++) { in kbic_read_block()
144 buf[2*k] = j44(a,b); in kbic_read_block()
147 buf[2*k+1] = j44(a,b); in kbic_read_block()
153 for (k=0;k<count/4;k++) { in kbic_read_block()
156 w0(8); buf[4*k] = j53(r12w()); in kbic_read_block()
157 w0(0xb8); buf[4*k+1] = j53(r12w()); in kbic_read_block()
[all …]
/kernel/linux/linux-5.10/lib/
Dlist_sort.c15 __attribute__((nonnull(2,3,4)))
51 __attribute__((nonnull(2,3,4,5)))
130 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
131 * merged to a size-2^(k+1) list as soon as we have 2^k following elements.
133 * Thus, it will avoid cache thrashing as long as 3*2^k elements can
142 * Each time we increment "count", we set one bit (bit k) and clear
143 * bits k-1 .. 0. Each time this happens (except the very first time
144 * for each bit, when count increments to 2^k), we merge two lists of
145 * size 2^k into one list of size 2^(k+1).
148 * 2^k, which is when we have 2^k elements pending in smaller lists,
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dkeyboard.h10 #define KG_CTRL 2
27 #define KT_SPEC 2
39 #define K(t,v) (((t)<<8)|(v)) macro
42 #define K_F1 K(KT_FN,0)
43 #define K_F2 K(KT_FN,1)
44 #define K_F3 K(KT_FN,2)
45 #define K_F4 K(KT_FN,3)
46 #define K_F5 K(KT_FN,4)
47 #define K_F6 K(KT_FN,5)
48 #define K_F7 K(KT_FN,6)
[all …]
/kernel/linux/linux-4.19/include/uapi/linux/
Dkeyboard.h8 #define KG_CTRL 2
32 #define KT_SPEC 2
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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dkeyboard.h8 #define KG_CTRL 2
32 #define KT_SPEC 2
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 …]
/kernel/linux/linux-4.19/crypto/
Dserpent_generic.c15 * the Free Software Foundation; either version 2 of the License, or
34 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; })
37 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; })
40 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; })
45 #define K(x0, x1, x2, x3, i) ({ \ macro
46 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \
47 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \
57 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \
58 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\
59 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \
[all …]
/kernel/linux/linux-5.10/crypto/
Dserpent_generic.c30 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; })
33 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; })
36 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; })
41 #define K(x0, x1, x2, x3, i) ({ \ macro
42 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \
43 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \
53 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \
54 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\
55 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \
59 x0 ^= k[4*i+0]; x1 ^= k[4*i+1]; x2 ^= k[4*i+2]; \
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkeyboard.h23 #define KG_CTRL 2
40 #define KT_SPEC 2
52 #define K(t,v) (((t) << 8) | (v)) macro
55 #define K_F1 K(KT_FN, 0)
56 #define K_F2 K(KT_FN, 1)
57 #define K_F3 K(KT_FN, 2)
58 #define K_F4 K(KT_FN, 3)
59 #define K_F5 K(KT_FN, 4)
60 #define K_F6 K(KT_FN, 5)
61 #define K_F7 K(KT_FN, 6)
[all …]
/kernel/linux/linux-4.19/arch/sparc/crypto/
Dcamellia_asm.S9 CAMELLIA_F(KEY_BASE + 2, I0, I1, I0) \
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]
70 CAMELLIA_F(16, 2, 0, 2)
[all …]
/kernel/linux/linux-5.10/arch/sparc/crypto/
Dcamellia_asm.S9 CAMELLIA_F(KEY_BASE + 2, I0, I1, I0) \
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]
70 CAMELLIA_F(16, 2, 0, 2)
[all …]
/kernel/linux/linux-4.19/lib/
Dtest_string.c8 unsigned i, j, k; in memset16_selftest() local
11 p = kmalloc(256 * 2 * 2, GFP_KERNEL); in memset16_selftest()
17 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset16_selftest()
19 for (k = 0; k < 512; k++) { in memset16_selftest()
20 v = p[k]; in memset16_selftest()
21 if (k < i) { in memset16_selftest()
24 } else if (k < i + j) { in memset16_selftest()
38 return (i << 24) | (j << 16) | k | 0x8000; in memset16_selftest()
44 unsigned i, j, k; in memset32_selftest() local
47 p = kmalloc(256 * 2 * 4, GFP_KERNEL); in memset32_selftest()
[all …]

12345678910>>...46