Home
last modified time | relevance | path

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

12345678910>>...51

/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c425 double RequiredDPPCLK[][2][DC__NUM_DPP__MAX],
426 double RequiredDISPCLK[][2],
428 unsigned int NoOfDPP[][2][DC__NUM_DPP__MAX],
429 double ProjectedDCFCLKDeepSleep[][2],
430 double MaximumVStartup[][2][DC__NUM_DPP__MAX],
431 double TotalVActivePixelBandwidth[][2],
432 double TotalVActiveCursorBandwidth[][2],
433 double TotalMetaRowBandwidth[][2],
434 double TotalDPTERowBandwidth[][2],
435 unsigned int TotalNumberOfActiveDPP[][2],
[all …]
/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 …]
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 …]
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 …]
Don26.c33 2 8-bit EPP mode
51 r = (regr<<2) + 1 + cont; in on26_read_regr()
65 case 2: in on26_read_regr()
80 r = (regr<<2) + 1 + cont; in on26_write_regr()
89 case 2: in on26_write_regr()
112 w0(2); P1; w0(8); P2; in on26_connect()
113 w0(2); P1; w0(x); P2; in on26_connect()
118 { if (pi->mode >= 2) { w3(4); w3(4); w3(4); w3(4); } in on26_disconnect()
152 w0(2); P1; w0(0); P2; in on26_test_port()
154 w0(2); P1; w0(8); P2; udelay(100); in on26_test_port()
[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 …]
Dfit3.c54 case 2: w2(0xc); w0(regr); w2(0x8); w2(0xc); in fit3_write_regr()
84 case 2: w2(0xc); w0(regr + 0x90); w2(0x8); w2(0xc); in fit3_read_regr()
97 { int k, a, b, c, d; in fit3_read_block() local
102 for (k=0;k<count/2;k++) { in fit3_read_block()
107 buf[2*k ] = j44(a,b); in fit3_read_block()
108 buf[2*k+1] = j44(c,d); in fit3_read_block()
115 for (k=0;k<count/2;k++) { in fit3_read_block()
118 buf[2*k ] = a; in fit3_read_block()
119 buf[2*k+1] = b; in fit3_read_block()
125 case 2: w2(0xc); w0(0x90); w2(0x8); w2(0xc); in fit3_read_block()
[all …]
/linux-5.10/lib/
Dlist_sort.c10 typedef int __attribute__((nonnull(2,3))) (*cmp_func)(void *,
18 __attribute__((nonnull(2,3,4)))
54 __attribute__((nonnull(2,3,4,5)))
133 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
134 * merged to a size-2^(k+1) list as soon as we have 2^k following elements.
136 * Thus, it will avoid cache thrashing as long as 3*2^k elements can
145 * Each time we increment "count", we set one bit (bit k) and clear
146 * bits k-1 .. 0. Each time this happens (except the very first time
147 * for each bit, when count increments to 2^k), we merge two lists of
148 * size 2^k into one list of size 2^(k+1).
[all …]
Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
12 p = kmalloc(256 * 2 * 2, GFP_KERNEL); in memset16_selftest()
18 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset16_selftest()
20 for (k = 0; k < 512; k++) { in memset16_selftest()
21 v = p[k]; in memset16_selftest()
22 if (k < i) { in memset16_selftest()
25 } else if (k < i + j) { in memset16_selftest()
39 return (i << 24) | (j << 16) | k | 0x8000; in memset16_selftest()
45 unsigned i, j, k; in memset32_selftest() local
48 p = kmalloc(256 * 2 * 4, GFP_KERNEL); in memset32_selftest()
[all …]
/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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/linux-5.10/Documentation/admin-guide/media/
Ddvb_intro.rst133 T 177500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
134 T 184500000 7MHz AUTO AUTO QAM64 8k 1/8 NONE
135 T 191625000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
136 T 219500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
137 T 226500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
138 T 557625000 7MHz AUTO AUTO QPSK 8k 1/16 NONE
151 TRANSMISSION_MODE = 8K
179 TRANSMISSION_MODE = 8K
194 TRANSMISSION_MODE = 8K
198 [ABC TV 2]
[all …]
/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/
Dpolice.json17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
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",
66 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98",
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",
138 "cmdUnderTest": "$TC actions add action police rate 1mbit burst 100k overhead 64 index 64",
141 …"matchPattern": "action order [0-9]*: police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassif…
162 … "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer ethernet index 8",
165 …"matchPattern": "action order [0-9]*: police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify…
[all …]
/linux-5.10/include/linux/
Djhash.h61 * @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-5.10/tools/include/linux/
Djhash.h61 * @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-5.10/drivers/input/joystick/
Dtmdc.c49 static const unsigned char tmdc_byte_d[16] = { 2, 5, 8, 9 };
86 { 1, "ThrustMaster Millenium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
87 { 3, "ThrustMaster Rage 3D Gamepad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
88 { 4, "ThrustMaster Attack Throttle", 5, 2, { 4, 6 }, { 4, 2 }, tmdc_abs_at, tmdc_btn_at },
89 { 8, "ThrustMaster FragMaster", 4, 0, { 8, 2 }, { 0, 0 }, tmdc_abs_fm, tmdc_btn_fm },
90 { 163, "Thrustmaster Fusion GamePad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
109 struct tmdc_port *port[2];
111 struct input_dev *dev[2];
112 char name[2][64];
113 char phys[2][32];
[all …]
/linux-5.10/arch/sparc/net/
Dbpf_jit_comp_32.c20 #define SEEN_XREG 2 /* ebx is used */
56 #define WDISP22(X) (((X) >> 2) & 0x3fffff)
58 #define BA (F2(0, 2) | CONDA)
59 #define BGU (F2(0, 2) | CONDGU)
60 #define BLEU (F2(0, 2) | CONDLEU)
61 #define BGEU (F2(0, 2) | CONDGEU)
62 #define BLU (F2(0, 2) | CONDLU)
63 #define BE (F2(0, 2) | CONDE)
64 #define BNE (F2(0, 2) | CONDNE)
68 #define SETHI(K, REG) \ argument
[all …]
/linux-5.10/Documentation/devicetree/bindings/
Dtrivial-devices.yaml123 # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
133 # MEMSIC 2-axis 8-bit digital accelerometer
137 # Microchip differential I2C ADC, 2 Channel, 18 bit
139 # Microchip differential I2C ADC, 2 Channel, 18 bit
145 # Microchip differential I2C ADC, 2 Channel, 16 bit
147 # Microchip differential I2C ADC, 2 Channel, 16 bit
151 # Microchip 7-bit Single I2C Digital POT (5k)
153 # Microchip 7-bit Single I2C Digital POT (10k)
155 # Microchip 7-bit Single I2C Digital POT (50k)
157 # Microchip 7-bit Single I2C Digital POT (100k)
[all …]
/linux-5.10/lib/mpi/
Dmpi-mod.c16 int k; member
50 ctx->k = mpi_get_nlimbs(m); in mpi_barrett_init()
51 tmp = mpi_alloc(ctx->k + 1); in mpi_barrett_init()
53 /* Barrett precalculation: y = floor(b^(2k) / m). */ in mpi_barrett_init()
55 mpi_lshift_limbs(tmp, 2 * ctx->k); in mpi_barrett_init()
59 ctx->r1 = mpi_alloc(2 * ctx->k + 1); in mpi_barrett_init()
60 ctx->r2 = mpi_alloc(2 * ctx->k + 1); in mpi_barrett_init()
96 int k = ctx->k; in mpi_mod_barrett() local
103 if (mpi_get_nlimbs(x) > 2*k) { in mpi_mod_barrett()
111 /* 1. q1 = floor( x / b^k-1) in mpi_mod_barrett()
[all …]

12345678910>>...51