Home
last modified time | relevance | path

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

12

/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.c97 link->link_index, in dpia_query_hpd_status()
105 link->link_index, in dpia_query_hpd_status()
H A Dlink_dp_irq_handler.c401 __func__, link->link_index); in dp_handle_hpd_rx_irq()
440 __func__, link->link_index); in dp_handle_hpd_rx_irq()
H A Dlink_dp_capability.c1239 DC_LOG_DP2("DFP capability extension is read at link %d", link->link_index); in get_active_converter_info()
1374 link->link_index, in dpcd_set_source_specific_data()
1867 DC_LOG_DSC("DSC branch decoder capability is read at link %d", link->link_index); in retrieve_link_cap()
1892 DC_LOG_DSC("Clear DSC SUPPORT for USB4 link(%d) in TBT3 compatibility mode", link->link_index); in retrieve_link_cap()
1901 DC_LOG_DP2("128b/132b encoding is supported at link %d", link->link_index); in retrieve_link_cap()
1915 DC_LOG_DP2("128b/132b supported link rates is read at link %d", link->link_index); in retrieve_link_cap()
1924 DC_LOG_DP2("sink video fallback format is read at link %d", link->link_index); in retrieve_link_cap()
1940 DC_LOG_DP2("FEC CAPABILITY 1 is read at link %d", link->link_index); in retrieve_link_cap()
H A Dlink_dp_training.c1631 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1711 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1717 __func__, link->link_index, (unsigned int)j + 1, attempts, in perform_link_training_with_retries()
1775 __func__, link->link_index, req_bw, link_bw); in perform_link_training_with_retries()
/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_wb.h34 uint32_t link_index);
H A Damdgpu_dm_wb.c188 uint32_t link_index) in amdgpu_dm_wb_connector_init() argument
191 struct dc_link *link = dc_get_link_at_index(dc, link_index); in amdgpu_dm_wb_connector_init()
H A Damdgpu_dm.h945 int link_index);
981 int amdgpu_dm_process_dmub_aux_transfer_sync(struct dc_context *ctx, unsigned int link_index,
984 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);
/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()
/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()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stat.c67 notify->link_index = in dc_stat_get_dmub_notification()
68 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 if (link_index >= MAX_LINKS) in dc_get_link_at_index()
43 return dc->links[link_index]; in dc_get_link_at_index()
160 uint32_t link_index, in dc_submit_i2c() argument
164 struct dc_link *link = dc->links[link_index]; in dc_submit_i2c()
H A Ddc.c228 link_init_params.link_index = dc->link_count; in create_links()
248 link_init_params.link_index = dc->link_count; in create_links()
269 link->link_index = dc->link_count; in create_links()
5610 uint32_t link_index, in dc_process_dmub_aux_transfer_async() argument
5621 if (!dc->links[link_index]->ddc->ddc_pin) in dc_process_dmub_aux_transfer_async()
5626 cmd.dp_aux_access.aux_control.instance = dc->links[link_index]->ddc_hw_inst; in dc_process_dmub_aux_transfer_async()
5670 uint8_t index, link_index = 0xFF; in get_link_index_from_dpia_port_index() local
5678 link_index = index; in get_link_index_from_dpia_port_index()
5683 ASSERT(link_index != 0xFF); in get_link_index_from_dpia_port_index()
5684 return link_index; in get_link_index_from_dpia_port_index()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_factory.c471 link->link_index = init_params->link_index; in construct_phy()
549 if (link->link_index == 0) in construct_phy()
556 if (link->link_index == 1) in construct_phy()
762 link->link_index = init_params->link_index; in construct_dpia()
H A Dlink_detection.c709 link->link_index); in discover_dp_mst_topology()
730 link->link_index); in link_reset_cur_dp_mst_topology()
1212 link->link_index, sink, in detect_link_and_local_sink()
1292 link->link_index, is_local_sink_detect_success, pre_link_type, link->type); in link_detect()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1638 unsigned int link_index; member
1796 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index);
1910 uint32_t link_index,
2441 struct dc *dc, uint32_t link_index);
2514 uint32_t link_index,
2522 uint32_t link_index,
2527 uint32_t link_index,
2531 void dc_process_dmub_dpia_set_tps_notification(const struct dc *dc, uint32_t link_index, uint8_t tp…
/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()
/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dpia.c47 status = dc_process_dmub_set_mst_slots(link->dc, link->link_index, in update_dpia_stream_allocation_table()
/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;
/linux/drivers/soc/ti/
H A Dknav_qmss.h200 unsigned link_index; member
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c246 if (idx > dc_struct->links[i]->link_index) in get_lowest_dpia_index()
247 idx = dc_struct->links[i]->link_index; in get_lowest_dpia_index()
270 if (link->link_index < lowest_dpia_index) in dcn35_notify_host_router_bw()
273 hr_index = (link->link_index - lowest_dpia_index) / 2; in dcn35_notify_host_router_bw()

12