Home
last modified time | relevance | path

Searched refs:active_links (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/net/mac80211/
Dlink.c142 sdata->vif.active_links = 0; in ieee80211_set_vif_links_bitmaps()
149 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
152 if (sdata->vif.active_links) in ieee80211_set_vif_links_bitmaps()
155 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
167 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links()
245 new_links & sdata->vif.active_links, in ieee80211_vif_update_links()
306 u16 active_links) in _ieee80211_set_active_links() argument
310 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links()
311 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links()
312 unsigned long add = active_links & ~old_active; in _ieee80211_set_active_links()
[all …]
Ddriver-ops.c195 if (sdata->vif.active_links && in drv_conf_tx()
196 !(sdata->vif.active_links & BIT(link->link_id))) in drv_conf_tx()
290 if (sdata->vif.active_links && in drv_assign_vif_chanctx()
291 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_assign_vif_chanctx()
318 if (sdata->vif.active_links && in drv_unassign_vif_chanctx()
319 !(sdata->vif.active_links & BIT(link_conf->link_id))) in drv_unassign_vif_chanctx()
436 if (sdata->vif.active_links && in drv_link_info_changed()
437 !(sdata->vif.active_links & BIT(link_id))) in drv_link_info_changed()
464 if (WARN_ON(key->link_id >= 0 && sdata->vif.active_links && in drv_set_key()
465 !(sdata->vif.active_links & BIT(key->link_id)))) in drv_set_key()
[all …]
Ddebugfs_netdev.c583 return snprintf(buf, buflen, "0x%x\n", sdata->vif.active_links); in ieee80211_if_fmt_active_links()
589 u16 active_links; in ieee80211_if_parse_active_links() local
591 if (kstrtou16(buf, 0, &active_links)) in ieee80211_if_parse_active_links()
594 return ieee80211_set_active_links(&sdata->vif, active_links) ?: buflen; in ieee80211_if_parse_active_links()
596 IEEE80211_IF_FILE_RW(active_links);
698 DEBUGFS_ADD_MODE(active_links, 0600); in add_sta_files()
Dkey.c180 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_enable_hw_accel()
181 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_enable_hw_accel()
253 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_disable_hw_accel()
254 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_disable_hw_accel()
Dchan.c1802 if (sdata->vif.active_links && in ieee80211_link_use_channel()
1803 !(sdata->vif.active_links & BIT(link->link_id))) { in ieee80211_link_use_channel()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_tc.c702 int active_links = 0; in intel_tc_port_sanitize() local
707 active_links = intel_dp_mst_encoder_active_links(dig_port); in intel_tc_port_sanitize()
709 active_links = to_intel_crtc(encoder->base.crtc)->active; in intel_tc_port_sanitize()
717 if (active_links) { in intel_tc_port_sanitize()
721 dig_port->tc_port_name, active_links); in intel_tc_port_sanitize()
722 intel_tc_port_link_init_refcount(dig_port, active_links); in intel_tc_port_sanitize()
/linux-6.1.9/net/tipc/
Dnode.c123 int active_links[2]; member
199 int bearer_id = n->active_links[sel & 1]; in node_active_link()
225 bearer_id = n->active_links[sel & 1]; in tipc_node_get_mtu()
578 n->active_links[0] = INVALID_BEARER_ID; in tipc_node_create()
579 n->active_links[1] = INVALID_BEARER_ID; in tipc_node_create()
861 int *slot0 = &n->active_links[0]; in __tipc_node_link_up()
862 int *slot1 = &n->active_links[1]; in __tipc_node_link_up()
995 int *slot0 = &n->active_links[0]; in __tipc_node_link_down()
996 int *slot1 = &n->active_links[1]; in __tipc_node_link_down()
1050 *bearer_id = n->active_links[0]; in __tipc_node_link_down()
[all …]
/linux-6.1.9/net/smc/
Dsmc_llc.c1574 int active_links; in smc_llc_process_cli_delete_link() local
1609 active_links = smc_llc_active_link_count(lgr); in smc_llc_process_cli_delete_link()
1612 } else if (active_links == 1) { in smc_llc_process_cli_delete_link()
1614 } else if (!active_links) { in smc_llc_process_cli_delete_link()
1652 int active_links; in smc_llc_process_srv_delete_link() local
1698 active_links = smc_llc_active_link_count(lgr); in smc_llc_process_srv_delete_link()
1699 if (active_links == 1) { in smc_llc_process_srv_delete_link()
1701 } else if (!active_links) { in smc_llc_process_srv_delete_link()
/linux-6.1.9/include/net/
Dmac80211.h1839 u16 valid_links, active_links; member
1866 if ((!(vif)->active_links || \
1867 (vif)->active_links & BIT(link_id)) && \
2309 if ((!(vif)->active_links || \
2310 (vif)->active_links & BIT(link_id)) && \
7209 int ieee80211_set_active_links(struct ieee80211_vif *vif, u16 active_links);
7222 u16 active_links);
/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx-video.c96 int ret, active_links = 0; in cx231xx_enable_analog_tuner() local
121 active_links++; in cx231xx_enable_analog_tuner()
126 if (active_links == 1 || !found_link) in cx231xx_enable_analog_tuner()
/linux-6.1.9/drivers/media/pci/saa7134/
Dsaa7134-video.c771 int ret, active_links = 0; in saa7134_enable_analog_tuner() local
787 active_links++; in saa7134_enable_analog_tuner()
792 if (active_links == 1 || !found_link) in saa7134_enable_analog_tuner()
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-video.c902 int ret, active_links = 0; in em28xx_enable_analog_tuner() local
918 active_links++; in em28xx_enable_analog_tuner()
923 if (active_links == 1 || !found_link) in em28xx_enable_analog_tuner()
/linux-6.1.9/drivers/net/wireless/
Dmac80211_hwsim.c1766 if (!(vif->active_links & BIT(link_id))) in mac80211_hwsim_select_tx_link()