Lines Matching refs:to_net_dev
45 struct net_device *ndev = to_net_dev(dev); in netdev_show()
81 struct net_device *netdev = to_net_dev(dev); in netdev_store()
117 struct net_device *ndev = to_net_dev(dev); in iflink_show()
132 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
146 struct net_device *ndev = to_net_dev(dev); in address_show()
160 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
184 struct net_device *netdev = to_net_dev(dev); in carrier_show()
196 struct net_device *netdev = to_net_dev(dev); in speed_show()
216 struct net_device *netdev = to_net_dev(dev); in duplex_show()
250 struct net_device *netdev = to_net_dev(dev); in testing_show()
262 struct net_device *netdev = to_net_dev(dev); in dormant_show()
284 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
304 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
316 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show()
326 struct net_device *netdev = to_net_dev(dev); in carrier_down_count_show()
406 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
437 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
478 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
500 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
522 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
544 struct net_device *netdev = to_net_dev(dev); in threaded_show()
622 struct net_device *dev = to_net_dev(d); in netstat_show()
1812 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1836 struct net_device *dev = to_net_dev(d); in netdev_release()
1849 struct net_device *dev = to_net_dev(d); in net_namespace()
1856 struct net_device *dev = to_net_dev(d); in net_get_ownership()
1900 return to_net_dev(dev); in of_find_net_device_by_node()