Home
last modified time | relevance | path

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

12345678910>>...45

/openbmc/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
27 * This component encapsulates the Ethernet link glue needed to provide
28 * one (!) network link through the USB gadget stack, normally "usb0".
35 * Link level addressing is handled by this component using module
36 * parameters; if no such parameters are provided, random link level
37 * addresses are used. Each end of the link uses one address. The
41 * The driver which assembles each configuration using such a link is
[all …]
/openbmc/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 …]
/openbmc/openbmc-test-automation/bin/
H A Dpython3 # This script is a wrapper for programs that may have alternate versions (e.g. python2, python3). …
5 # name>_VERSION (e.g. PYTHON_VERSION, ROBOT_VERSION, etc.) environment variable.
7 # Users would be expected to create a link with the base name of the program that points to this fi…
10 # cd openbmc-test-automation/bin
11 # ln -s select_version python
13 # The PATH variable should contain the expanded path to openbmc-test-automation/bin.
17 # to the name of the program (e.g. if PYTHON_VERSION = "3", then python3 will be used.). If <progr…
28 local target_program_path_var="${1:-target_program_path}" ; shift
47 # The typical use of this program would be to create a link to it like this:
48 # ln -s select_version python
[all …]
H A Dselect_version3 # This script is a wrapper for programs that may have alternate versions (e.g. python2, python3). …
5 # name>_VERSION (e.g. PYTHON_VERSION, ROBOT_VERSION, etc.) environment variable.
7 # Users would be expected to create a link with the base name of the program that points to this fi…
10 # cd openbmc-test-automation/bin
11 # ln -s select_version python
13 # The PATH variable should contain the expanded path to openbmc-test-automation/bin.
17 # to the name of the program (e.g. if PYTHON_VERSION = "3", then python3 will be used.). If <progr…
28 local target_program_path_var="${1:-target_program_path}" ; shift
47 # The typical use of this program would be to create a link to it like this:
48 # ln -s select_version python
[all …]
H A Drobot3 # This script is a wrapper for programs that may have alternate versions (e.g. python2, python3). …
5 # name>_VERSION (e.g. PYTHON_VERSION, ROBOT_VERSION, etc.) environment variable.
7 # Users would be expected to create a link with the base name of the program that points to this fi…
10 # cd openbmc-test-automation/bin
11 # ln -s select_version python
13 # The PATH variable should contain the expanded path to openbmc-test-automation/bin.
17 # to the name of the program (e.g. if PYTHON_VERSION = "3", then python3 will be used.). If <progr…
28 local target_program_path_var="${1:-target_program_path}" ; shift
47 # The typical use of this program would be to create a link to it like this:
48 # ln -s select_version python
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \
71 ip link set dev br0 up
73 ip link set dev $swp1 master br0
[all …]
H A Dbridge_igmp.sh2 # SPDX-License-Identifier: GPL-2.0
59 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
61 ip link set dev $swp1 master br0
62 ip link set dev $swp2 master br0
64 ip link set dev br0 up
65 ip link set dev $swp1 up
66 ip link set dev $swp2 up
71 ip link set dev $swp2 down
72 ip link set dev $swp1 down
74 ip link del dev br0
[all …]
H A Dbridge_mld.sh2 # SPDX-License-Identifier: GPL-2.0
89 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
93 ip link set dev $swp1 master br0
94 ip link set dev $swp2 master br0
96 ip link set dev br0 up
97 ip link set dev $swp1 up
98 ip link set dev $swp2 up
106 ip link set dev $swp2 down
107 ip link set dev $swp1 down
109 ip link del dev br0
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \
71 ip link set dev br0 up
73 ip link set dev $swp1 master br0
[all …]
H A Dbridge_mld.sh2 # SPDX-License-Identifier: GPL-2.0
89 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
93 ip link set dev $swp1 master br0
94 ip link set dev $swp2 master br0
96 ip link set dev br0 up
97 ip link set dev $swp1 up
98 ip link set dev $swp2 up
106 ip link set dev $swp2 down
107 ip link set dev $swp1 down
109 ip link del dev br0
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/
H A Dphosphor-state-manager-systemd-links.inc2 multi-user.target.wants/obmc-host-reset@{}.target \
3 multi-user.target.wants/phosphor-discover-system-state@{}.service \
4 obmc-host-start@{}.target.requires/obmc-host-startmin@{}.target \
5 obmc-host-start@{}.target.requires/phosphor-reset-host-reboot-attempts@{}.service \
6 obmc-host-startmin@{}.target.wants/phosphor-set-host-transition-to-running@{}.service \
7 obmc-host-stop@{}.target.wants/phosphor-set-host-transition-to-off@{}.service \
8 obmc-host-reset@{}.target.requires/phosphor-reset-host-running@{}.service \
9 obmc-host-stop@{}.target.wants/phosphor-reset-sensor-states@{}.service \
10 obmc-host-shutdown@{}.target.requires/obmc-host-stop@{}.target \
11 obmc-host-graceful-quiesce@{}.target.wants/obmc-host-quiesce@{}.target \
[all …]
/openbmc/linux/drivers/rpmsg/
H A Dqcom_glink_ssr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
15 * struct do_cleanup_msg - The data structure for an SSR do_cleanup message
16 * @version: The G-Link SSR protocol version
17 * @command: The G-Link SSR command - do_cleanup
20 * @name: G-Link edge name of the subsystem being restarted
31 * struct cleanup_done_msg - The data structure for an SSR cleanup_done message
32 * @version: The G-Link SSR protocol version
33 * @response: The G-Link SSR response to a do_cleanup command, cleanup_done
43 * G-Link SSR protocol commands
[all …]
/openbmc/skeleton/libopenbmc_intf/
H A Dopenbmc_intf.c2 * This file is generated by gdbus-codegen, do not modify it.
4 * The license of this code is the same as for the D-Bus interface description
45 #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
46 #define g_marshal_value_peek_char(v) (v)->data[0].v_int
47 #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
48 #define g_marshal_value_peek_int(v) (v)->data[0].v_int
49 #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
50 #define g_marshal_value_peek_long(v) (v)->data[0].v_long
51 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
52 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
[all …]
/openbmc/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 */
147 * The default link width is multiplied by 1000
300 * struct cc_state combines the (active) per-port congestion control
301 * table, and the (active) per-SL congestion settings. cc_state data
390 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3))
404 * get_link_speed - determine whether 12.5G or 25G speed
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/Documentation/networking/device_drivers/wwan/
H A Dt7xx.rst1 .. SPDX-License-Identifier: GPL-2.0-only
3 .. Copyright (C) 2020-21 Intel Corporation
8 t7xx driver for MTK PCIe based T700 5G modem
11 for data exchange over PCIe interface between Host platform & MediaTek's T700 5G modem.
13 application (e.g. Modem Manager) could easily manage the MBIM interface to enable
26 - mbimcli (included with the libmbim [2] library), and
27 - Modem Manager [3]
32 - open the MBIM control channel
33 - configure network connection settings
34 - connect to network
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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
/openbmc/phosphor-mrw-tools/
H A Dgen_callouts.pl31 my $targets = Targets->new;
32 $targets->loadXML($mrwFile);
40 …s/devices/platform/ahb/ahb:apb/ahb:apb:bus\@1e78a000/1e78a100.i2c-bus/i2c-<port>/<port>-00<address…
41 my $fsiMasterPath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/raw";
42 my $fsiSlavePath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/00:00:00:0a/fsi1/slave\@<link>…
56 my $connections = $targets->findConnections($bmc, "I2C");
57 # hash of arrays - {I2C master port : list of connected slave Targets}
60 for my $i2c (@{$connections->{CONN}})
62 my $master = $i2c->{SOURCE};
63 my $port = $targets->getAttribute($master,"I2C_PORT");
[all …]
/openbmc/linux/Documentation/networking/
H A Drepresentors.rst1 .. SPDX-License-Identifier: GPL-2.0
8 used to control internal switching on SmartNICs. For the closely-related port
9 representors on physical (multi-port) switches, see
13 ----------
15 Since the mid-2010s, network cards have started offering more complex
16 virtualisation capabilities than the legacy SR-IOV approach (with its simple
17 MAC/VLAN-based switching model) can support. This led to a desire to offload
18 software-defined networks (such as OpenVSwitch) to these NICs to specify the
23 virtual switches and IOV devices. Just as each physical port of a Linux-
35 As a virtual link endpoint, the representor can be configured like any other
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dusdt.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
24 /* libbpf's USDT support consists of BPF-side state/code and user-space
25 * state/code working together in concert. BPF-side parts are defined in
26 * usdt.bpf.h header library. User-space state is encapsulated by struct
30 * and IP-to-spec-ID map, which is auxiliary map necessary for kernels that
38 * USDT-related until the very first call to bpf_program__attach_usdt(), which
42 * store it in bpf_object. USDT manager is per-BPF object construct, as each
44 * the expected USDT-related state. There is no coordination between two
46 * existence and libbpf is just oblivious, dealing with bpf_object-specific
51 * From user-space application's point of view, USDT is essentially just
[all …]
/openbmc/linux/drivers/staging/most/Documentation/
H A Ddriver_usage.txt5 access a MOST network: The Automotive Information Backbone and the de-facto
6 standard for high-bandwidth automotive multimedia networking.
9 for the efficient and low-cost transport of control, real-time and packet
43 interfaces (e.g. USB, MediaLB, I2C) the hardware provides.
76 of the embedded struct device (e.g. the bus this device belongs to and
104 Standard networking applications (e.g. iperf) can by used to access
108 Standard video applications (e.g. VLC) can by used to access the
112 Standard sound applications (e.g. aplay, arecord, audacity) can by
118 Section 2.1 Configuration and Data Link
125 directory will be used as a reference for the link and it will contain the
[all …]

12345678910>>...45