Home
last modified time | relevance | path

Searched +full:g +full:- +full:link (Results 1 – 25 of 1055) sorted by relevance

12345678910>>...43

/linux/drivers/usb/gadget/function/
H A Du_ether.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * u_ether.h -- interface to USB gadget "ethernet link" utilities
5 * Copyright (C) 2003-2005,2008 David Brownell
6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
42 * This represents the USB side of an "ethernet" link, managed by a USB
44 * in different configurations could share the same ethernet link/netdev,
47 * There is a current limitation that only one instance of this link may
91 struct eth_dev *gether_setup_name(struct usb_gadget *g,
96 /* gether_setup - initialize one ethernet-over-usb link
97 * @g: gadget to associated with these links
[all …]
H A Du_ether.c1 // SPDX-License-Identifier: GPL-2.0+
3 * u_ether.c -- Ethernet-over-USB link layer utilities for Gadget stack
5 * Copyright (C) 2003-2005,2008 David Brownell
6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
28 * This component encapsulates the Ethernet link glue needed to provide
29 * one (!) network link through the USB gadget stack, normally "usb0".
36 * Link level addressing is handled by this component using module
37 * parameters; if no such parameters are provided, random link level
38 * addresses are used. Each end of the link uses one address. The
42 * The driver which assembles each configuration using such a link is
[all …]
/linux/Documentation/livepatch/
H A Dreliable-stacktrace.rst19 functions with live state, and best-effort approaches which can be helpful for
38 * The return code is non-zero to indicate that the trace is not reliable.
47 function should attempt to detect such cases and return a non-zero error
52 3. Compile-time analysis
76 --------------------------------------
84 * Dynamically generated code (e.g. eBPF) or foreign code (e.g. EFI runtime
89 architectures verify that a stacktrace ends at an expected location, e.g.
95 * On a specific stack expected for a kernel entry point (e.g. if the
99 -------------------------------
101 Unwinding typically relies on code following specific conventions (e.g.
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-------
[all...]
H A Dbridge_igmp.sh2 # SPDX-License-Identifier: GPL-2.0
73 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
75 ip link set dev $swp1 master br0
76 ip link set dev $swp2 master br0
78 ip link set dev br0 up
79 ip link set dev $swp1 up
80 ip link set dev $swp2 up
85 ip link se
[all...]
H A Dbridge_mld.sh2 # SPDX-License-Identifier: GPL-2.0
102 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
106 ip link set dev $swp1 master br0
107 ip link set dev $swp2 master br0
109 ip link set dev br0 up
110 ip link set dev $swp1 up
111 ip link set dev $swp2 up
119 ip link se
[all...]
H A Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
8 declare -A NETIFS=(
43 # Constants for netdevice bring-up:
47 # Like INTERFACE_TIMEOUT, but default for ad-hoc waiting in testing scripts.
84 # Whether the machine is "slow" -- i.e. might be incapable of running tests
86 # e.g. a low-powe
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright(c) 2015 - 2017 Intel Corporation.
38 #define OPA_NOTICE_TRAP_LWDE_CHG 0x08 /* Link Width Downgrade Enable
41 #define OPA_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */
42 #define OPA_NOTICE_TRAP_LWE_CHG 0x02 /* Link Width Enable changed */
146 * The default link width is multiplied by 1000
299 * struct cc_state combines the (active) per-port congestion control
300 * table, and the (active) per-SL congestion settings. cc_state data
389 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3))
403 * get_link_speed - determine whether 12.5G or 25G speed
[all …]
/linux/Documentation/networking/device_drivers/ethernet/netronome/
H A Dnfp.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
14 - `Overview`_
15 - `Acquiring Firmware`_
16 - `Devlink Info`_
17 - `Configure Device`_
18 - `Statistics`_
25 are also incorporated in the companies' family of Agilio SmartNICs. The SR-IOV
35 Firmware files on the host filesystem contain card type (`AMDA-*` string), media
40 `linux-firmware.git` repository.
46 -----------------
[all …]
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Dixgbe.rst1 .. SPDX-License-Identifier: GPL-2.0+
8 Copyright(c) 1999-2018 Intel Corporation.
13 - Identifying Your Adapter
14 - Command Line Parameters
15 - Additional Configurations
16 - Known Issues
17 - Support
36 ----------------------------------
38 82599-BASED ADAPTERS
41 - If your 82599-based Intel(R) Network Adapter came with Intel optics or is an
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dnixge.txt4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for
5 older device trees with DMA engines co-located in the address map,
7 - reg: Address and length of the register set for the device. It contains the
8 information of registers in the same order as described by reg-names.
9 - reg-names: Should contain the reg names
12 - interrupts: Should contain tx and rx interrupt
13 - interrupt-names: Should be "rx" and "tx"
14 - phy-mode: See ethernet.txt file in the same directory.
15 - nvmem-cells: Phandle of nvmem cell containing the MAC address
16 - nvmem-cell-names: Should be "address"
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net35 Values vary based on the lower-level protocol used by the
45 Format is a string, e.g: 00:11:22:33:44:55 for an Ethernet MAC
53 Bitmask to allow forwarding of link local frames with address
54 01-80-C2-00-00-0X on a bridge device. Only values that set bits
57 Default value 0 does not forward any link local frames.
62 0 01-80-C2-00-00-00 Bridge Group Address used for STP
63 1 01-80-C2-00-00-01 (MAC Control) 802.3 used for MAC PAUSE
64 2 01-80-C2-00-00-02 (Link Aggregation) 802.3ad
68 care when forwarding control frames e.g. 802.1X-PAE or LLDP.
76 string, e.g: ff:ff:ff:ff:ff:ff for an Ethernet broadcast MAC
[all …]
H A Dsysfs-driver-xdata1 What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
6 will create write TLPs frames - from the Root Complex to the
12 Usage e.g.
13 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
15 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
17 The user can read the current PCIe link throughput generated
20 Usage e.g.
21 cat /sys/class/misc/dw-xdata-pcie.<device>/write
26 What: /sys/class/misc/dw-xdata-pcie.<device>/read
31 will create read TLPs frames - from the Endpoint to the Root
[all …]
/linux/Documentation/networking/
H A Drepresentors.rst1 .. SPDX-License-Identifier: GPL-2.0
9 used to control internal switching on SmartNICs. For the closely-related port
10 representors on physical (multi-port) switches, see
14 ----------
16 Since the mid-2010s, network cards have started offering more complex
17 virtualisation capabilities than the legacy SR-IOV approach (with its simple
18 MAC/VLAN-based switching model) can support. This led to a desire to offload
19 software-defined networks (such as OpenVSwitch) to these NICs to specify the
24 virtual switches and IOV devices. Just as each physical port of a Linux-
36 As a virtual link endpoint, the representor can be configured like any other
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
64 return -EPERM; in mlx5_port_set_eth_ptys()
101 err = -EINVAL; in mlx5e_port_linkspeed()
104 *speed = info->speed; in mlx5e_port_linkspeed()
118 return -ENOMEM; in mlx5e_port_query_pbmc()
135 return -ENOMEM; in mlx5e_port_set_pbmc()
229 err = -ENOMEM; in mlx5e_port_query_priority2buffer()
261 err = -ENOMEM; in mlx5e_port_set_priority2buffer()
315 #define MLX5E_FEC_OVERRIDE_ADMIN_POLICY(buf, policy, write, link) \ argument
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/dma-mapping.h>
18 #include "cdnsp-gadget.h"
19 #include "cdnsp-trace.h"
42 seg->trbs = dma_pool_zalloc(pdev->segment_pool, flags, &dma); in cdnsp_segment_alloc()
43 if (!seg->trbs) { in cdnsp_segment_alloc()
49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA); in cdnsp_segment_alloc()
50 if (!seg->bounce_buf) in cdnsp_segment_alloc()
57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc()
59 seg->dma = dma; in cdnsp_segment_alloc()
[all …]
/linux/tools/perf/scripts/perl/Perf-Trace-Util/
H A DMakefile.PL1 # SPDX-License-Identifier: GPL-2.0
9 PREREQ_PM => {}, # e.g., Module::Name => 1.1
13 LIBS => [''], # e.g., '-lm'
14 DEFINE => '-I ../..', # e.g., '-DHAVE_SOMETHING'
15 INC => '-I.', # e.g., '-I. -I/usr/include/other'
16 # Un-comment this if you add C files to link with later:
17 OBJECT => 'Context.o', # link all the C files too
/linux/include/linux/soundwire/
H A Dsdw_intel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
43 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1)
44 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24_576 (24576 / SDW_CADENCE_GSYNC_KHZ - 1)
45 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1)
46 #define SDW_SHIM_SYNC_SYNCPRD_VAL_96 (96000 / SDW_CADENCE_GSYNC_KHZ - 1)
117 * ACE2.x definitions for SHIM registers - only accessible when the
118 * HDAudio extended link LCTL.SPA/CPA = 1.
120 /* x variable is link index */
126 /* Read-only capabilities */
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,glink-rpm-edge.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm G-Link RPM edge
10 Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource
14 - Bjorn Andersson <andersson@kernel.org>
18 const: qcom,glink-rpm
30 - description: rpm_hlos mailbox in APCS
32 qcom,remote-pid:
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1 // SPDX-License-Identifier: GPL-2.0+
31 status->an_complete = true; in decode_sgmii_word()
33 status->link = false; in decode_sgmii_word()
39 status->speed = SPEED_10; in decode_sgmii_word()
42 status->speed = SPEED_100; in decode_sgmii_word()
45 status->speed = SPEED_1000; in decode_sgmii_word()
48 status->link = false; in decode_sgmii_word()
52 status->duplex = DUPLEX_FULL; in decode_sgmii_word()
54 status->duplex = DUPLEX_HALF; in decode_sgmii_word()
59 status->link = !(lp_abil & ADVERTISE_RFAULT) && status->link; in decode_cl37_word()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_main.c7 * Copyright (c) 2003-2016 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
36 static int debug = -1;
65 (CN23XX_DEFAULT_INPUT_JABBER - OCTNIC_GSO_MAX_HEADER_SIZE)
75 struct octeon_device_priv *oct_priv = oct->priv; in lio_wait_for_oq_pkts()
84 if (!(oct->io_qmask.oq & BIT_ULL(i))) in lio_wait_for_oq_pkts()
86 pkt_cnt += octeon_droq_check_hw_for_pkts(oct->droq[i]); in lio_wait_for_oq_pkts()
90 tasklet_schedule(&oct_priv->droq_tasklet); in lio_wait_for_oq_pkts()
95 } while (retry-- && pending_pkts); in lio_wait_for_oq_pkts()
101 * pcierror_quiesce_device - Cause device to go quiet so it can be safely removed/reset/etc
[all …]
/linux/Documentation/networking/device_drivers/wwan/
H A Diosm.rst1 .. SPDX-License-Identifier: GPL-2.0-only
3 .. Copyright (C) 2020-21 Intel Corporation
24 - mbimcli (included with the libmbim [2] library), and
25 - Modem Manager [3]
29 - open the MBIM control channel
30 - configure network connection settings
31 - connect to network
32 - configure IP network interface
37 described in [1] Mobile Broadband Interface Model v1.0 Errata-1.
40 ----------------------------------
[all …]
/linux/drivers/acpi/
H A Dnhlt.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright(c) 2023-2024 Intel Corporation
28 * acpi_nhlt_get_gbl_table - Retrieve a pointer to the first NHLT table.
47 * acpi_nhlt_put_gbl_table - Release the global NHLT table.
56 * acpi_nhlt_endpoint_match - Verify if an endpoint matches criteria.
58 * @link_type: the hardware link type, e.g.: PDM or SSP.
72 (link_type < 0 || ep->link_type == link_type) && in acpi_nhlt_endpoint_match()
73 (dev_type < 0 || ep->device_type == dev_type) && in acpi_nhlt_endpoint_match()
74 (bus_id < 0 || ep->virtual_bus_id == bus_id) && in acpi_nhlt_endpoint_match()
75 (dir < 0 || ep->direction == dir); in acpi_nhlt_endpoint_match()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-dir665.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
10 #include "kirkwood-6281.dtsi"
13 model = "D-Link DIR-665";
14 compatible = "dlink,dir-665", "marvell,kirkwood-88f6281", "marvell,kirkwood";
23 stdout-path = &uart0;
27 pinctrl: pin-controller@10000 {
28 pinctrl-0 =< &pmx_led_usb
35 pinctrl-names = "default";
37 pmx_led_usb: pmx-led-usb {
[all …]
/linux/Documentation/sound/designs/
H A Dtimestamping.rst7 - Trigger_tstamp is the system time snapshot taken when the .trigger
11 estimate with a delay. In the latter two cases, the low-level driver
17 - tstamp is the current system timestamp updated during the last
19 The difference (tstamp - trigger_tstamp) defines the elapsed time.
29 - ``avail`` reports how much can be written in the ring buffer
30 - ``delay`` reports the time it will take to hear a new sample after all
43 ascii-art, this could be represented as follows (for the playback
47 --------------------------------------------------------------> time
50 analog link dma app FullBuffer
53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->|
[all …]

12345678910>>...43