Lines Matching refs:device
7 // Toggles the LED to reflect the link and traffic state of a named net device
15 #include <linux/device.h>
30 * device_name - network device name to monitor
94 static ssize_t device_name_show(struct device *dev,
107 static ssize_t device_name_store(struct device *dev,
149 static ssize_t netdev_led_attr_show(struct device *dev, char *buf,
172 static ssize_t netdev_led_attr_store(struct device *dev, const char *buf,
210 static ssize_t link_show(struct device *dev,
216 static ssize_t link_store(struct device *dev,
224 static ssize_t tx_show(struct device *dev,
230 static ssize_t tx_store(struct device *dev,
238 static ssize_t rx_show(struct device *dev,
244 static ssize_t rx_store(struct device *dev,
252 static ssize_t interval_show(struct device *dev,
261 static ssize_t interval_store(struct device *dev,
359 /* If we dont have a device, insure we are off */