Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/
Detherdevice.h49 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs,
51 #define alloc_etherdev(sizeof_priv) alloc_etherdev_mq(sizeof_priv, 1) argument
52 #define alloc_etherdev_mq(sizeof_priv, count) alloc_etherdev_mqs(sizeof_priv, count, count) argument
54 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv,
57 #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.h33 struct net_device *alloc_hippi_dev(int sizeof_priv);
Di2c-mux.h37 int sizeof_priv, u32 flags,
/Linux-v5.4/include/linux/can/
Ddev.h146 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
148 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument
149 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
150 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument
151 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c204 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument
215 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
221 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument
232 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()
239 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
/Linux-v5.4/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-v5.4/drivers/staging/rtl8723bs/include/
Dosdep_service_linux.h152 u32 sizeof_priv; member
154 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
155 extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);
/Linux-v5.4/include/linux/mux/
Ddriver.h83 unsigned int controllers, size_t sizeof_priv);
90 size_t sizeof_priv);
/Linux-v5.4/drivers/iio/multiplexer/
Diio-mux.c349 int sizeof_priv; in mux_probe() local
379 sizeof_priv = sizeof(*mux); in mux_probe()
380 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
381 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
382 sizeof_priv += sizeof_ext_info; in mux_probe()
384 indio_dev = devm_iio_device_alloc(dev, sizeof_priv); in mux_probe()
/Linux-v5.4/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()
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()
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()
/Linux-v5.4/drivers/mux/
Dcore.c80 unsigned int controllers, size_t sizeof_priv) in mux_chip_alloc() argument
90 sizeof_priv, GFP_KERNEL); in mux_chip_alloc()
221 size_t sizeof_priv) in devm_mux_chip_alloc() argument
229 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv); in devm_mux_chip_alloc()
/Linux-v5.4/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-v5.4/net/ethernet/
Deth.c406 struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, in alloc_etherdev_mqs() argument
409 return alloc_netdev_mqs(sizeof_priv, "eth%d", NET_NAME_UNKNOWN, in alloc_etherdev_mqs()
419 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv, in devm_alloc_etherdev_mqs() argument
429 netdev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs); in devm_alloc_etherdev_mqs()
/Linux-v5.4/drivers/iio/afe/
Diio-rescale.c274 int sizeof_priv; in rescale_probe() local
291 sizeof_priv = sizeof(*rescale) + sizeof_ext_info; in rescale_probe()
293 indio_dev = devm_iio_device_alloc(dev, sizeof_priv); in rescale_probe()
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_module.c97 struct net_device *alloc_ieee80211(int sizeof_priv) in alloc_ieee80211() argument
105 dev = alloc_etherdev(sizeof(struct ieee80211_device) + sizeof_priv); in alloc_ieee80211()
/Linux-v5.4/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h41 struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index,
/Linux-v5.4/drivers/char/ipmi/
Dkcs_bmc.h106 struct kcs_bmc *kcs_bmc_alloc(struct device *dev, int sizeof_priv,
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
Dlibipw_module.c107 struct net_device *alloc_libipw(int sizeof_priv, int monitor) in alloc_libipw() argument
115 dev = alloc_etherdev(sizeof(struct libipw_device) + sizeof_priv); in alloc_libipw()
/Linux-v5.4/drivers/i2c/
Di2c-mux.c241 int sizeof_priv, u32 flags, in i2c_mux_alloc() argument
248 + sizeof_priv, GFP_KERNEL); in i2c_mux_alloc()
251 if (sizeof_priv) in i2c_mux_alloc()
/Linux-v5.4/drivers/net/can/sja1000/
Dsja1000.h175 struct net_device *alloc_sja1000dev(int sizeof_priv);

12