Home
last modified time | relevance | path

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

12345678910>>...51

/Linux-v5.10/drivers/block/paride/
Dkbic.c35 #define j44(a,b) ((((a>>4)&0x0f)|(b&0xf0))^0x88)
36 #define j53(w) (((w>>3)&0x1f)|((w>>4)&0xe0))
53 case 0: w0(regr|0x18|s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr()
54 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr()
57 case 1: w0(regr|0x38|s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr()
58 a = r12w(); w2(4); in kbic_read_regr()
61 case 2: w0(regr|0x08|s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr()
62 a = r0(); w2(4); in kbic_read_regr()
66 case 4: in kbic_read_regr()
67 case 5: w0(0x20|s); w2(4); w2(6); w2(4); w3(regr); in kbic_read_regr()
[all …]
Depat.c31 #define j44(a,b) (((a>>4)&0x0f)+(b&0xf0))
32 #define j53(a,b) (((a>>3)&0x1f)+((b<<4)&0xe0))
57 case 2: w0(0x60+r); w2(1); w0(val); w2(4); in epat_write_regr()
61 case 4: in epat_write_regr()
77 a = r1(); w2(4); b = r1(); in epat_read_regr()
80 case 1: w0(0x40+r); w2(1); w2(4); in epat_read_regr()
85 a = r0(); w2(4); in epat_read_regr()
89 case 4: in epat_read_regr()
90 case 5: w3(r); w2(0x24); a = r4(); w2(4); in epat_read_regr()
99 { int k, ph, a, b; in epat_read_block() local
[all …]
Dfrpw.c38 #define cec4 w2(0xc);w2(0xe);w2(0xe);w2(0xc);w2(4);w2(4);w2(4);
39 #define j44(l,h) (((l>>4)&0x0f)|(h&0xf0))
53 w2(4); in frpw_read_regr()
56 w2(4); h = r1(); in frpw_read_regr()
57 w2(4); in frpw_read_regr()
69 w2(4); w0(r); cec4; in frpw_write_regr()
71 w2(5);w2(7);w2(5);w2(4); in frpw_write_regr()
76 { int h, l, k, ph; in frpw_read_block_int() local
80 case 0: w2(4); w0(regr); cec4; in frpw_read_block_int()
81 for (k=0;k<count;k++) { in frpw_read_block_int()
[all …]
Depia.c36 4 16-bit EPP
40 #define j44(a,b) (((a>>4)&0x0f)+(b&0xf0))
41 #define j53(a,b) (((a>>3)&0x1f)+((b<<4)&0xe0))
59 a = r1(); w2(1); b = r1(); w2(4); in epia_read_regr()
65 a = r1(); b = r2(); w2(4); in epia_read_regr()
70 a = r0(); w2(4); in epia_read_regr()
74 case 4: in epia_read_regr()
75 case 5: w3(regr); w2(0x24); a = r4(); w2(4); in epia_read_regr()
93 w0(r); w2(1); w0(val); w2(3); w2(4); in epia_write_regr()
97 case 4: in epia_write_regr()
[all …]
Ddstr.c32 4 EPP-32
35 #define j44(a,b) (((a>>3)&0x07)|((~a>>4)&0x08)|((b<<1)&0x70)|((~b)&0x80))
37 #define P1 w2(5);w2(0xd);w2(5);w2(4);
38 #define P2 w2(5);w2(7);w2(5);w2(4);
39 #define P3 w2(6);w2(4);w2(6);w2(4);
59 case 0: w2(6); a = r1(); w2(4); w2(6); b = r1(); w2(4); in dstr_read_regr()
62 case 1: w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr()
67 case 4: w2(0x24); a = r4(); w2(4); in dstr_read_regr()
87 case 1: w0(val); w2(5); w2(7); w2(5); w2(4); in dstr_write_regr()
92 case 4: w4(val); in dstr_write_regr()
[all …]
Dfriq.c40 #define CMD(x) w2(4);w0(0xff);w0(0xff);w0(0x73);w0(0x73);\
43 #define j44(l,h) (((l>>4)&0x0f)|(h&0xf0))
59 w2(4); h = r1(); in friq_read_regr()
60 w2(4); in friq_read_regr()
74 w2(5);w2(7);w2(5);w2(4); in friq_write_regr()
79 { int h, l, k, ph; in friq_read_block_int() local
84 for (k=0;k<count;k++) { in friq_read_block_int()
86 w2(4); h = r1(); in friq_read_block_int()
87 buf[k] = j44(l,h); in friq_read_block_int()
89 w2(4); in friq_read_block_int()
[all …]
Don26.c35 4 EPP-32
38 #define j44(a,b) (((a>>4)&0x0f)|(b&0xf0))
40 #define P1 w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4);
41 #define P2 w2(5);w2(7);w2(5);w2(4);
56 w2(6); a = r1(); w2(4); in on26_read_regr()
57 w2(6); b = r1(); w2(4); in on26_read_regr()
58 w2(6); w2(4); w2(6); w2(4); in on26_read_regr()
62 w2(0x26); a = r0(); w2(4); w2(0x26); w2(4); in on26_read_regr()
67 case 4: w3(1); w3(1); w2(5); w4(r); w2(4); in on26_read_regr()
68 w3(0); w3(0); w2(0x24); a = r4(); w2(4); in on26_read_regr()
[all …]
Dcomm.c36 #define P1 w2(5);w2(0xd);w2(0xd);w2(5);w2(4);
37 #define P2 w2(5);w2(7);w2(7);w2(5);w2(4);
54 w2(6); l = r1(); w0(0x80); h = r1(); w2(4); in comm_read_regr()
58 w0(0); w2(0x26); h = r0(); w2(4); in comm_read_regr()
63 case 4: w3(r+0x20); (void)r1(); in comm_read_regr()
64 w2(0x24); h = r4(); w2(4); in comm_read_regr()
85 case 4: w3(r); (void)r1(); w4(val); in comm_write_regr()
94 w2(4); w0(0xff); w2(6); in comm_connect()
95 w2(4); w0(0xaa); w2(6); in comm_connect()
96 w2(4); w0(0x00); w2(6); in comm_connect()
[all …]
Dfit2.c9 supports 4-bit mode _only_.
28 #define j44(a,b) (((a>>4)&0x0f)|(b&0xf0))
43 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()
66 { int k, a, b, c, d; in fit2_read_block() local
70 for (k=0;k<count/4;k++) { in fit2_read_block()
72 w2(4); w2(5); in fit2_read_block()
75 buf[4*k+0] = j44(a,b); in fit2_read_block()
76 buf[4*k+1] = j44(d,c); in fit2_read_block()
[all …]
Don20.c27 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4);
28 #define vl(v) w2(4);w0(v);w2(5);w2(7);w2(5);w2(4);
30 #define j44(a,b) (((a>>4)&0x0f)|(b&0xf0))
46 case 0: w2(4); w2(6); l = r1(); in on20_read_regr()
47 w2(4); w2(6); h = r1(); in on20_read_regr()
48 w2(4); w2(6); w2(4); w2(6); w2(4); in on20_read_regr()
51 case 1: w2(4); w2(0x26); r = r0(); in on20_read_regr()
52 w2(4); w2(0x26); w2(4); in on20_read_regr()
75 w2(4);w0(0);w2(0xc);w2(4);w2(6);w2(4);w2(6);w2(4); in on20_connect()
82 { w2(4);w0(7);w2(4);w2(0xc);w2(4); in on20_disconnect()
[all …]
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_ethtool.c6 #define SJA1105_SIZE_MAC_AREA (0x02 * 4)
7 #define SJA1105_SIZE_HL1_AREA (0x10 * 4)
8 #define SJA1105_SIZE_HL2_AREA (0x4 * 4)
9 #define SJA1105_SIZE_QLEVEL_AREA (0x8 * 4) /* 0x4 to 0xB */
10 #define SJA1105_SIZE_ETHER_AREA (0x17 * 4)
104 /* Make pointer arithmetic work on 4 bytes */ in sja1105_port_status_mac_unpack()
107 sja1105_unpack(p + 0x0, &status->n_runt, 31, 24, 4); in sja1105_port_status_mac_unpack()
108 sja1105_unpack(p + 0x0, &status->n_soferr, 23, 16, 4); in sja1105_port_status_mac_unpack()
109 sja1105_unpack(p + 0x0, &status->n_alignerr, 15, 8, 4); in sja1105_port_status_mac_unpack()
110 sja1105_unpack(p + 0x0, &status->n_miierr, 7, 0, 4); in sja1105_port_status_mac_unpack()
[all …]
/Linux-v5.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-v5.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
176 CODE_RATE_HP = 3/4
177 CODE_RATE_LP = 3/4
179 TRANSMISSION_MODE = 8K
[all …]
/Linux-v5.10/drivers/input/joystick/
Dtmdc.c36 #define TMDC_MODE_AT 4
45 #define TMDC_ABS_HAT 4
48 static const unsigned char tmdc_byte_a[16] = { 0, 1, 3, 4, 6, 7 };
81 char btnc[4];
82 char btno[4];
86 { 1, "ThrustMaster Millenium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
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 },
103 unsigned char btnc[4];
104 unsigned char btno[4];
[all …]
/Linux-v5.10/include/uapi/linux/
Dkeyboard.h11 #define KG_SHIFTL 4
12 #define KG_KANASHIFT 4
34 #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-v5.10/tools/testing/selftests/bpf/progs/
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-v5.10/net/ceph/
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-v5.10/drivers/staging/media/hantro/
Dhantro_vp8.c21 u8 prob_luma_16x16_pred_mode[4];
30 u8 prob_coeffs[4][8][3][11];
53 u32 i, j, k; in hantro_vp8_prob_update() local
63 dst[4] = hdr->segment_header.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-v5.10/arch/x86/kernel/cpu/
Dintel.c369 c->x86_stepping >= 1 && c->x86_stepping <= 4 && in intel_smp_check()
412 if ((c->x86<<8 | c->x86_model<<4 | c->x86_stepping) < 0x633) in intel_workarounds()
444 if (boot_cpu_has(X86_FEATURE_APIC) && (c->x86<<8 | c->x86_model<<4) == 0x520 && in intel_workarounds()
454 case 4: /* 486: untested */ in intel_workarounds()
498 #define TME_ACTIVATE_POLICY(x) ((x >> 4) & 0xf) /* Bits 7:4 */
737 * Intel Quark SoC X1000 contains a 4-way set associative in intel_size_cache()
738 * 16K cache with a 16 byte cache line and 256 lines per tag in intel_size_cache()
768 { 0x01, TLB_INST_4K, 32, " TLB_INST 4 KByte pages, 4-way set associative" },
769 { 0x02, TLB_INST_4M, 2, " TLB_INST 4 MByte pages, full associative" },
770 { 0x03, TLB_DATA_4K, 64, " TLB_DATA 4 KByte pages, 4-way set associative" },
[all …]
/Linux-v5.10/tools/include/linux/
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-v5.10/include/linux/
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-v5.10/arch/arm64/crypto/
Daes-ce.S32 ld1 {v17.4s-v18.4s}, [\rk], #32
33 1111: ld1 {v19.4s-v20.4s}, [\rk], #32
34 2222: ld1 {v21.4s-v24.4s}, [\rk], #64
35 ld1 {v25.4s-v28.4s}, [\rk], #64
36 ld1 {v29.4s-v31.4s}, [\rk]
57 .macro do_enc_Nx, de, mc, k, i0, i1, i2, i3, i4
58 aes\de \i0\().16b, \k\().16b
61 aes\de \i1\().16b, \k\().16b
64 aes\de \i2\().16b, \k\().16b
66 aes\de \i3\().16b, \k\().16b
[all …]
/Linux-v5.10/fs/btrfs/tests/
Dextent-map-tests.c41 * extent [0, 16K), followed by another file extent [16K, 20K), two dio reads
42 * are entering btrfs_get_extent() concurrently, t1 is reading [8K, 16K), t2 is
43 * reading [0, 8K)
48 * -> add_extent_mapping(0, 16K)
50 * ->add_extent_mapping(0, 16K)
67 /* Add [0, 16K) */ in test_case_1()
76 test_err("cannot add extent range [0, 16K)"); in test_case_1()
81 /* Add [16K, 20K) following [0, 16K) */ in test_case_1()
97 test_err("cannot add extent range [16K, 20K)"); in test_case_1()
109 /* Add [0, 8K), should return [0, 16K) instead. */ in test_case_1()
[all …]
/Linux-v5.10/drivers/net/wireguard/selftest/
Dallowedips.c141 if (node->ip_version == 4) { in horrible_mask_self()
211 node->ip_version = 4; in horrible_allowedips_insert_v4()
244 if (node->ip_version != 4) in horrible_allowedips_lookup_v4()
274 unsigned int i, j, k, mutate_amount, cidr; in randomized_test() local
304 prandom_bytes(ip, 4); in randomized_test()
318 memcpy(mutated, ip, 4); in randomized_test()
319 prandom_bytes(mutate_mask, 4); in randomized_test()
321 for (k = 0; k < mutate_amount / 8; ++k) in randomized_test()
322 mutate_mask[k] = 0xff; in randomized_test()
323 mutate_mask[k] = 0xff in randomized_test()
[all …]
/Linux-v5.10/arch/powerpc/net/
Dbpf_jit_comp.c106 #define CHOOSE_LOAD_FUNC(K, func) \ argument
107 ((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative_offset : func) : func##_positive_offset)
124 unsigned int K = filter[i].k; in bpf_jit_build_body() local
131 addrs[i] = ctx->idx * 4; in bpf_jit_build_body()
139 case BPF_ALU | BPF_ADD | BPF_K: /* A += K; */ in bpf_jit_build_body()
140 if (!K) in bpf_jit_build_body()
142 EMIT(PPC_RAW_ADDI(r_A, r_A, IMM_L(K))); in bpf_jit_build_body()
143 if (K >= 32768) in bpf_jit_build_body()
144 EMIT(PPC_RAW_ADDIS(r_A, r_A, IMM_HA(K))); in bpf_jit_build_body()
150 case BPF_ALU | BPF_SUB | BPF_K: /* A -= K */ in bpf_jit_build_body()
[all …]

12345678910>>...51