/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/ |
D | osdep_service.c | 51 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument 62 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv() 68 struct net_device *rtw_alloc_etherdev(int sizeof_priv) in rtw_alloc_etherdev() argument 79 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev() 86 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
|
/linux-6.12.1/include/linux/can/ |
D | dev.h | 173 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.12.1/include/linux/ |
D | etherdevice.h | 56 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
|
D | pwm.h | 398 struct pwm_chip *pwmchip_alloc(struct device *parent, unsigned int npwm, size_t sizeof_priv); 399 struct pwm_chip *devm_pwmchip_alloc(struct device *parent, unsigned int npwm, size_t sizeof_priv); 468 size_t sizeof_priv) in pwmchip_alloc() argument 475 size_t sizeof_priv) in devm_pwmchip_alloc() argument 477 return pwmchip_alloc(parent, npwm, sizeof_priv); in devm_pwmchip_alloc()
|
D | if_ltalk.h | 7 extern struct net_device *alloc_ltalkdev(int sizeof_priv);
|
D | fcdevice.h | 25 struct net_device *alloc_fcdev(int sizeof_priv);
|
D | fddidevice.h | 25 struct net_device *alloc_fddidev(int sizeof_priv);
|
D | hippidevice.h | 37 struct net_device *alloc_hippi_dev(int sizeof_priv);
|
D | i2c-mux.h | 37 int sizeof_priv, u32 flags,
|
/linux-6.12.1/drivers/staging/rtl8723bs/include/ |
D | osdep_service_linux.h | 110 u32 sizeof_priv; member 118 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv); 119 extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);
|
/linux-6.12.1/drivers/counter/ |
D | counter-core.c | 88 struct counter_device *counter_alloc(size_t sizeof_priv) in counter_alloc() argument 95 ch = kzalloc(sizeof(*ch) + sizeof_priv, GFP_KERNEL); in counter_alloc() 212 struct counter_device *devm_counter_alloc(struct device *dev, size_t sizeof_priv) in devm_counter_alloc() argument 217 counter = counter_alloc(sizeof_priv); in devm_counter_alloc()
|
/linux-6.12.1/net/appletalk/ |
D | dev.c | 41 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.12.1/include/linux/mux/ |
D | driver.h | 87 unsigned int controllers, size_t sizeof_priv); 94 size_t sizeof_priv);
|
/linux-6.12.1/drivers/iio/multiplexer/ |
D | iio-mux.c | 338 int sizeof_priv; in mux_probe() local 375 sizeof_priv = sizeof(*mux); in mux_probe() 376 sizeof_priv += sizeof(*mux->child) * children; in mux_probe() 377 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe() 378 sizeof_priv += sizeof_ext_info; in mux_probe() 380 indio_dev = devm_iio_device_alloc(dev, sizeof_priv); in mux_probe()
|
/linux-6.12.1/net/ |
D | devres.c | 21 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.12.1/net/802/ |
D | fc.c | 102 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()
|
D | hippi.c | 187 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()
|
D | fddi.c | 171 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.12.1/drivers/net/phy/ |
D | mdio_devres.c | 30 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.12.1/drivers/staging/rtl8192e/ |
D | rtllib_module.c | 69 struct net_device *alloc_rtllib(int sizeof_priv) in alloc_rtllib() argument 77 dev = alloc_etherdev(sizeof(struct rtllib_device) + sizeof_priv); in alloc_rtllib()
|
/linux-6.12.1/drivers/mux/ |
D | core.c | 93 unsigned int controllers, size_t sizeof_priv) in mux_chip_alloc() argument 103 sizeof_priv, GFP_KERNEL); in mux_chip_alloc() 237 size_t sizeof_priv) in devm_mux_chip_alloc() argument 245 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv); in devm_mux_chip_alloc()
|
/linux-6.12.1/drivers/net/can/peak_canfd/ |
D | peak_canfd_user.h | 40 struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index,
|
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_module.c | 107 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-6.12.1/drivers/net/can/dev/ |
D | dev.c | 249 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max, in alloc_candev_mqs() argument 270 size = ALIGN(sizeof_priv, NETDEV_ALIGN) + sizeof(struct can_ml_priv); in alloc_candev_mqs() 284 can_ml = (void *)priv + ALIGN(sizeof_priv, NETDEV_ALIGN); in alloc_candev_mqs()
|
/linux-6.12.1/drivers/i2c/ |
D | i2c-mux.c | 228 int sizeof_priv, u32 flags, in i2c_mux_alloc() argument 236 muxc = devm_kzalloc(dev, size_add(mux_size, sizeof_priv), GFP_KERNEL); in i2c_mux_alloc() 239 if (sizeof_priv) in i2c_mux_alloc()
|