Home
last modified time | relevance | path

Searched full:h4 (Results 1 – 25 of 118) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_h4.c43 struct h4_struct *h4; in h4_open() local
47 h4 = kzalloc(sizeof(*h4), GFP_KERNEL); in h4_open()
48 if (!h4) in h4_open()
51 skb_queue_head_init(&h4->txq); in h4_open()
53 hu->priv = h4; in h4_open()
60 struct h4_struct *h4 = hu->priv; in h4_flush() local
64 skb_queue_purge(&h4->txq); in h4_flush()
72 struct h4_struct *h4 = hu->priv; in h4_close() local
76 skb_queue_purge(&h4->txq); in h4_close()
78 kfree_skb(h4->rx_skb); in h4_close()
[all …]
DKconfig109 bool "UART (H4) protocol support"
112 UART (H4) is serial protocol for communication between Bluetooth
116 Say Y here to compile support for HCI UART (H4) protocol.
119 tristate "UART Nokia H4+ protocol support"
127 Nokia H4+ is serial protocol for communication between Bluetooth
131 Say Y here to compile support for Nokia's H4+ protocol.
231 over serial port interface(H4) between controller and host.
/kernel/linux/linux-6.6/drivers/bluetooth/
Dhci_h4.c43 struct h4_struct *h4; in h4_open() local
47 h4 = kzalloc(sizeof(*h4), GFP_KERNEL); in h4_open()
48 if (!h4) in h4_open()
51 skb_queue_head_init(&h4->txq); in h4_open()
53 hu->priv = h4; in h4_open()
60 struct h4_struct *h4 = hu->priv; in h4_flush() local
64 skb_queue_purge(&h4->txq); in h4_flush()
72 struct h4_struct *h4 = hu->priv; in h4_close() local
76 skb_queue_purge(&h4->txq); in h4_close()
78 kfree_skb(h4->rx_skb); in h4_close()
[all …]
DKconfig125 bool "UART (H4) protocol support"
128 UART (H4) is serial protocol for communication between Bluetooth
132 Say Y here to compile support for HCI UART (H4) protocol.
135 tristate "UART Nokia H4+ protocol support"
143 Nokia H4+ is serial protocol for communication between Bluetooth
147 Say Y here to compile support for Nokia's H4+ protocol.
247 over serial port interface(H4) between controller and host.
/kernel/linux/linux-6.6/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl419 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
716 vmovd $h2#d,$H4
818 vmovd $h2#d,$H4
848 vmovd 4*4($ctx),$H4
970 # d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
971 # d3 = h3*r0 + h2*r1 + h1*r2 + h0*r3 + h4*5*r4
972 # d2 = h2*r0 + h1*r1 + h0*r2 + h4*5*r3 + h3*5*r4
973 # d1 = h1*r0 + h0*r1 + h4*5*r2 + h3*5*r3 + h2*5*r4
974 # d0 = h0*r0 + h4*5*r1 + h3*5*r2 + h2*5*r3 + h1*5*r4
985 vpmuludq $T4,$D4,$D4 # d4 = h4*r0
[all …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl420 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
717 vmovd $h2#d,$H4
819 vmovd $h2#d,$H4
849 vmovd 4*4($ctx),$H4
971 # d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
972 # d3 = h3*r0 + h2*r1 + h1*r2 + h0*r3 + h4*5*r4
973 # d2 = h2*r0 + h1*r1 + h0*r2 + h4*5*r3 + h3*5*r4
974 # d1 = h1*r0 + h0*r1 + h4*5*r2 + h3*5*r3 + h2*5*r4
975 # d0 = h0*r0 + h4*5*r1 + h3*5*r2 + h2*5*r3 + h1*5*r4
986 vpmuludq $T4,$D4,$D4 # d4 = h4*r0
[all …]
/kernel/linux/linux-5.10/lib/crypto/
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
62 h4 = state->h[4]; in poly1305_core_blocks()
70 h4 += (get_unaligned_le32(&input[12]) >> 8) | hibit; in poly1305_core_blocks()
75 ((u64)h4 * s1); in poly1305_core_blocks()
78 ((u64)h4 * s2); in poly1305_core_blocks()
81 ((u64)h4 * s3); in poly1305_core_blocks()
84 ((u64)h4 * s4); in poly1305_core_blocks()
87 ((u64)h4 * r0); in poly1305_core_blocks()
103 h4 = (u32)d4 & 0x3ffffff; in poly1305_core_blocks()
116 state->h[4] = h4; in poly1305_core_blocks()
[all …]
/kernel/linux/linux-6.6/lib/crypto/
Dpoly1305-donna32.c38 u32 h0, h1, h2, h3, h4; in poly1305_core_blocks() local
62 h4 = state->h[4]; in poly1305_core_blocks()
70 h4 += (get_unaligned_le32(&input[12]) >> 8) | hibit; in poly1305_core_blocks()
75 ((u64)h4 * s1); in poly1305_core_blocks()
78 ((u64)h4 * s2); in poly1305_core_blocks()
81 ((u64)h4 * s3); in poly1305_core_blocks()
84 ((u64)h4 * s4); in poly1305_core_blocks()
87 ((u64)h4 * r0); in poly1305_core_blocks()
103 h4 = (u32)d4 & 0x3ffffff; in poly1305_core_blocks()
116 state->h[4] = h4; in poly1305_core_blocks()
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Dpoly1305-armv4.pl178 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
201 ldmia $ctx!,{$h0-$h4} @ load hash value
211 adcs $r3,$r3,$h4,lsl#8
215 adc $len,$len,$h4,lsr#24
224 movne $h4,$len
241 addhi $h4,$h4,#1 @ 1<<128
280 addhi $h4,$h4,#1 @ padbit
301 adc $h4,$h4,#0
303 umlal r2,r3,$h4,$s1
312 mul r0,$s2,$h4
[all …]
Dpoly1305-core.S_shipped294 add r8,r8,r3 @ h4+=d3>>32
485 @ d0 = h0*r0 + h4*5*r1 + h3*5*r2 + h2*5*r3 + h1*5*r4
486 @ d1 = h1*r0 + h0*r1 + h4*5*r2 + h3*5*r3 + h2*5*r4
487 @ d2 = h2*r0 + h1*r1 + h0*r2 + h4*5*r3 + h3*5*r4
488 @ d3 = h3*r0 + h2*r1 + h1*r2 + h0*r3 + h4*5*r4
489 @ d4 = h4*r0 + h3*r1 + h2*r2 + h1*r3 + h0*r4
525 @ H0>>+H1>>+H2>>+H3>>+H4
526 @ H3>>+H4>>*5+H0>>+H1
539 @ H0, H2, H3 are guaranteed to be 26 bits wide, while H1 and H4
546 @ H4 = H4*R0 + H3*R1 + H2*R2 + H1*R3 + H0 * R4,
[all …]
/kernel/linux/linux-6.6/arch/arm/crypto/
Dpoly1305-armv4.pl178 my ($h0,$h1,$h2,$h3,$h4,$r0,$r1,$r2,$r3)=map("r$_",(4..12));
201 ldmia $ctx!,{$h0-$h4} @ load hash value
211 adcs $r3,$r3,$h4,lsl#8
215 adc $len,$len,$h4,lsr#24
224 movne $h4,$len
241 addhi $h4,$h4,#1 @ 1<<128
280 addhi $h4,$h4,#1 @ padbit
301 adc $h4,$h4,#0
303 umlal r2,r3,$h4,$s1
312 mul r0,$s2,$h4
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dmirror_gre_lag_lacp.sh36 # | + $h3 + $h4 H3 |
106 team_create lag2 lacp $h3 $h4
118 ip link set dev $h4 down
126 tc qdisc add dev $h4 clsact
133 tc qdisc del dev $h4 clsact
182 h4=${NETIFS[p6]}
193 trap_install $h4 ingress
200 trap_uninstall $h4 ingress
235 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h4 1 0
251 test_lag_slave $h3 $h4 "mirror to gretap: LAG first slave"
[all …]
Dmirror_gre_bridge_1q_lag.sh42 # | + $h3 H3 | | + $h4 H4 |
120 simple_if_init $h4 192.0.2.130/28
121 tc qdisc add dev $h4 clsact
126 tc qdisc del dev $h4 clsact
127 simple_if_fini $h4 192.0.2.130/28
182 h4=${NETIFS[p6]}
196 trap_install $h4 ingress
203 trap_uninstall $h4 ingress
246 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h4 1 0
263 test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave"
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dmirror_gre_lag_lacp.sh36 # | + $h3 + $h4 H3 |
106 team_create lag2 lacp $h3 $h4
118 ip link set dev $h4 down
126 tc qdisc add dev $h4 clsact
133 tc qdisc del dev $h4 clsact
182 h4=${NETIFS[p6]}
193 trap_install $h4 ingress
200 trap_uninstall $h4 ingress
235 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h4 1 0
251 test_lag_slave $h3 $h4 "mirror to gretap: LAG first slave"
[all …]
Dmirror_gre_bridge_1q_lag.sh42 # | + $h3 H3 | | + $h4 H4 |
120 simple_if_init $h4 192.0.2.130/28
121 tc qdisc add dev $h4 clsact
126 tc qdisc del dev $h4 clsact
127 simple_if_fini $h4 192.0.2.130/28
184 h4=${NETIFS[p6]}
198 trap_install $h4 ingress
205 trap_uninstall $h4 ingress
248 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $h4 1 0
265 test_lag_slave $h4 $swp4 $swp3 "mirror to gretap: LAG second slave"
Drouter_bridge_lag.sh12 # | + $h1 + $h4 | | + $h2 + $h3 |
89 ip link set dev $h4 master lag1
92 ip link set dev $h4 up
101 ip link set dev $h4 down
104 ip link set dev $h4 nomaster
279 h4=${NETIFS[p7]}
Drouter_bridge_1d_lag.sh16 # | + $h1 + $h4 |
121 ip link set dev $h4 master lag1
124 ip link set dev $h4 up
147 ip link set dev $h4 down
150 ip link set dev $h4 nomaster
362 h4=${NETIFS[p7]}
/kernel/linux/linux-5.10/arch/mips/crypto/
Dpoly1305-mips.pl733 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) =
781 lw $h4,16($ctx)
893 srl $t0,$h4,2 # modulo-scheduled reduction
894 andi $h4,$h4,3
926 addu $h4,$h4,$padbit
928 addu $h4,$h4,$h3
936 maddu $rs1,$h4 # h4*s1
945 maddu $rs2,$h4 # h4*s2
950 mul $t0,$r0,$h4 # h4*r0
956 maddu $rs3,$h4 # h4*s3
[all …]
/kernel/linux/linux-6.6/arch/mips/crypto/
Dpoly1305-mips.pl733 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) =
781 lw $h4,16($ctx)
893 srl $t0,$h4,2 # modulo-scheduled reduction
894 andi $h4,$h4,3
926 addu $h4,$h4,$padbit
928 addu $h4,$h4,$h3
936 maddu $rs1,$h4 # h4*s1
945 maddu $rs2,$h4 # h4*s2
950 mul $t0,$r0,$h4 # h4*r0
956 maddu $rs3,$h4 # h4*s3
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Dtc_sample.sh29 # | H2 (vrf) | | H4 (vrf) |
110 ip link set dev $h4 down
111 ip link add name ${h4}_bond type bond mode 802.3ad
112 ip link set dev $h4 master ${h4}_bond
114 simple_if_init ${h4}_bond 198.51.100.17/28
116 ip -4 route add default vrf v${h4}_bond nexthop via 198.51.100.18
121 ip -4 route del default vrf v${h4}_bond nexthop via 198.51.100.18
123 simple_if_fini ${h4}_bond 198.51.100.17/28
125 ip link set dev $h4 nomaster
126 ip link del dev ${h4}_bond
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dnokia-bluetooth.txt5 vendors and modified device API. Those devices speak a protocol named H4+
6 (also known as h4p) by Nokia, which is similar to the H4 protocol from the
7 Bluetooth standard. In addition to the H4 protocol it specifies two more
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dnokia-bluetooth.txt5 vendors and modified device API. Those devices speak a protocol named H4+
6 (also known as h4p) by Nokia, which is similar to the H4 protocol from the
7 Bluetooth standard. In addition to the H4 protocol it specifies two more
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dpoly1305-armv8.pl266 my ($H0,$H1,$H2,$H3,$H4) = map("v$_.2s",(24..28));
439 fmov ${H4},x14
469 fmov ${H4},x14
563 // d4 = h0*r4 + h1*r3 + h2*r2 + h3*r1 + h4*r0
564 // d3 = h0*r3 + h1*r2 + h2*r1 + h3*r0 + h4*5*r4
565 // d2 = h0*r2 + h1*r1 + h2*r0 + h3*5*r4 + h4*5*r3
566 // d1 = h0*r1 + h1*r0 + h2*5*r4 + h3*5*r3 + h4*5*r2
567 // d0 = h0*r0 + h1*5*r4 + h2*5*r3 + h3*5*r2 + h4*5*r1
674 add $IN01_4,$IN01_4,$H4
709 add $ACC4,$ACC4,$T0.2d // h3 -> h4
[all …]
/kernel/linux/linux-6.6/arch/arm64/crypto/
Dpoly1305-armv8.pl266 my ($H0,$H1,$H2,$H3,$H4) = map("v$_.2s",(24..28));
439 fmov ${H4},x14
469 fmov ${H4},x14
563 // d4 = h0*r4 + h1*r3 + h2*r2 + h3*r1 + h4*r0
564 // d3 = h0*r3 + h1*r2 + h2*r1 + h3*r0 + h4*5*r4
565 // d2 = h0*r2 + h1*r1 + h2*r0 + h3*5*r4 + h4*5*r3
566 // d1 = h0*r1 + h1*r0 + h2*5*r4 + h3*5*r3 + h4*5*r2
567 // d0 = h0*r0 + h1*5*r4 + h2*5*r3 + h3*5*r2 + h4*5*r1
674 add $IN01_4,$IN01_4,$H4
709 add $ACC4,$ACC4,$T0.2d // h3 -> h4
[all …]
/kernel/linux/linux-6.6/arch/powerpc/crypto/
Daes-gcm-p10.S15 # (X1.h * H4.h + xX.l * H4.l + X1 * H4) +
238 vpmsumd 23, 12, 15 # H4.L * X.L
247 vpmsumd 24, 13, 15 # H4.L * X.H + H4.H * X.L
267 vpmsumd 24, 14, 15 # H4.H * X.H
296 vpmsumd 23, 12, 15 # H4.L * X.L
305 vpmsumd 24, 13, 15 # H4.L * X.H + H4.H * X.L
326 vpmsumd 24, 14, 15 # H4.H * X.H
348 vpmsumd 23, 12, 19 # H4.L * X.L
354 vpmsumd 24, 13, 19 # H4.L * X.H + H4.H * X.L
375 vpmsumd 24, 14, 19 # H4.H * X.H

12345