Lines Matching defs:fl_cdev
154 static int mt6370_flash_brightness_set(struct led_classdev_flash *fl_cdev, u32 brightness)
164 static int _mt6370_flash_brightness_set(struct led_classdev_flash *fl_cdev, u32 brightness)
166 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash);
168 struct led_flash_setting *setting = &fl_cdev->brightness;
195 static int mt6370_strobe_set(struct led_classdev_flash *fl_cdev, bool state)
197 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash);
199 struct led_classdev *lcdev = &fl_cdev->led_cdev;
200 struct led_flash_setting *s = &fl_cdev->brightness;
238 ret = _mt6370_flash_brightness_set(fl_cdev, state ? s->val : s->min);
260 static int mt6370_strobe_get(struct led_classdev_flash *fl_cdev, bool *state)
262 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash);
272 static int mt6370_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout)
274 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash);
276 struct led_flash_setting *s = &fl_cdev->timeout;
282 static int mt6370_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault)
284 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash);