to_net_dev       3286 drivers/base/core.c 		struct net_device *net = to_net_dev(dev);
to_net_dev       1513 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       1525 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       2247 drivers/infiniband/ulp/ipoib/ipoib_main.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev       2257 drivers/infiniband/ulp/ipoib/ipoib_main.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev       2281 drivers/infiniband/ulp/ipoib/ipoib_main.c 	ipoib_set_umcast(to_net_dev(dev), umcast_val);
to_net_dev       2369 drivers/infiniband/ulp/ipoib/ipoib_main.c 	ret = ipoib_vlan_add(to_net_dev(dev), pkey);
to_net_dev       2388 drivers/infiniband/ulp/ipoib/ipoib_main.c 	ret = ipoib_vlan_delete(to_net_dev(dev), pkey);
to_net_dev       2412 drivers/infiniband/ulp/ipoib/ipoib_main.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev         46 drivers/infiniband/ulp/ipoib/ipoib_vlan.c 	struct net_device *dev = to_net_dev(d);
to_net_dev        225 drivers/net/arcnet/arcnet.c 	struct arcnet_local *lp = netdev_priv(to_net_dev(gendev));
to_net_dev        100 drivers/net/arcnet/com20020-pci.c 	struct net_device *net_dev = to_net_dev(dev);
to_net_dev         29 drivers/net/bonding/bond_sysfs.c #define to_bond(cd)	((struct bonding *)(netdev_priv(to_net_dev(cd))))
to_net_dev       1182 drivers/net/can/at91_can.c 	struct at91_priv *priv = netdev_priv(to_net_dev(dev));
to_net_dev       1193 drivers/net/can/at91_can.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev       1492 drivers/net/can/grcan.c 		struct net_device *dev = to_net_dev(sdev);		\
to_net_dev       1508 drivers/net/can/grcan.c 		struct net_device *dev = to_net_dev(sdev);		\
to_net_dev       1822 drivers/net/can/janz-ican3.c 	struct ican3_dev *mod = netdev_priv(to_net_dev(dev));
to_net_dev       1841 drivers/net/can/janz-ican3.c 	struct ican3_dev *mod = netdev_priv(to_net_dev(dev));
to_net_dev       1859 drivers/net/can/janz-ican3.c 	struct ican3_dev *mod = netdev_priv(to_net_dev(dev));
to_net_dev         59 drivers/net/can/led.c 	struct can_priv *priv = netdev_priv(to_net_dev(gendev));
to_net_dev        552 drivers/net/can/softing/softing_main.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        561 drivers/net/can/softing/softing_main.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        570 drivers/net/can/softing/softing_main.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        691 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	len = (*format) (to_net_dev(d), buf);
to_net_dev        714 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	ret = (*set) (to_net_dev(d), val);
to_net_dev        803 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	struct port_info *pi = netdev_priv(to_net_dev(d));
to_net_dev        829 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	struct port_info *pi = netdev_priv(to_net_dev(d));
to_net_dev         42 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c 	struct dpaa_priv *priv = netdev_priv(to_net_dev(dev));
to_net_dev         55 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c 	struct dpaa_priv *priv = netdev_priv(to_net_dev(dev));
to_net_dev        132 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c 	struct dpaa_priv *priv = netdev_priv(to_net_dev(dev));
to_net_dev       3378 drivers/net/ethernet/marvell/mvneta.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       3431 drivers/net/ethernet/marvell/mvneta.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       3461 drivers/net/ethernet/marvell/mvneta.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       3474 drivers/net/ethernet/marvell/mvneta.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       3607 drivers/net/ethernet/marvell/mvneta.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       3628 drivers/net/ethernet/marvell/mvneta.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       5087 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	struct net_device *dev = to_net_dev(config->dev);
to_net_dev       5130 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	struct net_device *dev = to_net_dev(config->dev);
to_net_dev       5158 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 	struct net_device *dev = to_net_dev(config->dev);
to_net_dev        672 drivers/net/ethernet/natsemi/natsemi.c 	struct netdev_private *np = netdev_priv(to_net_dev(dev));
to_net_dev        681 drivers/net/ethernet/natsemi/natsemi.c 	struct netdev_private *np = netdev_priv(to_net_dev(dev));
to_net_dev       2748 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct net_device *net = to_net_dev(dev);
to_net_dev       2773 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct net_device *net = to_net_dev(dev);
to_net_dev        813 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));
to_net_dev        881 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));
to_net_dev        945 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));
to_net_dev        957 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev));
to_net_dev       1378 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       1411 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev       1446 drivers/net/ethernet/xilinx/xilinx_axienet_main.c 	struct net_device *ndev = to_net_dev(config->dev);
to_net_dev         35 drivers/net/ipvlan/ipvtap.c 	struct net_device *dev = to_net_dev(d->parent);
to_net_dev         40 drivers/net/macvtap.c 	struct net_device *dev = to_net_dev(d->parent);
to_net_dev        625 drivers/net/phy/phylink.c 		pl->netdev = to_net_dev(config->dev);
to_net_dev       2667 drivers/net/tun.c 	struct tun_struct *tun = netdev_priv(to_net_dev(dev));
to_net_dev       2674 drivers/net/tun.c 	struct tun_struct *tun = netdev_priv(to_net_dev(dev));
to_net_dev       2684 drivers/net/tun.c 	struct tun_struct *tun = netdev_priv(to_net_dev(dev));
to_net_dev        193 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        201 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        209 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        217 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        225 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        239 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        252 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        265 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        291 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        299 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        334 drivers/net/usb/cdc_ncm.c 	struct usbnet *dev = netdev_priv(to_net_dev(d)); \
to_net_dev        353 drivers/net/usb/qmi_wwan.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        361 drivers/net/usb/qmi_wwan.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        405 drivers/net/usb/qmi_wwan.c 	struct net_device *dev = to_net_dev(d);
to_net_dev        423 drivers/net/usb/qmi_wwan.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev        468 drivers/net/usb/qmi_wwan.c 	struct usbnet *dev = netdev_priv(to_net_dev(d));
to_net_dev         33 drivers/net/wimax/i2400m/sysfs.c 	struct i2400m *i2400m = net_dev_to_i2400m(to_net_dev(dev));
to_net_dev        162 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        185 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        210 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        237 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        270 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        284 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        337 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        383 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        433 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        492 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        554 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        620 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        681 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev        742 drivers/net/wireless/marvell/libertas/mesh.c 	struct lbs_private *priv = to_net_dev(dev)->ml_priv;
to_net_dev         60 net/batman-adv/sysfs.c 	return to_net_dev(dev);
to_net_dev         22 net/bridge/br_sysfs_br.c #define to_bridge(cd)	((struct net_bridge *)netdev_priv(to_net_dev(cd)))
to_net_dev         44 net/core/net-sysfs.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev         80 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        116 net/core/net-sysfs.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        131 net/core/net-sysfs.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        145 net/core/net-sysfs.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        159 net/core/net-sysfs.c 	struct net_device *ndev = to_net_dev(dev);
to_net_dev        183 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        195 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        215 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        249 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        271 net/core/net-sysfs.c 	const struct net_device *netdev = to_net_dev(dev);
to_net_dev        291 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        303 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        313 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        376 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        407 net/core/net-sysfs.c 	const struct net_device *netdev = to_net_dev(dev);
to_net_dev        448 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        470 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        492 net/core/net-sysfs.c 	struct net_device *netdev = to_net_dev(dev);
to_net_dev        550 net/core/net-sysfs.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       1612 net/core/net-sysfs.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       1636 net/core/net-sysfs.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       1649 net/core/net-sysfs.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       1656 net/core/net-sysfs.c 	struct net_device *dev = to_net_dev(d);
to_net_dev       1700 net/core/net-sysfs.c 	return to_net_dev(dev);
to_net_dev        160 net/dsa/dsa.c  		nd = to_net_dev(d);
to_net_dev        270 net/dsa/master.c 	struct net_device *dev = to_net_dev(d);