Lines Matching refs:to_net_dev
44 struct net_device *ndev = to_net_dev(dev); in netdev_show()
80 struct net_device *netdev = to_net_dev(dev); in netdev_store()
116 struct net_device *ndev = to_net_dev(dev); in iflink_show()
131 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
145 struct net_device *ndev = to_net_dev(dev); in address_show()
159 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
183 struct net_device *netdev = to_net_dev(dev); in carrier_show()
195 struct net_device *netdev = to_net_dev(dev); in speed_show()
215 struct net_device *netdev = to_net_dev(dev); in duplex_show()
249 struct net_device *netdev = to_net_dev(dev); in dormant_show()
271 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
291 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
303 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show()
313 struct net_device *netdev = to_net_dev(dev); in carrier_down_count_show()
376 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
407 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
448 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
470 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
492 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
550 struct net_device *dev = to_net_dev(d); in netstat_show()
1606 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1630 struct net_device *dev = to_net_dev(d); in netdev_release()
1643 struct net_device *dev = to_net_dev(d); in net_namespace()
1650 struct net_device *dev = to_net_dev(d); in net_get_ownership()
1694 return to_net_dev(dev); in of_find_net_device_by_node()