Home
last modified time | relevance | path

Searched refs:xo (Results 1 – 25 of 112) sorted by relevance

12345

/Linux-v6.6/net/ipv4/
Desp4_offload.c34 struct xfrm_offload *xo; in esp4_gro_receive() local
45 xo = xfrm_offload(skb); in esp4_gro_receive()
46 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
66 xo = xfrm_offload(skb); in esp4_gro_receive()
67 if (!xo) in esp4_gro_receive()
71 xo->flags |= XFRM_GRO; in esp4_gro_receive()
97 struct xfrm_offload *xo = xfrm_offload(skb); in esp4_gso_encap() local
107 xo->proto = proto; in esp4_gso_encap()
126 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_gso_segment() local
129 ops = rcu_dereference(inet_offloads[xo->proto]); in xfrm4_transport_gso_segment()
[all …]
Dxfrm4_input.c49 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_finish() local
63 if (xo && (xo->flags & XFRM_GRO)) { in xfrm4_transport_finish()
Desp4.c250 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
254 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
266 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
316 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_extra() local
318 if (xo) in esp_output_set_extra()
319 seqhi = xo->seq.hi; in esp_output_set_extra()
749 struct xfrm_offload *xo = xfrm_offload(skb); in esp_input_done2() local
754 if (!xo || !(xo->flags & CRYPTO_DONE)) in esp_input_done2()
/Linux-v6.6/net/ipv6/
Desp6_offload.c55 struct xfrm_offload *xo; in esp6_gro_receive() local
67 xo = xfrm_offload(skb); in esp6_gro_receive()
68 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive()
88 xo = xfrm_offload(skb); in esp6_gro_receive()
89 if (!xo) in esp6_gro_receive()
93 xo->flags |= XFRM_GRO; in esp6_gro_receive()
124 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_gso_encap() local
141 xo->proto = proto; in esp6_gso_encap()
160 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_gso_segment() local
163 ops = rcu_dereference(inet6_offloads[xo->proto]); in xfrm6_transport_gso_segment()
[all …]
Dxfrm6_input.c43 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_finish() local
58 if (xo && (xo->flags & XFRM_GRO)) { in xfrm6_transport_finish()
Desp6.c284 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
288 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
302 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
352 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_esn() local
354 if (xo) in esp_output_set_esn()
355 seqhi = xo->seq.hi; in esp_output_set_esn()
786 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_input_done2() local
791 if (!xo || !(xo->flags & CRYPTO_DONE)) in esp6_input_done2()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c77 struct xfrm_offload *xo) in mlx5e_ipsec_set_swp() argument
100 if (xo->proto == IPPROTO_IPV6) in mlx5e_ipsec_set_swp()
103 switch (xo->inner_ipproto) { in mlx5e_ipsec_set_swp()
121 if (!xo->inner_ipproto) { in mlx5e_ipsec_set_swp()
122 switch (xo->proto) { in mlx5e_ipsec_set_swp()
135 switch (xo->inner_ipproto) { in mlx5e_ipsec_set_swp()
154 struct xfrm_offload *xo) in mlx5e_ipsec_set_iv_esn() argument
164 seq_hi = xo->seq.hi - 1; in mlx5e_ipsec_set_iv_esn()
166 seq_hi = xo->seq.hi; in mlx5e_ipsec_set_iv_esn()
170 seqno = cpu_to_be64(xo->seq.low + ((u64)seq_hi << 32)); in mlx5e_ipsec_set_iv_esn()
[all …]
Dipsec_rxtx.h49 struct xfrm_offload *xo; member
59 struct xfrm_offload *xo);
61 struct xfrm_offload *xo);
93 struct xfrm_offload *xo = xfrm_offload(skb); in mlx5e_ipsec_feature_check() local
96 if (sp && sp->len && xo) { in mlx5e_ipsec_feature_check()
102 if (xo->inner_ipproto) { in mlx5e_ipsec_feature_check()
110 if (xo->inner_ipproto != IPPROTO_UDP && in mlx5e_ipsec_feature_check()
111 xo->inner_ipproto != IPPROTO_TCP) in mlx5e_ipsec_feature_check()
/Linux-v6.6/net/xfrm/
Dxfrm_device.c26 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local
29 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep()
39 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local
41 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep()
51 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_beet_prep() local
54 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_beet_prep()
103 struct xfrm_offload *xo = xfrm_offload(skb); in xmit_xfrm_check_overflow() local
104 __u32 seq = xo->seq.low; in xmit_xfrm_check_overflow()
107 if (unlikely(seq < xo->seq.low)) in xmit_xfrm_check_overflow()
121 struct xfrm_offload *xo = xfrm_offload(skb); in validate_xmit_xfrm() local
[all …]
Dxfrm_replay.c616 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload() local
619 if (!xo) in xfrm_replay_overflow_offload()
625 xo->seq.low = oseq; in xfrm_replay_overflow_offload()
628 xo->seq.low = oseq + 1; in xfrm_replay_overflow_offload()
633 xo->seq.hi = 0; in xfrm_replay_overflow_offload()
654 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload_bmp() local
659 if (!xo) in xfrm_replay_overflow_offload_bmp()
665 xo->seq.low = oseq; in xfrm_replay_overflow_offload_bmp()
668 xo->seq.low = oseq + 1; in xfrm_replay_overflow_offload_bmp()
673 xo->seq.hi = 0; in xfrm_replay_overflow_offload_bmp()
[all …]
Dxfrm_input.c462 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_input() local
493 if (xo && (xo->flags & CRYPTO_DONE)) { in xfrm_input()
497 if (!(xo->status & CRYPTO_SUCCESS)) { in xfrm_input()
498 if (xo->status & in xfrm_input()
511 if (xo->status & CRYPTO_INVALID_PROTOCOL) { in xfrm_input()
705 xo = xfrm_offload(skb); in xfrm_input()
706 if (xo) in xfrm_input()
707 xfrm_gro = xo->flags & XFRM_GRO; in xfrm_input()
Dxfrm_output.c658 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_get_inner_ipproto() local
661 if (!xo) in xfrm_get_inner_ipproto()
667 xo->inner_ipproto = ip_hdr(skb)->protocol; in xfrm_get_inner_ipproto()
670 xo->inner_ipproto = ipv6_hdr(skb)->nexthdr; in xfrm_get_inner_ipproto()
684 xo->inner_ipproto = skb->inner_ipproto; in xfrm_get_inner_ipproto()
695 xo->inner_ipproto = inner_ipv6_hdr(skb)->nexthdr; in xfrm_get_inner_ipproto()
698 xo->inner_ipproto = inner_ip_hdr(skb)->protocol; in xfrm_get_inner_ipproto()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfd3/
Dipsec.c13 struct xfrm_offload *xo = xfrm_offload(skb); in nfp_nfd3_ipsec_tx() local
24 l4_proto = xo->proto; in nfp_nfd3_ipsec_tx()
26 l4_proto = xo->inner_ipproto; in nfp_nfd3_ipsec_tx()
/Linux-v6.6/Documentation/devicetree/bindings/clock/
Dqcom,hfpll.txt26 Definition: reference to the xo clock.
31 Definition: must be "xo".
48 clock-names = "xo";
58 clock-names = "xo";
Dmaxim,max9485.txt34 xo-27mhz: xo-27mhz {
45 clocks = <&xo-27mhz>;
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/crypto/
Dipsec.c566 struct xfrm_offload *xo = xfrm_offload(skb); in nfp_net_ipsec_tx_prep() local
573 offload_info->seq_hi = xo->seq.hi; in nfp_net_ipsec_tx_prep()
574 offload_info->seq_low = xo->seq.low; in nfp_net_ipsec_tx_prep()
583 struct xfrm_offload *xo; in nfp_net_ipsec_rx() local
608 xo = xfrm_offload(skb); in nfp_net_ipsec_rx()
609 xo->flags = CRYPTO_DONE; in nfp_net_ipsec_rx()
610 xo->status = CRYPTO_SUCCESS; in nfp_net_ipsec_rx()
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dipq8074.dtsi24 xo: xo { label
135 <&xo>;
162 <&xo>;
178 <&xo>;
205 <&xo>;
383 clocks = <&xo>, <&sleep_clk>;
384 clock-names = "xo", "sleep_clk";
430 <&xo>;
431 clock-names = "iface", "core", "xo";
722 clocks = <&a53pll>, <&xo>;
[all …]
Dipq6018.dtsi25 xo: xo { label
230 <&xo>;
245 <&gcc GCC_USB0_PHY_CFG_AHB_CLK>, <&xo>;
272 <&xo>;
388 clocks = <&xo>, <&sleep_clk>;
389 clock-names = "xo", "sleep_clk";
579 clocks = <&xo>;
622 clocks = <&a53pll>, <&xo>;
623 clock-names = "pll", "xo";
631 clocks = <&xo>;
[all …]
Dipq5332.dtsi23 xo_board: xo-board-clk {
215 clock-names = "iface", "core", "xo";
339 clock-names = "pll", "xo";
348 clock-names = "xo";
/Linux-v6.6/drivers/remoteproc/
Dqcom_q6v5_adsp.c87 struct clk *xo; member
396 ret = clk_prepare_enable(adsp->xo); in adsp_start()
453 clk_disable_unprepare(adsp->xo); in adsp_start()
466 clk_disable_unprepare(adsp->xo); in qcom_adsp_pil_handover()
547 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
548 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
549 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
Dqcom_q6v5_pas.c62 struct clk *xo; member
259 ret = clk_prepare_enable(adsp->xo); in adsp_start()
337 clk_disable_unprepare(adsp->xo); in adsp_start()
358 clk_disable_unprepare(adsp->xo); in qcom_pas_handover()
439 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
440 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
441 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
/Linux-v6.6/arch/arm/boot/dts/qcom/
Dqcom-msm8974pro.dtsi18 clock-names = "iface", "core", "xo", "cal", "sleep";
Dqcom-ipq4019.dtsi150 xo: xo { label
193 clocks = <&xo>, <&sleep_clk>;
194 clock-names = "xo", "sleep_clk";
235 <&xo>;
238 "xo";
Dqcom-msm8226.dtsi72 clock-names = "xo";
186 clock-names = "iface", "core", "xo";
202 clock-names = "iface", "core", "xo";
218 clock-names = "iface", "core", "xo";
391 clock-names = "xo",
409 clock-names = "xo",
768 clock-names = "xo";
/Linux-v6.6/drivers/media/platform/via/
DKconfig13 Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems

12345