Home
last modified time | relevance | path

Searched refs:supp (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/tee/optee/
H A Dsupp.c22 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 Dcore.c135 mutex_lock(&optee->supp.mutex); in optee_open()
136 if (!optee->supp.ctx) { in optee_open()
138 optee->supp.ctx = ctx; in optee_open()
140 mutex_unlock(&optee->supp.mutex); in optee_open()
193 optee_supp_release(&optee->supp); in optee_release_supp()
215 optee_supp_uninit(&optee->supp); in optee_remove_common()
H A Drpc.c231 mutex_lock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
233 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in optee_rpc_cmd_alloc_suppl()
234 mutex_unlock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
H A Dffa_abi.c1136 optee_supp_init(&optee->supp); in optee_ffa_probe()
1182 optee_supp_uninit(&optee->supp); in optee_ffa_probe()
H A Dsmc_abi.c1861 optee_supp_init(&optee->supp); in optee_probe()
1943 optee_supp_uninit(&optee->supp); in optee_probe()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlibbpf_probes.c89 #define CASE(prog, helper, supp) { \ in test_libbpf_probe_helpers() argument
94 .supported = supp, \ in test_libbpf_probe_helpers()
/linux/include/net/
H A Dip_tunnels.h263 IP_TUNNEL_DECLARE_FLAGS(supp) = { }; in ip_tunnel_flags_is_be16_compat()
265 bitmap_set(supp, 0, BITS_PER_TYPE(__be16)); in ip_tunnel_flags_is_be16_compat()
266 __set_bit(IP_TUNNEL_VTI_BIT, supp); in ip_tunnel_flags_is_be16_compat()
268 return ip_tunnel_flags_subset(flags, supp); in ip_tunnel_flags_is_be16_compat()
/linux/net/tipc/
H A Dbcast.h89 void tipc_bcast_toggle_rcast(struct net *net, bool supp);
H A Dbcast.c91 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 Dbearer.c522 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 Dcommands.c982 struct wiphy_wowlan_support *supp; in qtnf_parse_wowlan_info() local
984 supp = kzalloc_obj(*supp); 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 Dnfs4xdr.c3194 u32 supp[3]; in nfsd4_encode_fattr4_supported_attrs() local
3196 memcpy(supp, nfsd_suppattrs[minorversion], sizeof(supp)); in nfsd4_encode_fattr4_supported_attrs()
3198 supp[0] &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr4_supported_attrs()
3200 supp[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_encode_fattr4_supported_attrs()
3202 return nfsd4_encode_bitmap4(xdr, supp[0], supp[1], supp[2]); in nfsd4_encode_fattr4_supported_attrs()
3599 u32 supp[3]; in nfsd4_encode_fattr4_suppattr_exclcreat() local
3601 memcpy(supp, nfsd_suppattrs[resp->cstate.minorversion], sizeof(supp)); in nfsd4_encode_fattr4_suppattr_exclcreat()
3603 supp[0] &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr4_suppattr_exclcreat()
3605 supp[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_encode_fattr4_suppattr_exclcreat()
3607 supp[0] &= NFSD_SUPPATTR_EXCLCREAT_WORD0; in nfsd4_encode_fattr4_suppattr_exclcreat()
[all …]
/linux/net/wireless/
H A Dutil.c2817 int supp = (map >> (2 * i)) & 3; in ieee80211_get_vht_max_nss() local
2819 if (supp == 3) in ieee80211_get_vht_max_nss()
2822 if (supp >= mcs_encoding) { in ieee80211_get_vht_max_nss()
H A Dnl80211.c2457 struct nlattr *supp; in nl80211_put_tid_config_support() local
2463 supp = nla_nest_start(msg, NL80211_ATTR_TID_CONFIG); in nl80211_put_tid_config_support()
2464 if (!supp) in nl80211_put_tid_config_support()
2487 nla_nest_end(msg, supp); in nl80211_put_tid_config_support()
2491 nla_nest_cancel(msg, supp); in nl80211_put_tid_config_support()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c2749 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/scsi/
H A Dscsi_debug.c2489 u8 reporting_opts, req_opcode, sdeb_i, supp; in resp_rsup_opcodes() local
2567 supp = 1; in resp_rsup_opcodes()
2587 supp = 3; in resp_rsup_opcodes()
2596 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2605 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2607 supp = 3; in resp_rsup_opcodes()
2608 if (3 == supp) { in resp_rsup_opcodes()
2619 arr[1] = (rctd ? 0x80 : 0) | supp; in resp_rsup_opcodes()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c7269 static __le16 brcmf_get_mcs_map(u32 nchain, enum ieee80211_vht_mcs_support supp) in brcmf_get_mcs_map() argument
7275 mcs_map = (mcs_map << 2) | supp; in brcmf_get_mcs_map()