/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_bpf_link.c | 13 int link_id; local 18 link_id = link->id; 19 bpf_seq_write(seq, &link_id, sizeof(link_id));
|
/linux-master/net/wireless/ |
H A D | ap.c | 15 struct net_device *dev, unsigned int link_id, 30 if (!wdev->links[link_id].ap.beacon_interval) 33 err = rdev_stop_ap(rdev, dev, link_id); 36 wdev->links[link_id].ap.beacon_interval = 0; 37 memset(&wdev->links[link_id].ap.chandef, 0, 38 sizeof(wdev->links[link_id].ap.chandef)); 42 nl80211_send_ap_stopped(wdev, link_id); 56 struct net_device *dev, int link_id, 62 if (link_id >= 0) 63 return ___cfg80211_stop_ap(rdev, dev, link_id, notif 14 ___cfg80211_stop_ap(struct cfg80211_registered_device *rdev, struct net_device *dev, unsigned int link_id, bool notify) argument 55 cfg80211_stop_ap(struct cfg80211_registered_device *rdev, struct net_device *dev, int link_id, bool notify) argument [all...] |
H A D | mlme.c | 42 unsigned int link_id; local 44 for (link_id = 0; link_id < ARRAY_SIZE(data->links); link_id++) { 45 cr.links[link_id].status = data->links[link_id].status; 46 cr.links[link_id].bss = data->links[link_id].bss; 48 WARN_ON_ONCE(cr.links[link_id].status != WLAN_STATUS_SUCCESS && 49 (!cr.ap_mld_addr || !cr.links[link_id] 475 int link_id; local [all...] |
H A D | trace.h | 443 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id, 445 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr), 450 __field(int, link_id) 458 __entry->link_id = link_id; 462 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", link_id: %d, " 464 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->link_id, 470 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id, 472 TP_ARGS(wiphy, netdev, link_id, key_index, pairwise, mac_addr) 476 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, int link_id, [all...] |
/linux-master/tools/lib/perf/include/perf/ |
H A D | bpf_perf.h | 24 __u32 link_id; member in struct:perf_event_attr_map_entry
|
/linux-master/net/mac80211/ |
H A D | link.c | 22 int link_id, 26 bool deflink = link_id < 0; 28 if (link_id < 0) 29 link_id = 0; 31 rcu_assign_pointer(sdata->vif.link_conf[link_id], link_conf); 32 rcu_assign_pointer(sdata->link[link_id], link); 35 link->link_id = link_id; 37 link_conf->link_id = link_id; 21 ieee80211_link_init(struct ieee80211_sub_if_data *sdata, int link_id, struct ieee80211_link_data *link, struct ieee80211_bss_conf *link_conf) argument 91 unsigned int link_id; local 114 unsigned int link_id; local 189 unsigned int link_id; local 322 unsigned int link_id; local [all...] |
H A D | driver-ops.c | 217 if (!ieee80211_vif_link_active(&sdata->vif, link->link_id)) 231 trace_drv_conf_tx(local, sdata, link->link_id, ac, params); 234 link->link_id, ac, params); 317 if (!ieee80211_vif_link_active(&sdata->vif, link_conf->link_id)) 344 if (!ieee80211_vif_link_active(&sdata->vif, link_conf->link_id)) 438 int link_id, u64 changed) 461 if (!ieee80211_vif_link_active(&sdata->vif, link_id)) 489 if (WARN_ON(key->link_id >= 0 && sdata->vif.active_links && 490 !(sdata->vif.active_links & BIT(key->link_id)))) 507 unsigned int link_id; local 435 drv_link_info_changed(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *info, int link_id, u64 changed) argument 558 unsigned int link_id; local [all...] |
H A D | debug.h | 141 (link)->link_id, \ 150 (link)->link_id, \ 155 #define _link_id_dbg(print, sdata, link_id, fmt, ...) \ 159 link_id, ##__VA_ARGS__); \ 164 _link_id_dbg(1, (link)->sdata, (link)->link_id, \ 230 #define mlme_link_id_dbg(sdata, link_id, fmt, ...) \ 231 _link_id_dbg(MAC80211_MLME_DEBUG, sdata, link_id, \
|
H A D | key.c | 174 if (key->conf.link_id >= 0 && sdata->vif.active_links && 175 !(sdata->vif.active_links & BIT(key->conf.link_id))) 247 if (key->conf.link_id >= 0 && sdata->vif.active_links && 248 !(sdata->vif.active_links & BIT(key->conf.link_id))) 445 int link_id; local 461 link_id = new->conf.link_id; 466 link_id = old->conf.link_id; 469 if (WARN(old && old->conf.link_id ! 879 int link_id = key->conf.link_id; local 1374 ieee80211_gtk_rekey_add(struct ieee80211_vif *vif, struct ieee80211_key_conf *keyconf, int link_id) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mld-sta.c | 13 unsigned int link_id; local 26 for (link_id = 0; link_id < ARRAY_SIZE(mvmsta->link); link_id++) { 30 if (filter_link_id >= 0 && link_id != filter_link_id) 34 rcu_dereference_check(mvmsta->link[link_id], 61 const u8 *addr, int link_id) 70 cmd.link_id = cpu_to_le32(link_id); 138 const u8 *addr, int link_id, 59 iwl_mvm_mld_add_int_sta_to_fw(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, int link_id) argument 136 iwl_mvm_mld_add_int_sta_with_queue(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *sta, const u8 *addr, int link_id, u16 *queue, u8 tid, unsigned int *_wdg_timeout) argument 175 iwl_mvm_mld_add_int_sta(struct iwl_mvm *mvm, struct iwl_mvm_int_sta *int_sta, u16 *queue, enum nl80211_iftype iftype, enum iwl_fw_sta_type sta_type, int link_id, const u8 *addr, u8 tid, unsigned int *wdg_timeout) argument 515 iwl_mvm_mld_free_sta_link(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvm_sta, struct iwl_mvm_link_sta *mvm_sta_link, unsigned int link_id, bool is_in_fw) argument 533 unsigned int link_id; local 547 iwl_mvm_mld_alloc_sta_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_sta *sta, unsigned int link_id) argument 585 unsigned int link_id; local 629 unsigned int link_id; local 678 unsigned int link_id; local 750 unsigned int link_id; local 809 unsigned int link_id; local 1058 unsigned int link_id; local [all...] |
H A D | link.c | 11 u32 link_id; local 15 link_id = ffz(mvm->fw_link_ids_map); 18 if (link_id > IWL_MVM_FW_MAX_LINK_ID) 21 mvm->fw_link_ids_map |= BIT(link_id); 22 return link_id; 25 static void iwl_mvm_release_fw_link_id(struct iwl_mvm *mvm, u32 link_id) argument 29 if (!WARN_ON(link_id > IWL_MVM_FW_MAX_LINK_ID)) 30 mvm->fw_link_ids_map &= ~BIT(link_id); 54 mvmvif->link[link_conf->link_id]; 74 unsigned int link_id local 116 unsigned int link_id = link_conf->link_id; local 289 unsigned int link_id = link_conf->link_id; local [all...] |
H A D | mld-key.c | 21 if (keyconf->link_id >= 0) { 22 link_info = mvmvif->link[keyconf->link_id]; 46 * we do have a link_id or are not doing MLO. 50 if (!sta && (keyconf->link_id >= 0 || !ieee80211_vif_is_mld(vif))) 55 /* pass link_id to filter by it if not -1 (GTK on client) */ 56 return iwl_mvm_sta_fw_id_mask(mvm, sta, keyconf->link_id); 143 /* only need to do this for pairwise keys (link_id == -1) */ 144 if (sta != data->sta || key->link_id >= 0) 256 unsigned int link_id = 0; local 259 if (keyconf->link_id > 312 unsigned int link_id = 0; local 375 unsigned int link_id = (uintptr_t)data; local 390 iwl_mvm_sec_key_remove_ap(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_vif_link_info *link, unsigned int link_id) argument [all...] |
H A D | mld-mac80211.c | 213 int link_id, ret = 0; local 223 for_each_mvm_vif_valid_link(mvmvif, link_id) { 224 struct iwl_mvm_vif_link_info *link = mvmvif->link[link_id]; 250 unsigned int link_id = link_conf->link_id; local 257 if (WARN_ON_ONCE(!mvmvif->link[link_id])) 272 mvmvif->link[link_id]->phy_ctxt = phy_ctxt; 275 mvmvif->link[link_id]->listen_lmac = true; 309 link_sta = rcu_dereference(mvmvif->ap_sta->link[link_id]); 344 mvmvif->link[link_id] 369 int link_id, ret = 0; local 420 unsigned int link_id = link_conf->link_id; local 605 u8 link_id; member in struct:iwl_mvm_link_sel_data 624 u8 link_id, n_data = 0, i, j; local 866 unsigned int link_id = local 1050 iwl_mvm_mld_mac_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, unsigned int link_id, u16 ac, const struct ieee80211_tx_queue_params *params) argument 1231 u8 link_id, n_data = 0; local 1280 int link_id; local [all...] |
H A D | coex.c | 262 int link_id; local 289 link_id = iwl_mvm_mld_get_primary_link(mvm, vif, vif->active_links); 290 WARN_ON(link_id < 0); 293 vif->active_links & BIT(link_id)); 303 int link_id, int primary_link) 306 struct iwl_mvm_vif_link_info *link_info = mvmvif->link[link_id]; 319 if (link_id == primary_link) 359 int link_id) 370 enable = iwl_mvm_bt_coex_calculate_esr_mode(mvm, vif, link_id, 379 unsigned int link_id) 301 iwl_mvm_bt_coex_calculate_esr_mode(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int link_id, int primary_link) argument 357 iwl_mvm_bt_coex_update_vif_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif, int link_id) argument 376 iwl_mvm_bt_notif_per_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_bt_iterator_data *data, unsigned int link_id) argument 543 unsigned int link_id; local [all...] |
/linux-master/kernel/bpf/ |
H A D | link_iter.c | 10 u32 link_id; member in struct:bpf_iter_seq_link_info 18 link = bpf_link_get_curr_or_next(&info->link_id); 32 ++info->link_id; 34 return bpf_link_get_curr_or_next(&info->link_id);
|
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_hpd.h | 49 struct graphics_object_id link_id,
|
H A D | link_hpd.c | 73 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, link->ctx->gpio_service); 97 struct graphics_object_id link_id, 104 if (dcb->funcs->get_hpd_info(dcb, link_id, &hpd_info) != BP_RESULT_OK) 123 link->ctx->dc_bios, link->link_id, 142 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, 214 hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, 96 link_get_hpd_gpio(struct dc_bios *dcb, struct graphics_object_id link_id, struct gpio_service *gpio_service) argument
|
H A D | link_dp_dpia.c | 88 cmd.query_hpd.data.instance = link->link_id.enum_id - ENUM_ID_1; 98 link->link_id.enum_id - ENUM_ID_1, 106 link->link_id.enum_id - ENUM_ID_1,
|
/linux-master/drivers/soundwire/ |
H A D | slave.c | 44 bus->controller_id, bus->link_id, id->mfg_id, id->part_id, 49 bus->controller_id, bus->link_id, id->mfg_id, id->part_id, 101 unsigned int link_id; local 120 link_id = SDW_DISCO_LINK_ID(addr); 122 /* Check for link_id match */ 123 if (link_id != bus->link_id) 229 int link_id, ret, len; local 254 link_id = be32_to_cpup(addr++); 258 /* Check for link_id matc [all...] |
H A D | intel.c | 211 unsigned int link_id = sdw->instance; local 215 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); 218 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); 222 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); 226 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); 231 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); 240 unsigned int link_id = sdw->instance; local 245 ioctl = intel_readw(shim, SDW_SHIM_IOCTL(link_id)); 248 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioctl); 252 intel_writew(shim, SDW_SHIM_IOCTL(link_id), ioct 262 unsigned int link_id = sdw->instance; local 306 unsigned int link_id = sdw->instance; local 340 unsigned int link_id = sdw->instance; local 423 unsigned int link_id = sdw->instance; local 524 unsigned int link_id = sdw->instance; local 542 unsigned int link_id = sdw->instance; local 598 unsigned int link_id = sdw->instance; local 629 unsigned int link_id = sdw->instance; local 646 intel_params_stream(struct sdw_intel *sdw, struct snd_pcm_substream *substream, struct snd_soc_dai *dai, struct snd_pcm_hw_params *hw_params, int link_id, int alh_stream_id) argument [all...] |
H A D | intel_init.c | 35 int link_id) 53 auxdev->id = link_id; 60 ctx->ldev[link_id] = ldev; 68 + (SDW_LINK_SIZE * link_id); 74 link->registers = res->mmio_base + SDW_IP_BASE(link_id); 76 link->shim = res->mmio_base + SDW_SHIM2_GENERIC_BASE(link_id); 77 link->shim_vs = res->mmio_base + SDW_SHIM2_VS_BASE(link_id); 93 dev_err(res->parent, "failed to initialize link dev %s link_id %d\n", 94 name, link_id); 101 dev_err(res->parent, "failed to add link dev %s link_id 31 intel_link_dev_register(struct sdw_intel_res *res, struct sdw_intel_ctx *ctx, struct fwnode_handle *fwnode, const char *name, int link_id) argument [all...] |
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | txrx.h | 72 int link_id, 76 int link_id,
|
H A D | txrx.c | 440 if (t->sta && t->sta_priv->link_id) 442 t->txpriv.link_id = 443 t->sta_priv->link_id; 446 t->txpriv.link_id = 0; 450 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; 453 t->txpriv.link_id = 0; 456 t->txpriv.link_id = cw1200_find_link_id(priv, t->da); 457 if (!t->txpriv.link_id) 458 t->txpriv.link_id = cw1200_alloc_link_id(priv, t->da); 459 if (!t->txpriv.link_id) { 806 int link_id = 0; local 847 cw1200_tx_confirm_cb(struct cw1200_common *priv, int link_id, struct wsm_tx_confirm *arg) argument 959 cw1200_notify_buffered_tx(struct cw1200_common *priv, struct sk_buff *skb, int link_id, int tid) argument 1000 cw1200_rx_cb(struct cw1200_common *priv, struct wsm_rx *arg, int link_id, struct sk_buff **skb_p) argument [all...] |
/linux-master/sound/soc/ |
H A D | soc-acpi.c | 137 unsigned int part_id, link_id, unique_id, mfg_id, version; local 146 link_id = SDW_DISCO_LINK_ID(adr); 151 if (ids[j].link_id == link_id && 161 if (ids[j].link_id != link_id || 184 dev_dbg(dev, "found part_id %#x at link %d\n", part_id, link_id); 189 part_id, reported_part_count, expected_part_count, link_id);
|
/linux-master/net/mac80211/tests/ |
H A D | elems.c | 15 .link_id = 12, 47 parse_params.link_id,
|