Lines Matching refs:device

3  * net-sysfs.c - network device class and attributes
41 static ssize_t netdev_show(const struct device *dev,
62 static ssize_t field##_show(struct device *dev, \
77 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr,
114 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr,
128 static ssize_t name_assign_type_show(struct device *dev,
143 static ssize_t address_show(struct device *dev, struct device_attribute *attr,
157 static ssize_t broadcast_show(struct device *dev,
175 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr,
189 static ssize_t carrier_show(struct device *dev,
201 static ssize_t speed_show(struct device *dev,
227 static ssize_t duplex_show(struct device *dev,
267 static ssize_t testing_show(struct device *dev,
279 static ssize_t dormant_show(struct device *dev,
301 static ssize_t operstate_show(struct device *dev,
320 static ssize_t carrier_changes_show(struct device *dev,
332 static ssize_t carrier_up_count_show(struct device *dev,
342 static ssize_t carrier_down_count_show(struct device *dev,
359 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr,
371 static ssize_t flags_store(struct device *dev, struct device_attribute *attr,
378 static ssize_t tx_queue_len_store(struct device *dev,
395 static ssize_t gro_flush_timeout_store(struct device *dev,
412 static ssize_t napi_defer_hard_irqs_store(struct device *dev,
423 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr,
454 static ssize_t ifalias_show(struct device *dev,
474 static ssize_t group_store(struct device *dev, struct device_attribute *attr,
487 static ssize_t proto_down_store(struct device *dev,
503 static ssize_t phys_port_id_show(struct device *dev,
531 static ssize_t phys_port_name_show(struct device *dev,
560 static ssize_t phys_switch_id_show(struct device *dev,
627 static ssize_t netstat_show(const struct device *d,
650 static ssize_t name##_show(struct device *d, \
981 struct device *dev = &queue->dev->dev;
1204 * Subordinate device traffic classes are reported with the traffic
1206 * subordinate device 2 will be reported as "0-2". If the queue
1207 * belongs to the root device it will be reported with just the
1390 /* Do not allow XPS on subordinate device directly */
1612 struct device *dev = &queue->dev->dev;
1852 static int netdev_uevent(struct device *d, struct kobj_uevent_env *env)
1873 * netdev_release -- destroy and free a dead device.
1874 * Called when last reference to device kobject is gone.
1876 static void netdev_release(struct device *d)
1883 * device is dead and about to be freed.
1889 static const void *net_namespace(struct device *d)
1896 static void net_get_ownership(struct device *d, kuid_t *uid, kgid_t *gid)
1915 static int of_dev_node_match(struct device *dev, const void *data)
1926 * of_find_net_device_by_node - lookup the net device for the device node
1927 * @np: OF device node
1929 * Looks up the net_device structure corresponding with the device node.
1931 * struct device refcount incremented by one, or NULL on failure. The
1936 struct device *dev;
1952 struct device *dev = &ndev->dev;
1966 /* Create sysfs entries for network device. */
1969 struct device *dev = &ndev->dev;
1981 /* Allow for a device specific group */
2020 struct device *dev = &ndev->dev;