Home
last modified time | relevance | path

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

/drivers/tee/optee/
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 …]
Dcore.c100 mutex_lock(&optee->supp.mutex); in optee_open()
101 if (!optee->supp.ctx) { in optee_open()
103 optee->supp.ctx = ctx; in optee_open()
105 mutex_unlock(&optee->supp.mutex); in optee_open()
165 optee_supp_release(&optee->supp); in optee_release_supp()
184 optee_supp_uninit(&optee->supp); in optee_remove_common()
Doptee_private.h172 struct optee_supp supp; member
219 void optee_supp_init(struct optee_supp *supp);
220 void optee_supp_uninit(struct optee_supp *supp);
221 void optee_supp_release(struct optee_supp *supp);
Drpc.c226 mutex_lock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
228 shm = tee_shm_get_from_id(optee->supp.ctx, param.u.value.c); in optee_rpc_cmd_alloc_suppl()
229 mutex_unlock(&optee->supp.mutex); in optee_rpc_cmd_alloc_suppl()
DMakefile7 optee-objs += supp.o
Dffa_abi.c855 optee_supp_init(&optee->supp); in optee_ffa_probe()
882 optee_supp_uninit(&optee->supp); in optee_ffa_probe()
Dsmc_abi.c1480 optee_supp_init(&optee->supp); in optee_probe()
1552 optee_supp_uninit(&optee->supp); in optee_probe()
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c44 u8 supp = 0; in rs_fw_sgi_cw_support() local
50 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_20MHZ); in rs_fw_sgi_cw_support()
52 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_40MHZ); in rs_fw_sgi_cw_support()
54 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_80MHZ); in rs_fw_sgi_cw_support()
56 supp |= BIT(IWL_TLC_MNG_CH_WIDTH_160MHZ); in rs_fw_sgi_cw_support()
58 return supp; in rs_fw_sgi_cw_support()
137 u16 supp; in rs_fw_vht_set_enabled_rates() local
156 supp = BIT(highest_mcs + 1) - 1; in rs_fw_vht_set_enabled_rates()
158 supp &= ~BIT(IWL_TLC_MNG_HT_RATE_MCS9); in rs_fw_vht_set_enabled_rates()
160 cmd->ht_rates[i][IWL_TLC_MCS_PER_BW_80] = cpu_to_le16(supp); in rs_fw_vht_set_enabled_rates()
[all …]
Drs.c2929 unsigned long supp; /* must be unsigned long for for_each_set_bit */ in rs_drv_rate_init() local
2961 supp = sta->deflink.supp_rates[sband->band]; in rs_drv_rate_init()
2963 for_each_set_bit(i, &supp, BITS_PER_LONG) in rs_drv_rate_init()
/drivers/mailbox/
Dsprd-mailbox.c306 unsigned long id, supp; in sprd_mbox_probe() local
382 supp = (unsigned long) of_device_get_match_data(dev); in sprd_mbox_probe()
383 if (!supp) { in sprd_mbox_probe()
387 priv->supp_base = priv->outbox_base + (SPRD_OUTBOX_BASE_SPAN * supp); in sprd_mbox_probe()
/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c982 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()
/drivers/scsi/
Dscsi_debug.c2004 u8 reporting_opts, req_opcode, sdeb_i, supp; in resp_rsup_opcodes() local
2084 supp = 1; in resp_rsup_opcodes()
2103 supp = 3; in resp_rsup_opcodes()
2111 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2119 supp = (k >= na) ? 1 : 3; in resp_rsup_opcodes()
2121 supp = 3; in resp_rsup_opcodes()
2122 if (3 == supp) { in resp_rsup_opcodes()
2133 arr[1] = (rctd ? 0x80 : 0) | supp; in resp_rsup_opcodes()
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c2770 unsigned long supp; /* must be unsigned long for for_each_set_bit */ in iwl_rs_rate_init() local
2801 supp = sta->deflink.supp_rates[sband->band]; in iwl_rs_rate_init()
2803 for_each_set_bit(i, &supp, BITS_PER_LONG) in iwl_rs_rate_init()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h1214 struct ipw_rates supp; /**< software defined */ member
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c6808 static __le16 brcmf_get_mcs_map(u32 nchain, enum ieee80211_vht_mcs_support supp) in brcmf_get_mcs_map() argument
6814 mcs_map = (mcs_map << 2) | supp; in brcmf_get_mcs_map()