Home
last modified time | relevance | path

Searched refs:_priv (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Ddm.h95 #define GET_UNDECORATED_AVERAGE_RSSI(_priv) \ argument
97 (((struct rtl_priv *)(_priv))->mac80211.opmode == \
99 (((struct rtl_priv *)(_priv))->dm.entry_min_undec_sm_pwdb) : \
100 (((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb) \
/Linux-v5.4/include/linux/
Dconfigfs.h161 #define CONFIGFS_BIN_ATTR(_pfx, _name, _priv, _maxsz) \ argument
168 .cb_private = _priv, \
174 #define CONFIGFS_BIN_ATTR_RO(_pfx, _name, _priv, _maxsz) \ argument
181 .cb_private = _priv, \
186 #define CONFIGFS_BIN_ATTR_WO(_pfx, _name, _priv, _maxsz) \ argument
193 .cb_private = _priv, \
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dhtc.h203 #define INC_VIF(_priv, _type) do { \ argument
206 _priv->num_sta_vif++; \
209 _priv->num_ibss_vif++; \
212 _priv->num_ap_vif++; \
215 _priv->num_mbss_vif++; \
222 #define DEC_VIF(_priv, _type) do { \ argument
225 _priv->num_sta_vif--; \
228 _priv->num_ibss_vif--; \
231 _priv->num_ap_vif--; \
234 _priv->num_mbss_vif--; \
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.h230 #define GET_UNDECORATED_AVERAGE_RSSI(_priv) \ argument
231 ((((struct rtl_priv *)(_priv))->mac80211.opmode == \
233 (((struct rtl_priv *)(_priv))->dm.entry_min_undecoratedsmoothed_pwdb) :\
234 (((struct rtl_priv *)(_priv))->dm.undecorated_smoothed_pwdb))
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.h256 #define GET_UNDECORATED_AVERAGE_RSSI(_priv) \ argument
257 ((((struct rtl_priv *)(_priv))->mac80211.opmode == \
259 (((struct rtl_priv *)(_priv))->dm.entry_min_undec_sm_pwdb) : \
260 (((struct rtl_priv *)(_priv))->dm.undec_sm_pwdb))
/Linux-v5.4/arch/mips/ralink/
Dill_acc.c30 static irqreturn_t ill_acc_irq_handler(int irq, void *_priv) in ill_acc_irq_handler() argument
32 struct device *dev = (struct device *) _priv; in ill_acc_irq_handler()
/Linux-v5.4/sound/pci/ice1712/
Dak4xxx.c113 const struct snd_ak4xxx_private *_priv, struct snd_ice1712 *ice) in snd_ice1712_akm4xxx_init() argument
117 if (_priv != NULL) { in snd_ice1712_akm4xxx_init()
121 *priv = *_priv; in snd_ice1712_akm4xxx_init()
/Linux-v5.4/net/wireless/
Dlib80211_crypt_tkip.c78 struct lib80211_tkip_data *_priv = priv; in lib80211_tkip_set_flags() local
79 unsigned long old_flags = _priv->flags; in lib80211_tkip_set_flags()
80 _priv->flags = flags; in lib80211_tkip_set_flags()
86 struct lib80211_tkip_data *_priv = priv; in lib80211_tkip_get_flags() local
87 return _priv->flags; in lib80211_tkip_get_flags()
129 struct lib80211_tkip_data *_priv = priv; in lib80211_tkip_deinit() local
130 if (_priv) { in lib80211_tkip_deinit()
131 crypto_free_shash(_priv->tx_tfm_michael); in lib80211_tkip_deinit()
132 crypto_free_shash(_priv->rx_tfm_michael); in lib80211_tkip_deinit()
Dlib80211_crypt_ccmp.c88 struct lib80211_ccmp_data *_priv = priv; in lib80211_ccmp_deinit() local
89 if (_priv && _priv->tfm) in lib80211_ccmp_deinit()
90 crypto_free_aead(_priv->tfm); in lib80211_ccmp_deinit()
/Linux-v5.4/drivers/rtc/
Drtc-rp5c01.c163 static int rp5c01_nvram_read(void *_priv, unsigned int pos, void *val, in rp5c01_nvram_read() argument
166 struct rp5c01_priv *priv = _priv; in rp5c01_nvram_read()
191 static int rp5c01_nvram_write(void *_priv, unsigned int pos, void *val, in rp5c01_nvram_write() argument
194 struct rp5c01_priv *priv = _priv; in rp5c01_nvram_write()
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c66 struct prism2_wep_data *_priv = priv; in prism2_wep_deinit() local
68 if (_priv) { in prism2_wep_deinit()
69 crypto_free_sync_skcipher(_priv->tx_tfm); in prism2_wep_deinit()
70 crypto_free_sync_skcipher(_priv->rx_tfm); in prism2_wep_deinit()
Dieee80211_crypt_ccmp.c85 struct ieee80211_ccmp_data *_priv = priv; in ieee80211_ccmp_deinit() local
87 if (_priv && _priv->tfm) in ieee80211_ccmp_deinit()
88 crypto_free_aead(_priv->tfm); in ieee80211_ccmp_deinit()
Dieee80211_crypt_tkip.c119 struct ieee80211_tkip_data *_priv = priv; in ieee80211_tkip_deinit() local
121 if (_priv) { in ieee80211_tkip_deinit()
122 crypto_free_shash(_priv->tx_tfm_michael); in ieee80211_tkip_deinit()
123 crypto_free_sync_skcipher(_priv->tx_tfm_arc4); in ieee80211_tkip_deinit()
124 crypto_free_shash(_priv->rx_tfm_michael); in ieee80211_tkip_deinit()
125 crypto_free_sync_skcipher(_priv->rx_tfm_arc4); in ieee80211_tkip_deinit()
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c70 struct prism2_wep_data *_priv = priv; in prism2_wep_deinit() local
72 if (_priv) { in prism2_wep_deinit()
73 crypto_free_sync_skcipher(_priv->tx_tfm); in prism2_wep_deinit()
74 crypto_free_sync_skcipher(_priv->rx_tfm); in prism2_wep_deinit()
Drtllib_crypt_ccmp.c80 struct rtllib_ccmp_data *_priv = priv; in rtllib_ccmp_deinit() local
82 if (_priv && _priv->tfm) in rtllib_ccmp_deinit()
83 crypto_free_aead(_priv->tfm); in rtllib_ccmp_deinit()
Drtllib_crypt_tkip.c109 struct rtllib_tkip_data *_priv = priv; in rtllib_tkip_deinit() local
111 if (_priv) { in rtllib_tkip_deinit()
112 crypto_free_shash(_priv->tx_tfm_michael); in rtllib_tkip_deinit()
113 crypto_free_sync_skcipher(_priv->tx_tfm_arc4); in rtllib_tkip_deinit()
114 crypto_free_shash(_priv->rx_tfm_michael); in rtllib_tkip_deinit()
115 crypto_free_sync_skcipher(_priv->rx_tfm_arc4); in rtllib_tkip_deinit()
/Linux-v5.4/drivers/input/misc/
Dmc13783-pwrbutton.c55 static irqreturn_t button_irq(int irq, void *_priv) in button_irq() argument
57 struct mc13783_pwrb *priv = _priv; in button_irq()
/Linux-v5.4/tools/perf/util/
Dbpf-loader.c123 void *_priv) in clear_prog_priv() argument
125 struct bpf_prog_priv *priv = _priv; in clear_prog_priv()
854 void *_priv) in bpf_map_priv__clear() argument
856 struct bpf_map_priv *priv = _priv; in bpf_map_priv__clear()
/Linux-v5.4/drivers/net/ethernet/
Dlantiq_etop.c198 ltq_etop_dma_irq(int irq, void *_priv) in ltq_etop_dma_irq() argument
200 struct ltq_etop_priv *priv = _priv; in ltq_etop_dma_irq()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c19 #define GET_UNDECORATED_AVERAGE_RSSI(_priv) \ argument
20 ((RTLPRIV(_priv))->mac80211.opmode == \
22 ((RTLPRIV(_priv))->dm.entry_min_undec_sm_pwdb) : \
23 ((RTLPRIV(_priv))->dm.undec_sm_pwdb)
/Linux-v5.4/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.h55 #define IS_HARDWARE_TYPE_8192SE(_priv) \ argument
/Linux-v5.4/drivers/media/usb/gspca/
Dgspca.c1030 static int vidioc_g_fmt_vid_cap(struct file *file, void *_priv, in vidioc_g_fmt_vid_cap() argument
1076 static int vidioc_try_fmt_vid_cap(struct file *file, void *_priv, in vidioc_try_fmt_vid_cap() argument
1089 static int vidioc_s_fmt_vid_cap(struct file *file, void *_priv, in vidioc_s_fmt_vid_cap() argument