Searched refs:sizeof_priv (Results 1 - 25 of 59) sorted by relevance

123

/linux-master/include/linux/
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);
H A Dfddidevice.h25 struct net_device *alloc_fddidev(int sizeof_priv);
H A Dhippidevice.h37 struct net_device *alloc_hippi_dev(int sizeof_priv);
H A Di2c-mux.h37 int sizeof_priv, u32 flags,
H A 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)
59 #define alloc_etherdev_mq(sizeof_priv, count) alloc_etherdev_mqs(sizeof_priv, count, count)
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)
H A Dpwm.h400 struct pwm_chip *pwmchip_alloc(struct device *parent, unsigned int npwm, size_t sizeof_priv);
401 struct pwm_chip *devm_pwmchip_alloc(struct device *parent, unsigned int npwm, size_t sizeof_priv);
481 size_t sizeof_priv)
488 size_t sizeof_priv)
490 return pwmchip_alloc(parent, npwm, sizeof_priv);
479 pwmchip_alloc(struct device *parent, unsigned int npwm, size_t sizeof_priv) argument
486 devm_pwmchip_alloc(struct device *parent, unsigned int npwm, size_t sizeof_priv) argument
/linux-master/net/appletalk/
H A Ddev.c30 * @sizeof_priv: Size of additional driver-private structure to be allocated
37 * size @sizeof_priv. A 32-byte (not bit) alignment is enforced for
41 struct net_device *alloc_ltalkdev(int sizeof_priv) argument
43 return alloc_netdev(sizeof_priv, "lt%d", NET_NAME_UNKNOWN,
/linux-master/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c52 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) argument
63 pnpi->sizeof_priv = sizeof_priv;
69 struct net_device *rtw_alloc_etherdev(int sizeof_priv) argument
80 pnpi->priv = vzalloc(sizeof_priv);
87 pnpi->sizeof_priv = sizeof_priv;
/linux-master/net/
H A Ddevres.c21 struct net_device *devm_alloc_etherdev_mqs(struct device *dev, int sizeof_priv, argument
30 dr->ndev = alloc_etherdev_mqs(sizeof_priv, txqs, rxqs);
/linux-master/include/linux/mux/
H A Ddriver.h87 unsigned int controllers, size_t sizeof_priv);
94 size_t sizeof_priv);
/linux-master/include/linux/can/
H A 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) \
176 alloc_candev_mqs(sizeof_priv, echo_skb_max, 1, 1)
177 #define alloc_candev_mq(sizeof_priv, echo_skb_max, count) \
178 alloc_candev_mqs(sizeof_priv, echo_skb_max, count, count)
/linux-master/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h112 u32 sizeof_priv; member in struct:rtw_netdev_priv_indicator
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-master/drivers/net/can/peak_canfd/
H A Dpeak_canfd_user.h40 struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index,
/linux-master/drivers/net/phy/
H A Dmdio_devres.c22 * @sizeof_priv: Space to allocate for private structure
30 struct mii_bus *devm_mdiobus_alloc_size(struct device *dev, int sizeof_priv) argument
38 dr->mii = mdiobus_alloc_size(sizeof_priv);
/linux-master/net/802/
H A Dfc.c93 * @sizeof_priv: Size of additional driver-private structure to be allocated
99 * size @sizeof_priv. A 32-byte (not bit) alignment is enforced for
102 struct net_device *alloc_fcdev(int sizeof_priv) argument
104 return alloc_netdev(sizeof_priv, "fc%d", NET_NAME_UNKNOWN, fc_setup);
H A Dhippi.c177 * @sizeof_priv: Size of additional driver-private structure to be allocated
183 * size @sizeof_priv. A 32-byte (not bit) alignment is enforced for
187 struct net_device *alloc_hippi_dev(int sizeof_priv) argument
189 return alloc_netdev(sizeof_priv, "hip%d", NET_NAME_UNKNOWN,
H A Dfddi.c162 * @sizeof_priv: Size of additional driver-private structure to be allocated
168 * size @sizeof_priv. A 32-byte (not bit) alignment is enforced for
171 struct net_device *alloc_fddidev(int sizeof_priv) argument
173 return alloc_netdev(sizeof_priv, "fddi%d", NET_NAME_UNKNOWN,
/linux-master/drivers/counter/
H A Dcounter-core.c81 * @sizeof_priv: size of the driver private data
88 struct counter_device *counter_alloc(size_t sizeof_priv) argument
95 ch = kzalloc(sizeof(*ch) + sizeof_priv, GFP_KERNEL);
207 * @sizeof_priv: size of the driver private data
212 struct counter_device *devm_counter_alloc(struct device *dev, size_t sizeof_priv) argument
217 counter = counter_alloc(sizeof_priv);
/linux-master/drivers/iio/multiplexer/
H A Diio-mux.c339 int sizeof_priv; local
376 sizeof_priv = sizeof(*mux);
377 sizeof_priv += sizeof(*mux->child) * children;
378 sizeof_priv += sizeof(*mux->chan) * children;
379 sizeof_priv += sizeof_ext_info;
381 indio_dev = devm_iio_device_alloc(dev, sizeof_priv);
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_module.c69 struct net_device *alloc_rtllib(int sizeof_priv) argument
77 dev = alloc_etherdev(sizeof(struct rtllib_device) + sizeof_priv);
/linux-master/drivers/net/can/sja1000/
H A Dsja1000.h177 struct net_device *alloc_sja1000dev(int sizeof_priv);
/linux-master/drivers/net/can/m_can/
H A Dm_can.h131 struct m_can_classdev *m_can_class_allocate_dev(struct device *dev, int sizeof_priv);
/linux-master/drivers/mux/
H A Dcore.c80 * @sizeof_priv: Size of extra memory area for private use by the caller.
93 unsigned int controllers, size_t sizeof_priv)
103 sizeof_priv, GFP_KERNEL);
229 * @sizeof_priv: Size of extra memory area for private use by the caller.
237 size_t sizeof_priv)
245 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv);
92 mux_chip_alloc(struct device *dev, unsigned int controllers, size_t sizeof_priv) argument
235 devm_mux_chip_alloc(struct device *dev, unsigned int controllers, size_t sizeof_priv) argument
/linux-master/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_module.c107 struct net_device *alloc_libipw(int sizeof_priv, int monitor) argument
115 dev = alloc_etherdev(sizeof(struct libipw_device) + sizeof_priv);

Completed in 236 milliseconds

123