Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/net/ipv4/
Desp4_offload.c35 struct xfrm_offload *xo; in esp4_gro_receive() local
47 xo = xfrm_offload(skb); in esp4_gro_receive()
48 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
53 if (skb->sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive()
56 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive()
57 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive()
62 skb->sp->xvec[skb->sp->len++] = x; in esp4_gro_receive()
63 skb->sp->olen++; in esp4_gro_receive()
65 xo = xfrm_offload(skb); in esp4_gro_receive()
66 if (!xo) { in esp4_gro_receive()
[all …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/net/ipv6/
Desp6_offload.c38 if (likely(ipv6_hdr->nexthdr == NEXTHDR_ESP)) in esp6_nexthdr_esp_offset()
43 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset()
56 struct xfrm_offload *xo; in esp6_gro_receive() local
69 xo = xfrm_offload(skb); in esp6_gro_receive()
70 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive()
75 if (skb->sp->len == XFRM_MAX_DEPTH) in esp6_gro_receive()
78 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp6_gro_receive()
79 (xfrm_address_t *)&ipv6_hdr(skb)->daddr, in esp6_gro_receive()
84 skb->sp->xvec[skb->sp->len++] = x; in esp6_gro_receive()
85 skb->sp->olen++; in esp6_gro_receive()
[all …]
Desp6.c54 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0]))
77 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
98 crypto_aead_alignmask(aead) + 1) : tmp + seqhilen; in esp_tmp_iv()
114 return (void *)ALIGN((unsigned long)(req + 1) + in esp_req_sg()
121 struct crypto_aead *aead = x->data; in esp_ssg_unref()
127 if (x->props.flags & XFRM_STATE_ESN) in esp_ssg_unref()
134 * Skip the first sg which comes from skb->data. in esp_ssg_unref()
136 if (req->src != req->dst) in esp_ssg_unref()
137 for (sg = sg_next(req->src); sg; sg = sg_next(sg)) in esp_ssg_unref()
143 struct sk_buff *skb = base->data; in esp_output_done()
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/drivers/staging/olpc_dcon/
DKconfig9 In order to support very low power operation, the XO laptop uses a
19 bool "OLPC XO-1 DCON support"
23 Enable support for the DCON in XO-1 model laptops. The kernel
24 communicates with the DCON using model-specific code. If you
25 have an XO-1 (or if you're unsure what model you have), you should
29 bool "OLPC XO-1.5 DCON support"
33 Enable support for the DCON in XO-1.5 model laptops. The kernel
34 communicates with the DCON using model-specific code. If you
35 have an XO-1.5 (or if you're unsure what model you have), you
/kernel/linux/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 …]
/kernel/linux/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 …]
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 …]
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 …]
/kernel/linux/linux-4.19/net/xfrm/
Dxfrm_replay.c2 * xfrm_replay.c - xfrm replay detection, derived from xfrm_state.c.
18 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
27 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_seqhi()
29 if (!(x->props.flags & XFRM_STATE_ESN)) in xfrm_replay_seqhi()
33 seq_hi = replay_esn->seq_hi; in xfrm_replay_seqhi()
34 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()
36 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()
43 seq_hi--; in xfrm_replay_seqhi()
54 * 1. we updated on of the sequence numbers, and the seqno difference in xfrm_replay_notify()
55 * is at least x->replay_maxdiff, in this case we also update the in xfrm_replay_notify()
[all …]
Dxfrm_device.c2 * xfrm_device.c - IPsec device offloading code.
34 struct xfrm_offload *xo = xfrm_offload(skb); in validate_xmit_xfrm() local
36 if (!xo || (xo->flags & XFRM_XMIT)) in validate_xmit_xfrm()
42 x = skb->sp->xvec[skb->sp->len - 1]; in validate_xmit_xfrm()
43 if (xo->flags & XFRM_GRO || x->xso.flags & XFRM_OFFLOAD_INBOUND) in validate_xmit_xfrm()
48 err = !skb_queue_empty(&sd->xfrm_backlog); in validate_xmit_xfrm()
56 xo->flags |= XFRM_XMIT; in validate_xmit_xfrm()
59 struct net_device *dev = skb->dev; in validate_xmit_xfrm()
61 if (unlikely(x->xso.dev != dev)) { in validate_xmit_xfrm()
71 atomic_long_inc(&dev->tx_dropped); in validate_xmit_xfrm()
[all …]
/kernel/linux/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()
/kernel/linux/linux-4.19/arch/x86/include/asm/
Dolpc.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * and the minor build number within 0x000f. Pre-builds have a minor
42 return (olpc_platform_info.flags & OLPC_F_PRESENT) ? 1 : 0; in machine_is_olpc()
51 return (olpc_platform_info.flags & OLPC_F_DCON) ? 1 : 0; in olpc_has_dcon()
55 * The "Mass Production" version of OLPC's XO is identified as being model
59 * Geode LX CPUs. There were also some hand-assembled models floating
111 #define EC_SCI_SRC_EBOOK 0x10 /* XO-1 only */
112 #define EC_SCI_SRC_WLAN 0x20 /* XO-1 only */
115 #define EC_SCI_SRC_GPWAKE 0x100 /* XO-1.5 only */
120 #define OLPC_GPIO_MIC_AC 1
/kernel/linux/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 …]
/kernel/linux/linux-4.19/arch/x86/platform/olpc/
Dolpc.c5 * Copyright © 2007-2008 Andres Salomon <dilinger@debian.org>
23 #include <linux/olpc-ec.h>
44 if (get_option(&str, &ec_timeout) != 1) { in olpc_ec_timeout_set()
46 printk(KERN_ERR "olpc-ec: invalid argument to " in olpc_ec_timeout_set()
49 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", in olpc_ec_timeout_set()
51 return 1; in olpc_ec_timeout_set()
75 for (timeo = ec_timeout; state != desired && timeo; timeo--) { in __wait_on_ibf()
76 mdelay(1); in __wait_on_ibf()
81 timeo < (ec_timeout - EC_BASE_TIMEOUT)) { in __wait_on_ibf()
82 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for IBF!\n", in __wait_on_ibf()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
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 …]
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 …]
/kernel/linux/linux-4.19/drivers/remoteproc/
Dqcom_adsp_pil.c6 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
54 struct clk *xo; member
80 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_load()
82 return qcom_mdt_load(adsp->dev, fw, rproc->firmware, adsp->pas_id, in adsp_load()
83 adsp->mem_region, adsp->mem_phys, adsp->mem_size, in adsp_load()
84 &adsp->mem_reloc); in adsp_load()
90 struct qcom_adsp *adsp = (struct qcom_adsp *)rproc->priv; in adsp_start()
93 qcom_q6v5_prepare(&adsp->q6v5); in adsp_start()
95 ret = clk_prepare_enable(adsp->xo); in adsp_start()
99 ret = clk_prepare_enable(adsp->aggre2_clk); in adsp_start()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/remoteproc/
Dqcom,adsp.txt6 - compatible:
10 "qcom,msm8974-adsp-pil"
11 "qcom,msm8996-adsp-pil"
12 "qcom,msm8996-slpi-pil"
14 - interrupts-extended:
16 Value type: <prop-encoded-array>
18 stop-ack IRQs
20 - interrupt-names:
23 Definition: must be "wdog", "fatal", "ready", "handover", "stop-ack"
25 - clocks:
[all …]

12345678910>>...12