Lines Matching refs:to_net_dev

49 	struct net_device *ndev = to_net_dev(dev);  in netdev_show()
85 struct net_device *netdev = to_net_dev(dev); in netdev_store()
121 struct net_device *ndev = to_net_dev(dev); in iflink_show()
136 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
150 struct net_device *ndev = to_net_dev(dev); in address_show()
164 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
188 struct net_device *netdev = to_net_dev(dev); in carrier_show()
200 struct net_device *netdev = to_net_dev(dev); in speed_show()
220 struct net_device *netdev = to_net_dev(dev); in duplex_show()
254 struct net_device *netdev = to_net_dev(dev); in dormant_show()
276 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
296 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
308 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show()
318 struct net_device *netdev = to_net_dev(dev); in carrier_down_count_show()
381 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
412 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
453 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
475 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
497 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
560 struct net_device *dev = to_net_dev(d); in netstat_show()
1608 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1632 struct net_device *dev = to_net_dev(d); in netdev_release()
1645 struct net_device *dev = to_net_dev(d); in net_namespace()
1652 struct net_device *dev = to_net_dev(d); in net_get_ownership()
1696 return to_net_dev(dev); in of_find_net_device_by_node()