Home
last modified time | relevance | path

Searched +full:3 +full:k (Results 1 – 25 of 1172) sorted by relevance

12345678910>>...47

/Linux-v6.1/drivers/block/paride/
Depia.c33 1 5/3 reads on ports 1 & 2, 8-bit writes
35 3 8-bit EPP mode
41 #define j53(a,b) (((a>>3)&0x1f)+((b<<4)&0xe0))
58 w0(r); w2(1); w2(3); w0(r); in epia_read_regr()
64 w2(3); w2(5); w0(r|0xf0); in epia_read_regr()
73 case 3: in epia_read_regr()
93 w0(r); w2(1); w0(val); w2(3); w2(4); in epia_write_regr()
96 case 3: in epia_write_regr()
108 some EPP counters ... currently we know about 3 different block
120 if (pi->mode >= 3) { in epia_connect()
[all …]
Depat.c32 #define j53(a,b) (((a>>3)&0x1f)+((b<<4)&0xe0))
45 static int cont_map[3] = { 0x18, 0x10, 0 };
60 case 3: in epat_write_regr()
76 case 0: w0(r); w2(1); w2(3); in epat_read_regr()
88 case 3: in epat_read_regr()
99 { int k, ph, a, b; in epat_read_block() local
103 case 0: w0(7); w2(1); w2(3); w0(0xff); in epat_read_block()
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()
[all …]
Dkbic.c36 #define j53(w) (((w>>3)&0x1f)|((w>>4)&0xe0))
65 case 3: in kbic_read_regr()
89 case 3: 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.c31 3 EPP-16
35 #define j44(a,b) (((a>>3)&0x07)|((~a>>4)&0x08)|((b<<1)&0x70)|((~b)&0x80))
66 case 3: in dstr_read_regr()
91 case 3: 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()
140 for (k=0;k<count;k++) buf[k] = r4(); in dstr_read_block()
[all …]
Dktti.c38 w0(r); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_regr()
39 w0(val); w2(3); w0(0); w2(6); w2(0xb); in ktti_write_regr()
56 { int k, a, b; in ktti_read_block() local
58 for (k=0;k<count/2;k++) { in ktti_read_block()
61 buf[2*k] = j44(a,b); in ktti_read_block()
63 buf[2*k+1] = j44(a,b); in ktti_read_block()
69 { int k; in ktti_write_block() local
71 for (k=0;k<count/2;k++) { in ktti_write_block()
72 w0(0x10); w2(0xb); w2(0xa); w2(3); w2(6); in ktti_write_block()
73 w0(buf[2*k]); w2(3); in ktti_write_block()
[all …]
Don26.c34 3 EPP-16
66 case 3: in on26_read_regr()
90 case 3: in on26_write_regr()
153 w0(3); P1; w0(0); P2; in on26_test_port()
188 { int k, a, b; in on26_read_block() local
194 for (k=0;k<count;k++) { in on26_read_block()
197 buf[k] = j44(a,b); in on26_read_block()
204 for (k=0;k<count/2;k++) { in on26_read_block()
205 w2(0x26); buf[2*k] = r0(); in on26_read_block()
206 w2(0x24); buf[2*k+1] = r0(); in on26_read_block()
[all …]
Dfriq.c79 { 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()
95 for (k=0;k<count;k++) { in friq_read_block_int()
97 buf[k] = r0(); in friq_read_block_int()
104 for (k=0;k<count-2;k++) buf[k] = r4(); in friq_read_block_int()
111 case 3: CMD(regr+0x80); in friq_read_block_int()
112 for (k=0;k<(count/2)-1;k++) ((u16 *)buf)[k] = r4w(); in friq_read_block_int()
120 for (k=0;k<(count/4)-1;k++) ((u32 *)buf)[k] = r4l(); in friq_read_block_int()
122 buf[count-3] = r4(); in friq_read_block_int()
[all …]
/Linux-v6.1/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-v6.1/include/linux/
Djhash.h34 /* __jhash_mix -- mix 3 32-bit values reversibly. */
45 /* __jhash_final - final mixing of 3 32-bit values (a,b,c) into c */
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()
[all …]
/Linux-v6.1/tools/include/linux/
Djhash.h34 /* __jhash_mix -- mix 3 32-bit values reversibly. */
45 /* __jhash_final - final mixing of 3 32-bit values (a,b,c) into c */
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()
[all …]
/Linux-v6.1/crypto/
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]; \
43 x2 = rol32(x2, 3); x1 ^= x0; x4 = x0 << 3; \
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]; \
[all …]
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-v6.1/tools/testing/selftests/tc-testing/tc-tests/actions/
Dpolice.json17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
27 "id": "3abe",
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 …UnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit index 3",
138 "cmdUnderTest": "$TC actions add action police rate 1mbit burst 100k overhead 64 index 64",
162 … "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer ethernet index 8",
172 "id": "3dda",
186 "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer atm index 8",
[all …]
/Linux-v6.1/include/uapi/linux/
Dkeyboard.h9 #define KG_ALT 3
32 #define KT_PAD 3
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-v6.1/drivers/media/platform/verisilicon/
Dhantro_vp8.c18 u8 prob_segment[3];
22 u8 prob_chroma_pred_mode[3];
30 u8 prob_coeffs[4][8][3][V4L2_VP8_COEFF_PROB_CNT];
43 { 3, -16, 77, 77, -16, 3 },
53 u32 i, j, k; in hantro_vp8_prob_update() local
62 dst[3] = hdr->prob_gf; in hantro_vp8_prob_update()
72 dst[3] = entropy->y_mode_probs[3]; in hantro_vp8_prob_update()
83 dst[3] = entropy->mv_probs[1][1]; in hantro_vp8_prob_update()
94 dst[3] = entropy->mv_probs[i][j + 9 + 3]; in hantro_vp8_prob_update()
102 dst[3] = entropy->mv_probs[i][3 + 2]; in hantro_vp8_prob_update()
[all …]
Dhantro_vp9.c71 static void *get_coeffs_arr(struct symbol_counts *cnts, int i, int j, int k, int l, int m) in get_coeffs_arr() argument
74 return &cnts->count_coeffs[j][k][l][m]; in get_coeffs_arr()
77 return &cnts->count_coeffs8x8[j][k][l][m]; in get_coeffs_arr()
80 return &cnts->count_coeffs16x16[j][k][l][m]; in get_coeffs_arr()
82 if (i == 3) in get_coeffs_arr()
83 return &cnts->count_coeffs32x32[j][k][l][m]; in get_coeffs_arr()
88 static void *get_eobs1(struct symbol_counts *cnts, int i, int j, int k, int l, int m) in get_eobs1() argument
91 return &cnts->count_coeffs[j][k][l][m][3]; in get_eobs1()
94 return &cnts->count_coeffs8x8[j][k][l][m][3]; in get_eobs1()
97 return &cnts->count_coeffs16x16[j][k][l][m][3]; in get_eobs1()
[all …]
/Linux-v6.1/tools/lib/
Dlist_sort.c14 __attribute__((nonnull(2,3,4)))
50 __attribute__((nonnull(2,3,4,5)))
129 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
130 * merged to a size-2^(k+1) list as soon as we have 2^k following elements.
132 * Thus, it will avoid cache thrashing as long as 3*2^k elements can
141 * Each time we increment "count", we set one bit (bit k) and clear
142 * bits k-1 .. 0. Each time this happens (except the very first time
143 * for each bit, when count increments to 2^k), we merge two lists of
144 * size 2^k into one list of size 2^(k+1).
147 * 2^k, which is when we have 2^k elements pending in smaller lists,
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/net/ceph/
Dceph_hash.c18 a = a - b; a = a - c; a = a ^ (c >> 3); \
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()
[all …]
/Linux-v6.1/drivers/staging/wlan-ng/
Dp80211wep.c93 u32 i, j, k, crc, keylen; in wep_decrypt() local
105 keyidx = WEP_KEY(iv[3]); in wep_decrypt()
116 return -3; in wep_decrypt()
119 memcpy(key + 3, wlandev->wep_keys[keyidx], keylen); in wep_decrypt()
121 keylen += 3; /* add in IV bytes */ in wep_decrypt()
135 for (k = 0; k < len; k++) { in wep_decrypt()
139 buf[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_decrypt()
147 c_crc[3] = crc >> 24; in wep_decrypt()
149 for (k = 0; k < 4; k++) { in wep_decrypt()
153 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) in wep_decrypt()
[all …]
/Linux-v6.1/drivers/md/bcache/
Dbcache_ondisk.h12 static inline __u64 name(const type *k) \
13 { return (k->field >> offset) & ~(~0ULL << size); } \
15 static inline void SET_##name(type *k, __u64 v) \
17 k->field &= ~(~(~0ULL << size) << offset); \
18 k->field |= (v & ~(~0ULL << size)) << offset; \
33 static inline __u64 name(const struct bkey *k, unsigned int i) \
34 { return (k->ptr[i] >> offset) & ~(~0ULL << size); } \
36 static inline void SET_##name(struct bkey *k, unsigned int i, __u64 v) \
38 k->ptr[i] &= ~(~(~0ULL << size) << offset); \
39 k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
[all …]
/Linux-v6.1/drivers/isdn/mISDN/
Ddsp_dtmf.c20 * 2 * cos(2 * PI * k / N) precalculated for all k
24 /* k << 15 (source: hfc-4s/8s documentation (www.colognechip.de)) */
31 {'1', '2', '3', 'A'},
124 int k, n, i; in dsp_dtmf_goertzel_decode() local
158 for (k = 0; k < NCOEFF; k++) { in dsp_dtmf_goertzel_decode()
165 /* compute |X(k)|**2 */ in dsp_dtmf_goertzel_decode()
166 result[k] = in dsp_dtmf_goertzel_decode()
168 (((cos2pik[k] * sk) >> 15) * sk2) + in dsp_dtmf_goertzel_decode()
184 for (k = 0; k < NCOEFF; k++) { in dsp_dtmf_goertzel_decode()
189 cos2pik_ = cos2pik[k]; in dsp_dtmf_goertzel_decode()
[all …]
/Linux-v6.1/sound/soc/codecs/
Drl6231.c38 case 3: in rl6231_get_pre_div()
68 * 1MHz - 3MHz range.
72 static const int div[] = {2, 3, 4, 6, 8, 12}; in rl6231_calc_dmic_clk()
81 if ((div[i] % 3) == 0) in rl6231_calc_dmic_clk()
96 int k; member
105 {19200000, 24576000, 3, 30, 3, false, false},
107 {3840000, 24576000, 3, 30, 0, true, false},
108 {3840000, 22579200, 3, 5, 0, true, false},
131 * rl6231_pll_calc - Calcualte PLL M/N/K code.
134 * @pll_code: Pointer to structure with M, N, K, m_bypass and k_bypass flag.
[all …]
/Linux-v6.1/drivers/input/joystick/
Dtmdc.c32 #define TMDC_MODE_3DRP 3
45 static const unsigned char tmdc_byte_a[16] = { 0, 1, 3, 4, 6, 7 };
83 { 1, "ThrustMaster Millennium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
84 { 3, "ThrustMaster Rage 3D Gamepad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
131 int i[2], j[2], t[2], p, k; in tmdc_read_packet() local
135 for (k = 0; k < 2; k++) { in tmdc_read_packet()
136 t[k] = gameport_time(gameport, TMDC_MAX_START); in tmdc_read_packet()
137 i[k] = j[k] = 0; in tmdc_read_packet()
149 for (k = 0, v = w, u = x; k < 2; k++, v >>= 2, u >>= 2) { in tmdc_read_packet()
151 if (t[k] <= 0 || i[k] >= TMDC_MAX_LENGTH) continue; in tmdc_read_packet()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dmarvell-pp2.txt2 Marvell Armada 7K/8K Ethernet Controller (PPv2.2)
3 Marvell CN913X Ethernet Controller (PPv2.3)
9 "marvell,armada-7k-pp2"
16 For "marvell,armada-7k-pp2" used by 7K/8K and CN913X, must contain the following register
23 - main controller clock (for both armada-375-pp2 and armada-7k-pp2)
24 - GOP clock (for both armada-375-pp2 and armada-7k-pp2)
25 - MG clock (only for armada-7k-pp2)
26 - MG Core clock (only for armada-7k-pp2)
27 - AXI clock (only for armada-7k-pp2)
29 "mg_core_clk" and "axi_clk" (the 3 latter only for armada-7k-pp2).
[all …]

12345678910>>...47