Home
last modified time | relevance | path

Searched refs:link_index (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_dpia_bw.c68 DC_LOG_DEBUG("reset usb4 bw alloc of link(%d)\n", link->link_index); in reset_bw_alloc_struct()
175 if (idx > dc_struct->links[i]->link_index) { in get_lowest_dpia_index()
176 idx = dc_struct->links[i]->link_index; in get_lowest_dpia_index()
204 hr_index_temp = (dc->links[i]->link_index - lowest_dpia_index) / 2; in get_host_router_total_dp_tunnel_bw()
247 __func__, link->link_index); in dpia_bw_alloc_unplug()
260 __func__, link->link_index); in set_usb4_req_bw_req()
275 __func__, link->link_index); in set_usb4_req_bw_req()
335 __func__, link->link_index); in link_dp_dpia_set_dptx_usb4_bw_alloc_support()
339 __func__, link->link_index); in link_dp_dpia_set_dptx_usb4_bw_alloc_support()
378 __func__, link->link_index); in dpia_handle_bw_alloc_response()
[all …]
H A Dlink_dp_dpia.c98 link->link_index, in dpia_query_hpd_status()
H A Dlink_dp_irq_handler.c380 __func__, link->link_index); in dp_handle_hpd_rx_irq()
417 __func__, link->link_index); in dp_handle_hpd_rx_irq()
H A Dlink_dp_capability.c1210 DC_LOG_DP2("DFP capability extension is read at link %d", link->link_index); in get_active_converter_info()
1345 link->link_index, in dpcd_set_source_specific_data()
1834 DC_LOG_DSC("DSC branch decoder capability is read at link %d", link->link_index); in retrieve_link_cap()
1859 DC_LOG_DSC("Clear DSC SUPPORT for USB4 link(%d) in TBT3 compatibility mode", link->link_index); in retrieve_link_cap()
1868 DC_LOG_DP2("128b/132b encoding is supported at link %d", link->link_index); in retrieve_link_cap()
1882 DC_LOG_DP2("128b/132b supported link rates is read at link %d", link->link_index); in retrieve_link_cap()
1891 DC_LOG_DP2("sink video fallback format is read at link %d", link->link_index); in retrieve_link_cap()
1907 DC_LOG_DP2("FEC CAPABILITY 1 is read at link %d", link->link_index); in retrieve_link_cap()
H A Dlink_dp_training.c1576 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1662 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1668 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1727 __func__, link->link_index, req_bw, link_bw); in perform_link_training_with_retries()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.h78 unsigned int link_index,
83 void hdcp_reset_display(struct hdcp_workqueue *work, unsigned int link_index);
84 void hdcp_handle_cpirq(struct hdcp_workqueue *work, unsigned int link_index);
H A Damdgpu_dm_hdcp.c165 unsigned int link_index, in hdcp_update_display() argument
170 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_update_display()
216 unsigned int link_index, in hdcp_remove_display() argument
219 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_remove_display()
245 void hdcp_reset_display(struct hdcp_workqueue *hdcp_work, unsigned int link_index) in hdcp_reset_display() argument
247 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_reset_display()
266 void hdcp_handle_cpirq(struct hdcp_workqueue *hdcp_work, unsigned int link_index) in hdcp_handle_cpirq() argument
268 struct hdcp_workqueue *hdcp_w = &hdcp_work[link_index]; in hdcp_handle_cpirq()
505 int link_index = aconnector->dc_link->link_index; in update_config() local
506 struct mod_hdcp_display *display = &hdcp_work[link_index].display; in update_config()
[all …]
H A Damdgpu_dm.h794 int link_index);
822 int amdgpu_dm_process_dmub_aux_transfer_sync(struct dc_context *ctx, unsigned int link_index,
825 int amdgpu_dm_process_dmub_set_config_sync(struct dc_context *ctx, unsigned int link_index,
H A Damdgpu_dm_crtc.h48 uint32_t link_index);
H A Damdgpu_dm_mst_types.h66 int link_index);
H A Damdgpu_dm.c214 u32 link_index,
218 uint32_t link_index);
701 u8 link_index = 0; in dmub_hpd_callback() local
712 if (notify->link_index > adev->dm.dc->link_count) { in dmub_hpd_callback()
713 DRM_ERROR("DMUB HPD index (%u)is abnormal", notify->link_index); in dmub_hpd_callback()
723 link_index = notify->link_index; in dmub_hpd_callback()
724 link = adev->dm.dc->links[link_index]; in dmub_hpd_callback()
732 DRM_INFO("DMUB HPD callback: link_index=%u\n", link_index); in dmub_hpd_callback()
734 DRM_INFO("DMUB HPD IRQ callback: link_index=%u\n", link_index); in dmub_hpd_callback()
737 notify->type, link_index); in dmub_hpd_callback()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv_stat.c74 notify->link_index = cmd.dp_aux_reply.control.instance; in dmub_srv_stat_get_notification()
87 notify->link_index = cmd.dp_hpd_notify.hpd_data.instance; in dmub_srv_stat_get_notification()
92 notify->link_index = cmd.set_config_reply.set_config_reply_control.instance; in dmub_srv_stat_get_notification()
97 notify->link_index = cmd.dpia_notification.payload.header.instance; in dmub_srv_stat_get_notification()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_redirect.c76 int link_index = if_nametoindex(dev); in ping_dev() local
79 if (!ASSERT_GE(link_index, 0, "if_nametoindex")) in ping_dev()
83 snprintf(ip, sizeof(ip), "10.0.0.%d", link_index); in ping_dev()
85 snprintf(ip, sizeof(ip), "20.0.0.%d", link_index); in ping_dev()
/openbmc/linux/sound/soc/intel/boards/
H A Dsof_sdw.c1378 static int create_sdw_dailink(struct snd_soc_card *card, int *link_index, in create_sdw_dailink() argument
1529 if (*link_index >= sdw_be_num) { in create_sdw_dailink()
1530 dev_err(dev, "invalid dai link index %d\n", *link_index); in create_sdw_dailink()
1541 init_dai_link(dev, dai_links + *link_index, (*be_id)++, name, in create_sdw_dailink()
1551 dai_links[*link_index].nonatomic = true; in create_sdw_dailink()
1554 dai_links[*link_index].codec_ch_maps = sdw_codec_ch_maps; in create_sdw_dailink()
1555 ret = set_codec_init_func(card, adr_link, dai_links + (*link_index)++, in create_sdw_dailink()
1590 int num_links, link_index = 0; in sof_card_dai_links_create() local
1709 ret = create_sdw_dailink(card, &link_index, dai_links, in sof_card_dai_links_create()
1716 dev_err(dev, "failed to create dai link %d\n", link_index); in sof_card_dai_links_create()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stat.c66 notify->link_index = in dc_stat_get_dmub_notification()
67 get_link_index_from_dpia_port_index(dc, notify->link_index); in dc_stat_get_dmub_notification()
H A Ddc_link_exports.c38 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index) in dc_get_link_at_index() argument
40 return dc->links[link_index]; in dc_get_link_at_index()
157 uint32_t link_index, in dc_submit_i2c() argument
161 struct dc_link *link = dc->links[link_index]; in dc_submit_i2c()
H A Ddc.c218 link_init_params.link_index = dc->link_count; in create_links()
238 link_init_params.link_index = dc->link_count; in create_links()
259 link->link_index = dc->link_count; in create_links()
4944 uint32_t link_index, in dc_process_dmub_aux_transfer_async() argument
4955 if (!dc->links[link_index]->ddc->ddc_pin) in dc_process_dmub_aux_transfer_async()
4960 cmd.dp_aux_access.aux_control.instance = dc->links[link_index]->ddc_hw_inst; in dc_process_dmub_aux_transfer_async()
5004 uint8_t index, link_index = 0xFF; in get_link_index_from_dpia_port_index() local
5012 link_index = index; in get_link_index_from_dpia_port_index()
5017 ASSERT(link_index != 0xFF); in get_link_index_from_dpia_port_index()
5018 return link_index; in get_link_index_from_dpia_port_index()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c490 link->link_index = init_params->link_index; in construct_phy()
567 if (link->link_index == 0) in construct_phy()
574 if (link->link_index == 1) in construct_phy()
778 link->link_index = init_params->link_index; in construct_dpia()
H A Dlink_detection.c705 link->link_index); in discover_dp_mst_topology()
726 link->link_index); in link_reset_cur_dp_mst_topology()
1194 link->link_index, sink, in detect_link_and_local_sink()
1274 link->link_index, is_local_sink_detect_success, pre_link_type, link->type); in link_detect()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1448 unsigned int link_index; member
1588 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index);
1702 uint32_t link_index,
2221 struct dc *dc, uint32_t link_index);
2281 uint32_t link_index,
2289 uint32_t link_index,
2294 uint32_t link_index,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dpia.c45 status = dc_process_dmub_set_mst_slots(link->dc, link->link_index, in update_dpia_stream_allocation_table()
/openbmc/linux/kernel/bpf/
H A Dnet_namespace.c66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() function
125 idx = link_index(net, type, net_link); in bpf_netns_link_release()
191 idx = link_index(net, type, net_link); in bpf_netns_link_update_prog()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pow.h656 uint64_t link_index:11; member
695 uint64_t link_index:11;
766 uint64_t link_index:11; member
783 uint64_t link_index:11;
/openbmc/linux/drivers/soc/ti/
H A Dknav_qmss.h200 unsigned link_index; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_aux.c729 ddc && ddc->link ? ddc->link->link_index : UINT_MAX, in dce_aux_transfer_with_retries()
742 ddc && ddc->link ? ddc->link->link_index : UINT_MAX, in dce_aux_transfer_with_retries()

12