Home
last modified time | relevance | path

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

123

/Linux-v5.4/net/ipv4/
Desp4_offload.c32 struct xfrm_offload *xo; in esp4_gro_receive() local
44 xo = xfrm_offload(skb); in esp4_gro_receive()
45 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
63 xo = xfrm_offload(skb); in esp4_gro_receive()
64 if (!xo) { in esp4_gro_receive()
70 xo->flags |= XFRM_GRO; in esp4_gro_receive()
96 struct xfrm_offload *xo = xfrm_offload(skb); in esp4_gso_encap() local
106 xo->proto = proto; in esp4_gso_encap()
123 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_gso_segment() local
126 ops = rcu_dereference(inet_offloads[xo->proto]); in xfrm4_transport_gso_segment()
[all …]
Desp4.c123 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
127 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
139 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
185 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_extra() local
187 if (xo) in esp_output_set_extra()
188 seqhi = xo->seq.hi; in esp_output_set_extra()
537 struct xfrm_offload *xo = xfrm_offload(skb); in esp_remove_trailer() local
549 if (xo && (xo->flags & XFRM_ESP_NO_TRAILER)) { in esp_remove_trailer()
550 ret = xo->proto; in esp_remove_trailer()
583 struct xfrm_offload *xo = xfrm_offload(skb); in esp_input_done2() local
[all …]
Dxfrm4_input.c54 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm4_transport_finish() local
68 if (xo && (xo->flags & XFRM_GRO)) { in xfrm4_transport_finish()
/Linux-v5.4/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()
85 xo = xfrm_offload(skb); in esp6_gro_receive()
86 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
133 xo->proto = proto; in esp6_gso_encap()
150 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_gso_segment() local
153 ops = rcu_dereference(inet6_offloads[xo->proto]); in xfrm6_transport_gso_segment()
[all …]
Desp6.c130 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_done() local
134 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
146 if (xo && (xo->flags & XFRM_DEV_RESUME)) { in esp_output_done()
187 struct xfrm_offload *xo = xfrm_offload(skb); in esp_output_set_esn() local
191 if (xo) in esp_output_set_esn()
192 esph->seq_no = htonl(xo->seq.hi); in esp_output_set_esn()
476 struct xfrm_offload *xo = xfrm_offload(skb); in esp_remove_trailer() local
488 if (xo && (xo->flags & XFRM_ESP_NO_TRAILER)) { in esp_remove_trailer()
489 ret = xo->proto; in esp_remove_trailer()
521 struct xfrm_offload *xo = xfrm_offload(skb); in esp6_input_done2() local
[all …]
Dxfrm6_input.c45 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm6_transport_finish() local
60 if (xo && (xo->flags & XFRM_GRO)) { in xfrm6_transport_finish()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c137 struct xfrm_offload *xo) in mlx5e_ipsec_set_swp() argument
153 if (xo->proto == IPPROTO_IPV6) { in mlx5e_ipsec_set_swp()
162 swp_spec.tun_l4_proto = xo->proto; in mlx5e_ipsec_set_swp()
169 struct xfrm_offload *xo) in mlx5e_ipsec_set_iv_esn() argument
179 seq_hi = xo->seq.hi - 1; in mlx5e_ipsec_set_iv_esn()
181 seq_hi = xo->seq.hi; in mlx5e_ipsec_set_iv_esn()
185 seqno = cpu_to_be64(xo->seq.low + ((u64)seq_hi << 32)); in mlx5e_ipsec_set_iv_esn()
191 struct xfrm_offload *xo) in mlx5e_ipsec_set_iv() argument
197 seqno = cpu_to_be64(xo->seq.low + ((u64)xo->seq.hi << 32)); in mlx5e_ipsec_set_iv()
204 struct xfrm_offload *xo) in mlx5e_ipsec_set_metadata() argument
[all …]
Dipsec_rxtx.h52 struct xfrm_offload *xo);
54 struct xfrm_offload *xo);
/Linux-v5.4/net/xfrm/
Dxfrm_device.c25 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local
30 if (xo->flags & XFRM_GSO_SEGMENT) { in __xfrm_transport_prep()
40 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_mode_tunnel_prep() local
42 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_mode_tunnel_prep()
84 struct xfrm_offload *xo = xfrm_offload(skb); in validate_xmit_xfrm() local
87 if (!xo) in validate_xmit_xfrm()
95 if (xo->flags & XFRM_GRO || x->xso.flags & XFRM_OFFLOAD_INBOUND) in validate_xmit_xfrm()
134 xo->flags |= XFRM_DEV_RESUME; in validate_xmit_xfrm()
159 xo = xfrm_offload(skb2); in validate_xmit_xfrm()
160 xo->flags |= XFRM_DEV_RESUME; in validate_xmit_xfrm()
Dxfrm_replay.c557 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload() local
560 if (!xo) in xfrm_replay_overflow_offload()
566 xo->seq.low = oseq; in xfrm_replay_overflow_offload()
569 xo->seq.low = oseq + 1; in xfrm_replay_overflow_offload()
574 xo->seq.hi = 0; in xfrm_replay_overflow_offload()
594 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_replay_overflow_offload_bmp() local
599 if (!xo) in xfrm_replay_overflow_offload_bmp()
605 xo->seq.low = oseq; in xfrm_replay_overflow_offload_bmp()
608 xo->seq.low = oseq + 1; in xfrm_replay_overflow_offload_bmp()
613 xo->seq.hi = 0; in xfrm_replay_overflow_offload_bmp()
[all …]
Dxfrm_input.c471 struct xfrm_offload *xo = xfrm_offload(skb); in xfrm_input() local
502 if (xo && (xo->flags & CRYPTO_DONE)) { in xfrm_input()
506 if (!(xo->status & CRYPTO_SUCCESS)) { in xfrm_input()
507 if (xo->status & in xfrm_input()
520 if (xo->status & CRYPTO_INVALID_PROTOCOL) { in xfrm_input()
722 xo = xfrm_offload(skb); in xfrm_input()
723 if (xo) in xfrm_input()
724 xfrm_gro = xo->flags & XFRM_GRO; in xfrm_input()
/Linux-v5.4/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>;
Dqcom,gpucc.txt12 - clock-names : shall be "xo"
23 clock-names = "xo";
Dqcom,rpmh-clk.txt16 - clock-names: Parent board clock: "xo".
/Linux-v5.4/drivers/remoteproc/
Dqcom_q6v5_pas.c46 struct clk *xo; member
87 ret = clk_prepare_enable(adsp->xo); in adsp_start()
126 clk_disable_unprepare(adsp->xo); in adsp_start()
138 clk_disable_unprepare(adsp->xo); in qcom_pas_handover()
186 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
187 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
188 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
Dqcom_q6v5_adsp.c71 struct clk *xo; member
181 ret = clk_prepare_enable(adsp->xo); in adsp_start()
236 clk_disable_unprepare(adsp->xo); in adsp_start()
247 clk_disable_unprepare(adsp->xo); in qcom_adsp_pil_handover()
298 adsp->xo = devm_clk_get(adsp->dev, "xo"); in adsp_init_clock()
299 if (IS_ERR(adsp->xo)) { in adsp_init_clock()
300 ret = PTR_ERR(adsp->xo); in adsp_init_clock()
/Linux-v5.4/Documentation/devicetree/bindings/remoteproc/
Dqcom,adsp.txt50 Definition: reference to the xo clock and optionally aggre2 clock to be
56 Definition: must be "xo" and optionally include "aggre2"
113 clock-names = "xo";
148 clock-names = "xo", "aggre2";
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.txt77 Definition: should specify the xo clock and optionally the rf clock
82 Definition: should be "xo", optionally followed by "rf"
130 clock-names = "xo", "rf";
/Linux-v5.4/arch/arm/boot/dts/
Dqcom-msm8974pro.dtsi11 clock-names = "core", "iface", "xo", "cal", "sleep";
/Linux-v5.4/Documentation/networking/
Dxfrm_device.txt120 xo = xfrm_offload(skb);
121 xo->flags = CRYPTO_DONE;
122 xo->status = crypto_status;
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c547 struct xfrm_offload *xo = NULL; in ixgbevf_ipsec_rx() local
597 xo = xfrm_offload(skb); in ixgbevf_ipsec_rx()
598 xo->flags = CRYPTO_DONE; in ixgbevf_ipsec_rx()
599 xo->status = CRYPTO_SUCCESS; in ixgbevf_ipsec_rx()
/Linux-v5.4/Documentation/devicetree/bindings/cpufreq/
Dcpufreq-qcom-hw.txt21 Definition: must be "xo", "alternate".
168 clock-names = "xo", "alternate";

123