Lines Matching defs:dev
41 static inline int dev_isalive(const struct net_device *dev) in dev_isalive()
128 static ssize_t netdev_show(const struct device *dev, in netdev_show()
164 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
195 netdev_lock_store(struct device *dev, struct device_attribute *attr, in netdev_lock_store()
231 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
240 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
245 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
260 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
278 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
292 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
299 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
313 static ssize_t carrier_show(struct device *dev, in carrier_show()
338 static ssize_t speed_show(struct device *dev, in speed_show()
366 static ssize_t duplex_show(struct device *dev, in duplex_show()
408 static ssize_t testing_show(struct device *dev, in testing_show()
420 static ssize_t dormant_show(struct device *dev, in dormant_show()
442 static ssize_t operstate_show(struct device *dev, in operstate_show()
459 static ssize_t carrier_changes_show(struct device *dev, in carrier_changes_show()
471 static ssize_t carrier_up_count_show(struct device *dev, in carrier_up_count_show()
481 static ssize_t carrier_down_count_show(struct device *dev, in carrier_down_count_show()
493 static int change_mtu(struct net_device *dev, unsigned long new_mtu) in change_mtu()
498 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, in mtu_store()
505 static int change_flags(struct net_device *dev, unsigned long new_flags) in change_flags()
510 static ssize_t flags_store(struct device *dev, struct device_attribute *attr, in flags_store()
517 static ssize_t tx_queue_len_store(struct device *dev, in tx_queue_len_store()
528 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val) in change_gro_flush_timeout()
534 static ssize_t gro_flush_timeout_store(struct device *dev, in gro_flush_timeout_store()
545 static int change_napi_defer_hard_irqs(struct net_device *dev, unsigned long val) in change_napi_defer_hard_irqs()
554 static ssize_t napi_defer_hard_irqs_store(struct device *dev, in napi_defer_hard_irqs_store()
566 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr, in ifalias_store()
596 static ssize_t ifalias_show(struct device *dev, in ifalias_show()
610 static int change_group(struct net_device *dev, unsigned long new_group) in change_group()
616 static ssize_t group_store(struct device *dev, struct device_attribute *attr, in group_store()
624 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down()
629 static ssize_t proto_down_store(struct device *dev, in proto_down_store()
637 static ssize_t phys_port_id_show(struct device *dev, in phys_port_id_show()
658 static ssize_t phys_port_name_show(struct device *dev, in phys_port_name_show()
679 static ssize_t phys_switch_id_show(struct device *dev, in phys_switch_id_show()
710 struct device *dev = kobj_to_dev(kobj); in netdev_phys_is_visible() local
734 static ssize_t threaded_show(struct device *dev, in threaded_show()
750 static int modify_napi_threaded(struct net_device *dev, unsigned long val) in modify_napi_threaded()
765 static ssize_t threaded_store(struct device *dev, in threaded_store()
812 struct net_device *dev = to_net_dev(d); in netstat_show() local
1185 struct device *dev = &queue->dev->dev; in rx_queue_namespace() local
1209 static int rx_queue_default_mask(struct net_device *dev, in rx_queue_default_mask()
1230 static int rx_queue_add_kobject(struct net_device *dev, int index) in rx_queue_add_kobject()
1289 static int rx_queue_change_owner(struct net_device *dev, int index, kuid_t kuid, in rx_queue_change_owner()
1309 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in net_rx_queue_update_kobjects()
1345 static int net_rx_queue_change_owner(struct net_device *dev, int num, in net_rx_queue_change_owner()
1427 struct net_device *dev = queue->dev; in get_netdev_queue_index() local
1439 struct net_device *dev = queue->dev; in traffic_class_show() local
1485 struct net_device *dev = queue->dev; in tx_maxrate_store() local
1711 static ssize_t xps_queue_show(struct net_device *dev, unsigned int index, in xps_queue_show()
1764 struct net_device *dev = queue->dev; in xps_cpus_show() local
1802 struct net_device *dev = queue->dev; in xps_cpus_store() local
1844 struct net_device *dev = queue->dev; in xps_rxqs_show() local
1871 struct net_device *dev = queue->dev; in xps_rxqs_store() local
1935 struct device *dev = &queue->dev->dev; in netdev_queue_namespace() local
1959 static bool netdev_uses_bql(const struct net_device *dev) in netdev_uses_bql()
1967 static int netdev_queue_add_kobject(struct net_device *dev, int index) in netdev_queue_add_kobject()
2040 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in netdev_queue_update_kobjects()
2080 static int net_tx_queue_change_owner(struct net_device *dev, int num, in net_tx_queue_change_owner()
2099 static int register_queue_kobjects(struct net_device *dev) in register_queue_kobjects()
2158 static void remove_queue_kobjects(struct net_device *dev) in remove_queue_kobjects()
2218 const struct net_device *dev = to_net_dev(d); in netdev_uevent() local
2242 struct net_device *dev = to_net_dev(d); in netdev_release() local
2255 const struct net_device *dev = to_net_dev(d); in net_namespace() local
2262 const struct net_device *dev = to_net_dev(d); in net_get_ownership() local
2279 static int of_dev_node_match(struct device *dev, const void *data) in of_dev_node_match()
2300 struct device *dev; in of_find_net_device_by_node() local
2316 struct device *dev = &ndev->dev; in netdev_unregister_kobject() local
2333 struct device *dev = &ndev->dev; in netdev_register_kobject() local
2379 struct device *dev = &ndev->dev; in netdev_change_owner() local