Home
last modified time | relevance | path

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

12345678910>>...49

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_exports.c27 * This file provides single entrance to link functionality declared in dc
29 * that directly calls link internal functions without adding new functional
32 * When exporting a new link related dc function, add function declaration in
34 * in this file which calls link functions.
36 #include "link.h"
43 return dc->links[link_index]; in dc_get_link_at_index()
53 for (i = 0; i < dc->link_count; i++) { in dc_get_edp_links()
55 if (!dc->links[i]) in dc_get_edp_links()
57 if (dc->links[i]->connector_signal == SIGNAL_TYPE_EDP) { in dc_get_edp_links()
58 edp_links[*edp_num] = dc->links[i]; in dc_get_edp_links()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/
Ddp_link.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__
50 struct dp_link_info *link) in dp_aux_link_power_up() argument
56 if (link->revision < 0x11) in dp_aux_link_power_up()
78 struct dp_link_info *link) in dp_aux_link_power_down() argument
83 if (link->revision < 0x11) in dp_aux_link_power_down()
100 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument
107 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period()
109 ret = -EINVAL; in dp_link_get_period()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
Ddp.c1 // SPDX-License-Identifier: MIT
3 * Copyright (C) 2013-2019 NVIDIA Corporation
17 caps->enhanced_framing = false; in drm_dp_link_caps_reset()
18 caps->tps3_supported = false; in drm_dp_link_caps_reset()
19 caps->fast_training = false; in drm_dp_link_caps_reset()
20 caps->channel_coding = false; in drm_dp_link_caps_reset()
21 caps->alternate_scrambler_reset = false; in drm_dp_link_caps_reset()
27 dest->enhanced_framing = src->enhanced_framing; in drm_dp_link_caps_copy()
28 dest->tps3_supported = src->tps3_supported; in drm_dp_link_caps_copy()
29 dest->fast_training = src->fast_training; in drm_dp_link_caps_copy()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddp.c1 // SPDX-License-Identifier: MIT
3 * Copyright (C) 2013-2019 NVIDIA Corporation
17 caps->enhanced_framing = false; in drm_dp_link_caps_reset()
18 caps->tps3_supported = false; in drm_dp_link_caps_reset()
19 caps->fast_training = false; in drm_dp_link_caps_reset()
20 caps->channel_coding = false; in drm_dp_link_caps_reset()
21 caps->alternate_scrambler_reset = false; in drm_dp_link_caps_reset()
27 dest->enhanced_framing = src->enhanced_framing; in drm_dp_link_caps_copy()
28 dest->tps3_supported = src->tps3_supported; in drm_dp_link_caps_copy()
29 dest->fast_training = src->fast_training; in drm_dp_link_caps_copy()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_capability.c27 * This file implements dp specific link capability retrieval sequence. It is
29 * from dp link. Link capability consists of encoders, DPRXs, cables, retimers,
31 * include this header file in order to access link capability. Accessing link
34 * structure used to represent link capability instead of function interfaces.
44 #include "link/accessories/link_dp_trace.h"
45 #include "link/link_detection.h"
46 #include "link/link_validation.h"
55 link->ctx->logger
71 /* This link training fallback array is ordered by
72 * link bandwidth from highest to lowest.
[all …]
Dlink_edp_panel_control.c50 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode) in dp_set_panel_mode() argument
70 link, in dp_set_panel_mode()
82 link, in dp_set_panel_mode()
90 link->panel_mode = panel_mode; in dp_set_panel_mode()
91 DC_LOG_DETECTION_DP_CAPS("Link: %d eDP panel mode supported: %d " in dp_set_panel_mode()
93 link->link_index, in dp_set_panel_mode()
94 link->dpcd_caps.panel_mode_edp, in dp_set_panel_mode()
98 enum dp_panel_mode dp_get_panel_mode(struct dc_link *link) in dp_get_panel_mode() argument
104 if (link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) { in dp_get_panel_mode()
106 switch (link->dpcd_caps.branch_dev_id) { in dp_get_panel_mode()
[all …]
Dlink_dp_dpia_bw.c34 link->ctx->logger
38 // ------------------------------------------------------------------
40 // ------------------------------------------------------------------
43 * - Is it USB4 link?
44 * - Is HPD HIGH?
45 * - Is BW Allocation Support Mode enabled on DP-Tx?
49 return (tmp && DISPLAY_ENDPOINT_USB4_DPIA == tmp->ep_type in get_bw_alloc_proceed_flag()
50 && tmp->hpd_status in get_bw_alloc_proceed_flag()
51 && tmp->dpia_bw_alloc_config.bw_alloc_enabled); in get_bw_alloc_proceed_flag()
54 static void reset_bw_alloc_struct(struct dc_link *link) in reset_bw_alloc_struct() argument
[all …]
Dlink_dp_phy.c30 * link settings.
41 link->ctx->logger
43 void dpcd_write_rx_power_ctrl(struct dc_link *link, bool on) in dpcd_write_rx_power_ctrl() argument
49 if (link->sync_lt_in_progress) in dpcd_write_rx_power_ctrl()
52 core_link_write_dpcd(link, DP_SET_POWER, &state, in dpcd_write_rx_power_ctrl()
58 struct dc_link *link, in dp_enable_link_phy() argument
64 link->cur_link_settings = *link_settings; in dp_enable_link_phy()
65 link->dc->hwss.enable_dp_link_output(link, link_res, signal, in dp_enable_link_phy()
67 dpcd_write_rx_power_ctrl(link, true); in dp_enable_link_phy()
70 void dp_disable_link_phy(struct dc_link *link, in dp_disable_link_phy() argument
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/
Dlink_factory.c27 * This file owns the creation/destruction of link structure.
55 /* link factory owns the creation/destruction of link structures. */
59 link_srv->create_link = link_create; in construct_link_service_factory()
60 link_srv->destroy_link = link_destroy; in construct_link_service_factory()
63 /* link_detection manages link detection states and receiver states by using
64 * various link protocols. It also provides helper functions to interpret
70 link_srv->detect_link = link_detect; in construct_link_service_detection()
71 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection()
72 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection()
73 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection()
[all …]
Dlink_detection.c27 * This file manages link detection states and receiver states by using various
28 * link protocols. It also provides helper functions to interpret certain
65 static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR";
164 static enum signal_type link_detect_sink_signal_type(struct dc_link *link, in link_detect_sink_signal_type() argument
170 if (link->is_dig_mapping_flexible) in link_detect_sink_signal_type()
173 enc_id = link->link_enc->id; in link_detect_sink_signal_type()
174 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type()
176 /* Use basic signal type for link without physical connector. */ in link_detect_sink_signal_type()
177 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type()
192 /* PCIE detects the actual connector on add-on board */ in link_detect_sink_signal_type()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_link.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__
49 struct dp_link_info *link) in dp_aux_link_power_up() argument
54 if (link->revision < 0x11) in dp_aux_link_power_up()
74 struct dp_link_info *link) in dp_aux_link_power_down() argument
79 if (link->revision < 0x11) in dp_aux_link_power_down()
96 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument
103 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period()
105 ret = -EINVAL; in dp_link_get_period()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Dq_in_q_veto.sh2 # SPDX-License-Identifier: GPL-2.0
28 ip link set dev $swp1 up
29 ip link set dev $swp2 up
38 ip link set dev $swp2 down
39 ip link set dev $swp1 down
49 ip link add dev br0 type bridge vlan_filtering 1 \
51 ip link set dev br0 addrgenmode none
53 ip link set dev br0 up
54 ip link set dev $swp1 master br0
56 ip link add name br0.100 link br0 type vlan \
[all …]
Dvxlan.sh2 # SPDX-License-Identifier: GPL-2.0
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
53 ip link set dev $swp2 down
54 ip link set dev $swp1 down
59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
64 ip link set dev $swp1 nomaster
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
[all …]
Dextack.sh2 # SPDX-License-Identifier: GPL-2.0
22 ip link set dev $swp1 up
23 ip link set dev $swp2 up
30 ip link set dev $swp2 down
31 ip link set dev $swp1 down
38 ip link add name br1 type bridge vlan_filtering 0 mcast_snooping 0
39 ip link set dev br1 addrgenmode none
40 ip link set dev br1 up
41 ip link add name vx1 up type vxlan id 1000 \
45 ip link set dev vx1 master br1
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_dp_trace.c26 #include "link/protocols/link_dpcd.h"
27 #include "link.h"
29 void dp_trace_init(struct dc_link *link) in dp_trace_init() argument
31 memset(&link->dp_trace, 0, sizeof(link->dp_trace)); in dp_trace_init()
32 link->dp_trace.is_initialized = true; in dp_trace_init()
35 void dp_trace_reset(struct dc_link *link) in dp_trace_reset() argument
37 memset(&link->dp_trace, 0, sizeof(link->dp_trace)); in dp_trace_reset()
40 bool dp_trace_is_initialized(struct dc_link *link) in dp_trace_is_initialized() argument
42 return link->dp_trace.is_initialized; in dp_trace_is_initialized()
45 void dp_trace_detect_lt_init(struct dc_link *link) in dp_trace_detect_lt_init() argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh2 # SPDX-License-Identifier: GPL-2.0
20 ip link set dev $swp1 up
21 ip link set dev $swp2 up
28 ip link set dev $swp2 down
29 ip link set dev $swp1 down
34 ip link set dev $swp1 master br0
36 ip link set dev vxlan0 master br0
39 ip link set dev $swp1 nomaster
41 ip link set dev $swp1 master br0
47 ip link set dev $swp1 master br0
[all …]
Drtnetlink.sh2 # SPDX-License-Identifier: GPL-2.0
44 ip link set dev $swp1 up
45 ip link set dev $swp2 up
52 ip link set dev $swp2 down
53 ip link set dev $swp1 down
72 ip link set dev $swp1 addr 00:11:22:33:44:55
80 | grep -q mlxsw_spectrum
83 ip link set dev $swp2 addr 00:11:22:33:44:66
90 ip link set dev $swp2 addr 00:11:22:33:00:66 &>/dev/null
92 ip link set dev $swp2 addr 00:11:22:33:00:66 2>&1 >/dev/null \
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c19 link->ctx->logger
38 /* to avoid infinite loop where-in the receiver
52 static uint32_t get_cr_training_aux_rd_interval(struct dc_link *link, in get_cr_training_aux_rd_interval() argument
60 link, in get_cr_training_aux_rd_interval()
70 struct dc_link *link, in get_eq_training_aux_rd_interval() argument
78 if (link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) { in get_eq_training_aux_rd_interval()
79 /* DP 1.2 or later - retrieve delay through in get_eq_training_aux_rd_interval()
82 link, in get_eq_training_aux_rd_interval()
95 struct dc_link *link, in wait_for_training_aux_rd_interval() argument
106 struct dc_link *link, in dpcd_set_training_pattern() argument
[all …]
Ddc_link.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
79 static void dc_link_destruct(struct dc_link *link) in dc_link_destruct() argument
83 if (link->hpd_gpio) { in dc_link_destruct()
84 dal_gpio_destroy_irq(&link->hpd_gpio); in dc_link_destruct()
85 link->hpd_gpio = NULL; in dc_link_destruct()
88 if (link->ddc) in dc_link_destruct()
89 dal_ddc_service_destroy(&link->ddc); in dc_link_destruct()
91 if (link->panel_cntl) in dc_link_destruct()
92 link->panel_cntl->funcs->destroy(&link->panel_cntl); in dc_link_destruct()
94 if (link->link_enc) in dc_link_destruct()
[all …]
/kernel/linux/linux-6.6/net/smc/
Dsmc_wr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
17 * SMC uses this to exchange LLC (link layer control)
44 struct smc_link *link; member
52 /*------------------------------- completion --------------------------------*/
54 /* returns true if at least one tx work request is pending on the given link */
55 static inline bool smc_wr_is_tx_pend(struct smc_link *link) in smc_wr_is_tx_pend() argument
57 return !bitmap_empty(link->wr_tx_mask, link->wr_tx_cnt); in smc_wr_is_tx_pend()
60 /* wait till all pending tx work requests on the given link are completed */
61 void smc_wr_tx_wait_no_pending_sends(struct smc_link *link) in smc_wr_tx_wait_no_pending_sends() argument
[all …]
/kernel/linux/linux-6.6/drivers/acpi/
Dpci_link.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 34 $)
10 * 1. Support more than one IRQ resource entry per link device (index).
12 * for IRQ management (e.g. start()->_SRS).
33 #define ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link"
52 * If a link is initialized, we never change its active and initialized
53 * later even the link is disable. Instead, we just repick the active irq
75 static int sci_irq = -1, sci_penalty;
77 /* --------------------------------------------------------------------------
78 PCI Link Device Management
[all …]
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Dconfiguration.rst1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
61 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
62 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7)
63 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11)
66 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
69 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
70 * wan: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
72 .. _dsa-tagged-configuration:
[all …]
/kernel/linux/linux-5.10/net/smc/
Dsmc_wr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
17 * SMC uses this to exchange LLC (link layer control)
44 struct smc_link *link; member
52 /*------------------------------- completion --------------------------------*/
54 /* returns true if at least one tx work request is pending on the given link */
55 static inline bool smc_wr_is_tx_pend(struct smc_link *link) in smc_wr_is_tx_pend() argument
57 if (find_first_bit(link->wr_tx_mask, link->wr_tx_cnt) != in smc_wr_is_tx_pend()
58 link->wr_tx_cnt) { in smc_wr_is_tx_pend()
64 /* wait till all pending tx work requests on the given link are completed */
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dpci_link.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 34 $)
10 * 1. Support more than one IRQ resource entry per link device (index).
12 * for IRQ management (e.g. start()->_SRS).
33 #define ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link"
52 * If a link is initialized, we never change its active and initialized
53 * later even the link is disable. Instead, we just repick the active irq
75 static int sci_irq = -1, sci_penalty;
77 /* --------------------------------------------------------------------------
78 PCI Link Device Management
[all …]
/kernel/linux/linux-6.6/Documentation/networking/dsa/
Db53.rst1 .. SPDX-License-Identifier: GPL-2.0
20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes
30 configuration described in the :ref:`dsa-config-showcases`.
33 ----------------------------------
38 See :ref:`dsa-tagged-configuration`.
41 -------------------------------------
48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`.
54 In difference to the configuration described in :ref:`dsa-vlan-configuration`
64 .. code-block:: sh
67 ip link add link eth0 name eth0.1 type vlan id 1
[all …]

12345678910>>...49