Home
last modified time | relevance | path

Searched full:link (Results 1 – 25 of 5061) sorted by relevance

12345678910>>...203

/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A 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"
63 const struct dc_link *link, in dc_get_edp_link_panel_inst() argument
70 if (link->connector_signal != SIGNAL_TYPE_EDP) in dc_get_edp_link_panel_inst()
74 if (link == edp_links[i]) in dc_get_edp_link_panel_inst()
81 bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason) in dc_link_detect() argument
83 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/dp/
H A Ddp_link.c50 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()
126 static int dp_link_parse_audio_channel_period(struct dp_link_private *link) in dp_link_parse_audio_channel_period() argument
129 struct dp_link_test_audio *req = &link->dp_link.test_audio; in dp_link_parse_audio_channel_period()
131 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH1); in dp_link_parse_audio_channel_period()
136 drm_dbg_dp(link->drm_dev, "test_audio_period_ch_1 = 0x%x\n", ret); in dp_link_parse_audio_channel_period()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddp.c34 static void drm_dp_link_reset(struct drm_dp_link *link) in drm_dp_link_reset() argument
38 if (!link) in drm_dp_link_reset()
41 link->revision = 0; in drm_dp_link_reset()
42 link->max_rate = 0; in drm_dp_link_reset()
43 link->max_lanes = 0; in drm_dp_link_reset()
45 drm_dp_link_caps_reset(&link->caps); in drm_dp_link_reset()
46 link->aux_rd_interval.cr = 0; in drm_dp_link_reset()
47 link->aux_rd_interval.ce = 0; in drm_dp_link_reset()
48 link->edp = 0; in drm_dp_link_reset()
50 link->rate = 0; in drm_dp_link_reset()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A 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 …]
H A 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 …]
H A Dlink_dp_dpia_bw.c34 link->ctx->logger
43 * - Is it USB4 link?
54 static void reset_bw_alloc_struct(struct dc_link *link) in reset_bw_alloc_struct() argument
56 link->dpia_bw_alloc_config.bw_alloc_enabled = false; in reset_bw_alloc_struct()
57 link->dpia_bw_alloc_config.link_verified_bw = 0; in reset_bw_alloc_struct()
58 link->dpia_bw_alloc_config.link_max_bw = 0; in reset_bw_alloc_struct()
59 link->dpia_bw_alloc_config.allocated_bw = 0; in reset_bw_alloc_struct()
60 link->dpia_bw_alloc_config.estimated_bw = 0; in reset_bw_alloc_struct()
61 link->dpia_bw_alloc_config.bw_granularity = 0; in reset_bw_alloc_struct()
62 link->dpia_bw_alloc_config.dp_overhead = 0; in reset_bw_alloc_struct()
[all …]
H A 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 …]
H A Dlink_dp_irq_handler.c37 #include "link/accessories/link_dp_trace.h"
38 #include "link/link_dpms.h"
44 struct dc_link *link, in dp_parse_link_loss_status() argument
57 if (link->cur_link_settings.lane_count == 0) in dp_parse_link_loss_status()
60 /*1. Check that Link Status changed, before re-training.*/ in dp_parse_link_loss_status()
63 for (lane = 0; lane < link->cur_link_settings.lane_count; lane++) { in dp_parse_link_loss_status()
76 * consider it as (link has been in dp_parse_link_loss_status()
85 if (link_dp_get_encoding_format(&link->cur_link_settings) == DP_128b_132b_ENCODING && in dp_parse_link_loss_status()
95 DC_LOG_HW_HPD_IRQ("%s: Link Status changed.\n", __func__); in dp_parse_link_loss_status()
100 * Not in "Display Timeout" state, Link is trained. in dp_parse_link_loss_status()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c27 * This file owns the creation/destruction of link structure.
55 /* link factory owns the creation/destruction of link structures. */
63 /* link_detection manages link detection states and receiver states by using
64 * various link protocols. It also provides helper functions to interpret
86 /* link resource implements accessors to link resource. */
94 /* link validation owns timing validation against various link limitations. (ex.
95 * link bandwidth, receiver capability or our hardware capability) It also
105 /* link dpms owns the programming sequence of stream's dpms state associated
106 * with the link and link's enable/disable sequences as result of the stream's
124 /* link ddc implements generic display communication protocols such as i2c, aux
[all …]
H A 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
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()
193 if (link->link_id.id == CONNECTOR_ID_PCIE) { in link_detect_sink_signal_type()
197 switch (link->link_id.id) { in link_detect_sink_signal_type()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dq_in_q_veto.sh28 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 \
60 ip link add name br0.100 link br0 type vlan \
[all …]
H A Dvxlan.sh45 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
74 ip link set dev vxlan0 master br0 &> /dev/null
[all …]
H A Dextack.sh22 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
48 ip link set dev $swp1 master br1
[all …]
H A Drtnetlink.sh49 ip link set dev $swp1 up
50 ip link set dev $swp2 up
57 ip link set dev $swp2 down
58 ip link set dev $swp1 down
67 ip link add name vrf-test type vrf table 10
68 ip link set dev $swp1 master vrf-test
77 ip link del dev vrf-test
91 ip link add name br1 up type bridge vlan_filtering 0
92 ip link set dev br1 addr $swp2_mac
93 ip link set dev $swp2 master br1
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A 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 …]
H A Dlink_dp_cts.c26 #include "link/link_resource.h"
27 #include "link/protocols/link_dpcd.h"
28 #include "link/protocols/link_dp_training.h"
29 #include "link/protocols/link_dp_phy.h"
30 #include "link/protocols/link_dp_training_fixed_vs_pe_retimer.h"
31 #include "link/protocols/link_dp_capability.h"
32 #include "link/link_dpms.h"
39 link->ctx->logger
79 static void dp_retrain_link_dp_test(struct dc_link *link, in dp_retrain_link_dp_test() argument
84 struct dc_state *state = link->dc->current_state; in dp_retrain_link_dp_test()
[all …]
/openbmc/linux/net/smc/
H A Dsmc_wr.c17 * SMC uses this to exchange LLC (link layer control)
44 struct smc_link *link; member
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
63 wait_event(link->wr_tx_wait, !smc_wr_is_tx_pend(link)); in smc_wr_tx_wait_no_pending_sends()
66 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() argument
70 for (i = 0; i < link->wr_tx_cnt; i++) { in smc_wr_tx_find_pending_index()
[all …]
/openbmc/linux/drivers/acpi/
H A Dpci_link.c3 * pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 34 $)
10 * 1. Support more than one IRQ resource entry per link device (index).
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
78 PCI Link Device Management
82 * set context (link) possible list from resource list
87 struct acpi_pci_link *link = context; in acpi_pci_link_check_possible() local
88 acpi_handle handle = link->device->handle; in acpi_pci_link_check_possible()
112 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
[all …]
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/
H A Dop-proc-control-systemd-links.bb23 LINK="$D$systemd_system_unitdir/obmc-host-stop@0.target.wants/op-stop-instructions@0.service"
25 ln -s $TARGET $LINK
27LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/op-clear-sys-dump-active@0.servic…
29 ln -s $TARGET $LINK
31 LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/op-stop-instructions@0.service"
33 ln -s $TARGET $LINK
35 LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.requires/op-cfam-reset.service"
37 ln -s $TARGET $LINK
39LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.wants/xyz.openbmc_project.Control.Host…
41 ln -s $TARGET $LINK
[all …]
/openbmc/linux/Documentation/networking/dsa/
H A Db53.rst67 ip link add link eth0 name eth0.1 type vlan id 1
68 ip link add link eth0 name eth0.2 type vlan id 2
69 ip link add link eth0 name eth0.3 type vlan id 3
72 ip link set eth0 up
73 ip link set eth0.1 up
74 ip link set eth0.2 up
75 ip link set eth0.3 up
78 ip link set wan up
79 ip link set lan1 up
80 ip link set lan2 up
[all …]
H A Dconfiguration.rst101 ip link set eth0 up
104 ip link set lan1 up
105 ip link set lan2 up
106 ip link set lan3 up
113 ip link set eth0 up
116 ip link set lan1 up
117 ip link set lan2 up
118 ip link set lan3 up
121 ip link add name br0 type bridge
124 ip link set dev lan1 master br0
[all …]
/openbmc/linux/drivers/pci/pcie/
H A Daspm.c3 * Enable PCIe link L0s/L1 state and Clock Power Management
46 struct pci_dev *pdev; /* Upstream component of the Link */
48 struct pcie_link_state *root; /* pointer to the root port link */
49 struct pcie_link_state *parent; /* pointer to the parent Link state */
107 static int policy_to_aspm_state(struct pcie_link_state *link) in policy_to_aspm_state() argument
120 return link->aspm_default; in policy_to_aspm_state()
125 static int policy_to_clkpm_state(struct pcie_link_state *link) in policy_to_clkpm_state() argument
136 return link->clkpm_default; in policy_to_clkpm_state()
141 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable) in pcie_set_clkpm_nocheck() argument
144 struct pci_bus *linkbus = link->pdev->subordinate; in pcie_set_clkpm_nocheck()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink.h31 * This header defines link component function interfaces aka link_service.
32 * link_service provides the only entry point to link functions with function
38 * The following shows a link component relation map.
44 * DC to Link:
45 * dc_link_exports.c or other dc files include link.h
46 * link_factory.c implements link.h
48 * Link sub-component to Link sub-component:
52 * As you can see if you ever need to add a new dc link function and call it on
55 * to extend or generalize the functionality of existing link function
56 * interfaces so minimal modification is needed outside link component to
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dio_fixed_vs_pe_retimer.c29 uint8_t dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(struct dc_link *link) in dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg() argument
32 if (link->cur_link_settings.lane_count == LANE_COUNT_FOUR) in dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg()
38 void dp_dio_fixed_vs_pe_retimer_exit_manual_automation(struct dc_link *link) in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() argument
40 const uint8_t dp_type = dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(link); in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
52 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
54 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
56 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
58 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
60 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
62 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation()
[all …]
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00link.c10 Abstract: rt2x00 generic link tuning routines.
38 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_link_rssi()
40 if (rt2x00dev->link.qual.rx_success) in rt2x00link_antenna_get_link_rssi()
48 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_rssi_history()
58 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_update_rssi_history()
64 ewma_rssi_init(&rt2x00dev->link.ant.rssi_ant); in rt2x00link_antenna_reset()
69 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_sample()
110 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_eval()
150 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity()
171 } else if (rt2x00dev->link.count & 1) { in rt2x00lib_antenna_diversity()
[all …]

12345678910>>...203