Home
last modified time | relevance | path

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

1234

/Linux-v5.15/net/ipv6/
Desp6_offload.c53 struct xfrm_offload *xo; in esp6_gro_receive() local
66 xo = xfrm_offload(skb); in esp6_gro_receive()
67 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive()
87 xo = xfrm_offload(skb); in esp6_gro_receive()
88 if (!xo) in esp6_gro_receive()
92 xo->flags |= XFRM_GRO; in esp6_gro_receive()
123 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_gso_encap() local
140 xo->proto = proto; in esp6_gso_encap()
157 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_gso_segment() local
160 ops = rcu_dereference(inet6_offloads[xo->proto]); in xfrm6_transport_gso_segment()
[all …]
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()
741 struct xfrm_offload *xo = xfrm_offload(skb); in esp_remove_trailer() local
753 if (xo && (xo->flags & XFRM_ESP_NO_TRAILER)) { in esp_remove_trailer()
754 ret = xo->proto; in esp_remove_trailer()
786 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_input_done2() local
[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()
/Linux-v5.15/net/ipv4/
Desp4_offload.c32 struct xfrm_offload *xo; in esp4_gro_receive() local
43 xo = xfrm_offload(skb); in esp4_gro_receive()
44 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
64 xo = xfrm_offload(skb); in esp4_gro_receive()
65 if (!xo) in esp4_gro_receive()
69 xo->flags |= XFRM_GRO; in esp4_gro_receive()
95 struct xfrm_offload *xo = xfrm_offload(skb); in esp4_gso_encap() local
105 xo->proto = proto; in esp4_gso_encap()
122 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_gso_segment() local
125 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.c249 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
253 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
265 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
315 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_extra() local
317 if (xo) in esp_output_set_extra()
318 seqhi = xo->seq.hi; in esp_output_set_extra()
704 struct xfrm_offload *xo = xfrm_offload(skb); in esp_remove_trailer() local
716 if (xo && (xo->flags & XFRM_ESP_NO_TRAILER)) { in esp_remove_trailer()
717 ret = xo->proto; in esp_remove_trailer()
750 struct xfrm_offload *xo = xfrm_offload(skb); in esp_input_done2() local
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c137 struct xfrm_offload *xo) in mlx5e_ipsec_set_swp() argument
161 if (xo->proto == IPPROTO_IPV6) in mlx5e_ipsec_set_swp()
172 if (!xo->inner_ipproto) { in mlx5e_ipsec_set_swp()
173 switch (xo->proto) { in mlx5e_ipsec_set_swp()
186 switch (xo->inner_ipproto) { in mlx5e_ipsec_set_swp()
205 struct xfrm_offload *xo) in mlx5e_ipsec_set_iv_esn() argument
215 seq_hi = xo->seq.hi - 1; in mlx5e_ipsec_set_iv_esn()
217 seq_hi = xo->seq.hi; in mlx5e_ipsec_set_iv_esn()
221 seqno = cpu_to_be64(xo->seq.low + ((u64)seq_hi << 32)); in mlx5e_ipsec_set_iv_esn()
227 struct xfrm_offload *xo) in mlx5e_ipsec_set_iv() argument
[all …]
Dipsec_rxtx.h48 struct xfrm_offload *xo; member
61 struct xfrm_offload *xo);
63 struct xfrm_offload *xo);
99 struct xfrm_offload *xo = xfrm_offload(skb); in mlx5e_ipsec_feature_check() local
102 if (sp && sp->len && xo) { in mlx5e_ipsec_feature_check()
108 if (xo->inner_ipproto) { in mlx5e_ipsec_feature_check()
116 if (xo->inner_ipproto != IPPROTO_UDP && in mlx5e_ipsec_feature_check()
117 xo->inner_ipproto != IPPROTO_TCP) in mlx5e_ipsec_feature_check()
/Linux-v5.15/net/xfrm/
Dxfrm_device.c25 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local
28 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep()
38 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local
40 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep()
50 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_beet_prep() local
53 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_beet_prep()
108 struct xfrm_offload *xo = xfrm_offload(skb); in validate_xmit_xfrm() local
112 if (!xo || (xo->flags & XFRM_XMIT)) in validate_xmit_xfrm()
120 if (xo->flags & XFRM_GRO || x->xso.flags & XFRM_OFFLOAD_INBOUND) in validate_xmit_xfrm()
158 xo->flags |= XFRM_DEV_RESUME; in validate_xmit_xfrm()
[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.c475 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_input() local
506 if (xo && (xo->flags & CRYPTO_DONE)) { in xfrm_input()
510 if (!(xo->status & CRYPTO_SUCCESS)) { in xfrm_input()
511 if (xo->status & in xfrm_input()
524 if (xo->status & CRYPTO_INVALID_PROTOCOL) { in xfrm_input()
726 xo = xfrm_offload(skb); in xfrm_input()
727 if (xo) in xfrm_input()
728 xfrm_gro = xo->flags & XFRM_GRO; in xfrm_input()
/Linux-v5.15/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";
Dqcom,spmi-clkdiv.txt29 Definition: reference to the xo clock.
34 Definition: must be "xo".
51 clock-names = "xo";
Dmaxim,max9485.txt34 xo-27mhz: xo-27mhz {
45 clocks = <&xo-27mhz>;
/Linux-v5.15/drivers/remoteproc/
Dqcom_q6v5_adsp.c72 struct clk *xo; member
190 ret = clk_prepare_enable(adsp->xo); in adsp_start()
247 clk_disable_unprepare(adsp->xo); in adsp_start()
258 clk_disable_unprepare(adsp->xo); in qcom_adsp_pil_handover()
317 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
318 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
319 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
Dqcom_q6v5_pas.c54 struct clk *xo; member
162 ret = clk_prepare_enable(adsp->xo); in adsp_start()
201 clk_disable_unprepare(adsp->xo); in adsp_start()
219 clk_disable_unprepare(adsp->xo); in qcom_pas_handover()
286 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
287 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
288 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dipq6018.dtsi25 xo: xo { label
250 clocks = <&xo>, <&sleep_clk>;
251 clock-names = "xo", "sleep_clk";
498 clocks = <&a53pll>, <&xo>;
499 clock-names = "pll", "xo";
507 clocks = <&xo>;
508 clock-names = "xo";
632 <&xo>;
Dipq8074.dtsi20 xo: xo { label
101 <&xo>;
127 <&xo>;
144 <&xo>;
170 <&xo>;
305 clocks = <&xo>,
308 clock-names = "xo", "iface", "core";
/Linux-v5.15/Documentation/devicetree/bindings/remoteproc/
Dqcom,q6v5.txt73 must be "xo", "gcc_abhs_cbcr", "gcc_abhs_cbcr",
80 must be "iface", "bus", "mem", "xo"
82 must be "iface", "bus", "mem", "xo", "gpll0_mss",
85 must be "iface", "bus", "mem", "xo", "gpll0_mss",
88 must be "iface", "bus", "xo", "snoc_axi", "mnoc_axi",
91 must be "iface", "bus", "mem", "xo", "gpll0_mss",
Dqcom,hexagon-v56.txt40 "xo", "sway_cbcr", "lpass_ahbs_aon_cbcr",
49 "xo", "sway", "tbu", "bimc", "ahb_aon", "q6ss_slave",
123 clock-names = "xo", "sway_cbcr",
Dqcom,wcnss-pil.txt95 Definition: should specify the xo clock and optionally the rf clock
100 Definition: should be "xo", optionally followed by "rf"
149 clock-names = "xo", "rf";
/Linux-v5.15/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath10k.txt68 "vdd-1.8-xo", "vdd-1.3-rfa", "vdd-3.3-ch0",
90 - qcom,xo-cal-data: xo cal offset to be configured in xo trim register.
205 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
/Linux-v5.15/arch/arm/boot/dts/
Dqcom-msm8974pro.dtsi11 clock-names = "core", "iface", "xo", "cal", "sleep";
/Linux-v5.15/Documentation/networking/
Dxfrm_device.rst133 xo = xfrm_offload(skb);
134 xo->flags = CRYPTO_DONE;
135 xo->status = crypto_status;
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c558 struct xfrm_offload *xo = NULL; in ixgbevf_ipsec_rx() local
608 xo = xfrm_offload(skb); in ixgbevf_ipsec_rx()
609 xo->flags = CRYPTO_DONE; in ixgbevf_ipsec_rx()
610 xo->status = CRYPTO_SUCCESS; in ixgbevf_ipsec_rx()

1234