Home
last modified time | relevance | path

Searched refs:supp (Results 1 – 15 of 15) 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 Drpc.c233 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 Dffa_abi.c1110 optee_supp_init(&optee->supp); in optee_ffa_probe()
1156 optee_supp_uninit(&optee->supp); in optee_ffa_probe()
/linux/drivers/mailbox/
H A Dsprd-mailbox.c298 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 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.h255 IP_TUNNEL_DECLARE_FLAGS(supp) = { }; in ip_tunnel_flags_is_be16_compat()
257 bitmap_set(supp, 0, BITS_PER_TYPE(__be16)); in ip_tunnel_flags_is_be16_compat()
258 __set_bit(IP_TUNNEL_VTI_BIT, supp); in ip_tunnel_flags_is_be16_compat()
260 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/fs/nfsd/
H A Dnfs4xdr.c2970 u32 supp[3]; in nfsd4_encode_fattr4_supported_attrs() local
2972 memcpy(supp, nfsd_suppattrs[minorversion], sizeof(supp)); in nfsd4_encode_fattr4_supported_attrs()
2974 supp[0] &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr4_supported_attrs()
2976 supp[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_encode_fattr4_supported_attrs()
2978 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/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.c2495 u8 reporting_opts, req_opcode, sdeb_i, supp; in resp_rsup_opcodes() local
2573 supp = 1; in resp_rsup_opcodes()
2593 supp = 3; in resp_rsup_opcodes()
2602 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2611 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2613 supp = 3; in resp_rsup_opcodes()
2614 if (3 == supp) { in resp_rsup_opcodes()
2625 arr[1] = (rctd ? 0x80 : 0) | supp; in resp_rsup_opcodes()
/linux/fs/nfs/
H A Dnfs4xdr.c4458 uint32_t supp, acc; in decode_access() local
4467 supp = be32_to_cpup(p++); in decode_access()
4469 *supported = supp; in decode_access()
/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()
/linux/net/wireless/
H A Dnl80211.c2401 struct nlattr *supp; in nl80211_put_tid_config_support() local
2407 supp = nla_nest_start(msg, NL80211_ATTR_TID_CONFIG); in nl80211_put_tid_config_support()
2408 if (!supp) in nl80211_put_tid_config_support()
2431 nla_nest_end(msg, supp); in nl80211_put_tid_config_support()
2435 nla_nest_cancel(msg, supp); in nl80211_put_tid_config_support()