Home
last modified time | relevance | path

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

/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/kernel/bpf/
H A Dnet_namespace.c65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() function
124 idx = link_index(net, type, net_link); in bpf_netns_link_release()
188 idx = link_index(net, type, net_link); in bpf_netns_link_update_prog()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_detection.c723 DC_LOG_DC("DP Alt mode state on HPD: %d Link=%d\n", is_in_alt_mode, link->link_index); in wait_for_entering_dp_alt_mode()
785 link->link_index); in discover_dp_mst_topology()
804 link->link_index); in link_reset_cur_dp_mst_topology()
1327 link->link_index); in detect_link_and_local_sink()
1528 link->link_index, sink, in detect_link_and_local_sink()
1640 link->link_index, is_local_sink_detect_success, pre_link_type, link->type); in link_detect()
/linux/sound/soc/sof/intel/
H A Dhda.c1316 int link_index, link_num; in hda_sdw_machine_select()
1420 /* link_index = the number of used links below the current link */ in hda_sdw_machine_select()
1421 link_index = hweight32(link_mask & (BIT(peripherals->array[i]->bus->link_id) - 1)); in hda_sdw_machine_select()
1422 links[link_index].adr_d = find_acpi_adr_device(sdev->dev, peripherals->array[i], in hda_sdw_machine_select()
1423 &links[link_index], &amp_index); in hda_sdw_machine_select()
1424 if (!links[link_index].adr_d) in hda_sdw_machine_select()
1318 int link_index, link_num; hda_sdw_machine_select() local
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c252 link_init_params.link_index = dc->link_count; in create_links()
273 link_init_params.link_index = dc->link_count; in create_links()
297 link->link_index = dc->link_count; in create_links()
6946 uint32_t link_index, in dc_process_dmub_aux_transfer_async() argument
6952 if (link_index >= dc->link_count || !dc->links[link_index]) in dc_process_dmub_aux_transfer_async()
6961 if (!dc->links[link_index]->ddc->ddc_pin) in dc_process_dmub_aux_transfer_async()
6966 cmd.dp_aux_access.aux_control.instance = (uint8_t)dc->links[link_index]->ddc_hw_inst; in dc_process_dmub_aux_transfer_async()
7109 uint8_t index, link_index = 0xFF; in get_link_index_from_dpia_port_index() local
7117 link_index = index; in get_link_index_from_dpia_port_index()
7122 ASSERT(link_index != 0xFF); in get_link_index_from_dpia_port_index()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c348 if (idx > dc_struct->links[i]->link_index) in get_lowest_dpia_index()
349 idx = (uint8_t)dc_struct->links[i]->link_index; in get_lowest_dpia_index()
372 if (link->link_index < lowest_dpia_index) in dcn35_notify_host_router_bw()
375 hr_index = (link->link_index - lowest_dpia_index) / 2; in dcn35_notify_host_router_bw()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c1346 return amdgpu_dm_process_dmub_aux_transfer_sync(ctx, link->link_index, payload, in dm_helper_dmub_aux_transfer_sync()
1356 return amdgpu_dm_process_dmub_set_config_sync(ctx, link->link_index, payload, in dm_helpers_dmub_set_config_sync()