Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c63 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument
74 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
80 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument
91 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()
98 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
/OK3568_Linux_fs/kernel/include/linux/
H A 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
H A Dif_ltalk.h7 extern struct net_device *alloc_ltalkdev(int sizeof_priv);
H A Dfcdevice.h25 struct net_device *alloc_fcdev(int sizeof_priv);
/OK3568_Linux_fs/kernel/include/linux/can/
H A Ddev.h195 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
197 #define alloc_candev(sizeof_priv, echo_skb_max) \ argument
198 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
199 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \ argument
200 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h137 u32 sizeof_priv; member
145 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
146 extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);
/OK3568_Linux_fs/kernel/net/appletalk/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/multiplexer/
H A Diio-mux.c349 int sizeof_priv; in mux_probe() local
377 sizeof_priv = sizeof(*mux); in mux_probe()
378 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
379 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
380 sizeof_priv += sizeof_ext_info; in mux_probe()
382 indio_dev = devm_iio_device_alloc(dev, sizeof_priv); in mux_probe()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/
H A Dosdep_service_linux.c703 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument
718 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
724 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument
739 pnpi->priv = rtw_zvmalloc(sizeof_priv); in rtw_alloc_etherdev()
746 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/
H A Dosdep_service_linux.c703 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument
718 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
724 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument
739 pnpi->priv = rtw_zvmalloc(sizeof_priv); in rtw_alloc_etherdev()
746 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
/OK3568_Linux_fs/kernel/include/linux/mux/
H A Ddriver.h83 unsigned int controllers, size_t sizeof_priv);
90 size_t sizeof_priv);
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dadi-axi-adc.c175 size_t sizeof_priv) in adi_axi_adc_conv_register() argument
181 if (sizeof_priv) in adi_axi_adc_conv_register()
182 alloc_size += ALIGN(sizeof_priv, IIO_ALIGN); in adi_axi_adc_conv_register()
219 size_t sizeof_priv) in devm_adi_axi_adc_conv_register() argument
228 conv = adi_axi_adc_conv_register(dev, sizeof_priv); in devm_adi_axi_adc_conv_register()
/OK3568_Linux_fs/kernel/net/
H A 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()
/OK3568_Linux_fs/kernel/net/802/
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/mux/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/
H A Dosdep_service_linux.h419 u32 sizeof_priv; member
421 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
422 extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Dosdep_service_linux.h416 u32 sizeof_priv; member
418 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
419 extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/
H A Dosdep_service_linux.h414 u32 sizeof_priv; member
416 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
417 extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/
H A Dosdep_service_linux.h445 u32 sizeof_priv; member
447 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
448 extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/afe/
H A Diio-rescale.c274 int sizeof_priv; in rescale_probe() local
289 sizeof_priv = sizeof(*rescale) + sizeof_ext_info; in rescale_probe()
291 indio_dev = devm_iio_device_alloc(dev, sizeof_priv); in rescale_probe()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/ieee80211/
H A 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()

12345