Home
last modified time | relevance | path

Searched refs:sizeof_priv (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c52 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument
63 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
69 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument
80 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()
87 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dosdep_service.c48 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, in rtw_alloc_etherdev_with_old_priv() argument
61 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
66 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument
77 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()
83 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
/linux-6.1.9/include/linux/can/
Ddev.h173 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
175 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument
176 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
177 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument
178 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/linux-6.1.9/include/linux/
Detherdevice.h56 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
58 #define alloc_etherdev(sizeof_priv) alloc_etherdev_mq(sizeof_priv, 1) argument
59 #define alloc_etherdev_mq(sizeof_priv, count) alloc_etherdev_mqs(sizeof_priv, count, count) argument
61 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv,
64 #define devm_alloc_etherdev(dev, sizeof_priv) devm_alloc_etherdev_mqs(dev, sizeof_priv, 1, 1) argument
Dif_ltalk.h7 extern struct net_device *alloc_ltalkdev(int sizeof_priv);
Dfcdevice.h25 struct net_device *alloc_fcdev(int sizeof_priv);
Dfddidevice.h25 struct net_device *alloc_fddidev(int sizeof_priv);
Dhippidevice.h37 struct net_device *alloc_hippi_dev(int sizeof_priv);
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dosdep_service_linux.h112 u32 sizeof_priv; member
120 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
121 extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);
/linux-6.1.9/drivers/counter/
Dcounter-core.c87 struct counter_device *counter_alloc(size_t sizeof_priv) in counter_alloc() argument
94 ch = kzalloc(sizeof(*ch) + sizeof_priv, GFP_KERNEL); in counter_alloc()
211 struct counter_device *devm_counter_alloc(struct device *dev, size_t sizeof_priv) in devm_counter_alloc() argument
216 counter = counter_alloc(sizeof_priv); in devm_counter_alloc()
/linux-6.1.9/net/appletalk/
Ddev.c41 struct net_device *alloc_ltalkdev(int sizeof_priv) in alloc_ltalkdev() argument
43 return alloc_netdev(sizeof_priv, "lt%d", NET_NAME_UNKNOWN, in alloc_ltalkdev()
/linux-6.1.9/drivers/staging/r8188eu/include/
Dosdep_service.h92 u32 sizeof_priv; member
94 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv,
96 struct net_device *rtw_alloc_etherdev(int sizeof_priv);
/linux-6.1.9/include/linux/mux/
Ddriver.h87 unsigned int controllers, size_t sizeof_priv);
94 size_t sizeof_priv);
/linux-6.1.9/drivers/iio/multiplexer/
Diio-mux.c339 int sizeof_priv; in mux_probe() local
376 sizeof_priv = sizeof(*mux); in mux_probe()
377 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
378 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
379 sizeof_priv += sizeof_ext_info; in mux_probe()
381 indio_dev = devm_iio_device_alloc(dev, sizeof_priv); in mux_probe()
/linux-6.1.9/net/
Ddevres.c21 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv, in devm_alloc_etherdev_mqs() argument
30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
/linux-6.1.9/net/802/
Dfc.c102 struct net_device *alloc_fcdev(int sizeof_priv) in alloc_fcdev() argument
104 return alloc_netdev(sizeof_priv, "fc%d", NET_NAME_UNKNOWN, fc_setup); in alloc_fcdev()
Dhippi.c187 struct net_device *alloc_hippi_dev(int sizeof_priv) in alloc_hippi_dev() argument
189 return alloc_netdev(sizeof_priv, "hip%d", NET_NAME_UNKNOWN, in alloc_hippi_dev()
Dfddi.c171 struct net_device *alloc_fddidev(int sizeof_priv) in alloc_fddidev() argument
173 return alloc_netdev(sizeof_priv, "fddi%d", NET_NAME_UNKNOWN, in alloc_fddidev()
/linux-6.1.9/drivers/iio/adc/
Dadi-axi-adc.c168 size_t sizeof_priv) in adi_axi_adc_conv_register() argument
174 if (sizeof_priv) in adi_axi_adc_conv_register()
175 alloc_size += ALIGN(sizeof_priv, IIO_DMA_MINALIGN); in adi_axi_adc_conv_register()
212 size_t sizeof_priv) in devm_adi_axi_adc_conv_register() argument
217 conv = adi_axi_adc_conv_register(dev, sizeof_priv); in devm_adi_axi_adc_conv_register()
/linux-6.1.9/drivers/net/phy/
Dmdio_devres.c30 struct mii_bus *devm_mdiobus_alloc_size(struct device *dev, int sizeof_priv) in devm_mdiobus_alloc_size() argument
38 dr->mii = mdiobus_alloc_size(sizeof_priv); in devm_mdiobus_alloc_size()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_module.c72 struct net_device *alloc_rtllib(int sizeof_priv) in alloc_rtllib() argument
80 dev = alloc_etherdev(sizeof(struct rtllib_device) + sizeof_priv); in alloc_rtllib()
/linux-6.1.9/drivers/mux/
Dcore.c95 unsigned int controllers, size_t sizeof_priv) in mux_chip_alloc() argument
105 sizeof_priv, GFP_KERNEL); in mux_chip_alloc()
239 size_t sizeof_priv) in devm_mux_chip_alloc() argument
247 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv); in devm_mux_chip_alloc()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_module.c80 struct net_device *alloc_ieee80211(int sizeof_priv) in alloc_ieee80211() argument
88 dev = alloc_etherdev(sizeof(struct ieee80211_device) + sizeof_priv); in alloc_ieee80211()
/linux-6.1.9/include/linux/iio/adc/
Dadi-axi-adc.h60 size_t sizeof_priv);
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h40 struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index,

123