Lines Matching refs:to_net_dev
47 struct net_device *ndev = to_net_dev(dev); in netdev_show()
83 struct net_device *netdev = to_net_dev(dev); in netdev_store()
119 struct net_device *ndev = to_net_dev(dev); in iflink_show()
134 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
148 struct net_device *ndev = to_net_dev(dev); in address_show()
162 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
180 struct net_device *netdev = to_net_dev(dev); in carrier_store()
194 struct net_device *netdev = to_net_dev(dev); in carrier_show()
206 struct net_device *netdev = to_net_dev(dev); in speed_show()
232 struct net_device *netdev = to_net_dev(dev); in duplex_show()
272 struct net_device *netdev = to_net_dev(dev); in testing_show()
284 struct net_device *netdev = to_net_dev(dev); in dormant_show()
306 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
326 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
338 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show()
348 struct net_device *netdev = to_net_dev(dev); in carrier_down_count_show()
428 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
459 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
500 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
528 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
557 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
587 struct net_device *netdev = to_net_dev(dev); in threaded_show()
665 struct net_device *dev = to_net_dev(d); in netstat_show()
1878 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1902 struct net_device *dev = to_net_dev(d); in netdev_release()
1915 struct net_device *dev = to_net_dev(d); in net_namespace()
1922 struct net_device *dev = to_net_dev(d); in net_get_ownership()
1966 return to_net_dev(dev); in of_find_net_device_by_node()