| /linux/include/linux/ |
| H A D | led-class-flash.h | 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); 49 int (*duration_set)(struct led_classdev_flash *fled_cdev, u32 duration); 67 struct led_classdev_flash { struct 87 static inline struct led_classdev_flash *lcdev_to_flcdev( in lcdev_to_flcdev() argument [all …]
|
| /linux/drivers/leds/ |
| H A D | led-class-flash.c | 40 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_brightness_store() 69 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_brightness_show() 82 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in max_flash_brightness_show() 92 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_strobe_store() 123 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_strobe_show() 140 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_timeout_store() 169 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_timeout_show() 179 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in max_flash_timeout_show() 189 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_fault_show() 253 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in led_flash_resume() [all …]
|
| /linux/drivers/leds/flash/ |
| H A D | leds-aat1290.c | 69 struct led_classdev_flash fled_cdev; 84 struct led_classdev_flash *fled_cdev) in fled_cdev_to_led() 89 static struct led_classdev_flash *led_cdev_to_fled_cdev( in led_cdev_to_fled_cdev() 92 return container_of(led_cdev, struct led_classdev_flash, led_cdev); in led_cdev_to_fled_cdev() 128 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_set_flash_safety_timer() 142 struct led_classdev_flash *fled_cdev = led_cdev_to_fled_cdev(led_cdev); in aat1290_led_brightness_set() 170 static int aat1290_led_flash_strobe_set(struct led_classdev_flash *fled_cdev, in aat1290_led_flash_strobe_set() 202 static int aat1290_led_flash_timeout_set(struct led_classdev_flash *fled_cdev, in aat1290_led_flash_timeout_set() 357 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_init_flash_timeout() 373 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_intensity_to_brightness() [all …]
|
| H A D | leds-rt8515.c | 47 struct led_classdev_flash fled; 60 static struct rt8515 *to_rt8515(struct led_classdev_flash *fled) in to_rt8515() 92 struct led_classdev_flash *fled = lcdev_to_flcdev(led); in rt8515_led_brightness_set() 113 static int rt8515_led_flash_strobe_set(struct led_classdev_flash *fled, in rt8515_led_flash_strobe_set() 142 static int rt8515_led_flash_strobe_get(struct led_classdev_flash *fled, in rt8515_led_flash_strobe_get() 152 static int rt8515_led_flash_timeout_set(struct led_classdev_flash *fled, in rt8515_led_flash_timeout_set() 175 struct led_classdev_flash *fled = &rt->fled; in rt8515_init_flash_timeout() 281 struct led_classdev_flash *fled; in rt8515_probe()
|
| H A D | leds-sy7802.c | 89 struct led_classdev_flash flash; 173 static int sy7802_flash_brightness_set(struct led_classdev_flash *fl_cdev, u32 brightness) in sy7802_flash_brightness_set() 194 static int sy7802_strobe_set(struct led_classdev_flash *fl_cdev, bool state) in sy7802_strobe_set() 238 static int sy7802_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in sy7802_strobe_get() 250 static int sy7802_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout) in sy7802_timeout_set() 260 static int sy7802_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault) in sy7802_fault_get() 293 static void sy7802_init_flash_brightness(struct led_classdev_flash *fl_cdev) in sy7802_init_flash_brightness() 305 static void sy7802_init_flash_timeout(struct led_classdev_flash *fl_cdev) in sy7802_init_flash_timeout() 337 struct led_classdev_flash *flash = &led->flash; in sy7802_init_flash_properties()
|
| H A D | leds-mt6370-flash.c | 71 struct led_classdev_flash flash; 154 static int mt6370_flash_brightness_set(struct led_classdev_flash *fl_cdev, u32 brightness) in mt6370_flash_brightness_set() 164 static int _mt6370_flash_brightness_set(struct led_classdev_flash *fl_cdev, u32 brightness) in _mt6370_flash_brightness_set() 195 static int mt6370_strobe_set(struct led_classdev_flash *fl_cdev, bool state) in mt6370_strobe_set() 260 static int mt6370_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in mt6370_strobe_get() 272 static int mt6370_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout) in mt6370_timeout_set() 282 static int mt6370_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault) in mt6370_fault_get() 346 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in mt6370_flash_external_strobe_set() 438 struct led_classdev_flash *flash = &led->flash; in mt6370_init_flash_properties()
|
| H A D | leds-mt6360.c | 78 struct led_classdev_flash flash; 208 static int mt6360_flash_brightness_set(struct led_classdev_flash *fl_cdev, in mt6360_flash_brightness_set() 220 static int _mt6360_flash_brightness_set(struct led_classdev_flash *fl_cdev, in _mt6360_flash_brightness_set() 234 static int mt6360_strobe_set(struct led_classdev_flash *fl_cdev, bool state) in mt6360_strobe_set() 310 static int mt6360_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in mt6360_strobe_get() 323 static int mt6360_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout) in mt6360_timeout_set() 340 static int mt6360_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault) in mt6360_fault_get() 429 struct led_classdev_flash *flash = &led->flash; in mt6360_flash_init_default_state() 471 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in mt6360_flash_external_strobe_set() 707 struct led_classdev_flash *flash = &led->flash; in mt6360_init_flash_properties()
|
| H A D | leds-max77693.c | 60 struct led_classdev_flash fled_cdev; 118 struct led_classdev_flash *fled_cdev) in flcdev_to_sub_led() 464 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in max77693_led_brightness_set() 500 struct led_classdev_flash *fled_cdev, in max77693_led_flash_brightness_set() 515 struct led_classdev_flash *fled_cdev, in max77693_led_flash_strobe_set() 550 struct led_classdev_flash *fled_cdev, in max77693_led_flash_fault_get() 561 struct led_classdev_flash *fled_cdev, in max77693_led_flash_strobe_get() 583 struct led_classdev_flash *fled_cdev, in max77693_led_flash_timeout_set() 790 struct led_classdev_flash *fled_cdev = &sub_led->fled_cdev; in max77693_init_flash_settings() 883 struct led_classdev_flash *fled_cdev; in max77693_init_fled_cdev() [all …]
|
| /linux/include/media/ |
| H A D | v4l2-flash-led-class.h | 15 struct led_classdev_flash; 82 struct led_classdev_flash *fled_cdev; 134 struct led_classdev_flash *fled_cdev, 168 struct led_classdev_flash *fled_cdev, in v4l2_flash_init()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-flash-led-class.c | 168 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_g_volatile_ctrl() 216 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_s_ctrl() 324 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in __fill_ctrl_init_data() 507 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in __sync_device_with_v4l2_controls() 566 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_open() 616 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_close() 654 struct led_classdev_flash *fled_cdev, struct led_classdev *iled_cdev, in __v4l2_flash_init() 708 struct led_classdev_flash *fled_cdev, in v4l2_flash_init()
|
| /linux/drivers/staging/greybus/ |
| H A D | light.c | 32 struct led_classdev_flash fled; 85 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(cdev); in get_channel_from_cdev() 516 struct led_classdev_flash *fled; in gb_lights_light_v4l2_register() 589 static int gb_lights_flash_intensity_set(struct led_classdev_flash *fcdev, in gb_lights_flash_intensity_set() 605 static int gb_lights_flash_intensity_get(struct led_classdev_flash *fcdev, in gb_lights_flash_intensity_get() 613 static int gb_lights_flash_strobe_set(struct led_classdev_flash *fcdev, in gb_lights_flash_strobe_set() 644 static int gb_lights_flash_strobe_get(struct led_classdev_flash *fcdev, in gb_lights_flash_strobe_get() 654 static int gb_lights_flash_timeout_set(struct led_classdev_flash *fcdev, in gb_lights_flash_timeout_set() 685 static int gb_lights_flash_fault_get(struct led_classdev_flash *fcdev, in gb_lights_flash_fault_get() 753 struct led_classdev_flash *fled = &channel->fled; in __gb_lights_flash_led_register()
|