Lines Matching refs:to_net_dev
48 struct net_device *ndev = to_net_dev(dev); in netdev_show()
84 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()
185 struct net_device *netdev = to_net_dev(dev); in carrier_show()
196 struct net_device *netdev = to_net_dev(dev); in speed_show()
215 struct net_device *netdev = to_net_dev(dev); in duplex_show()
247 struct net_device *netdev = to_net_dev(dev); in dormant_show()
269 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
289 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
358 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
381 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
410 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
432 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
454 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
509 struct net_device *dev = to_net_dev(d); in netstat_show()
1405 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1428 struct net_device *dev = to_net_dev(d); in netdev_release()
1471 return to_net_dev(dev); in of_find_net_device_by_node()