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>
34 * device_name - network device name to monitor
141 struct device *dev = led_cdev->hw_control_get_device(led_cdev);
208 static ssize_t device_name_show(struct device *dev,
265 static ssize_t device_name_store(struct device *dev,
281 static ssize_t netdev_led_attr_show(struct device *dev, char *buf,
305 static ssize_t netdev_led_attr_store(struct device *dev, const char *buf,
354 static ssize_t trigger_name##_show(struct device *dev, \
359 static ssize_t trigger_name##_store(struct device *dev, \
375 static ssize_t interval_show(struct device *dev,
384 static ssize_t interval_store(struct device *dev,
412 static ssize_t offloaded_show(struct device *dev,
500 /* If we dont have a device, insure we are off */
545 struct device *dev;