Home
last modified time | relevance | path

Searched +full:xo +full:- +full:1 (Results 1 – 25 of 174) sorted by relevance

1234567

/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
60 __be16 mss_inv; /* 1/MSS in 16bit fixed point, only for LSO */
80 /* Pre-calculated (Q0.16) fixed-point inverse 1/x function */
85 return mlx5e_ipsec_inverse_table[skb_shinfo(skb)->gso_size]; in mlx5e_ipsec_mss_inv()
94 return ERR_PTR(-ENOMEM); in mlx5e_ipsec_add_metadata()
97 skb->mac_header -= sizeof(*mdata); in mlx5e_ipsec_add_metadata()
98 mdata = (struct mlx5e_ipsec_metadata *)(eth + 1); in mlx5e_ipsec_add_metadata()
100 memmove(skb->data, skb->data + sizeof(*mdata), in mlx5e_ipsec_add_metadata()
103 eth->h_proto = cpu_to_be16(MLX5E_METADATA_ETHER_TYPE); in mlx5e_ipsec_add_metadata()
[all …]
/linux-5.10/net/ipv4/
Desp4_offload.c1 // SPDX-License-Identifier: GPL-2.0-only
32 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()
51 if (sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive()
54 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive()
55 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive()
60 skb->mark = xfrm_smark_get(skb->mark, x); in esp4_gro_receive()
62 sp->xvec[sp->len++] = x; in esp4_gro_receive()
63 sp->olen++; in esp4_gro_receive()
[all …]
Desp4.c1 // SPDX-License-Identifier: GPL-2.0-only
36 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0]))
56 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
77 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
93 return (void *)ALIGN((unsigned long)(req + 1) + in esp_req_sg()
101 struct crypto_aead *aead = x->data; in esp_ssg_unref()
107 if (x->props.flags & XFRM_STATE_ESN) in esp_ssg_unref()
115 * Skip the first sg which comes from skb->data. in esp_ssg_unref()
117 if (req->src != req->dst) in esp_ssg_unref()
118 for (sg = sg_next(req->src); sg; sg = sg_next(sg)) in esp_ssg_unref()
[all …]
/linux-5.10/net/ipv6/
Desp6_offload.c1 // SPDX-License-Identifier: GPL-2.0-only
35 if (likely(ipv6_hdr->nexthdr == NEXTHDR_ESP)) in esp6_nexthdr_esp_offset()
40 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset()
53 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()
73 if (sp->len == XFRM_MAX_DEPTH) in esp6_gro_receive()
76 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp6_gro_receive()
77 (xfrm_address_t *)&ipv6_hdr(skb)->daddr, in esp6_gro_receive()
82 skb->mark = xfrm_smark_get(skb->mark, x); in esp6_gro_receive()
[all …]
Desp6.c1 // SPDX-License-Identifier: GPL-2.0-or-later
52 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0]))
73 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
94 crypto_aead_alignmask(aead) + 1) : tmp + seqhilen; in esp_tmp_iv()
110 return (void *)ALIGN((unsigned long)(req + 1) + in esp_req_sg()
118 struct crypto_aead *aead = x->data; in esp_ssg_unref()
124 if (x->props.flags & XFRM_STATE_ESN) in esp_ssg_unref()
131 * Skip the first sg which comes from skb->data. in esp_ssg_unref()
133 if (req->src != req->dst) in esp_ssg_unref()
134 for (sg = sg_next(req->src); sg; sg = sg_next(sg)) in esp_ssg_unref()
[all …]
/linux-5.10/net/xfrm/
Dxfrm_replay.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * xfrm_replay.c - xfrm replay detection, derived from xfrm_state.c.
15 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_seqhi()
17 if (!(x->props.flags & XFRM_STATE_ESN)) in xfrm_replay_seqhi()
21 seq_hi = replay_esn->seq_hi; in xfrm_replay_seqhi()
22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()
24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()
31 seq_hi--; in xfrm_replay_seqhi()
42 * 1. we updated on of the sequence numbers, and the seqno difference in xfrm_replay_notify()
43 * is at least x->replay_maxdiff, in this case we also update the in xfrm_replay_notify()
[all …]
Dxfrm_device.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * xfrm_device.c - IPsec device offloading code.
25 struct xfrm_offload *xo = xfrm_offload(skb); in __xfrm_transport_prep() local
28 if (xo->flags & XFRM_GSO_SEGMENT) in __xfrm_transport_prep()
29 skb->transport_header -= x->props.header_len; in __xfrm_transport_prep()
31 pskb_pull(skb, skb_transport_offset(skb) + x->props.header_len); 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()
41 skb->transport_header = skb->network_header + hsize; in __xfrm_mode_tunnel_prep()
44 pskb_pull(skb, skb->mac_len + x->props.header_len); in __xfrm_mode_tunnel_prep()
[all …]
/linux-5.10/Documentation/devicetree/bindings/clock/
Dqcom,a53pll.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sivaprakash Murugesan <sivaprak@codeaurora.org>
14 frequencies above 1GHz.
19 - qcom,ipq6018-a53pll
20 - qcom,msm8916-a53pll
23 maxItems: 1
25 '#clock-cells':
30 - description: board XO clock
[all …]
Dqcom,hfpll.txt1 High-Frequency PLL (HFPLL)
5 - compatible:
11 "qcom,hfpll-ipq8064", "qcom,hfpll"
12 "qcom,hfpll-apq8064", "qcom,hfpll"
13 "qcom,hfpll-msm8974", "qcom,hfpll"
14 "qcom,hfpll-msm8960", "qcom,hfpll"
16 - reg:
18 Value type: <prop-encoded-array>
23 - clocks:
25 Value type: <prop-encoded-array>
[all …]
Dqcom,msm8998-gpucc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/clock/qcom,msm8998-gpucc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Taniya Das <tdas@codeaurora.org>
16 See also dt-bindings/clock/qcom,gpucc-msm8998.h.
20 const: qcom,msm8998-gpucc
24 - description: Board XO source
25 - description: GPLL0 main branch source (gcc_gpu_gpll0_clk_src)
27 clock-names:
[all …]
Dmaxim,max9485.txt5 - MAX9485_MCLKOUT: A gated, buffered output of the input clock of 27 MHz
6 - MAX9485_CLKOUT: A PLL that can be configured to 16 different discrete
8 - MAX9485_CLKOUT[1,2]: Two gated outputs for MAX9485_CLKOUT
10 MAX9485_CLKOUT[1,2] are children of MAX9485_CLKOUT which upchain all rate set
14 - compatible: "maxim,max9485"
15 - clocks: Input clock, must provice 27.000 MHz
16 - clock-names: Must be set to "xclk"
17 - #clock-cells: From common clock binding; shall be set to 1
20 - reset-gpios: GPIO descriptor connected to the #RESET input pin
21 - vdd-supply: A regulator node for Vdd
[all …]
Dqcom,spmi-clkdiv.txt11 - compatible
14 Definition: must be "qcom,spmi-clkdiv".
16 - reg
18 Value type: <prop-encoded-array>
21 - qcom,num-clkdivs
26 - clocks:
28 Value type: <prop-encoded-array>
29 Definition: reference to the xo clock.
31 - clock-names:
34 Definition: must be "xo".
[all …]
Dqcom,gcc-msm8998.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/clock/qcom,gcc-msm8998.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Stephen Boyd <sboyd@kernel.org>
11 - Taniya Das <tdas@codeaurora.org>
18 - dt-bindings/clock/qcom,gcc-msm8998.h
22 const: qcom,gcc-msm8998
26 - description: Board XO source
27 - description: Sleep clock source
[all …]
/linux-5.10/include/linux/
Dolpc-ec.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 /* XO-1 EC commands */
23 #define EC_SCI_SRC_BATTERY BIT(1)
26 #define EC_SCI_SRC_EBOOK BIT(4) /* XO-1 only */
27 #define EC_SCI_SRC_WLAN BIT(5) /* XO-1 only */
30 #define EC_SCI_SRC_GPWAKE BIT(8) /* XO-1.5 only */
62 size_t outlen) { return -ENODEV; } in olpc_ec_cmd()
/linux-5.10/Documentation/devicetree/bindings/interconnect/
Dqcom,osm-l3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interconnect/qcom,osm-l3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sibi Sankar <sibis@codeaurora.org>
20 - qcom,sc7180-osm-l3
21 - qcom,sdm845-osm-l3
22 - qcom,sm8150-osm-l3
23 - qcom,sm8250-epss-l3
26 maxItems: 1
[all …]
/linux-5.10/drivers/clk/qcom/
Dmmcc-msm8998.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/clk-provider.h>
15 #include <linux/reset-controller.h>
17 #include <dt-bindings/clock/qcom,mmcc-msm8998.h>
20 #include "clk-regmap.h"
21 #include "clk-regmap-divider.h"
22 #include "clk-alpha-pll.h"
23 #include "clk-rcg.h"
24 #include "clk-branch.h"
51 .mult = 1,
[all …]
Dgcc-ipq4019.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/clk-provider.h>
14 #include <linux/reset-controller.h>
19 #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
22 #include "clk-regmap.h"
23 #include "clk-rcg.h"
24 #include "clk-branch.h"
26 #include "clk-regmap-divider.h"
46 * struct clk_fepll_vco - vco feedback divider corresponds for FEPLL clocks
62 * struct clk_fepll - clk divider corresponds to FEPLL clocks
[all …]
/linux-5.10/drivers/remoteproc/
Dqcom_q6v5_adsp.c1 // SPDX-License-Identifier: GPL-2.0
72 struct clk *xo; member
108 val = readl(adsp->qdsp6ss_base + RET_CFG_REG); in qcom_adsp_shutdown()
110 writel(val, adsp->qdsp6ss_base + RET_CFG_REG); in qcom_adsp_shutdown()
112 clk_bulk_disable_unprepare(adsp->num_clks, adsp->clks); in qcom_adsp_shutdown()
115 ret = regmap_read(adsp->halt_map, in qcom_adsp_shutdown()
116 adsp->halt_lpass + LPASS_PWR_ON_REG, &val); in qcom_adsp_shutdown()
120 ret = regmap_read(adsp->halt_map, in qcom_adsp_shutdown()
121 adsp->halt_lpass + LPASS_MASTER_IDLE_REG, in qcom_adsp_shutdown()
126 regmap_write(adsp->halt_map, in qcom_adsp_shutdown()
[all …]
/linux-5.10/arch/powerpc/xmon/
Dppc-opc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* ppc-opc.c -- PowerPC opcode list
3 Copyright (C) 1994-2016 Free Software Foundation, Inc.
27 inserting operands into instructions and vice-versa is kept in this
139 #define BA UNUSED + 1
147 #define BAT BA + 1
151 #define BB BAT + 1
157 #define BBA BB + 1
165 #define BD BBA + 1
170 #define BDA BD + 1
[all …]
/linux-5.10/arch/x86/platform/olpc/
Dolpc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright © 2007-2008 Andres Salomon <dilinger@debian.org>
19 #include <linux/olpc-ec.h>
37 if (get_option(&str, &ec_timeout) != 1) { in olpc_ec_timeout_set()
39 printk(KERN_ERR "olpc-ec: invalid argument to " in olpc_ec_timeout_set()
42 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", in olpc_ec_timeout_set()
44 return 1; in olpc_ec_timeout_set()
68 for (timeo = ec_timeout; state != desired && timeo; timeo--) { in __wait_on_ibf()
69 mdelay(1); in __wait_on_ibf()
74 timeo < (ec_timeout - EC_BASE_TIMEOUT)) { in __wait_on_ibf()
[all …]
Dolpc-xo15-sci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for OLPC XO-1.5 System Control Interrupts (SCI)
5 * Copyright (C) 2009-2010 One Laptop per Child
12 #include <linux/olpc-ec.h>
17 #define DRV_NAME "olpc-xo15-sci"
20 #define XO15_SCI_DEVICE_NAME "OLPC XO-1.5 SCI"
26 * The normal ACPI LID wakeup behavior is wake-on-open, but not
27 * wake-on-close. This is implemented as standard by the XO-1.5 DSDT.
30 * wake-on-close behavior. This is useful (e.g.) when we oportunistically
34 * This is controlled through a custom method in the XO-1.5 DSDT.
[all …]
/linux-5.10/arch/arm64/boot/dts/qcom/
Dipq6018.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/clock/qcom,gcc-ipq6018.h>
10 #include <dt-bindings/reset/qcom,gcc-ipq6018.h>
11 #include <dt-bindings/clock/qcom,apss-ipq.h>
14 #address-cells = <2>;
15 #size-cells = <2>;
16 interrupt-parent = <&intc>;
19 sleep_clk: sleep-clk {
20 compatible = "fixed-clock";
[all …]
/linux-5.10/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath10k.txt4 - compatible: Should be one of the following:
6 * "qcom,ipq4019-wifi"
7 * "qcom,wcn3990-wifi"
10 data along with board specific data via "qcom,ath10k-calibration-data".
13 AHB based devices (i.e. ipq4019) uses compatible string "qcom,ipq4019-wifi"
15 "qcom,ath10k-calibration-data"). It uses "qcom,ath10k-pre-calibration-data"
18 In general, entry "qcom,ath10k-pre-calibration-data" and
19 "qcom,ath10k-calibration-data" conflict with each other and only one
22 SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi".
24 - reg: Address and length of the register set for the device.
[all …]
/linux-5.10/arch/arm/boot/dts/
Dmmp2-olpc-xo-1-75.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * OLPC XO 1.75 Laptop.
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "OLPC XO-1.75";
16 compatible = "olpc,xo-1.75", "mrvl,mmp2";
19 #address-cells = <1>;
20 #size-cells = <1>;
[all …]
/linux-5.10/Documentation/devicetree/bindings/remoteproc/
Dqcom,adsp.txt6 - compatible:
10 "qcom,msm8974-adsp-pil"
11 "qcom,msm8996-adsp-pil"
12 "qcom,msm8996-slpi-pil"
13 "qcom,msm8998-adsp-pas"
14 "qcom,msm8998-slpi-pas"
15 "qcom,qcs404-adsp-pas"
16 "qcom,qcs404-cdsp-pas"
17 "qcom,qcs404-wcss-pas"
18 "qcom,sc7180-mpss-pas"
[all …]

1234567