Home
last modified time | relevance | path

Searched +full:4 +full:k (Results 1 – 25 of 1175) sorted by relevance

12345678910>>...47

/linux/drivers/ata/pata_parport/
H A Dfrpw.c23 #define cec4 w2(0xc);w2(0xe);w2(0xe);w2(0xc);w2(4);w2(4);w2(4);
24 #define j44(l,h) (((l>>4)&0x0f)|(h&0xf0))
38 w2(4); in frpw_read_regr()
41 w2(4); h = r1(); in frpw_read_regr()
42 w2(4); in frpw_read_regr()
51 w2(4); w0(r); cec4; in frpw_write_regr()
53 w2(5); w2(7); w2(5); w2(4); in frpw_write_regr()
59 int h, l, k, ph; in frpw_read_block_int() local
63 w2(4); w0(regr); cec4; in frpw_read_block_int()
64 for (k = 0; k < count; k++) { in frpw_read_block_int()
[all …]
H A Dkbic.c25 #define j44(a, b) ((((a >> 4) & 0x0f) | (b & 0xf0)) ^ 0x88)
26 #define j53(w) (((w >> 3) & 0x1f) | ((w >> 4) & 0xe0))
43 w0(regr | 0x18 | s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
44 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr()
47 w0(regr|0x38 | s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
48 a = r12w(); w2(4); in kbic_read_regr()
51 w0(regr | 0x08 | s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
52 a = r0(); w2(4); in kbic_read_regr()
55 case 4: in kbic_read_regr()
57 w0(0x20 | s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr()
[all …]
H A Depat.c20 #define j44(a, b) (((a >> 4) & 0x0f) + (b & 0xf0))
21 #define j53(a, b) (((a >> 3) & 0x1f) + ((b << 4) & 0xe0))
45 w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr()
48 case 4: in epat_write_regr()
65 a = r1(); w2(4); b = r1(); in epat_read_regr()
68 w0(0x40+r); w2(1); w2(4); in epat_read_regr()
73 a = r0(); w2(4); in epat_read_regr()
76 case 4: in epat_read_regr()
78 w3(r); w2(0x24); a = r4(); w2(4); in epat_read_regr()
87 int k, ph, a, b; in epat_read_block() local
[all …]
H A Depia.c26 * 4 16-bit EPP
30 #define j44(a, b) (((a >> 4) & 0x0f) + (b & 0xf0))
31 #define j53(a, b) (((a >> 3) & 0x1f) + ((b << 4) & 0xe0))
49 a = r1(); w2(1); b = r1(); w2(4); in epia_read_regr()
55 a = r1(); b = r2(); w2(4); in epia_read_regr()
60 a = r0(); w2(4); in epia_read_regr()
63 case 4: in epia_read_regr()
65 w3(regr); w2(0x24); a = r4(); w2(4); in epia_read_regr()
83 w0(r); w2(1); w0(val); w2(3); w2(4); in epia_write_regr()
86 case 4: in epia_write_regr()
[all …]
H A Ddstr.c23 * 4 EPP-32
26 #define j44(a, b) (((a >> 3) & 0x07) | ((~a >> 4) & 0x08) | \
29 #define P1 w2(5);w2(0xd);w2(5);w2(4);
30 #define P2 w2(5);w2(7);w2(5);w2(4);
31 #define P3 w2(6);w2(4);w2(6);w2(4);
54 w2(6); a = r1(); w2(4); w2(6); b = r1(); w2(4); in dstr_read_regr()
57 w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr()
61 case 4: in dstr_read_regr()
62 w2(0x24); a = r4(); w2(4); in dstr_read_regr()
83 w0(val); w2(5); w2(7); w2(5); w2(4); in dstr_write_regr()
[all …]
H A Dfriq.c33 w2(4); w0(0xff); w0(0xff); w0(0x73); w0(0x73); \
38 #define j44(l, h) (((l >> 4) & 0x0f) | (h & 0xf0))
54 w2(4); h = r1(); in friq_read_regr()
55 w2(4); in friq_read_regr()
66 w2(5); w2(7); w2(5); w2(4); in friq_write_regr()
71 int h, l, k, ph; in friq_read_block_int() local
76 for (k = 0; k < count; k++) { in friq_read_block_int()
78 w2(4); h = r1(); in friq_read_block_int()
79 buf[k] = j44(l, h); in friq_read_block_int()
81 w2(4); in friq_read_block_int()
[all …]
H A Don26.c23 * 4 EPP-32
26 #define j44(a, b) (((a >> 4) & 0x0f) | (b & 0xf0))
30 w2(5); w2(0xd); w2(5); w2(0xd); w2(5); w2(4); \
35 w2(5); w2(7); w2(5); w2(4); \
52 w2(6); a = r1(); w2(4); in on26_read_regr()
53 w2(6); b = r1(); w2(4); in on26_read_regr()
54 w2(6); w2(4); w2(6); w2(4); in on26_read_regr()
58 w2(0x26); a = r0(); w2(4); w2(0x26); w2(4); in on26_read_regr()
62 case 4: in on26_read_regr()
63 w3(1); w3(1); w2(5); w4(r); w2(4); in on26_read_regr()
[all …]
H A Dcomm.c27 #define P1 w2(5);w2(0xd);w2(0xd);w2(5);w2(4);
28 #define P2 w2(5);w2(7);w2(7);w2(5);w2(4);
45 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr()
50 w0(0); w2(0x26); h = r0(); w2(4); in comm_read_regr()
55 case 4: in comm_read_regr()
57 w2(0x24); h = r4(); w2(4); in comm_read_regr()
75 case 4: in comm_write_regr()
85 w2(4); w0(0xff); w2(6); in comm_connect()
86 w2(4); w0(0xaa); w2(6); in comm_connect()
87 w2(4); w0(0x00); w2(6); in comm_connect()
[all …]
H A Dfit2.c9 * supports 4-bit mode _only_.
24 #define j44(a, b) (((a >> 4) & 0x0f) | (b & 0xf0))
40 w2(0xc); w0(regr); w2(4); w0(val); w2(5); w0(0); w2(4); in fit2_write_regr()
55 w2(0xc); w0(r); w2(4); w2(5); in fit2_read_regr()
58 w2(4); in fit2_read_regr()
65 int k, a, b, c, d; in fit2_read_block() local
69 for (k = 0; k < count / 4; k++) { in fit2_read_block()
70 w2(4); w2(5); in fit2_read_block()
73 buf[4 * k + 0] = j44(a, b); in fit2_read_block()
74 buf[4 * k + 1] = j44(d, c); in fit2_read_block()
[all …]
H A Don20.c20 w2(4); w0(f); w2(5); w2(0xd); \
21 w2(5); w2(0xd); w2(5); w2(4); \
26 w2(4); w0(v); w2(5); \
27 w2(7); w2(5); w2(4); \
30 #define j44(a, b) (((a >> 4) & 0x0f) | (b & 0xf0))
47 w2(4); w2(6); l = r1(); in on20_read_regr()
48 w2(4); w2(6); h = r1(); in on20_read_regr()
49 w2(4); w2(6); w2(4); w2(6); w2(4); in on20_read_regr()
52 w2(4); w2(0x26); r = r0(); in on20_read_regr()
53 w2(4); w2(0x26); w2(4); in on20_read_regr()
[all …]
/linux/crypto/
H A Dserpent_generic.c25 ({ 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 …]
H A Dwp512.c784 u64 K[8]; /* the round key */ in wp512_process_buffer() local
793 state[0] = block[0] ^ (K[0] = wctx->hash[0]); in wp512_process_buffer()
794 state[1] = block[1] ^ (K[1] = wctx->hash[1]); in wp512_process_buffer()
795 state[2] = block[2] ^ (K[2] = wctx->hash[2]); in wp512_process_buffer()
796 state[3] = block[3] ^ (K[3] = wctx->hash[3]); in wp512_process_buffer()
797 state[4] = block[4] ^ (K[4] = wctx->hash[4]); in wp512_process_buffer()
798 state[5] = block[5] ^ (K[5] = wctx->hash[5]); in wp512_process_buffer()
799 state[6] = block[6] ^ (K[6] = wctx->hash[6]); in wp512_process_buffer()
800 state[7] = block[7] ^ (K[7] = wctx->hash[7]); in wp512_process_buffer()
804 L[0] = C0[(int)(K[0] >> 56) ] ^ in wp512_process_buffer()
[all …]
/linux/Documentation/admin-guide/media/
H A 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
176 CODE_RATE_HP = 3/4
177 CODE_RATE_LP = 3/4
179 TRANSMISSION_MODE = 8K
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_jhash.h14 a -= c; a ^= rol32(c, 4); c += b; \
19 c -= b; c ^= rol32(b, 4); b += a; \
28 a ^= c; a -= rol32(c, 4); \
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()
[all …]
/linux/drivers/input/joystick/
H A Dtmdc.c33 #define TMDC_MODE_AT 4
42 #define TMDC_ABS_HAT 4
45 static const unsigned char tmdc_byte_a[16] = { 0, 1, 3, 4, 6, 7 };
78 char btnc[4];
79 char btno[4];
83 { 1, "ThrustMaster Millennium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
85 { 4, "ThrustMaster Attack Throttle", 5, 2, { 4, 6 }, { 4, 2 }, tmdc_abs_at, tmdc_btn_at },
86 { 8, "ThrustMaster FragMaster", 4, 0, { 8, 2 }, { 0, 0 }, tmdc_abs_fm, tmdc_btn_fm },
100 unsigned char btnc[4];
101 unsigned char btno[4];
[all …]
/linux/include/uapi/linux/
H A Dkeyboard.h11 #define KG_SHIFTL 4
12 #define KG_KANASHIFT 4
33 #define KT_DEAD 4
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)
[all …]
/linux/net/ceph/
H A Dceph_hash.c25 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/drivers/media/platform/verisilicon/
H A Dhantro_vp8.c21 u8 prob_luma_16x16_pred_mode[4];
30 u8 prob_coeffs[4][8][3][V4L2_VP8_COEFF_PROB_CNT];
53 u32 i, j, k; in hantro_vp8_prob_update() local
63 dst[4] = hdr->segment.segment_probs[0]; in hantro_vp8_prob_update()
73 dst[4] = entropy->uv_mode_probs[0]; in hantro_vp8_prob_update()
84 dst[4] = entropy->mv_probs[0][8 + 9]; in hantro_vp8_prob_update()
90 for (j = 0; j < 8; j += 4) { in hantro_vp8_prob_update()
95 dst += 4; in hantro_vp8_prob_update()
103 dst[4] = entropy->mv_probs[i][4 + 2]; in hantro_vp8_prob_update()
113 for (i = 0; i < 4; ++i) { in hantro_vp8_prob_update()
[all …]
/linux/tools/include/linux/
H A Djhash.h37 a -= c; a ^= rol32(c, 4); c += b; \
42 c -= b; c ^= rol32(b, 4); b += a; \
52 a ^= c; a -= rol32(c, 4); \
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()
[all …]
/linux/include/linux/
H A Djhash.h37 a -= c; a ^= rol32(c, 4); c += b; \
42 c -= b; c ^= rol32(b, 4); b += a; \
52 a ^= c; a -= rol32(c, 4); \
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()
[all …]
/linux/arch/x86/kernel/cpu/
H A Dintel.c401 c->x86_stepping >= 1 && c->x86_stepping <= 4 && in intel_smp_check()
444 if ((c->x86<<8 | c->x86_model<<4 | c->x86_stepping) < 0x633) in intel_workarounds()
476 if (boot_cpu_has(X86_FEATURE_APIC) && (c->x86<<8 | c->x86_model<<4) == 0x520 && in intel_workarounds()
486 case 4: /* 486: untested */ in intel_workarounds()
664 * Intel Quark SoC X1000 contains a 4-way set associative in intel_size_cache()
665 * 16K cache with a 16 byte cache line and 256 lines per tag in intel_size_cache()
695 { 0x01, TLB_INST_4K, 32, " TLB_INST 4 KByte pages, 4-way set associative" },
696 { 0x02, TLB_INST_4M, 2, " TLB_INST 4 MByte pages, full associative" },
697 { 0x03, TLB_DATA_4K, 64, " TLB_DATA 4 KByte pages, 4-way set associative" },
698 { 0x04, TLB_DATA_4M, 8, " TLB_DATA 4 MByte pages, 4-way set associative" },
[all …]
/linux/arch/arm64/crypto/
H A Daes-ce.S29 add \tmp, \rk, \nr, sxtw #4
31 ld1 {v17.4s-v20.4s}, [\rk]
32 ld1 {v21.4s-v24.4s}, [\tmp], #64
33 ld1 {v25.4s-v28.4s}, [\tmp], #64
34 ld1 {v29.4s-v31.4s}, [\tmp]
52 .macro do_enc_Nx, de, mc, k, i0, i1, i2, i3, i4
53 aes\de \i0\().16b, \k\().16b
56 aes\de \i1\().16b, \k\().16b
59 aes\de \i2\().16b, \k\().16b
61 aes\de \i3\().16b, \k\().16b
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen4/
H A Dmemory.json40 "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 4k pages.",
46 …L2 DTLB hits for coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pag…
64 …"BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for 4k pa…
70 …e requested) for coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pag…
106 "BriefDescription": "4kB misaligned (page crossing) loads.",
123 …tion fetches that miss in both the L1 and L2 ITLBs (page-table walks are requested) for 4k pages.",
141 …e requested) for coalesced pages. A coalesced page is a 16k page created from four adjacent 4k pag…
153 …etches that hit in the L1 ITLB for 4k or coalesced pages. A coalesced page is a 16k page created f…
/linux/sound/pci/mixart/
H A Dmixart_hwdep.c92 char elf32_magic_number[4] = {0x7f,'E','L','F'}; in mixart_load_elf()
97 for( i=0; i<4; i++ ) in mixart_load_elf()
131 u32 k; in mixart_enum_connectors() local
163 for(k=0; k < connector->uid_count; k++) { in mixart_enum_connectors()
166 if(k < MIXART_FIRST_DIG_AUDIO_ID) { in mixart_enum_connectors()
167 pipe = &mgr->chip[k/2]->pipe_out_ana; in mixart_enum_connectors()
169 pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_out_dig; in mixart_enum_connectors()
171 if(k & 1) { in mixart_enum_connectors()
172 pipe->uid_right_connector = connector->uid[k]; /* odd */ in mixart_enum_connectors()
174 pipe->uid_left_connector = connector->uid[k]; /* even */ in mixart_enum_connectors()
[all …]
/linux/drivers/net/wireguard/selftest/
H A Dallowedips.c127 if (node->ip_version == 4) { in horrible_mask_self()
190 node->ip_version = 4; in horrible_allowedips_insert_v4()
220 if (node->ip_version == 4 && horrible_match_v4(node, ip)) in horrible_allowedips_lookup_v4()
256 unsigned int i, j, k, mutate_amount, cidr; in randomized_test() local
287 get_random_bytes(ip, 4); in randomized_test()
301 memcpy(mutated, ip, 4); in randomized_test()
302 get_random_bytes(mutate_mask, 4); in randomized_test()
304 for (k = 0; k < mutate_amount / 8; ++k) in randomized_test()
305 mutate_mask[k] = 0xff; in randomized_test()
306 mutate_mask[k] = 0xff in randomized_test()
[all …]

12345678910>>...47