Lines Matching refs:device

2  * net-sysfs.c - network device class and attributes
42 static ssize_t netdev_show(const struct device *dev,
63 static ssize_t field##_show(struct device *dev, \
78 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr,
120 static ssize_t name_assign_type_show(struct device *dev,
135 static ssize_t address_show(struct device *dev, struct device_attribute *attr,
149 static ssize_t broadcast_show(struct device *dev,
166 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr,
172 static ssize_t carrier_show(struct device *dev,
183 static ssize_t speed_show(struct device *dev,
202 static ssize_t duplex_show(struct device *dev,
234 static ssize_t dormant_show(struct device *dev,
256 static ssize_t operstate_show(struct device *dev,
275 static ssize_t carrier_changes_show(struct device *dev,
292 static ssize_t mtu_store(struct device *dev, struct device_attribute *attr,
304 static ssize_t flags_store(struct device *dev, struct device_attribute *attr,
317 static ssize_t tx_queue_len_store(struct device *dev,
328 static ssize_t ifalias_store(struct device *dev, struct device_attribute *attr,
351 static ssize_t ifalias_show(struct device *dev,
372 static ssize_t group_store(struct device *dev, struct device_attribute *attr,
380 static ssize_t phys_port_id_show(struct device *dev,
431 static ssize_t netstat_show(const struct device *d,
454 static ssize_t name##_show(struct device *d, \
783 struct device *dev = &queue->dev->dev;
1142 struct device *dev = &queue->dev->dev;
1300 static int netdev_uevent(struct device *d, struct kobj_uevent_env *env)
1320 * netdev_release -- destroy and free a dead device.
1321 * Called when last reference to device kobject is gone.
1323 static void netdev_release(struct device *d)
1333 static const void *net_namespace(struct device *d)
1354 struct device *dev = &(ndev->dev);
1365 /* Create sysfs entries for network device. */
1368 struct device *dev = &(ndev->dev);
1380 /* Allow for a device specific group */