Home
last modified time | relevance | path

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

/linux/drivers/tee/optee/
H A Dsupp.c29 void optee_supp_init(struct optee_supp *supp) in optee_supp_init() argument
31 memset(supp, 0, sizeof(*supp)); in optee_supp_init()
32 mutex_init(&supp->mutex); in optee_supp_init()
33 init_completion(&supp->reqs_c); in optee_supp_init()
34 idr_init(&supp->idr); in optee_supp_init()
35 INIT_LIST_HEAD(&supp->reqs); in optee_supp_init()
36 supp->req_id = -1; in optee_supp_init()
39 void optee_supp_uninit(struct optee_supp *supp) in optee_supp_uninit() argument
41 mutex_destroy(&supp->mutex); in optee_supp_uninit()
42 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 Dsmc_abi.c1275 .name = DRIVER_NAME "-supp",
1853 optee_supp_init(&optee->supp); in optee_probe()
1943 optee_supp_uninit(&optee->supp); in optee_probe()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c46 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 …]
/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.c523 bool supp = false; in tipc_bearer_bcast_support()
529 supp = (b->bcast_addr.broadcast == TIPC_BROADCAST_SUPPORT); in tipc_bearer_bcast_support()
531 return supp; in tipc_bearer_bcast_support()
522 bool supp = false; tipc_bearer_bcast_support() local
/linux/fs/nfsd/
H A Dnfs4xdr.c3230 u32 supp[3]; in nfsd4_encode_fattr4_supported_attrs() local
3232 memcpy(supp, nfsd_suppattrs[minorversion], sizeof(supp)); in nfsd4_encode_fattr4_supported_attrs()
3234 supp[0] &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr4_supported_attrs()
3236 supp[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_encode_fattr4_supported_attrs()
3238 return nfsd4_encode_bitmap4(xdr, supp[0], supp[1], supp[2]); in nfsd4_encode_fattr4_supported_attrs()
3662 u32 supp[3]; in nfsd4_encode_fattr4_suppattr_exclcreat() local
3664 memcpy(supp, nfsd_suppattrs[resp->cstate.minorversion], sizeof(supp)); in nfsd4_encode_fattr4_suppattr_exclcreat()
3666 supp[0] &= ~FATTR4_WORD0_ACL; in nfsd4_encode_fattr4_suppattr_exclcreat()
3668 supp[2] &= ~FATTR4_WORD2_SECURITY_LABEL; in nfsd4_encode_fattr4_suppattr_exclcreat()
3670 supp[0] &= NFSD_SUPPATTR_EXCLCREAT_WORD0; in nfsd4_encode_fattr4_suppattr_exclcreat()
[all …]
/linux/net/wireless/
H A Dutil.c2924 int supp = (map >> (2 * i)) & 3; in ieee80211_get_vht_max_nss() local
2926 if (supp == 3) in ieee80211_get_vht_max_nss()
2929 if (supp >= mcs_encoding) { in ieee80211_get_vht_max_nss()
H A Dnl80211.c2748 struct nlattr *supp; in nl80211_put_tid_config_support() local
2754 supp = nla_nest_start(msg, NL80211_ATTR_TID_CONFIG); in nl80211_put_tid_config_support()
2755 if (!supp) in nl80211_put_tid_config_support()
2778 nla_nest_end(msg, supp); in nl80211_put_tid_config_support()
2782 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.c2435 u8 reporting_opts, req_opcode, sdeb_i, supp; in resp_rsup_opcodes() local
2513 supp = 1; in resp_rsup_opcodes()
2533 supp = 3; in resp_rsup_opcodes()
2542 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2551 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2553 supp = 3; in resp_rsup_opcodes()
2554 if (3 == supp) { in resp_rsup_opcodes()
2565 arr[1] = (rctd ? 0x80 : 0) | supp; in resp_rsup_opcodes()
/linux/fs/nfs/
H A Dnfs4xdr.c4441 uint32_t supp, acc; in decode_access() local
4450 supp = be32_to_cpup(p++); in decode_access()
4452 *supported = supp; in decode_access()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c7293 static __le16 brcmf_get_mcs_map(u32 nchain, enum ieee80211_vht_mcs_support supp) in brcmf_get_mcs_map() argument
7299 mcs_map = (mcs_map << 2) | supp; in brcmf_get_mcs_map()