Lines Matching refs:dev
37 static ssize_t flash_brightness_store(struct device *dev, in flash_brightness_store() argument
40 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_store()
66 static ssize_t flash_brightness_show(struct device *dev, in flash_brightness_show() argument
69 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_brightness_show()
79 static ssize_t max_flash_brightness_show(struct device *dev, in max_flash_brightness_show() argument
82 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_brightness_show()
89 static ssize_t flash_strobe_store(struct device *dev, in flash_strobe_store() argument
92 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_store()
120 static ssize_t flash_strobe_show(struct device *dev, in flash_strobe_show() argument
123 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_strobe_show()
137 static ssize_t flash_timeout_store(struct device *dev, in flash_timeout_store() argument
140 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_store()
166 static ssize_t flash_timeout_show(struct device *dev, in flash_timeout_show() argument
169 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_timeout_show()
176 static ssize_t max_flash_timeout_show(struct device *dev, in max_flash_timeout_show() argument
179 struct led_classdev *led_cdev = dev_get_drvdata(dev); in max_flash_timeout_show()
186 static ssize_t flash_fault_show(struct device *dev, in flash_fault_show() argument
189 struct led_classdev *led_cdev = dev_get_drvdata(dev); in flash_fault_show()
328 static void devm_led_classdev_flash_release(struct device *dev, void *res) in devm_led_classdev_flash_release() argument
358 static int devm_led_classdev_flash_match(struct device *dev, in devm_led_classdev_flash_match() argument
369 void devm_led_classdev_flash_unregister(struct device *dev, in devm_led_classdev_flash_unregister() argument
372 WARN_ON(devres_release(dev, in devm_led_classdev_flash_unregister()