/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | police.json | 20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 46 "$TC actions add action police rate 4Mbit burst 120k index 9" 48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 75 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 78 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 102 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde… 105 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 129 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", 132 "matchPattern": "action order [0-9]*: police 0x9 rate 5Kb burst 10Kb", [all …]
|
/linux/drivers/ata/pata_parport/ |
H A D | on26.c | 193 int k, a, b; in on26_read_block() local 198 udelay(10); in on26_read_block() 199 for (k = 0; k < count; k++) { in on26_read_block() 202 buf[k] = j44(a, b); in on26_read_block() 208 udelay(10); in on26_read_block() 209 for (k = 0; k < count / 2; k++) { in on26_read_block() 210 w2(0x26); buf[2 * k] = r0(); in on26_read_block() 211 w2(0x24); buf[2 * k + 1] = r0(); in on26_read_block() 218 udelay(10); in on26_read_block() 219 for (k = 0; k < count; k++) in on26_read_block() [all …]
|
/linux/Documentation/networking/device_drivers/atm/ |
H A D | iphase.rst | 24 - Supports 4K VCs for the server board (with 512K control memory) and 1K 25 VCs for the client board (with 128K control memory). 31 including x575 (OC3, control memory 128K , 512K and packet memory 128K, 32 512K and 1M), x525 (UTP25) and x531 (DS3 and E3). See 93 The (i)Chip boards have 3 different packet RAM size variants: 128K, 512K and 101 128K 64K 64K 10K 10K 6 6 102 512K 256K 256K 10K 10K 25 25 103 1M 512K 512K 10K 10K 51 51 115 - RX_SIZE = size of receive buffers in the range (48-64K) 117 - TX_SIZE = size of transmit buffers in the range (48-64K)
|
/linux/crypto/ |
H A D | serpent_generic.c | 25 ({ 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 …]
|
/linux/arch/m68k/fpsp040/ |
H A D | bindec.S | 12 | value in memory; d0 contains the k-factor sign-extended 23 | The k-factor is saved for use in d7. Clear the 31 | ILOG is the log base 10 of the input value. It is 45 | k-factor can dictate either the total number of digits, 53 | SCALE is equal to 10^ISCALE, where ISCALE is the number 57 | 10^^(abs(ISCALE)) using a rounding mode which is a 89 | result is exactly 10^LEN, decrement ILOG and divide 90 | the mantissa by 10. 95 | to be a fraction; i.e. (mantissa)/10^LEN and adjusted 119 | d7: k-factor [all …]
|
/linux/net/ceph/ |
H A D | ceph_hash.c | 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 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/include/uapi/linux/ |
H A D | keyboard.h | 39 #define KT_LOCK 10 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) 56 #define K_F8 K(KT_FN,7) [all …]
|
/linux/rust/kernel/ |
H A D | rbtree.rs | 35 /// tree.try_create_and_insert(10, 100, flags::GFP_KERNEL)?; 40 /// assert_eq!(tree.get(&10).unwrap(), &100); 48 /// assert_eq!(iter.next().unwrap(), (&10, &100)); 60 /// tree.try_create_and_insert(10, 1000, flags::GFP_KERNEL)?; 65 /// assert_eq!(iter.next().unwrap(), (&10, &1000)); 77 /// assert_eq!(iter.next().unwrap(), (&10, &1000)); 84 /// tree.remove(&10); 106 /// let node = RBTreeNode::new(10, 100, flags::GFP_KERNEL)?; 126 /// tree.try_create_and_insert(10, 100, flags::GFP_KERNEL)?; 132 /// assert_eq!(iter.next().unwrap(), (&10, &100)); [all …]
|
/linux/arch/sparc/crypto/ |
H A D | camellia_asm.S | 13 CAMELLIA_F(KEY_BASE + 10, 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] 44 be 10f 49 std %f0, [%o1 + 0x20] ! k[8, 9] 57 std %f2, [%o1 + 0x28] ! k[10, 11] [all …]
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.h | 34 #define RBDR_SIZE0 0ULL /* 8K entries */ 35 #define RBDR_SIZE1 1ULL /* 16K entries */ 36 #define RBDR_SIZE2 2ULL /* 32K entries */ 37 #define RBDR_SIZE3 3ULL /* 64K entries */ 38 #define RBDR_SIZE4 4ULL /* 126K entries */ 39 #define RBDR_SIZE5 5ULL /* 256K entries */ 40 #define RBDR_SIZE6 6ULL /* 512K entries */ 42 #define SND_QUEUE_SIZE0 0ULL /* 1K entries */ 43 #define SND_QUEUE_SIZE1 1ULL /* 2K entries */ 44 #define SND_QUEUE_SIZE2 2ULL /* 4K entries */ [all …]
|
/linux/Documentation/devicetree/bindings/ |
H A D | trivial-devices.yaml | 170 # 10 kOhm digital potentiometer with I2C interface 176 # 10 kOhm digital potentiometer with I2C interface 182 # 10-bit 10 kOhm linear programmable voltage divider 184 # 10-bit 50 kOhm linear programmable voltage divider 186 # 10-bit 10 kOhm linear programmable variable resistor 188 # 10-bit 50 kOhm linear programmable variable resistor 238 # Microchip 7-bit Single I2C Digital POT (10k) 240 # Microchip 7-bit Single I2C Digital POT (100k) 242 # Microchip 7-bit Single I2C Digital POT (5k) 244 # Microchip 7-bit Single I2C Digital POT (50k) [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | srso.rst | 187 # perf stat -e ex_ret_near_ret:k -e ex_ret_near_ret_mispred:k sleep 10s 191 # perf stat -e cpu/event=0xc8,umask=0/k -e cpu/event=0xc9,umask=0/k sleep 10s 196 …nel/linux/tools/perf> ./perf stat -e cpu/event=0xc8,umask=0/k -e cpu/event=0xc9,umask=0/k sleep 10s 198 Performance counter stats for 'sleep 10s': 200 137,167 cpu/event=0xc8,umask=0/k 201 137,173 cpu/event=0xc9,umask=0/k 213 …nel/linux/tools/perf> ./perf stat -e cpu/event=0xc8,umask=0/k -e cpu/event=0xc9,umask=0/k sleep 10s 215 Performance counter stats for 'sleep 10s': 217 201,627 cpu/event=0xc8,umask=0/k 218 4,074 cpu/event=0xc9,umask=0/k
|
/linux/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 256 unsigned int i, j, k, mutate_amount, cidr; in randomized_test() local 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() 308 for (; k < 4; ++k) in randomized_test() 309 mutate_mask[k] = 0; in randomized_test() 310 for (k = 0; k < 4; ++k) in randomized_test() 311 mutated[k] = (mutated[k] & mutate_mask[k]) | in randomized_test() 312 (~mutate_mask[k] & in randomized_test() 348 for (k = 0; k < mutate_amount / 8; ++k) in randomized_test() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_jhash.h | 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() 54 case 10: c += (u32)k[9]<<8; in jhash() 55 case 9: c += k[8]; in jhash() 56 case 8: b += (u32)k[7]<<24; in jhash() [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | udpgro_fwd.sh | 127 # send a single GSO packet, segmented in 10 UDP frames. 128 # Always expect 10 UDP frames on RX side as rx socket does 132 ip netns exec $NS_DST ./udpgso_bench_rx -C 2000 -R 100 -n 10 -l 1300 $rx_args & 216 run_test "No GRO" $BM_NET$DST 10 0 220 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on 221 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on 231 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on 232 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on 240 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on 245 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on [all …]
|
/linux/include/linux/ |
H A D | drbd_limits.h | 63 #define DRBD_DISK_TIMEOUT_MAX 6000U /* 10 Minutes */ 70 #define DRBD_CONNECT_INT_DEF 10U /* seconds */ 76 #define DRBD_PING_INT_DEF 10U 91 /* I don't think that a tcp send buffer of more than 10M is useful */ 93 #define DRBD_SNDBUF_SIZE_MAX (10U<<20) 98 #define DRBD_RCVBUF_SIZE_MAX (10U<<20) 102 /* @4k PageSize -> 128kB - 512MB */ 108 /* @4k PageSize -> 4kB - 512MB */ 125 /* channel bonding 10 GbE, or other hardware */ 128 #define DRBD_RESYNC_RATE_SCALE 'k' /* kilobytes */ [all …]
|
/linux/Documentation/hwmon/ |
H A D | f71805f.rst | 84 in1 VIN1 VTT1.2V 10K - 1.00 1.20 V 85 in2 VIN2 VRAM 100K 100K 2.00 ~1.25 V [1]_ 86 in3 VIN3 VCHIPSET 47K 100K 1.47 2.24 V [2]_ 87 in4 VIN4 VCC5V 200K 47K 5.25 0.95 V 88 in5 VIN5 +12V 200K 20K 11.00 1.05 V 89 in6 VIN6 VCC1.5V 10K - 1.00 1.50 V 90 in7 VIN7 VCORE 10K - 1.00 ~1.40 V [1]_ 91 in8 VIN8 VSB5V 200K 47K 1.00 0.95 V 117 register values being 10 rather than 1.
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-64k.h | 6 #define H_PMD_INDEX_SIZE 10 // size: 8B << 10 = 8KB, maps 2^10 x 16MB = 16GB 7 #define H_PUD_INDEX_SIZE 10 // size: 8B << 10 = 8KB, maps 2^10 x 16GB = 16TB 43 * 64k aligned address free up few of the lower bits of RPN for us 46 #define H_PAGE_COMBO _RPAGE_RPN0 /* this is a combo 4k page */ 47 #define H_PAGE_4K_PFN _RPAGE_RPN1 /* PFN is for a single 4k page */ 67 * We use a 2K PTE page fragment and another 2K for storing 86 * With 64K pages on hash table, we have a special PTE format that 88 * in order to deal with 64K made of 4K HW pages. Thus we override the 155 * Trick: we set __end to va + 64k, which happens works for 219 * each HPTE entry. With 16MB hugepage and 64K HPTE we need 256 entries and [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_cm_common.c | 215 fmt.mantissa_bits = 10; in cm_helper_convert_to_custom_float() 346 uint32_t j, k, seg_distr[MAX_REGIONS_NUMBER], increment, start_index, hw_points; in cm_helper_translate_curve_to_hw_format() local 369 * segment is from 2^-10 to 2^1 in cm_helper_translate_curve_to_hw_format() 382 seg_distr[10] = 1; in cm_helper_translate_curve_to_hw_format() 384 region_start = -10; in cm_helper_translate_curve_to_hw_format() 391 for (k = 0; k < MAX_REGIONS_NUMBER; k++) { in cm_helper_translate_curve_to_hw_format() 392 if (seg_distr[k] != -1) in cm_helper_translate_curve_to_hw_format() 393 hw_points += (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format() 397 for (k = 0; k < (region_end - region_start); k++) { in cm_helper_translate_curve_to_hw_format() 398 increment = NUMBER_SW_SEGMENTS / (1 << seg_distr[k]); in cm_helper_translate_curve_to_hw_format() [all …]
|
/linux/drivers/media/usb/pwc/ |
H A D | pwc-dec23.c | 92 int compression_mode, j, k, bit, pw; in build_table_color() local 104 for (k = 0; k < 16; k++) { in build_table_color() 105 if (k == 0) in build_table_color() 107 else if (k >= 1 && k < 3) in build_table_color() 109 else if (k >= 3 && k < 6) in build_table_color() 111 else if (k >= 6 && k < 10) in build_table_color() 113 else if (k >= 10 && k < 13) in build_table_color() 115 else if (k >= 13 && k < 15) in build_table_color() 119 if (k == 0) in build_table_color() 126 p0[k + 0x00] = (1 * pw) + 0x80; in build_table_color() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/neterion/ |
H A D | s2io.rst | 4 Neterion's (Formerly S2io) Xframe I/II PCI-X 10GbE driver 7 Release notes for Neterion's (Formerly S2io) Xframe I/II PCI-X 10GbE driver. 41 eth3: Neterion Xframe I 10GbE adapter (rev 3), Version 2.0.9.1, Intr type INTA 42 eth4: Neterion Xframe II 10GbE adapter (rev 2), Version 2.0.9.1, Intr type INTA 101 Size of each receive ring(in 4K blocks) 122 For instance, for MTU=1500 a value of 210K has been observed to result in 128 For MTU=9000, TCP window size of 10 MB is recommended:: 143 Set MMRBC to 4K**. 160 c. Turn on TSO(using "ethtool -K"):: 162 # ethtool -K <ethX> tso on [all …]
|
/linux/include/dt-bindings/pinctrl/ |
H A D | pinctrl-sg2000.h | 21 #define PIN_VIVO_D3 PINPOS('A', 10) 33 #define PIN_VIVO_D5 PINPOS('B', 10) 47 #define PIN_VIVO_D6 PINPOS('C', 10) 56 #define PIN_VIVO_D4 PINPOS('D', 10) 63 #define PIN_VIVO_D0 PINPOS('E', 10) 82 #define PIN_SD0_CD PINPOS('K', 2) 83 #define PIN_SD0_D1 PINPOS('K', 3) 84 #define PIN_UART2_RX PINPOS('K', 13) 85 #define PIN_UART2_CTS PINPOS('K', 14) 86 #define PIN_UART2_TX PINPOS('K', 15) [all …]
|
H A D | pinctrl-cv1812h.h | 21 #define PIN_VIVO_D3 PINPOS('A', 10) 33 #define PIN_VIVO_D5 PINPOS('B', 10) 47 #define PIN_VIVO_D6 PINPOS('C', 10) 56 #define PIN_VIVO_D4 PINPOS('D', 10) 63 #define PIN_VIVO_D0 PINPOS('E', 10) 82 #define PIN_SD0_CD PINPOS('K', 2) 83 #define PIN_SD0_D1 PINPOS('K', 3) 84 #define PIN_UART2_RX PINPOS('K', 13) 85 #define PIN_UART2_CTS PINPOS('K', 14) 86 #define PIN_UART2_TX PINPOS('K', 15) [all …]
|
/linux/samples/bpf/ |
H A D | tracex3.bpf.c | 41 #define S(k) if (n >= (1ull << k)) { i += k; n >>= k; } in log2l() argument 78 /* the lines below are computing index = log10(delta)*10 in bpf_prog2() 83 * index = 99 ~ 10sec or more in bpf_prog2() 84 * log10(x)*10 = log2(x)*10/log2(10) = log2(x)*3 in bpf_prog2()
|
/linux/tools/testing/selftests/net/packetdrill/ |
H A D | tcp_inq_server.pkt | 12 +0 < S 0:0(0) win 32792 <mss 1000,sackOK,nop,nop,nop,wscale 10> 20 // Now we have 10K of data ready on the socket. 24 // We read 2K and we should have 8K ready to read. 31 // We read 8K and we should have no further data ready to read. 42 // We read 10K and we should have one "fake" byte because the connection is
|