Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/include/linux/
Dconfigfs.h159 #define CONFIGFS_BIN_ATTR(_pfx, _name, _priv, _maxsz) \ argument
166 .cb_private = _priv, \
172 #define CONFIGFS_BIN_ATTR_RO(_pfx, _name, _priv, _maxsz) \ argument
179 .cb_private = _priv, \
184 #define CONFIGFS_BIN_ATTR_WO(_pfx, _name, _priv, _maxsz) \ argument
191 .cb_private = _priv, \
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/reset/
Dreset-uniphier-glue.c31 static void uniphier_clk_disable(void *_priv) in uniphier_clk_disable() argument
33 struct uniphier_glue_reset_priv *priv = _priv; in uniphier_clk_disable()
38 static void uniphier_rst_assert(void *_priv) in uniphier_rst_assert() argument
40 struct uniphier_glue_reset_priv *priv = _priv; in uniphier_rst_assert()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/mips/ralink/
Dill_acc.c32 static irqreturn_t ill_acc_irq_handler(int irq, void *_priv) in ill_acc_irq_handler() argument
34 struct device *dev = (struct device *) _priv; in ill_acc_irq_handler()
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c79 struct rtllib_ccmp_data *_priv = priv; in rtllib_ccmp_deinit() local
81 if (_priv && _priv->tfm) in rtllib_ccmp_deinit()
82 crypto_free_aead(_priv->tfm); in rtllib_ccmp_deinit()
Drtllib_crypt_tkip.c96 struct rtllib_tkip_data *_priv = priv; in rtllib_tkip_deinit() local
98 if (_priv) { in rtllib_tkip_deinit()
99 crypto_free_shash(_priv->tx_tfm_michael); in rtllib_tkip_deinit()
100 crypto_free_shash(_priv->rx_tfm_michael); in rtllib_tkip_deinit()
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
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.c104 struct ieee80211_tkip_data *_priv = priv; in ieee80211_tkip_deinit() local
106 if (_priv) { in ieee80211_tkip_deinit()
107 crypto_free_shash(_priv->tx_tfm_michael); in ieee80211_tkip_deinit()
108 crypto_free_shash(_priv->rx_tfm_michael); in ieee80211_tkip_deinit()
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/
Dlantiq_etop.c202 ltq_etop_dma_irq(int irq, void *_priv) in ltq_etop_dma_irq() argument
204 struct ltq_etop_priv *priv = _priv; in ltq_etop_dma_irq()
/linux-6.6.21/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-6.6.21/drivers/mailbox/
Darm_mhuv2.c321 #define IS_PROTOCOL_DOORBELL(_priv) (_priv->ops == &mhuv2_doorbell_ops) argument
/linux-6.6.21/drivers/media/usb/gspca/
Dgspca.c1032 static int vidioc_g_fmt_vid_cap(struct file *file, void *_priv, in vidioc_g_fmt_vid_cap() argument
1078 static int vidioc_try_fmt_vid_cap(struct file *file, void *_priv, in vidioc_try_fmt_vid_cap() argument
1091 static int vidioc_s_fmt_vid_cap(struct file *file, void *_priv, in vidioc_s_fmt_vid_cap() argument
/linux-6.6.21/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1420 struct mcp251xfd_priv *_priv = (priv); \
1423 err = mcp251xfd_handle_##irq(_priv, ## __VA_ARGS__); \
1425 netdev_err(_priv->ndev, \
/linux-6.6.21/drivers/iio/imu/bno055/
Dbno055.c1305 static void bno055_debugfs_remove(void *_priv) in bno055_debugfs_remove() argument
1307 struct bno055_priv *priv = _priv; in bno055_debugfs_remove()
/linux-6.6.21/drivers/phy/tegra/
Dxusb-tegra210.c1325 #define padctl_pmc_readl(_priv, _offset) \ argument
1328 WARN(regmap_read(_priv->regmap, _offset, &value), "read %s failed\n", #_offset);\
1332 #define padctl_pmc_writel(_priv, _value, _offset) \ argument
1333 WARN(regmap_write(_priv->regmap, _offset, _value), "write %s failed\n", #_offset)
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_main.h314 irqreturn_t sparx5_xtr_handler(int irq, void *_priv);