Lines Matching defs:dev
38 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
44 static ssize_t netdev_show(const struct device *dev, in netdev_show()
80 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
117 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
126 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
131 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
146 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
160 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
171 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
178 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
184 static ssize_t carrier_show(struct device *dev, in carrier_show()
196 static ssize_t speed_show(struct device *dev, in speed_show()
216 static ssize_t duplex_show(struct device *dev, in duplex_show()
250 static ssize_t dormant_show(struct device *dev, in dormant_show()
272 static ssize_t operstate_show(struct device *dev, in operstate_show()
291 static ssize_t carrier_changes_show(struct device *dev, in carrier_changes_show()
304 static int change_mtu(struct net_device *dev, unsigned long new_mtu) in change_mtu()
309 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, in mtu_store()
316 static int change_flags(struct net_device *dev, unsigned long new_flags) in change_flags()
321 static ssize_t flags_store(struct device *dev, struct device_attribute *attr, in flags_store()
328 static int change_tx_queue_len(struct net_device *dev, unsigned long new_len) in change_tx_queue_len()
351 static ssize_t tx_queue_len_store(struct device *dev, in tx_queue_len_store()
362 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val) in change_gro_flush_timeout()
368 static ssize_t gro_flush_timeout_store(struct device *dev, in gro_flush_timeout_store()
379 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr, in ifalias_store()
402 static ssize_t ifalias_show(struct device *dev, in ifalias_show()
417 static int change_group(struct net_device *dev, unsigned long new_group) in change_group()
423 static ssize_t group_store(struct device *dev, struct device_attribute *attr, in group_store()
431 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down()
436 static ssize_t proto_down_store(struct device *dev, in proto_down_store()
444 static ssize_t phys_port_id_show(struct device *dev, in phys_port_id_show()
466 static ssize_t phys_port_name_show(struct device *dev, in phys_port_name_show()
488 static ssize_t phys_switch_id_show(struct device *dev, in phys_switch_id_show()
552 struct net_device *dev = to_net_dev(d); in netstat_show() local
892 struct device *dev = &queue->dev->dev; in rx_queue_namespace() local
908 static int rx_queue_add_kobject(struct net_device *dev, int index) in rx_queue_add_kobject()
942 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in net_rx_queue_update_kobjects()
1036 struct net_device *dev = queue->dev; in get_netdev_queue_index() local
1048 struct net_device *dev = queue->dev; in traffic_class_show() local
1068 struct net_device *dev = queue->dev; in tx_maxrate_store() local
1210 struct net_device *dev = queue->dev; in xps_cpus_show() local
1257 struct net_device *dev = queue->dev; in xps_cpus_store() local
1308 struct device *dev = &queue->dev->dev; in netdev_queue_namespace() local
1324 static int netdev_queue_add_kobject(struct net_device *dev, int index) in netdev_queue_add_kobject()
1357 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in netdev_queue_update_kobjects()
1388 static int register_queue_kobjects(struct net_device *dev) in register_queue_kobjects()
1422 static void remove_queue_kobjects(struct net_device *dev) in remove_queue_kobjects()
1477 struct net_device *dev = to_net_dev(d); in netdev_uevent() local
1501 struct net_device *dev = to_net_dev(d); in netdev_release() local
1511 struct net_device *dev = to_net_dev(d); in net_namespace() local
1526 static int of_dev_node_match(struct device *dev, const void *data) in of_dev_node_match()
1547 struct device *dev; in of_find_net_device_by_node() local
1563 struct device *dev = &ndev->dev; in netdev_unregister_kobject() local
1580 struct device *dev = &ndev->dev; in netdev_register_kobject() local