• Home
  • Raw
  • Download

Lines Matching defs:dev

35 static inline int dev_isalive(const struct net_device *dev)  in dev_isalive()
41 static ssize_t netdev_show(const struct device *dev, in netdev_show()
77 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
114 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
123 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
128 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show()
143 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
157 static ssize_t broadcast_show(struct device *dev, in broadcast_show()
168 static int change_carrier(struct net_device *dev, unsigned long new_carrier) in change_carrier()
175 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
189 static ssize_t carrier_show(struct device *dev, in carrier_show()
201 static ssize_t speed_show(struct device *dev, in speed_show()
227 static ssize_t duplex_show(struct device *dev, in duplex_show()
267 static ssize_t testing_show(struct device *dev, in testing_show()
279 static ssize_t dormant_show(struct device *dev, in dormant_show()
301 static ssize_t operstate_show(struct device *dev, in operstate_show()
320 static ssize_t carrier_changes_show(struct device *dev, in carrier_changes_show()
332 static ssize_t carrier_up_count_show(struct device *dev, in carrier_up_count_show()
342 static ssize_t carrier_down_count_show(struct device *dev, in carrier_down_count_show()
354 static int change_mtu(struct net_device *dev, unsigned long new_mtu) in change_mtu()
359 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, in mtu_store()
366 static int change_flags(struct net_device *dev, unsigned long new_flags) in change_flags()
371 static ssize_t flags_store(struct device *dev, struct device_attribute *attr, in flags_store()
378 static ssize_t tx_queue_len_store(struct device *dev, in tx_queue_len_store()
389 static int change_gro_flush_timeout(struct net_device *dev, unsigned long val) in change_gro_flush_timeout()
395 static ssize_t gro_flush_timeout_store(struct device *dev, in gro_flush_timeout_store()
406 static int change_napi_defer_hard_irqs(struct net_device *dev, unsigned long val) in change_napi_defer_hard_irqs()
412 static ssize_t napi_defer_hard_irqs_store(struct device *dev, in napi_defer_hard_irqs_store()
423 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr, in ifalias_store()
454 static ssize_t ifalias_show(struct device *dev, in ifalias_show()
468 static int change_group(struct net_device *dev, unsigned long new_group) in change_group()
474 static ssize_t group_store(struct device *dev, struct device_attribute *attr, in group_store()
482 static int change_proto_down(struct net_device *dev, unsigned long proto_down) in change_proto_down()
487 static ssize_t proto_down_store(struct device *dev, in proto_down_store()
503 static ssize_t phys_port_id_show(struct device *dev, in phys_port_id_show()
531 static ssize_t phys_port_name_show(struct device *dev, in phys_port_name_show()
560 static ssize_t phys_switch_id_show(struct device *dev, in phys_switch_id_show()
631 struct net_device *dev = to_net_dev(d); in netstat_show() local
981 struct device *dev = &queue->dev->dev; in rx_queue_namespace() local
1006 static int rx_queue_add_kobject(struct net_device *dev, int index) in rx_queue_add_kobject()
1038 static int rx_queue_change_owner(struct net_device *dev, int index, kuid_t kuid, in rx_queue_change_owner()
1058 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in net_rx_queue_update_kobjects()
1092 static int net_rx_queue_change_owner(struct net_device *dev, int num, in net_rx_queue_change_owner()
1175 struct net_device *dev = queue->dev; in get_netdev_queue_index() local
1187 struct net_device *dev = queue->dev; in traffic_class_show() local
1224 struct net_device *dev = queue->dev; in tx_maxrate_store() local
1376 struct net_device *dev = queue->dev; in xps_cpus_show() local
1447 struct net_device *dev = queue->dev; in xps_cpus_store() local
1488 struct net_device *dev = queue->dev; in xps_rxqs_show() local
1550 struct net_device *dev = queue->dev; in xps_rxqs_store() local
1612 struct device *dev = &queue->dev->dev; in netdev_queue_namespace() local
1637 static int netdev_queue_add_kobject(struct net_device *dev, int index) in netdev_queue_add_kobject()
1687 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in netdev_queue_update_kobjects()
1718 static int net_tx_queue_change_owner(struct net_device *dev, int num, in net_tx_queue_change_owner()
1737 static int register_queue_kobjects(struct net_device *dev) in register_queue_kobjects()
1796 static void remove_queue_kobjects(struct net_device *dev) in remove_queue_kobjects()
1854 struct net_device *dev = to_net_dev(d); in netdev_uevent() local
1878 struct net_device *dev = to_net_dev(d); in netdev_release() local
1891 struct net_device *dev = to_net_dev(d); in net_namespace() local
1898 struct net_device *dev = to_net_dev(d); in net_get_ownership() local
1915 static int of_dev_node_match(struct device *dev, const void *data) in of_dev_node_match()
1936 struct device *dev; in of_find_net_device_by_node() local
1952 struct device *dev = &ndev->dev; in netdev_unregister_kobject() local
1969 struct device *dev = &ndev->dev; in netdev_register_kobject() local
2020 struct device *dev = &ndev->dev; in netdev_change_owner() local