Lines Matching refs:device

128 static ssize_t netdev_show(const struct device *dev,  in netdev_show()
149 static ssize_t field##_show(struct device *dev, \
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()
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()
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()
498 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr, in mtu_store()
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()
534 static ssize_t gro_flush_timeout_store(struct device *dev, in gro_flush_timeout_store()
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()
616 static ssize_t group_store(struct device *dev, struct device_attribute *attr, in group_store()
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()
734 static ssize_t threaded_show(struct device *dev, in threaded_show()
765 static ssize_t threaded_store(struct device *dev, in threaded_store()
808 static ssize_t netstat_show(const struct device *d, in netstat_show()
831 static ssize_t name##_show(struct device *d, \
1185 struct device *dev = &queue->dev->dev; in rx_queue_namespace()
1935 struct device *dev = &queue->dev->dev; in netdev_queue_namespace()
2216 static int netdev_uevent(const struct device *d, struct kobj_uevent_env *env) in netdev_uevent()
2240 static void netdev_release(struct device *d) in netdev_release()
2253 static const void *net_namespace(const struct device *d) in net_namespace()
2260 static void net_get_ownership(const struct device *d, kuid_t *uid, kgid_t *gid) in net_get_ownership()
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()
2316 struct device *dev = &ndev->dev; in netdev_unregister_kobject()
2333 struct device *dev = &ndev->dev; in netdev_register_kobject()
2379 struct device *dev = &ndev->dev; in netdev_change_owner()