Lines Matching refs:to_net_dev

132 	struct net_device *ndev = to_net_dev(dev);  in netdev_show()
168 struct net_device *netdev = to_net_dev(dev); in netdev_store()
199 struct net_device *netdev = to_net_dev(dev); in netdev_lock_store()
234 struct net_device *ndev = to_net_dev(dev); in iflink_show()
249 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
263 struct net_device *ndev = to_net_dev(dev); in address_show()
281 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
302 struct net_device *netdev = to_net_dev(dev); in carrier_store()
316 struct net_device *netdev = to_net_dev(dev); in carrier_show()
341 struct net_device *netdev = to_net_dev(dev); in speed_show()
369 struct net_device *netdev = to_net_dev(dev); in duplex_show()
411 struct net_device *netdev = to_net_dev(dev); in testing_show()
423 struct net_device *netdev = to_net_dev(dev); in dormant_show()
445 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
463 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
475 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show()
485 struct net_device *netdev = to_net_dev(dev); in carrier_down_count_show()
569 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
599 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
640 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
661 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
682 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
711 struct net_device *netdev = to_net_dev(dev); in netdev_phys_is_visible()
737 struct net_device *netdev = to_net_dev(dev); in threaded_show()
812 struct net_device *dev = to_net_dev(d); in netstat_show()
2218 const struct net_device *dev = to_net_dev(d); in netdev_uevent()
2242 struct net_device *dev = to_net_dev(d); in netdev_release()
2255 const struct net_device *dev = to_net_dev(d); in net_namespace()
2262 const struct net_device *dev = to_net_dev(d); in net_get_ownership()
2306 return to_net_dev(dev); in of_find_net_device_by_node()