Lines Matching refs:led_classdev_flash
14 struct led_classdev_flash;
35 int (*flash_brightness_set)(struct led_classdev_flash *fled_cdev,
38 int (*flash_brightness_get)(struct led_classdev_flash *fled_cdev,
41 int (*strobe_set)(struct led_classdev_flash *fled_cdev, bool state);
43 int (*strobe_get)(struct led_classdev_flash *fled_cdev, bool *state);
45 int (*timeout_set)(struct led_classdev_flash *fled_cdev, u32 timeout);
47 int (*fault_get)(struct led_classdev_flash *fled_cdev, u32 *fault);
65 struct led_classdev_flash { struct
82 static inline struct led_classdev_flash *lcdev_to_flcdev( in lcdev_to_flcdev() argument
85 return container_of(lcdev, struct led_classdev_flash, led_cdev); in lcdev_to_flcdev()
99 struct led_classdev_flash *fled_cdev,
109 void led_classdev_flash_unregister(struct led_classdev_flash *fled_cdev);
112 struct led_classdev_flash *fled_cdev,
117 struct led_classdev_flash *fled_cdev);
122 struct led_classdev_flash *fled_cdev, in led_classdev_flash_register_ext()
128 static inline void led_classdev_flash_unregister(struct led_classdev_flash *fled_cdev) {}; in led_classdev_flash_unregister()
130 struct led_classdev_flash *fled_cdev, in devm_led_classdev_flash_register_ext()
137 struct led_classdev_flash *fled_cdev) in devm_led_classdev_flash_unregister()
143 struct led_classdev_flash *fled_cdev) in led_classdev_flash_register()
149 struct led_classdev_flash *fled_cdev) in devm_led_classdev_flash_register()
163 static inline int led_set_flash_strobe(struct led_classdev_flash *fled_cdev, in led_set_flash_strobe()
180 static inline int led_get_flash_strobe(struct led_classdev_flash *fled_cdev, in led_get_flash_strobe()
200 int led_set_flash_brightness(struct led_classdev_flash *fled_cdev,
212 int led_update_flash_brightness(struct led_classdev_flash *fled_cdev);
223 int led_set_flash_timeout(struct led_classdev_flash *fled_cdev, u32 timeout);
234 int led_get_flash_fault(struct led_classdev_flash *fled_cdev, u32 *fault);