Home
last modified time | relevance | path

Searched refs:link_id (Results 1 – 25 of 146) sorted by relevance

123456

/linux-6.3-rc2/net/mac80211/
A Dlink.c21 int link_id, in ieee80211_link_init() argument
27 if (link_id < 0) in ieee80211_link_init()
28 link_id = 0; in ieee80211_link_init()
34 link->link_id = link_id; in ieee80211_link_init()
36 link_conf->link_id = link_id; in ieee80211_link_init()
85 unsigned int link_id; in ieee80211_tear_down_links() local
87 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_tear_down_links()
107 unsigned int link_id; in ieee80211_free_links() local
109 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) in ieee80211_free_links()
173 unsigned int link_id; in ieee80211_vif_update_links() local
[all …]
A Dchan.c265 int link_id; in ieee80211_get_chanctx_vif_max_required_bw() local
268 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_get_chanctx_vif_max_required_bw()
411 for (link_id = 0; link_id < ARRAY_SIZE(sta->sdata->link); link_id++) { in ieee80211_chan_bw_change()
565 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_is_radar_required()
598 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_chanctx_radar_required()
761 int link_id; in ieee80211_recalc_chanctx_chantype() local
769 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_recalc_chanctx_chantype()
926 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_recalc_smps_chanctx()
993 unsigned int link_id = link->link_id; in __ieee80211_link_copy_chanctx_to_vlans() local
1211 unsigned int link_id = link->link_id; in ieee80211_link_update_chandef() local
[all …]
A Ddriver-ops.c197 !(sdata->vif.active_links & BIT(link->link_id))) in drv_conf_tx()
211 trace_drv_conf_tx(local, sdata, link->link_id, ac, params); in drv_conf_tx()
214 link->link_id, ac, params); in drv_conf_tx()
292 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_assign_vif_chanctx()
320 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_unassign_vif_chanctx()
415 int link_id, u64 changed) in drv_link_info_changed() argument
438 !(sdata->vif.active_links & BIT(link_id))) in drv_link_info_changed()
466 !(sdata->vif.active_links & BIT(key->link_id)))) in drv_set_key()
508 unsigned int link_id; in drv_change_sta_links() local
526 link_sta = rcu_dereference_protected(info->link[link_id], in drv_change_sta_links()
[all …]
A Dmlme.c1319 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_assoc_add_ml_elem()
1411 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_send_assoc()
2819 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_set_associated()
3040 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_set_disassoc()
4005 unsigned int link_id = link->link_id; in ieee80211_assoc_config_link() local
4009 .link_id = link_id == assoc_data->assoc_link_id ? -1 : link_id, in ieee80211_assoc_config_link()
4989 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_assoc_success()
5004 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_assoc_success()
5311 for (link_id = 0; link_id < IEEE80211_MLD_MAX_NUM_LINKS; link_id++) { in ieee80211_rx_mgmt_assoc_resp()
6564 unsigned int link_id = link->link_id; in ieee80211_mgd_setup_link() local
[all …]
A Dkey.c449 int link_id; in ieee80211_key_replace() local
463 link_id = new->conf.link_id; in ieee80211_key_replace()
468 link_id = old->conf.link_id; in ieee80211_key_replace()
471 if (WARN(old && old->conf.link_id != link_id, in ieee80211_key_replace()
473 old->conf.link_id, link_id)) in ieee80211_key_replace()
476 if (link_id >= 0) { in ieee80211_key_replace()
610 key->conf.link_id = -1; in ieee80211_key_alloc()
871 int link_id = key->conf.link_id; in ieee80211_key_link() local
873 if (link_id >= 0) { in ieee80211_key_link()
1091 if (key->conf.link_id != link->link_id) in ieee80211_remove_link_keys()
[all …]
A Dsta_info.c279 unsigned int *link_id) in ieee80211_find_sta_by_link_addrs() argument
291 if (link_id) in ieee80211_find_sta_by_link_addrs()
292 *link_id = _link_id; in ieee80211_find_sta_by_link_addrs()
303 if (link_id) in ieee80211_find_sta_by_link_addrs()
304 *link_id = _link_id; in ieee80211_find_sta_by_link_addrs()
512 link_info->link_id = link_id; in sta_info_add_link()
515 link_sta->link_id = link_id; in sta_info_add_link()
545 if (link_id >= 0) { in __sta_info_alloc()
2152 int link_id; in __ieee80211_sta_recalc_aggregates() local
2160 for (link_id = 0; link_id < ARRAY_SIZE((sta)->link); link_id++) { in __ieee80211_sta_recalc_aggregates()
[all …]
A Drx.c218 int link_id, in __ieee80211_queue_skb_to_iface() argument
226 status->link_id = link_id; in __ieee80211_queue_skb_to_iface()
238 int link_id, in ieee80211_queue_skb_to_iface() argument
2530 for (link_id = 0; link_id < ARRAY_SIZE(sdata->vif.link_conf); link_id++) { in ieee80211_is_our_addr()
3689 .link_id = rx->link_id, in ieee80211_rx_h_userspace_mgmt()
4103 rx->link_id = link_id; in ieee80211_rx_data_set_link()
4120 rx->link_id = link_id; in ieee80211_rx_data_set_sta()
4933 link_id = status->link_id; in __ieee80211_rx_handle_8023()
4974 link_id = link_sta->link_id; in ieee80211_rx_for_interface()
4980 link_id = status->link_id; in ieee80211_rx_for_interface()
[all …]
A Dcfg.c32 if (link_id < 0) { in ieee80211_link_or_deflink()
491 if (link_id >= 0) in ieee80211_add_key()
505 key->conf.link_id = link_id; in ieee80211_add_key()
584 if (link_id >= 0) { in ieee80211_lookup_key()
599 if (link_id >= 0) { in ieee80211_lookup_key()
1231 unsigned int link_id = params->beacon.link_id; in ieee80211_start_ap() local
1488 unsigned int link_id) in ieee80211_stop_ap() argument
1720 u32 link_id = params->link_id < 0 ? 0 : params->link_id; in sta_link_apply_parameters() local
3154 unsigned int link_id; in ieee80211_set_power_mgmt() local
3171 for (link_id = 0; link_id < ARRAY_SIZE(sdata->link); link_id++) { in ieee80211_set_power_mgmt()
[all …]
/linux-6.3-rc2/net/wireless/
A Dap.c15 struct net_device *dev, unsigned int link_id, in ___cfg80211_stop_ap() argument
30 if (!wdev->links[link_id].ap.beacon_interval) in ___cfg80211_stop_ap()
33 err = rdev_stop_ap(rdev, dev, link_id); in ___cfg80211_stop_ap()
36 wdev->links[link_id].ap.beacon_interval = 0; in ___cfg80211_stop_ap()
37 memset(&wdev->links[link_id].ap.chandef, 0, in ___cfg80211_stop_ap()
38 sizeof(wdev->links[link_id].ap.chandef)); in ___cfg80211_stop_ap()
42 nl80211_send_ap_stopped(wdev, link_id); in ___cfg80211_stop_ap()
56 struct net_device *dev, int link_id, in __cfg80211_stop_ap() argument
62 if (link_id >= 0) in __cfg80211_stop_ap()
77 struct net_device *dev, int link_id, in cfg80211_stop_ap() argument
[all …]
A Dmlme.c42 unsigned int link_id; in cfg80211_rx_assoc_resp() local
44 for (link_id = 0; link_id < ARRAY_SIZE(data->links); link_id++) { in cfg80211_rx_assoc_resp()
45 cr.links[link_id].status = data->links[link_id].status; in cfg80211_rx_assoc_resp()
49 cr.links[link_id].bss = data->links[link_id].bss; in cfg80211_rx_assoc_resp()
52 cr.links[link_id].bssid = data->links[link_id].bss->bssid; in cfg80211_rx_assoc_resp()
53 cr.links[link_id].addr = data->links[link_id].addr; in cfg80211_rx_assoc_resp()
60 WARN_ON(link_id); in cfg80211_rx_assoc_resp()
80 for (link_id = 0; link_id < ARRAY_SIZE(data->links); link_id++) { in cfg80211_rx_assoc_resp()
270 if (req->link_id >= 0 && in cfg80211_mlme_auth()
352 int link_id; in cfg80211_mlme_assoc() local
[all …]
A Dtrace.h450 __entry->link_id = link_id;
490 __entry->link_id = link_id;
518 __entry->link_id = link_id;
543 __entry->link_id = link_id;
564 __entry->link_id = link_id;
678 __entry->link_id = link_id;
1660 __entry->link_id = link_id;
2048 __entry->link_id = link_id;
2088 __entry->link_id = link_id;
2364 __entry->link_id = link_id;
[all …]
A Drdev-ops.h80 struct net_device *netdev, int link_id, in rdev_add_key() argument
109 struct net_device *netdev, int link_id, in rdev_del_key() argument
150 struct net_device *netdev, int link_id, in rdev_set_default_beacon_key() argument
186 struct net_device *dev, unsigned int link_id) in rdev_stop_ap() argument
189 trace_rdev_stop_ap(&rdev->wiphy, dev, link_id); in rdev_stop_ap()
190 ret = rdev->ops->stop_ap(&rdev->wiphy, dev, link_id); in rdev_stop_ap()
656 struct net_device *dev, unsigned int link_id, in rdev_set_bitrate_mask() argument
952 unsigned int link_id, in rdev_get_channel() argument
1117 unsigned int link_id, in rdev_set_ap_chanwidth() argument
1426 unsigned int link_id) in rdev_add_intf_link() argument
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/
A Dlink_factory.c212 link->link_id = in dc_link_construct_phy()
247 switch (link->link_id.id) { in dc_link_construct_phy()
302 link->link_id.id); in dc_link_construct_phy()
313 ddc_service_init_data.id = link->link_id; in dc_link_construct_phy()
332 (link->link_id.id == CONNECTOR_ID_EDP || in dc_link_construct_phy()
333 link->link_id.id == CONNECTOR_ID_LVDS)) { in dc_link_construct_phy()
351 enc_init_data.connector = link->link_id; in dc_link_construct_phy()
380 link->link_id, i, in dc_link_construct_phy()
499 link->link_id.type = OBJECT_TYPE_CONNECTOR; in dc_link_construct_dpia()
500 link->link_id.id = CONNECTOR_ID_DISPLAY_PORT; in dc_link_construct_dpia()
[all …]
/linux-6.3-rc2/drivers/soundwire/
A Dintel.c243 unsigned int link_id = sdw->instance; in intel_shim_glue_to_master_ip() local
272 unsigned int link_id = sdw->instance; in intel_shim_master_ip_to_glue() local
294 unsigned int link_id = sdw->instance; in intel_shim_init() local
337 unsigned int link_id = sdw->instance; in intel_shim_wake() local
362 unsigned int link_id = sdw->instance; in intel_link_power_up() local
430 *shim_mask |= BIT(link_id); in intel_link_power_up()
452 if (!(*shim_mask & BIT(link_id))) in intel_link_power_down()
460 *shim_mask &= ~BIT(link_id); in intel_link_power_down()
692 params_data.link_id = link_id; in intel_params_stream()
704 int link_id) in intel_free_stream() argument
[all …]
A Dslave.c44 bus->link_id, id->mfg_id, id->part_id, in sdw_slave_add()
49 bus->link_id, id->mfg_id, id->part_id, in sdw_slave_add()
101 unsigned int link_id; in find_slave() local
120 link_id = SDW_DISCO_LINK_ID(addr); in find_slave()
123 if (link_id != bus->link_id) in find_slave()
229 int link_id, ret, len; in sdw_of_find_slaves() local
254 link_id = be32_to_cpup(addr++); in sdw_of_find_slaves()
259 if (link_id != bus->link_id) in sdw_of_find_slaves()
A Dintel_auxdevice.c150 bus->link_id = auxdev->id; in intel_link_probe()
177 bus->link_id); in intel_link_probe()
205 link_flags = md_flags >> (bus->link_id * 8); in intel_link_startup()
320 bus->link_id); in intel_link_process_wakeen_event()
377 bus->link_id); in intel_pm_prepare()
437 bus->link_id); in intel_suspend()
482 bus->link_id); in intel_suspend_runtime()
521 bus->link_id); in intel_resume()
525 link_flags = md_flags >> (bus->link_id * 8); in intel_resume()
536 link_flags = md_flags >> (bus->link_id * 8); in intel_resume()
[all …]
A Dintel_init.c35 int link_id) in intel_link_dev_register() argument
53 auxdev->id = link_id; in intel_link_dev_register()
60 ctx->ldev[link_id] = ldev; in intel_link_dev_register()
67 + (SDW_LINK_SIZE * link_id); in intel_link_dev_register()
83 name, link_id); in intel_link_dev_register()
91 ldev->auxdev.name, link_id); in intel_link_dev_register()
253 ctx->ids[i].link_id = bus->link_id; in sdw_intel_probe_controller()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_iter_bpf_link.c13 int link_id; in dump_bpf_link() local
18 link_id = link->id; in dump_bpf_link()
19 bpf_seq_write(seq, &link_id, sizeof(link_id)); in dump_bpf_link()
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
A Dtxrx.c806 int link_id = 0; in cw1200_handle_pspoll() local
821 link_id = sta_priv->link_id; in cw1200_handle_pspoll()
825 if (!link_id) in cw1200_handle_pspoll()
848 int link_id, in cw1200_tx_confirm_cb() argument
874 .link_id = link_id, in cw1200_tx_confirm_cb()
880 link_id, in cw1200_tx_confirm_cb()
885 if (!link_id) { in cw1200_tx_confirm_cb()
1002 int link_id, in cw1200_rx_cb() argument
1022 if (link_id && link_id <= CW1200_MAX_STA_IN_AP_MODE) { in cw1200_rx_cb()
1377 .link_id = 0, in cw1200_link_id_gc_work()
[all …]
A Dqueue.c103 --queue->link_map_cache[iter->txpriv.link_id]; in __cw1200_queue_gc()
106 if (!--stats->link_map_cache[iter->txpriv.link_id]) in __cw1200_queue_gc()
287 if (txpriv->link_id >= queue->stats->map_capacity) in cw1200_queue_put()
307 ++queue->link_map_cache[txpriv->link_id]; in cw1200_queue_put()
311 ++stats->link_map_cache[txpriv->link_id]; in cw1200_queue_put()
344 if (link_id_map & BIT(item->txpriv.link_id)) { in cw1200_queue_get()
357 --queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_get()
396 ++queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue()
400 ++stats->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue()
422 ++queue->link_map_cache[item->txpriv.link_id]; in cw1200_queue_requeue_all()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link_enc_cfg.c153 .link_id = stream->link->link_id, in add_link_enc_assignment()
216 if (lhs->link_id.id == rhs->link_id.id && in are_ep_ids_equal()
217 lhs->link_id.enum_id == rhs->link_id.enum_id && in are_ep_ids_equal()
218 lhs->link_id.type == rhs->link_id.type && in are_ep_ids_equal()
234 .link_id = link->link_id, in get_link_enc_used_by_link()
405 assignment.ep_id.link_id.enum_id - 1, in link_enc_cfg_link_encs_assign()
416 assignment.ep_id.link_id.enum_id - 1, in link_enc_cfg_link_encs_assign()
494 .link_id = link->link_id, in link_enc_cfg_get_link_enc_used_by_link()
577 .link_id = stream->link->link_id, in link_enc_cfg_get_link_enc_used_by_stream_current()
602 .link_id = link->link_id, in link_enc_cfg_is_link_enc_avail()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/
A Dlink_hpd.c73 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, link->ctx->gpio_service); in dc_link_enable_hpd_filter()
97 struct graphics_object_id link_id, in link_get_hpd_gpio() argument
104 if (dcb->funcs->get_hpd_info(dcb, link_id, &hpd_info) != BP_RESULT_OK) in link_get_hpd_gpio()
123 link->ctx->dc_bios, link->link_id, in query_hpd_status()
142 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in get_hpd_line()
214 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, in program_hpd_filter()
/linux-6.3-rc2/kernel/bpf/
A Dlink_iter.c10 u32 link_id; member
18 link = bpf_link_get_curr_or_next(&info->link_id); in bpf_link_seq_start()
32 ++info->link_id; in bpf_link_seq_next()
34 return bpf_link_get_curr_or_next(&info->link_id); in bpf_link_seq_next()
/linux-6.3-rc2/include/net/
A Dmac80211.h679 unsigned int link_id; member
1559 u8 link_valid:1, link_id:4; member
1917 for (link_id = 0; link_id < ARRAY_SIZE((vif)->link_conf); link_id++) \
2061 s8 link_id; member
2255 u8 link_id; member
2371 for (link_id = 0; link_id < ARRAY_SIZE((sta)->link); link_id++) \
5273 unsigned int link_id);
5301 unsigned int link_id);
5315 unsigned int link_id) in ieee80211_beacon_get() argument
5431 int link_id, bool qos_ok);
[all …]
/linux-6.3-rc2/drivers/net/wireless/ti/wl18xx/
A Devent.c211 u8 link_id = mbox->rx_ba_link_id; in wl18xx_process_mailbox_events() local
215 wlvif = wl->links[link_id].wlvif; in wl18xx_process_mailbox_events()
224 addr = wl->links[link_id].addr; in wl18xx_process_mailbox_events()
230 wl->links[link_id].ba_bitmap, in wl18xx_process_mailbox_events()

Completed in 105 milliseconds

123456