Lines Matching refs:fl_cdev
208 static int mt6360_flash_brightness_set(struct led_classdev_flash *fl_cdev,
220 static int _mt6360_flash_brightness_set(struct led_classdev_flash *fl_cdev,
224 container_of(fl_cdev, struct mt6360_led, flash);
226 struct led_flash_setting *s = &fl_cdev->brightness;
234 static int mt6360_strobe_set(struct led_classdev_flash *fl_cdev, bool state)
237 container_of(fl_cdev, struct mt6360_led, flash);
239 struct led_classdev *lcdev = &fl_cdev->led_cdev;
240 struct led_flash_setting *s = &fl_cdev->brightness;
290 ret = _mt6360_flash_brightness_set(fl_cdev, state ? s->val : s->min);
310 static int mt6360_strobe_get(struct led_classdev_flash *fl_cdev, bool *state)
313 container_of(fl_cdev, struct mt6360_led, flash);
323 static int mt6360_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout)
326 container_of(fl_cdev, struct mt6360_led, flash);
328 struct led_flash_setting *s = &fl_cdev->timeout;
340 static int mt6360_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault)
343 container_of(fl_cdev, struct mt6360_led, flash);