/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_link_exports.c | 83 return link->dc->link_srv->detect_link(link, reason); in dc_link_detect() 94 return link->dc->link_srv->get_status(link); in dc_link_get_status() 110 link->dc->link_srv->clear_dprx_states(link); in dc_link_clear_dprx_states() 137 struct dc_link *link = pipe_ctx->stream->link; in dc_link_update_dsc_config() local 187 link->dc->link_srv->dp_handle_automated_test(link); in dc_link_dp_handle_automated_test() 275 link->dc->link_srv->remove_remote_sink(link, sink); in dc_link_remove_remote_sink() 381 link->dc->link_srv->dp_handle_link_loss(link); in dc_link_dp_handle_link_loss() 477 return link->dc->link_srv->edp_wait_for_t12(link); in dc_link_wait_for_t12() 482 return link->dc->link_srv->get_hpd_state(link); in dc_link_get_hpd_state() 487 link->dc->link_srv->enable_hpd(link); in dc_link_enable_hpd() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_capability.c | 675 link, in decide_dp_link_settings() 730 link, in edp_decide_link_settings() 850 link, in decide_edp_link_settings_with_dsc() 906 struct dc_link *link = stream->link; in link_decide_link_settings() local 989 link, in read_dp_device_vendor_id() 1029 link, in wake_up_aux_channel() 1036 link, in wake_up_aux_channel() 1168 link, in get_active_converter_info() 1390 link->dc, link->link_enc->transmitter); in get_usbc_cable_id() 1482 link, in dp_retrieve_lttpr_cap() [all …]
|
H A D | link_dp_dpia_bw.c | 80 link, in get_bw_granularity() 106 link, in get_estimated_bw() 119 link, in get_non_reduced_max_link_rate() 132 link, in get_non_reduced_max_lane_count() 245 if (link) { in dpia_bw_alloc_unplug() 280 link, in set_usb4_req_bw_req() 312 link, in link_dp_dpia_set_dptx_usb4_bw_alloc_support() 319 link, in link_dp_dpia_set_dptx_usb4_bw_alloc_support() 330 link, in link_dp_dpia_set_dptx_usb4_bw_alloc_support() 436 if (!(link && DISPLAY_ENDPOINT_USB4_DPIA == link->ep_type in dpia_handle_usb4_bandwidth_allocation_for_link() [all …]
|
H A D | link_edp_panel_control.c | 70 link, in dp_set_panel_mode() 82 link, in dp_set_panel_mode() 366 link->dc->hwss.edp_power_control(link, true); in edp_panel_backlight_power_on() 378 link->dc->hwss.edp_power_control(link, true); in edp_set_panel_power() 397 link->dc->hwss.edp_power_control(link, false); in edp_set_panel_power() 404 link->dc->hwss.edp_wait_for_T12(link); in edp_wait_for_t12() 487 ret = dm_helpers_dp_write_dpcd(link->ctx, link, in edp_power_alpm_dpcd_enable() 707 link, in edp_setup_psr() 981 dm_helpers_dp_write_dpcd(link->ctx, link, in edp_setup_replay() 989 link, in edp_setup_replay() [all …]
|
H A D | link_dp_phy.c | 41 link->ctx->logger 49 if (link->sync_lt_in_progress) in dpcd_write_rx_power_ctrl() 58 struct dc_link *link, in dp_enable_link_phy() argument 65 link->dc->hwss.enable_dp_link_output(link, link_res, signal, in dp_enable_link_phy() 74 struct dc *dc = link->ctx->dc; in dp_disable_link_phy() 82 memset(&link->cur_link_settings, 0, in dp_disable_link_phy() 83 sizeof(link->cur_link_settings)); in dp_disable_link_phy() 96 struct dc_link *link, in dp_set_hw_lane_settings() argument 112 memmove(link->cur_lane_setting, in dp_set_hw_lane_settings() 114 sizeof(link->cur_lane_setting)); in dp_set_hw_lane_settings() [all …]
|
H A D | link_dp_irq_handler.c | 128 link, in handle_hpd_irq_psr_sink() 140 link, in handle_hpd_irq_psr_sink() 158 link, in handle_hpd_irq_psr_sink() 196 link, in handle_hpd_irq_replay_sink() 203 link, in handle_hpd_irq_replay_sink() 223 link, in handle_hpd_irq_replay_sink() 231 link, in handle_hpd_irq_replay_sink() 279 link, in read_dpcd204h_on_irq_hpd() 308 link, in dp_read_hpd_rx_irq_data() 319 link, in dp_read_hpd_rx_irq_data() [all …]
|
H A D | link_edp_panel_control.h | 32 bool set_default_brightness_aux(struct dc_link *link); 34 int edp_get_backlight_level(const struct dc_link *link); 35 bool edp_get_backlight_level_nits(struct dc_link *link, 41 bool edp_set_backlight_level_nits(struct dc_link *link, 49 bool edp_setup_psr(struct dc_link *link, 57 bool edp_setup_replay(struct dc_link *link, 60 bool edp_replay_residency(const struct dc_link *link, 63 bool edp_wait_for_t12(struct dc_link *link); 69 void edp_add_delay_for_T9(struct dc_link *link); 70 bool edp_receiver_ready_T9(struct dc_link *link); [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_link.c | 56 if (link->revision < 0x11) in dp_aux_link_power_up() 753 link->prev_sink_count = link->dp_link.sink_count; in dp_link_parse_sink_status_field() 761 link->link_status); in dp_link_parse_sink_status_field() 792 link->dp_link.link_params.num_lanes = link->request.test_lane_count; in dp_link_process_link_training_request() 932 link->dp_link.link_params.num_lanes = link->request.test_lane_count; in dp_link_process_phy_test_pattern_request() 1024 if (link->prev_sink_count == link->dp_link.sink_count) in dp_link_process_ds_port_status_change() 1029 link->prev_sink_count = link->dp_link.sink_count; in dp_link_process_ds_port_status_change() 1257 link = devm_kzalloc(dev, sizeof(*link), GFP_KERNEL); in dp_link_get() 1258 if (!link) in dp_link_get() 1261 link->dev = dev; in dp_link_get() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 305 ddc->link, in i2c_read() 710 dm_helpers_dp_update_branch_info(link->ctx, link); in discover_dp_mst_topology() 792 link->verified_link_cap = link->reported_link_cap; in verify_link_capability_non_destructive() 808 link); in should_verify_link_capability_destructively() 1014 sink_init_data.link = link; in detect_link_and_local_sink() 1092 read_scdc_caps(link->ddc, link->local_sink); in detect_link_and_local_sink() 1224 link->dc->hwss.edp_power_control(link, true); in link_detect_connection_type() 1225 link->dc->hwss.edp_wait_for_hpd_ready(link, true); in link_detect_connection_type() 1250 link->dc->hwss.edp_power_control(link, false); in link_detect_connection_type() 1395 link, in link_add_remote_sink() [all …]
|
H A D | link_factory.c | 404 link->panel_cntl->funcs->destroy(&link->panel_cntl); in link_destruct() 415 link->link_enc->funcs->destroy(&link->link_enc); in link_destruct() 486 link->link_status.dpcd_caps = &link->dpcd_caps; in construct_phy() 518 link->dc->res_pool->funcs->link_init(link); in construct_phy() 520 link->hpd_gpio = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in construct_phy() 602 ddc_service_init_data.link = link; in construct_phy() 643 link->eng_id = link->link_enc->preferred_engine; in construct_phy() 644 link->dc->res_pool->link_encoders[link->eng_id - ENGINE_ID_DIGA] = link->link_enc; in construct_phy() 745 link->link_enc->funcs->destroy(&link->link_enc); in construct_phy() 774 link->link_status.dpcd_caps = &link->dpcd_caps; in construct_dpia() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/accessories/ |
H A D | link_dp_trace.c | 31 memset(&link->dp_trace, 0, sizeof(link->dp_trace)); in dp_trace_init() 37 memset(&link->dp_trace, 0, sizeof(link->dp_trace)); in dp_trace_reset() 47 memset(&link->dp_trace.detect_lt_trace, 0, sizeof(link->dp_trace.detect_lt_trace)); in dp_trace_detect_lt_init() 52 memset(&link->dp_trace.commit_lt_trace, 0, sizeof(link->dp_trace.commit_lt_trace)); in dp_trace_commit_lt_init() 111 link->dp_trace.detect_lt_trace.timestamps.start = dm_get_timestamp(link->dc->ctx); in dp_trace_set_lt_start_timestamp() 113 link->dp_trace.commit_lt_trace.timestamps.start = dm_get_timestamp(link->dc->ctx); in dp_trace_set_lt_start_timestamp() 120 link->dp_trace.detect_lt_trace.timestamps.end = dm_get_timestamp(link->dc->ctx); in dp_trace_set_lt_end_timestamp() 122 link->dp_trace.commit_lt_trace.timestamps.end = dm_get_timestamp(link->dc->ctx); in dp_trace_set_lt_end_timestamp() 153 link->dp_trace.edp_trace_power_timestamps.poweroff = dm_get_timestamp(link->dc->ctx); in dp_trace_set_edp_power_timestamp() 155 link->dp_trace.edp_trace_power_timestamps.poweron = dm_get_timestamp(link->dc->ctx); in dp_trace_set_edp_power_timestamp() [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dp.c | 38 if (!link) in drm_dp_link_reset() 89 link->rates[i] = link->rates[i - 1]; in drm_dp_link_add_rate() 125 link->rates[i] = link->rates[i + 1]; in drm_dp_link_remove_rate() 150 link->rates[count++] = link->rates[i]; in drm_dp_link_update_rates() 232 link->rate = link->max_rate; in drm_dp_link_probe() 233 link->lanes = link->max_lanes; in drm_dp_link_probe() 337 if (link->ops && link->ops->configure) { in drm_dp_link_configure() 338 err = link->ops->configure(link); in drm_dp_link_configure() 474 err = link->ops->apply_training(link); in drm_dp_link_apply_training() 741 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_full() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_dio_fixed_vs_pe_retimer.c | 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() 64 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() 66 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() 68 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() 70 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() [all …]
|
H A D | link_hwss_hpo_fixed_vs_pe_retimer_dp.c | 62 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 64 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 66 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 68 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 70 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_set_tx_ffe() 89 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern() 91 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern() 93 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern() 95 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern() 97 link->dc->link_srv->configure_fixed_vs_pe_retimer(link->ddc, in dp_hpo_fixed_vs_pe_retimer_program_override_test_pattern() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | link.h | 95 struct dc_link *link; member 111 struct dc_link *link, 142 struct dc_link *link, 145 const struct dc_link *link, 222 struct dc_link *link, 230 struct dc_link *link, 235 struct dc_link *link, 261 struct dc_link *link, 304 struct dc_link *link, 312 struct dc_link *link); [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | pci_link.c | 462 if (link->irq.active && link->irq.active == irq) in acpi_irq_pci_sharing_penalty() 537 acpi_pci_link_set(link, link->irq.active); in acpi_pci_link_allocate() 545 if (link->irq.active == link->irq.possible[i]) in acpi_pci_link_allocate() 564 irq = link->irq.possible[link->irq.possible_count - 1]; in acpi_pci_link_allocate() 618 if (!link) { in acpi_pci_link_allocate_irq() 668 if (!link) { in acpi_pci_link_free_irq() 713 if (!link) in acpi_pci_link_add() 733 if (link->irq.active != link->irq.possible[i]) in acpi_pci_link_add() 756 if (link->refcnt && link->irq.active && link->irq.initialized) in acpi_pci_link_resume() 757 return (acpi_pci_link_set(link, link->irq.active)); in acpi_pci_link_resume() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | q_in_q_veto.sh | 56 ip link add name br0.100 link br0 type vlan \ 60 ip link add name br0.100 link br0 type vlan \ 67 ip link del dev br0 74 ip link add name $swp1.100 link $swp1 type vlan \ 78 ip link add name $swp1.100 link $swp1 type vlan \ 97 ip link add name $swp1.100 link $swp1 type vlan \ 101 ip link add name $swp1.100 link $swp1 type vlan \ 119 ip link add name bond1.100 link bond1 type vlan \ 123 ip link add name bond1.100 link bond1 type vlan \ 213 ip link add name $swp1.100 link $swp1 type vlan id 100 [all …]
|
H A D | extack.sh | 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 40 ip link set dev br1 up 77 ip link del dev vx2 78 ip link del dev br2 80 ip link del dev vx1 81 ip link del dev br1 112 ip link del dev vx1 113 ip link del dev br1 145 ip link del dev br1 [all …]
|
/openbmc/linux/net/smc/ |
H A D | smc_wr.c | 57 return !bitmap_empty(link->wr_tx_mask, link->wr_tx_cnt); in smc_wr_is_tx_pend() 63 wait_event(link->wr_tx_wait, !smc_wr_is_tx_pend(link)); in smc_wr_tx_wait_no_pending_sends() 176 for_each_clear_bit(*idx, link->wr_tx_mask, link->wr_tx_cnt) { in smc_wr_tx_get_free_slot_index() 233 wr_pend->link = link; in smc_wr_tx_get_free_slot() 253 if (link->wr_tx_v2_pend->idx == link->wr_tx_cnt) in smc_wr_tx_get_v2_slot() 262 wr_pend->link = link; in smc_wr_tx_get_v2_slot() 328 rc = ib_post_send(link->roce_qp, link->wr_tx_v2_ib, NULL); in smc_wr_tx_v2_send() 376 rc = ib_post_send(link->roce_qp, &link->wr_reg.wr, NULL); in smc_wr_reg_send() 468 if (link->wr_rx_id_compl == link->wr_rx_id) in smc_wr_rx_process_cqes() 796 link->wr_tx_v2_ib = kzalloc(sizeof(*link->wr_tx_v2_ib), in smc_wr_alloc_link_mem() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_psr.c | 35 struct dc *dc = link->ctx->dc; in link_supports_psrsu() 43 if (!is_psr_su_specific_panel(link)) in link_supports_psrsu() 69 if (link->type == dc_connection_none) { in amdgpu_dm_set_psr_caps() 79 if (link_supports_psrsu(link)) in amdgpu_dm_set_psr_caps() 88 link->psr_settings.psr_feature_enabled, in amdgpu_dm_set_psr_caps() 89 link->psr_settings.psr_version, in amdgpu_dm_set_psr_caps() 90 link->dpcd_caps.psr_info.psr_version, in amdgpu_dm_set_psr_caps() 104 struct dc_link *link = NULL; in amdgpu_dm_link_setup_psr() local 113 link = stream->link; in amdgpu_dm_link_setup_psr() 114 dc = link->ctx->dc; in amdgpu_dm_link_setup_psr() [all …]
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | aspm.c | 160 if (!link->clkpm_capable || link->clkpm_disable) in pcie_set_clkpm() 422 link = link->parent; in pcie_aspm_check_latency() 646 link->aspm_default = link->aspm_enabled; in pcie_aspm_cap_init() 649 link->aspm_capable = link->aspm_support; in pcie_aspm_cap_init() 776 link = link->parent; in pcie_config_aspm_path() 825 link = kzalloc(sizeof(*link), GFP_KERNEL); in alloc_pcie_link_state() 843 link->root = link; in alloc_pcie_link_state() 854 link->root = link->parent->root; in alloc_pcie_link_state() 947 link->aspm_capable = link->aspm_support; in pcie_update_aspm_capable() 1042 pcie_set_clkpm(link, policy_to_clkpm_state(link)); in pcie_aspm_powersave_config_link() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-pmp.c | 50 tf.device = link->pmp; in sata_pmp_read() 86 tf.device = link->pmp; in sata_pmp_write() 111 struct ata_link *link = qc->dev->link; in sata_pmp_qc_defer_cmd_switch() local 364 link->flags = 0; in sata_pmp_init_links() 487 struct ata_link *link = dev->link; in sata_pmp_attach() local 545 link->pmp = 0; in sata_pmp_attach() 561 struct ata_link *link = dev->link; in sata_pmp_detach() local 579 link->pmp = 0; in sata_pmp_detach() 650 struct ata_link *link = dev->link; in sata_pmp_revalidate() local 751 struct ata_link *link = &ap->link; in sata_pmp_eh_recover_pmp() local [all …]
|
/openbmc/linux/drivers/net/wireless/cisco/ |
H A D | airo_cs.c | 80 dev_dbg(&link->dev, "airo_detach\n"); in airo_detach() 82 airo_release(link); in airo_detach() 90 kfree(link->priv); in airo_detach() 106 dev_dbg(&link->dev, "airo_config\n"); in airo_config() 115 if (!link->irq) in airo_config() 118 ret = pcmcia_enable_device(link); in airo_config() 122 init_airo_card(link->irq, in airo_config() 123 link->resource[0]->start, 1, &link->dev); in airo_config() 130 airo_release(link); in airo_config() 137 pcmcia_disable_device(link); in airo_release() [all …]
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00link.c | 183 struct link *link = &rt2x00dev->link; in rt2x00link_update_stats() local 222 struct link *link = &rt2x00dev->link; in rt2x00link_start_tuner() local 268 rt2x00dev->link.count = 0; in rt2x00link_reset_tuner() 298 static void rt2x00link_tuner_sta(struct rt2x00_dev *rt2x00dev, struct link *link) in rt2x00link_tuner_sta() argument 345 struct link *link = &rt2x00dev->link; in rt2x00link_tuner() local 375 link->count++; in rt2x00link_tuner() 384 struct link *link = &rt2x00dev->link; in rt2x00link_start_watchdog() local 389 &link->watchdog_work, in rt2x00link_start_watchdog() 402 struct link *link = &rt2x00dev->link; in rt2x00link_watchdog() local 415 &link->watchdog_work, in rt2x00link_watchdog() [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/orinoco/ |
H A D | spectrum_cs.c | 84 if (!pcmcia_dev_present(link)) in spectrum_reset() 137 spectrum_reset(link, 0); in spectrum_cs_hard_reset() 148 return spectrum_reset(link, idle); in spectrum_cs_stop_firmware() 170 card->p_dev = link; in spectrum_cs_probe() 171 link->priv = priv; in spectrum_cs_probe() 173 ret = spectrum_cs_config(link); in spectrum_cs_probe() 190 spectrum_cs_release(link); in spectrum_cs_detach() 240 ret = pcmcia_enable_device(link); in spectrum_cs_config() 256 link->irq, NULL) != 0) { in spectrum_cs_config() 264 spectrum_cs_release(link); in spectrum_cs_config() [all …]
|