| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_link_exports.c | 27 * 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" 66 const struct dc_link *link, in dc_get_edp_link_panel_inst() argument 73 if (link->connector_signal != SIGNAL_TYPE_EDP) in dc_get_edp_link_panel_inst() 77 if (link == edp_links[i]) in dc_get_edp_link_panel_inst() 84 bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason) in dc_link_detect() argument 86 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
| D | dp_link.c | 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() 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | dp.c | 34 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| D | dp.c | 34 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/ |
| D | link_dp_capability.c | 27 * 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 …]
|
| D | link_edp_panel_control.c | 50 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 …]
|
| D | link_dp_dpia_bw.c | 34 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 …]
|
| D | link_dp_phy.c | 30 * 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/ |
| D | link_factory.c | 27 * 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 …]
|
| D | link_detection.c | 27 * 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | q_in_q_veto.sh | 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 \ 60 ip link add name br0.100 link br0 type vlan \ [all …]
|
| D | vxlan.sh | 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 74 ip link set dev vxlan0 master br0 &> /dev/null [all …]
|
| D | extack.sh | 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 48 ip link set dev $swp1 master br1 [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
| D | dp_link.c | 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() 122 static int dp_link_parse_audio_channel_period(struct dp_link_private *link) in dp_link_parse_audio_channel_period() argument 125 struct dp_link_test_audio *req = &link->dp_link.test_audio; in dp_link_parse_audio_channel_period() 127 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH1); in dp_link_parse_audio_channel_period() 134 ret = dp_link_get_period(link, DP_TEST_AUDIO_PERIOD_CH2); in dp_link_parse_audio_channel_period() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/accessories/ |
| D | link_dp_trace.c | 26 #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/ |
| D | vxlan.sh | 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 49 ip link set dev vxlan0 master br0 &> /dev/null [all …]
|
| D | rtnetlink.sh | 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 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 \ 101 ip link set dev $swp2 addr $swp2_mac 102 ip link set dev $swp1 addr $swp1_mac [all …]
|
| D | extack.sh | 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 up type bridge vlan_filtering 0 mcast_snooping 0 39 ip link add name vx1 up type vxlan id 1000 \ 43 ip link set dev vx1 master br1 46 ip link set dev $swp1 master br1 49 ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 0 50 ip link add name vx2 up type vxlan id 2000 \ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_link_dp.c | 19 link->ctx->logger 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() 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 110 link, in dpcd_set_training_pattern() 129 static enum dc_dp_training_pattern decide_eq_training_pattern(struct dc_link *link, in decide_eq_training_pattern() argument [all …]
|
| D | dc_link.c | 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() 95 link->link_enc->funcs->destroy(&link->link_enc); in dc_link_destruct() [all …]
|
| /kernel/linux/linux-6.6/net/smc/ |
| D | smc_wr.c | 17 * 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 …]
|
| /kernel/linux/linux-5.10/Documentation/networking/dsa/ |
| D | configuration.rst | 92 ip link set eth0 up 95 ip link set lan1 up 96 ip link set lan2 up 97 ip link set lan3 up 105 ip link set eth0 up 108 ip link set lan1 up 109 ip link set lan2 up 110 ip link set lan3 up 113 ip link add name br0 type bridge 116 ip link set dev lan1 master br0 [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | pci_link.c | 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). 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 …]
|
| /kernel/linux/linux-5.10/net/smc/ |
| D | smc_wr.c | 17 * 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 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 */ 65 void smc_wr_tx_wait_no_pending_sends(struct smc_link *link) in smc_wr_tx_wait_no_pending_sends() argument 67 wait_event(link->wr_tx_wait, !smc_wr_is_tx_pend(link)); in smc_wr_tx_wait_no_pending_sends() 70 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | pci_link.c | 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). 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 111 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible() 112 link->irq.possible_count++; in acpi_pci_link_check_possible() [all …]
|