Lines Matching refs:fled_cdev
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);
98 struct led_classdev_flash *fled_cdev,
108 void led_classdev_flash_unregister(struct led_classdev_flash *fled_cdev);
111 struct led_classdev_flash *fled_cdev,
116 struct led_classdev_flash *fled_cdev);
119 struct led_classdev_flash *fled_cdev) in led_classdev_flash_register() argument
121 return led_classdev_flash_register_ext(parent, fled_cdev, NULL); in led_classdev_flash_register()
125 struct led_classdev_flash *fled_cdev) in devm_led_classdev_flash_register() argument
127 return devm_led_classdev_flash_register_ext(parent, fled_cdev, NULL); in devm_led_classdev_flash_register()
139 static inline int led_set_flash_strobe(struct led_classdev_flash *fled_cdev, in led_set_flash_strobe() argument
142 if (!fled_cdev) in led_set_flash_strobe()
144 return fled_cdev->ops->strobe_set(fled_cdev, state); in led_set_flash_strobe()
156 static inline int led_get_flash_strobe(struct led_classdev_flash *fled_cdev, in led_get_flash_strobe() argument
159 if (!fled_cdev) in led_get_flash_strobe()
161 if (fled_cdev->ops->strobe_get) in led_get_flash_strobe()
162 return fled_cdev->ops->strobe_get(fled_cdev, state); in led_get_flash_strobe()
176 int led_set_flash_brightness(struct led_classdev_flash *fled_cdev,
188 int led_update_flash_brightness(struct led_classdev_flash *fled_cdev);
199 int led_set_flash_timeout(struct led_classdev_flash *fled_cdev, u32 timeout);
210 int led_get_flash_fault(struct led_classdev_flash *fled_cdev, u32 *fault);