Lines Matching defs:dev
34 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
40 static ssize_t netdev_show(const struct device *dev, in netdev_show()
76 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
113 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
122 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
127 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
142 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
156 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
167 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
174 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
188 static ssize_t carrier_show(struct device *dev, in carrier_show()
200 static ssize_t speed_show(struct device *dev, in speed_show()
226 static ssize_t duplex_show(struct device *dev, in duplex_show()
266 static ssize_t dormant_show(struct device *dev, in dormant_show()
288 static ssize_t operstate_show(struct device *dev, in operstate_show()
307 static ssize_t carrier_changes_show(struct device *dev, in carrier_changes_show()
319 static ssize_t carrier_up_count_show(struct device *dev, in carrier_up_count_show()
329 static ssize_t carrier_down_count_show(struct device *dev, in carrier_down_count_show()
341 static int change_mtu(struct net_device *dev, unsigned long new_mtu) in change_mtu()
346 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, in mtu_store()
353 static int change_flags(struct net_device *dev, unsigned long new_flags) in change_flags()
358 static ssize_t flags_store(struct device *dev, struct device_attribute *attr, in flags_store()
365 static ssize_t tx_queue_len_store(struct device *dev, in tx_queue_len_store()
376 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val) in change_gro_flush_timeout()
382 static ssize_t gro_flush_timeout_store(struct device *dev, in gro_flush_timeout_store()
393 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr, in ifalias_store()
424 static ssize_t ifalias_show(struct device *dev, in ifalias_show()
438 static int change_group(struct net_device *dev, unsigned long new_group) in change_group()
444 static ssize_t group_store(struct device *dev, struct device_attribute *attr, in group_store()
452 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down()
457 static ssize_t proto_down_store(struct device *dev, in proto_down_store()
473 static ssize_t phys_port_id_show(struct device *dev, in phys_port_id_show()
501 static ssize_t phys_port_name_show(struct device *dev, in phys_port_name_show()
530 static ssize_t phys_switch_id_show(struct device *dev, in phys_switch_id_show()
599 struct net_device *dev = to_net_dev(d); in netstat_show() local
940 struct device *dev = &queue->dev->dev; in rx_queue_namespace() local
965 static int rx_queue_add_kobject(struct net_device *dev, int index) in rx_queue_add_kobject()
999 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in net_rx_queue_update_kobjects()
1093 struct net_device *dev = queue->dev; in get_netdev_queue_index() local
1105 struct net_device *dev = queue->dev; in traffic_class_show() local
1142 struct net_device *dev = queue->dev; in tx_maxrate_store() local
1294 struct net_device *dev = queue->dev; in xps_cpus_show() local
1365 struct net_device *dev = queue->dev; in xps_cpus_store() local
1406 struct net_device *dev = queue->dev; in xps_rxqs_show() local
1468 struct net_device *dev = queue->dev; in xps_rxqs_store() local
1530 struct device *dev = &queue->dev->dev; in netdev_queue_namespace() local
1555 static int netdev_queue_add_kobject(struct net_device *dev, int index) in netdev_queue_add_kobject()
1588 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in netdev_queue_update_kobjects()
1619 static int register_queue_kobjects(struct net_device *dev) in register_queue_kobjects()
1653 static void remove_queue_kobjects(struct net_device *dev) in remove_queue_kobjects()
1711 struct net_device *dev = to_net_dev(d); in netdev_uevent() local
1735 struct net_device *dev = to_net_dev(d); in netdev_release() local
1748 struct net_device *dev = to_net_dev(d); in net_namespace() local
1755 struct net_device *dev = to_net_dev(d); in net_get_ownership() local
1772 static int of_dev_node_match(struct device *dev, const void *data) in of_dev_node_match()
1793 struct device *dev; in of_find_net_device_by_node() local
1809 struct device *dev = &ndev->dev; in netdev_unregister_kobject() local
1826 struct device *dev = &ndev->dev; in netdev_register_kobject() local