Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A 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/include/linux/
H A 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/drivers/net/wireless/ath/ath9k/
H A 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/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A 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/drivers/reset/
H A 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/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A 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/net/wireless/
H A 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()
H A 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/drivers/rtc/
H A 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/sound/pci/ice1712/
H A 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/arch/mips/ralink/
H A 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/drivers/staging/rtl8192e/
H A 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()
H A 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/drivers/input/misc/
H A 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/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c256 #define to_dma_buf_test_params(_priv) \ argument
257 container_of(_priv, struct dma_buf_test_params, base)
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-core.c644 struct rkcanfd_priv *_priv = (priv); \
647 err = rkcanfd_handle_##irq(_priv, ## __VA_ARGS__); \
649 netdev_err(_priv->ndev, \
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A 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/drivers/net/ethernet/
H A Dlantiq_etop.c201 ltq_etop_dma_irq(int irq, void *_priv) in ltq_etop_dma_irq() argument
203 struct ltq_etop_priv *priv = _priv; in ltq_etop_dma_irq()
/linux/drivers/mailbox/
H A Darm_mhuv2.c321 #define IS_PROTOCOL_DOORBELL(_priv) (_priv->ops == &mhuv2_doorbell_ops) argument
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c284 static u64 mlx5e_xsk_fill_timestamp(void *_priv) in mlx5e_xsk_fill_timestamp() argument
286 struct mlx5e_xsk_tx_complete *priv = _priv; in mlx5e_xsk_fill_timestamp()
/linux/drivers/media/usb/gspca/
H A 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/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c1424 struct mcp251xfd_priv *_priv = (priv); \
1427 err = mcp251xfd_handle_##irq(_priv, ## __VA_ARGS__); \
1429 netdev_err(_priv->ndev, \
/linux/drivers/iio/imu/bno055/
H A 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/drivers/phy/tegra/
H A 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/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h310 irqreturn_t sparx5_xtr_handler(int irq, void *_priv);

12