Lines Matching defs:dev
40 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
46 static ssize_t netdev_show(const struct device *dev, in netdev_show()
82 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
119 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
128 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
133 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
148 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
166 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
180 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
187 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
201 static ssize_t carrier_show(struct device *dev, in carrier_show()
224 static ssize_t speed_show(struct device *dev, in speed_show()
250 static ssize_t duplex_show(struct device *dev, in duplex_show()
290 static ssize_t testing_show(struct device *dev, in testing_show()
302 static ssize_t dormant_show(struct device *dev, in dormant_show()
324 static ssize_t operstate_show(struct device *dev, in operstate_show()
341 static ssize_t carrier_changes_show(struct device *dev, in carrier_changes_show()
353 static ssize_t carrier_up_count_show(struct device *dev, in carrier_up_count_show()
363 static ssize_t carrier_down_count_show(struct device *dev, in carrier_down_count_show()
375 static int change_mtu(struct net_device *dev, unsigned long new_mtu) in change_mtu()
380 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, in mtu_store()
387 static int change_flags(struct net_device *dev, unsigned long new_flags) in change_flags()
392 static ssize_t flags_store(struct device *dev, struct device_attribute *attr, in flags_store()
399 static ssize_t tx_queue_len_store(struct device *dev, in tx_queue_len_store()
410 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val) in change_gro_flush_timeout()
416 static ssize_t gro_flush_timeout_store(struct device *dev, in gro_flush_timeout_store()
427 static int change_napi_defer_hard_irqs(struct net_device *dev, unsigned long val) in change_napi_defer_hard_irqs()
436 static ssize_t napi_defer_hard_irqs_store(struct device *dev, in napi_defer_hard_irqs_store()
447 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr, in ifalias_store()
478 static ssize_t ifalias_show(struct device *dev, in ifalias_show()
492 static int change_group(struct net_device *dev, unsigned long new_group) in change_group()
498 static ssize_t group_store(struct device *dev, struct device_attribute *attr, in group_store()
506 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down()
511 static ssize_t proto_down_store(struct device *dev, in proto_down_store()
519 static ssize_t phys_port_id_show(struct device *dev, in phys_port_id_show()
547 static ssize_t phys_port_name_show(struct device *dev, in phys_port_name_show()
576 static ssize_t phys_switch_id_show(struct device *dev, in phys_switch_id_show()
606 static ssize_t threaded_show(struct device *dev, in threaded_show()
622 static int modify_napi_threaded(struct net_device *dev, unsigned long val) in modify_napi_threaded()
637 static ssize_t threaded_store(struct device *dev, in threaded_store()
687 struct net_device *dev = to_net_dev(d); in netstat_show() local
1056 struct device *dev = &queue->dev->dev; in rx_queue_namespace() local
1081 static int rx_queue_default_mask(struct net_device *dev, in rx_queue_default_mask()
1093 static int rx_queue_add_kobject(struct net_device *dev, int index) in rx_queue_add_kobject()
1129 static int rx_queue_change_owner(struct net_device *dev, int index, kuid_t kuid, in rx_queue_change_owner()
1149 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in net_rx_queue_update_kobjects()
1183 static int net_rx_queue_change_owner(struct net_device *dev, int num, in net_rx_queue_change_owner()
1262 struct net_device *dev = queue->dev; in get_netdev_queue_index() local
1274 struct net_device *dev = queue->dev; in traffic_class_show() local
1318 struct net_device *dev = queue->dev; in tx_maxrate_store() local
1531 static ssize_t xps_queue_show(struct net_device *dev, unsigned int index, in xps_queue_show()
1583 struct net_device *dev = queue->dev; in xps_cpus_show() local
1617 struct net_device *dev = queue->dev; in xps_cpus_store() local
1657 struct net_device *dev = queue->dev; in xps_rxqs_show() local
1677 struct net_device *dev = queue->dev; in xps_rxqs_store() local
1740 struct device *dev = &queue->dev->dev; in netdev_queue_namespace() local
1765 static bool netdev_uses_bql(const struct net_device *dev) in netdev_uses_bql()
1773 static int netdev_queue_add_kobject(struct net_device *dev, int index) in netdev_queue_add_kobject()
1823 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in netdev_queue_update_kobjects()
1862 static int net_tx_queue_change_owner(struct net_device *dev, int num, in net_tx_queue_change_owner()
1881 static int register_queue_kobjects(struct net_device *dev) in register_queue_kobjects()
1940 static void remove_queue_kobjects(struct net_device *dev) in remove_queue_kobjects()
1998 const struct net_device *dev = to_net_dev(d); in netdev_uevent() local
2022 struct net_device *dev = to_net_dev(d); in netdev_release() local
2035 const struct net_device *dev = to_net_dev(d); in net_namespace() local
2042 const struct net_device *dev = to_net_dev(d); in net_get_ownership() local
2059 static int of_dev_node_match(struct device *dev, const void *data) in of_dev_node_match()
2080 struct device *dev; in of_find_net_device_by_node() local
2096 struct device *dev = &ndev->dev; in netdev_unregister_kobject() local
2113 struct device *dev = &ndev->dev; in netdev_register_kobject() local
2158 struct device *dev = &ndev->dev; in netdev_change_owner() local