/linux/drivers/tee/optee/ |
H A D | supp.c | 22 void optee_supp_init(struct optee_supp *supp) in optee_supp_init() argument 24 memset(supp, 0, sizeof(*supp)); in optee_supp_init() 25 mutex_init(&supp->mutex); in optee_supp_init() 26 init_completion(&supp->reqs_c); in optee_supp_init() 27 idr_init(&supp->idr); in optee_supp_init() 28 INIT_LIST_HEAD(&supp->reqs); in optee_supp_init() 29 supp->req_id = -1; in optee_supp_init() 32 void optee_supp_uninit(struct optee_supp *supp) in optee_supp_uninit() argument 34 mutex_destroy(&supp->mutex); in optee_supp_uninit() 35 idr_destroy(&supp->idr); in optee_supp_uninit() [all …]
|
H A D | core.c | 105 mutex_lock(&optee->supp.mutex); in optee_open() 106 if (!optee->supp.ctx) { in optee_open() 108 optee->supp.ctx = ctx; in optee_open() 110 mutex_unlock(&optee->supp.mutex); in optee_open() 163 optee_supp_release(&optee->supp); in optee_release_supp() 185 optee_supp_uninit(&optee->supp); in optee_remove_common()
|
H A D | optee_private.h | 229 struct optee_supp supp; member 283 void optee_supp_init(struct optee_supp *supp); 284 void optee_supp_uninit(struct optee_supp *supp); 285 void optee_supp_release(struct optee_supp *supp);
|
H A D | Makefile | 7 optee-objs += supp.o
|
H A D | rpc.c | 233 mutex_lock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl() 235 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in optee_rpc_cmd_alloc_suppl() 236 mutex_unlock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
|
H A D | ffa_abi.c | 948 optee_supp_init(&optee->supp); in optee_ffa_probe() 991 optee_supp_uninit(&optee->supp); in optee_ffa_probe()
|
H A D | smc_abi.c | 1718 optee_supp_init(&optee->supp); in optee_probe() 1797 optee_supp_uninit(&optee->supp); in optee_probe()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs-fw.c | 46 u8 supp = 0; in rs_fw_sgi_cw_support() local 52 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_20MHZ); in rs_fw_sgi_cw_support() 54 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_40MHZ); in rs_fw_sgi_cw_support() 56 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_80MHZ); in rs_fw_sgi_cw_support() 58 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_160MHZ); in rs_fw_sgi_cw_support() 60 return supp; in rs_fw_sgi_cw_support() 140 u16 supp; in rs_fw_vht_set_enabled_rates() local 159 supp = BIT(highest_mcs + 1) - 1; in rs_fw_vht_set_enabled_rates() 161 supp &= ~BIT(IWL_TLC_MNG_HT_RATE_MCS9); in rs_fw_vht_set_enabled_rates() 163 cmd->ht_rates[i][IWL_TLC_MCS_PER_BW_80] = cpu_to_le16(supp); in rs_fw_vht_set_enabled_rates() [all …]
|
H A D | rs.c | 2930 unsigned long supp; /* must be unsigned long for for_each_set_bit */ in rs_drv_rate_init() local 2962 supp = sta->deflink.supp_rates[sband->band]; in rs_drv_rate_init() 2964 for_each_set_bit(i, &supp, BITS_PER_LONG) in rs_drv_rate_init()
|
/linux/drivers/mailbox/ |
H A D | sprd-mailbox.c | 298 unsigned long id, supp; in sprd_mbox_probe() local 365 supp = (unsigned long) of_device_get_match_data(dev); in sprd_mbox_probe() 366 if (!supp) { in sprd_mbox_probe() 370 priv->supp_base = priv->outbox_base + (SPRD_OUTBOX_BASE_SPAN * supp); in sprd_mbox_probe()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | libbpf_probes.c | 89 #define CASE(prog, helper, supp) { \ in test_libbpf_probe_helpers() argument 94 .supported = supp, \ in test_libbpf_probe_helpers()
|
/linux/include/net/ |
H A D | ip_tunnels.h | 252 IP_TUNNEL_DECLARE_FLAGS(supp) = { }; in ip_tunnel_flags_is_be16_compat() 254 bitmap_set(supp, 0, BITS_PER_TYPE(__be16)); in ip_tunnel_flags_is_be16_compat() 255 __set_bit(IP_TUNNEL_VTI_BIT, supp); in ip_tunnel_flags_is_be16_compat() 257 return ip_tunnel_flags_subset(flags, supp); in ip_tunnel_flags_is_be16_compat()
|
/linux/net/tipc/ |
H A D | bcast.h | 89 void tipc_bcast_toggle_rcast(struct net *net, bool supp);
|
H A D | bcast.c | 91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast() argument 93 tipc_bc_base(net)->rcast_support = supp; in tipc_bcast_toggle_rcast()
|
H A D | bearer.c | 522 bool supp = false; in tipc_bearer_bcast_support() local 528 supp = (b->bcast_addr.broadcast == TIPC_BROADCAST_SUPPORT); in tipc_bearer_bcast_support() 530 return supp; in tipc_bearer_bcast_support()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | commands.c | 982 struct wiphy_wowlan_support *supp; in qtnf_parse_wowlan_info() local 984 supp = kzalloc(sizeof(*supp), GFP_KERNEL); in qtnf_parse_wowlan_info() 985 if (!supp) in qtnf_parse_wowlan_info() 992 supp->flags = WIPHY_WOWLAN_MAGIC_PKT | WIPHY_WOWLAN_DISCONNECT; in qtnf_parse_wowlan_info() 993 supp->n_patterns = le32_to_cpu(data1->n_patterns); in qtnf_parse_wowlan_info() 994 supp->pattern_max_len = le32_to_cpu(data1->pattern_max_len); in qtnf_parse_wowlan_info() 995 supp->pattern_min_len = le32_to_cpu(data1->pattern_min_len); in qtnf_parse_wowlan_info() 997 mac_info->wowlan = supp; in qtnf_parse_wowlan_info() 1002 kfree(supp); in qtnf_parse_wowlan_info()
|
/linux/fs/nfsd/ |
H A D | nfs4xdr.c | 2967 u32 supp[3]; in nfsd4_encode_fattr4_supported_attrs() local 2969 memcpy(supp, nfsd_suppattrs[minorversion], sizeof(supp)); in nfsd4_encode_fattr4_supported_attrs() 2971 supp[0] &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr4_supported_attrs() 2973 supp[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_encode_fattr4_supported_attrs() 2975 return nfsd4_encode_bitmap4(xdr, supp[0], supp[1], supp[2]); in nfsd4_encode_fattr4_supported_attrs() 3375 u32 supp[3]; in nfsd4_encode_fattr4_suppattr_exclcreat() local 3377 memcpy(supp, nfsd_suppattrs[resp->cstate.minorversion], sizeof(supp)); in nfsd4_encode_fattr4_suppattr_exclcreat() 3378 supp[0] &= NFSD_SUPPATTR_EXCLCREAT_WORD0; in nfsd4_encode_fattr4_suppattr_exclcreat() 3379 supp[1] &= NFSD_SUPPATTR_EXCLCREAT_WORD1; in nfsd4_encode_fattr4_suppattr_exclcreat() 3380 supp[2] &= NFSD_SUPPATTR_EXCLCREAT_WORD2; in nfsd4_encode_fattr4_suppattr_exclcreat() [all …]
|
/linux/net/wireless/ |
H A D | util.c | 2725 int supp = (map >> (2 * i)) & 3; in ieee80211_get_vht_max_nss() local 2727 if (supp == 3) in ieee80211_get_vht_max_nss() 2730 if (supp >= mcs_encoding) { in ieee80211_get_vht_max_nss()
|
H A D | nl80211.c | 2303 struct nlattr *supp; in nl80211_put_tid_config_support() local 2309 supp = nla_nest_start(msg, NL80211_ATTR_TID_CONFIG); in nl80211_put_tid_config_support() 2310 if (!supp) in nl80211_put_tid_config_support() 2333 nla_nest_end(msg, supp); in nl80211_put_tid_config_support() 2337 nla_nest_cancel(msg, supp); in nl80211_put_tid_config_support()
|
/linux/drivers/scsi/ |
H A D | scsi_debug.c | 2363 u8 reporting_opts, req_opcode, sdeb_i, supp; in resp_rsup_opcodes() local 2443 supp = 1; in resp_rsup_opcodes() 2462 supp = 3; in resp_rsup_opcodes() 2470 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes() 2478 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes() 2480 supp = 3; in resp_rsup_opcodes() 2481 if (3 == supp) { in resp_rsup_opcodes() 2492 arr[1] = (rctd ? 0x80 : 0) | supp; in resp_rsup_opcodes()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rs.c | 2749 unsigned long supp; /* must be unsigned long for for_each_set_bit */ in iwl_rs_rate_init() local 2779 supp = sta->deflink.supp_rates[sband->band]; in iwl_rs_rate_init() 2781 for_each_set_bit(i, &supp, BITS_PER_LONG) in iwl_rs_rate_init()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.h | 1213 struct ipw_rates supp; /**< software defined */ member
|
/linux/fs/nfs/ |
H A D | nfs4xdr.c | 4387 uint32_t supp, acc; in decode_access() local 4396 supp = be32_to_cpup(p++); in decode_access() 4398 *supported = supp; in decode_access()
|
/linux/Documentation/RCU/ |
H A D | RTFP.txt | 2384 http://www.rdrop.com/users/paulmck/RCU/urcu-supp-accepted.2011.08.30a.pdf 2665 http://www.rdrop.com/users/paulmck/RCU/urcu-supp-accepted.2011.08.30a.pdf
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | cfg80211.c | 7211 static __le16 brcmf_get_mcs_map(u32 nchain, enum ieee80211_vht_mcs_support supp) in brcmf_get_mcs_map() argument 7217 mcs_map = (mcs_map << 2) | supp; in brcmf_get_mcs_map()
|