Lines Matching refs:fl_cdev
208 static int mt6360_flash_brightness_set(struct led_classdev_flash *fl_cdev, in mt6360_flash_brightness_set() argument
220 static int _mt6360_flash_brightness_set(struct led_classdev_flash *fl_cdev, in _mt6360_flash_brightness_set() argument
224 container_of(fl_cdev, struct mt6360_led, flash); in _mt6360_flash_brightness_set()
226 struct led_flash_setting *s = &fl_cdev->brightness; in _mt6360_flash_brightness_set()
234 static int mt6360_strobe_set(struct led_classdev_flash *fl_cdev, bool state) in mt6360_strobe_set() argument
237 container_of(fl_cdev, struct mt6360_led, flash); in mt6360_strobe_set()
239 struct led_classdev *lcdev = &fl_cdev->led_cdev; in mt6360_strobe_set()
240 struct led_flash_setting *s = &fl_cdev->brightness; in mt6360_strobe_set()
280 ret = _mt6360_flash_brightness_set(fl_cdev, state ? s->val : s->min); in mt6360_strobe_set()
300 static int mt6360_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in mt6360_strobe_get() argument
303 container_of(fl_cdev, struct mt6360_led, flash); in mt6360_strobe_get()
313 static int mt6360_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout) in mt6360_timeout_set() argument
316 container_of(fl_cdev, struct mt6360_led, flash); in mt6360_timeout_set()
318 struct led_flash_setting *s = &fl_cdev->timeout; in mt6360_timeout_set()
330 static int mt6360_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault) in mt6360_fault_get() argument
333 container_of(fl_cdev, struct mt6360_led, flash); in mt6360_fault_get()