| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-l2c.c | 318 uint64_t assoc = cvmx_l2c_get_num_assoc(); in cvmx_l2c_lock_line() local 327 for (way = 0; way < assoc; way++) { in cvmx_l2c_lock_line() 337 if (way >= assoc) { in cvmx_l2c_lock_line() 433 uint64_t assoc, set; in cvmx_l2c_flush() local 446 for (assoc = 0; assoc < n_assoc; assoc++) { in cvmx_l2c_flush() 448 (assoc << assoc_shift) | (set << set_shift)); in cvmx_l2c_flush() 454 for (assoc = 0; assoc < n_assoc; assoc++) in cvmx_l2c_flush() 455 cvmx_l2c_flush_line(assoc, set); in cvmx_l2c_flush() 464 int assoc; in cvmx_l2c_unlock_line() local 477 for (assoc = 0; assoc < CVMX_L2_ASSOC; assoc++) { in cvmx_l2c_unlock_line() [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 104 unsigned assoc :8; member 114 unsigned assoc :4; member 124 unsigned assoc :4; member 154 unsigned int dummy, line_size, lines_per_tag, assoc, size_in_kb; in legacy_amd_cpuid4() local 175 assoc = (l1->assoc == 0xff) ? AMD_CPUID4_FULLY_ASSOCIATIVE : l1->assoc; in legacy_amd_cpuid4() 181 if (!l2.assoc || l2.assoc == AMD_L2_L3_INVALID_ASSOC) in legacy_amd_cpuid4() 185 assoc = assocs[l2.assoc]; in legacy_amd_cpuid4() 191 if (!l3.assoc || l3.assoc == AMD_L2_L3_INVALID_ASSOC) in legacy_amd_cpuid4() 194 assoc = assocs[l3.assoc]; in legacy_amd_cpuid4() 200 assoc = assoc >> 1; in legacy_amd_cpuid4() [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | psp.py | 216 assoc = cfg.pspnl.rx_assoc({"version": 0, 219 ksft_eq(assoc['dev-id'], cfg.psp_dev_id) 220 ksft_gt(assoc['rx-key']['spi'], 0) 221 ksft_eq(len(assoc['rx-key']['key']), 16) 223 assoc = cfg.pspnl.tx_assoc({"dev-id": cfg.psp_dev_id, 225 "tx-key": assoc['rx-key'], 227 ksft_eq(len(assoc), 0) 248 assoc = cfg.pspnl.rx_assoc({"version": 0, 250 ksft_eq(assoc['dev-id'], cfg.psp_dev_id) 252 "tx-key": assoc['rx-key'], [all …]
|
| /linux/tools/testing/selftests/powerpc/cache_shape/ |
| H A D | cache_shape.c | 38 uint16_t assoc; in print_geo() local 42 assoc = val >> 16; in print_geo() 43 if (assoc) in print_geo() 44 printf("%u-way", assoc); in print_geo()
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | mac80211-ops.c | 281 avf->assoc = vif->cfg.assoc; in ath5k_bss_info_changed() 282 if (vif->cfg.assoc) in ath5k_bss_info_changed() 283 ah->assoc = vif->cfg.assoc; in ath5k_bss_info_changed() 285 ah->assoc = ath5k_any_vif_assoc(ah); in ath5k_bss_info_changed() 288 ath5k_set_beacon_filter(hw, ah->assoc); in ath5k_bss_info_changed() 289 ath5k_hw_set_ledstate(ah, ah->assoc ? in ath5k_bss_info_changed() 291 if (vif->cfg.assoc) { in ath5k_bss_info_changed() 433 if (ah->assoc) in ath5k_configure_filter() 541 if (!ah->assoc) in ath5k_sw_scan_start() 550 ath5k_hw_set_ledstate(ah, ah->assoc ? in ath5k_sw_scan_complete()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mcc.c | 236 bool *assoc = data; in iwl_mld_find_assoc_vif_iterator() local 239 vif->cfg.assoc) in iwl_mld_find_assoc_vif_iterator() 240 *assoc = true; in iwl_mld_find_assoc_vif_iterator() 245 bool assoc = false; in iwl_mld_is_a_vif_assoc() local 250 &assoc); in iwl_mld_is_a_vif_assoc() 251 return assoc; in iwl_mld_is_a_vif_assoc()
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi6220-coresight.dtsi | 388 arm,cs-dev-assoc = <&etm0>; 401 arm,cs-dev-assoc = <&etm1>; 414 arm,cs-dev-assoc = <&etm2>; 427 arm,cs-dev-assoc = <&etm3>; 440 arm,cs-dev-assoc = <&etm4>; 453 arm,cs-dev-assoc = <&etm5>; 466 arm,cs-dev-assoc = <&etm6>; 479 arm,cs-dev-assoc = <&etm7>;
|
| /linux/arch/mips/mm/ |
| H A D | sc-mips.c | 153 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local 168 assoc = cfg & CM_GCR_L2_CONFIG_ASSOC; in mips_sc_probe_cm3() 169 assoc >>= __ffs(CM_GCR_L2_CONFIG_ASSOC); in mips_sc_probe_cm3() 170 c->scache.ways = assoc + 1; in mips_sc_probe_cm3()
|
| /linux/crypto/ |
| H A D | essiv.c | 62 u8 *assoc; member 177 kfree(rctx->assoc); in essiv_aead_done() 204 rctx->assoc = NULL; in essiv_aead_crypt() 224 rctx->assoc = kmalloc(ssize, GFP_ATOMIC); in essiv_aead_crypt() 225 if (!rctx->assoc) in essiv_aead_crypt() 228 scatterwalk_map_and_copy(rctx->assoc, req->src, 0, in essiv_aead_crypt() 230 sg_set_buf(rctx->sg, rctx->assoc, ssize); in essiv_aead_crypt() 253 if (rctx->assoc && err != -EINPROGRESS && err != -EBUSY) in essiv_aead_crypt() 254 kfree(rctx->assoc); in essiv_aead_crypt()
|
| /linux/net/sctp/ |
| H A D | diag.c | 255 struct sctp_association *assoc = tsp->asoc; in sctp_sock_dump_one() local 269 rep = nlmsg_new(inet_assoc_attr_size(sk, assoc), GFP_KERNEL); in sctp_sock_dump_one() 275 if (ep != assoc->ep) { in sctp_sock_dump_one() 280 err = inet_sctp_diag_fill(sk, assoc, rep, req, sk_user_ns(NETLINK_CB(skb).sk), in sctp_sock_dump_one() 304 struct sctp_association *assoc; in sctp_sock_dump() local 310 list_for_each_entry(assoc, &ep->asocs, asocs) { in sctp_sock_dump() 314 if (r->id.idiag_sport != htons(assoc->base.bind_addr.port) && in sctp_sock_dump() 317 if (r->id.idiag_dport != htons(assoc->peer.port) && in sctp_sock_dump() 333 if (inet_sctp_diag_fill(sk, assoc, skb, r, in sctp_sock_dump()
|
| H A D | objcnt.c | 34 SCTP_DBG_OBJCNT(assoc); 48 SCTP_DBG_OBJCNT_ENTRY(assoc),
|
| H A D | associola.c | 299 SCTP_DBG_OBJCNT_INC(assoc); in sctp_association_new() 419 SCTP_DBG_OBJCNT_DEC(assoc); in sctp_association_destroy() 1054 void sctp_assoc_migrate(struct sctp_association *assoc, struct sock *newsk) in sctp_assoc_migrate() argument 1057 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() 1062 list_del_init(&assoc->asocs); in sctp_assoc_migrate() 1069 sctp_endpoint_put(assoc->ep); in sctp_assoc_migrate() 1070 sock_put(assoc->base.sk); in sctp_assoc_migrate() 1073 assoc->ep = newsp->ep; in sctp_assoc_migrate() 1074 sctp_endpoint_hold(assoc->ep); in sctp_assoc_migrate() 1077 assoc->base.sk = newsk; in sctp_assoc_migrate() [all …]
|
| /linux/arch/arc/mm/ |
| H A D | cache.c | 104 int vipt, assoc; in arc_cache_mumbojumbo() local 113 assoc = 2; /* Fixed to 2w set assoc */ in arc_cache_mumbojumbo() 115 assoc = 1 << ibcr.config; /* 1,2,4,8 */ in arc_cache_mumbojumbo() 120 p_ic->colors = p_ic->sz_k/assoc/TO_KB(PAGE_SIZE); in arc_cache_mumbojumbo() 124 p_ic->sz_k, assoc, p_ic->line_len, in arc_cache_mumbojumbo() 136 assoc = 4; /* Fixed to 4w set assoc */ in arc_cache_mumbojumbo() 137 p_dc->colors = p_dc->sz_k/assoc/TO_KB(PAGE_SIZE); in arc_cache_mumbojumbo() 140 assoc = 1 << dbcr.config; /* 1,2,4,8 */ in arc_cache_mumbojumbo() 149 p_dc->sz_k, assoc, p_dc->line_len, in arc_cache_mumbojumbo()
|
| /linux/sound/hda/common/ |
| H A D | auto_parser.c | 198 short assoc, loc, conn, dev; in snd_hda_parse_pin_defcfg() local 227 assoc = get_defcfg_association(def_conf); in snd_hda_parse_pin_defcfg() 232 if (!assoc) in snd_hda_parse_pin_defcfg() 235 assoc_line_out = assoc; in snd_hda_parse_pin_defcfg() 236 else if (assoc_line_out != assoc) { in snd_hda_parse_pin_defcfg() 239 nid, assoc, assoc_line_out); in snd_hda_parse_pin_defcfg() 254 assoc = get_defcfg_association(def_conf); in snd_hda_parse_pin_defcfg() 262 speaker_out[cfg->speaker_outs].seq = (assoc << 4) | seq; in snd_hda_parse_pin_defcfg() 267 assoc = get_defcfg_association(def_conf); in snd_hda_parse_pin_defcfg() 275 hp_out[cfg->hp_outs].seq = (assoc << 4) | seq; in snd_hda_parse_pin_defcfg()
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_buffer_mgr.c | 518 sg_virt(req->src), areq_ctx->src.nents, areq_ctx->assoc.nents, in cc_unmap_aead_request() 601 areq_ctx->assoc.nents = 0; in cc_aead_chain_assoc() 602 areq_ctx->assoc.mlli_nents = 0; in cc_aead_chain_assoc() 605 areq_ctx->assoc.nents); in cc_aead_chain_assoc() 618 areq_ctx->assoc.nents = mapped_nents; in cc_aead_chain_assoc() 626 (areq_ctx->assoc.nents + 1), in cc_aead_chain_assoc() 641 areq_ctx->assoc.nents); in cc_aead_chain_assoc() 642 cc_add_sg_entry(dev, sg_data, areq_ctx->assoc.nents, req->src, in cc_aead_chain_assoc() 644 &areq_ctx->assoc.mlli_nents); in cc_aead_chain_assoc() 902 areq_ctx->assoc.sram_addr = drvdata->mlli_sram_addr; in cc_update_aead_mlli_nents() [all …]
|
| /linux/drivers/net/netdevsim/ |
| H A D | psp.c | 131 struct psp_key_parsed *assoc, in nsim_rx_spi_alloc() argument 142 assoc->spi = cpu_to_be32(new); in nsim_rx_spi_alloc() 143 assoc->key[0] = psd->generation; in nsim_rx_spi_alloc() 145 assoc->key[i] = ns->psp.spi + i; in nsim_rx_spi_alloc()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | join.c | 379 struct host_cmd_ds_802_11_associate *assoc = &cmd->params.associate; in mwifiex_cmd_802_11_associate() local 394 pos = (u8 *) assoc; in mwifiex_cmd_802_11_associate() 401 memcpy(assoc->peer_sta_addr, in mwifiex_cmd_802_11_associate() 402 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate() 403 pos += sizeof(assoc->peer_sta_addr); in mwifiex_cmd_802_11_associate() 406 assoc->listen_interval = cpu_to_le16(priv->listen_interval); in mwifiex_cmd_802_11_associate() 408 assoc->beacon_period = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_associate() 410 pos += sizeof(assoc->cap_info_bitmap); in mwifiex_cmd_802_11_associate() 411 pos += sizeof(assoc->listen_interval); in mwifiex_cmd_802_11_associate() 412 pos += sizeof(assoc->beacon_period); in mwifiex_cmd_802_11_associate() [all …]
|
| /linux/net/mac80211/tests/ |
| H A D | mfp.c | 16 bool sta, mfp, decrypted, unicast, assoc; member 195 .assoc = true, 238 if (params->assoc) in accept_mfp()
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | juno-base.dtsi | 301 arm,cs-dev-assoc = <&etm0>; 373 arm,cs-dev-assoc = <&etm1>; 410 arm,cs-dev-assoc = <&etm2>; 494 arm,cs-dev-assoc = <&etm3>; 531 arm,cs-dev-assoc = <&etm4>; 568 arm,cs-dev-assoc = <&etm5>; 588 arm,cs-dev-assoc = <&etr_sys>; 597 arm,cs-dev-assoc = <&etf_sys0>; 607 arm,cs-dev-assoc = <&stm_sys>; 614 arm,cs-dev-assoc = <&tpiu_sys>;
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_mac80211.c | 258 if (!vif->cfg.assoc) in rsi_mac80211_hw_scan_start() 597 bool assoc = false; in rsi_channel_change() local 610 if (vif->cfg.assoc) { in rsi_channel_change() 611 assoc = true; in rsi_channel_change() 616 if (assoc) { in rsi_channel_change() 629 if (assoc) { in rsi_channel_change() 718 (!sta_vif || vif->cfg.assoc)) in rsi_mac80211_config() 815 __func__, vif->cfg.assoc); in rsi_mac80211_bss_info_changed() 816 if (vif->cfg.assoc) { in rsi_mac80211_bss_info_changed() 825 vif->cfg.assoc, in rsi_mac80211_bss_info_changed() [all …]
|
| /linux/arch/sh/kernel/cpu/ |
| H A D | init.c | 196 #define CSHAPE(totalsize, linesize, assoc) \ argument 197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | sta.c | 142 WARN(!vif->cfg.assoc && enable_ps, in wfx_get_ps_timeout() 161 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout() 175 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout() 187 if (!vif->cfg.assoc) in wfx_update_pm() 532 if (vif->cfg.assoc || vif->cfg.ibss_joined) in wfx_bss_info_changed() 534 else if (!vif->cfg.assoc && vif->type == NL80211_IFTYPE_STATION) in wfx_bss_info_changed()
|
| /linux/Documentation/networking/ |
| H A D | mac80211-auth-assoc-deauth.txt | 59 mac80211->driver: TX assoc 60 driver->mac80211: RX assoc response
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | sf.c | 34 if (vif->cfg.assoc) in iwl_mvm_bound_iface_iterator() 272 } else if (changed_vif->cfg.assoc && in iwl_mvm_sf_update()
|
| /linux/arch/arm/mm/ |
| H A D | cache-l2x0.c | 1034 u32 assoc; in l2x0_of_parse() local 1070 ret = l2x0_cache_size_of_parse(np, aux_val, aux_mask, &assoc, SZ_256K); in l2x0_of_parse() 1074 if (assoc > 8) { in l2x0_of_parse() 1076 pr_err("l2x0 of: %d calculated, max 8\n", assoc); in l2x0_of_parse() 1079 val |= (assoc << L2X0_AUX_CTRL_ASSOC_SHIFT); in l2x0_of_parse() 1133 u32 assoc; in l2c310_of_parse() local 1163 ret = l2x0_cache_size_of_parse(np, aux_val, aux_mask, &assoc, SZ_512K); in l2c310_of_parse() 1165 switch (assoc) { in l2c310_of_parse() 1177 assoc); in l2c310_of_parse()
|