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()
118 struct net_device *ndev = to_net_dev(dev); in iflink_show()
133 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
147 struct net_device *ndev = to_net_dev(dev); in address_show()
161 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
184 struct net_device *netdev = to_net_dev(dev); in carrier_show()
195 struct net_device *netdev = to_net_dev(dev); in speed_show()
214 struct net_device *netdev = to_net_dev(dev); in duplex_show()
246 struct net_device *netdev = to_net_dev(dev); in dormant_show()
268 const struct net_device *netdev = to_net_dev(dev); in operstate_show()
288 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show()
357 struct net_device *netdev = to_net_dev(dev); in ifalias_store()
380 const struct net_device *netdev = to_net_dev(dev); in ifalias_show()
422 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show()
444 struct net_device *netdev = to_net_dev(dev); in phys_port_name_show()
466 struct net_device *netdev = to_net_dev(dev); in phys_switch_id_show()
526 struct net_device *dev = to_net_dev(d); in netstat_show()
1422 struct net_device *dev = to_net_dev(d); in netdev_uevent()
1445 struct net_device *dev = to_net_dev(d); in netdev_release()
1497 return to_net_dev(dev); in of_find_net_device_by_node()