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()
178 struct net_device *netdev = to_net_dev(dev); in carrier_store()
192 struct net_device *netdev = to_net_dev(dev); in carrier_show()
204 struct net_device *netdev = to_net_dev(dev); in speed_show()
230 struct net_device *netdev = to_net_dev(dev); in duplex_show()
270 struct net_device *netdev = to_net_dev(dev); in testing_show()
282 struct net_device *netdev = to_net_dev(dev); in dormant_show()
304 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
324 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
336 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show()
346 struct net_device *netdev = to_net_dev(dev); in carrier_down_count_show()
426 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
457 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
491 struct net_device *netdev = to_net_dev(dev); in proto_down_store()
506 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
534 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
563 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
593 struct net_device *netdev = to_net_dev(dev); in threaded_show()
671 struct net_device *dev = to_net_dev(d); in netstat_show()
1867 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1891 struct net_device *dev = to_net_dev(d); in netdev_release()
1904 struct net_device *dev = to_net_dev(d); in net_namespace()
1911 struct net_device *dev = to_net_dev(d); in net_get_ownership()
1955 return to_net_dev(dev); in of_find_net_device_by_node()