/openbmc/linux/include/linux/ |
H A D | led-class-flash.h | 14 struct led_classdev_flash; 65 struct led_classdev_flash { struct 82 static inline struct led_classdev_flash *lcdev_to_flcdev( in lcdev_to_flcdev() argument 99 struct led_classdev_flash *fled_cdev, 112 struct led_classdev_flash *fled_cdev, 117 struct led_classdev_flash *fled_cdev); 122 struct led_classdev_flash *fled_cdev, in led_classdev_flash_register_ext() 130 struct led_classdev_flash *fled_cdev, in devm_led_classdev_flash_register_ext() 137 struct led_classdev_flash *fled_cdev) in devm_led_classdev_flash_unregister() 143 struct led_classdev_flash *fled_cdev) in led_classdev_flash_register() [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | led-class-flash.c | 41 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_brightness_store() 70 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_brightness_show() 83 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in max_flash_brightness_show() 93 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_strobe_store() 124 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_strobe_show() 141 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_timeout_store() 284 struct led_classdev_flash *fled_cdev, in led_classdev_flash_register_ext() 334 struct led_classdev_flash *fled_cdev, in devm_led_classdev_flash_register_ext() 337 struct led_classdev_flash **dr; in devm_led_classdev_flash_register_ext() 361 struct led_classdev_flash **p = res; in devm_led_classdev_flash_match() [all …]
|
/openbmc/linux/drivers/leds/flash/ |
H A D | leds-aat1290.c | 68 struct led_classdev_flash fled_cdev; 85 struct led_classdev_flash *fled_cdev) in fled_cdev_to_led() 90 static struct led_classdev_flash *led_cdev_to_fled_cdev( in led_cdev_to_fled_cdev() 93 return container_of(led_cdev, struct led_classdev_flash, led_cdev); in led_cdev_to_fled_cdev() 129 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_set_flash_safety_timer() 143 struct led_classdev_flash *fled_cdev = led_cdev_to_fled_cdev(led_cdev); in aat1290_led_brightness_set() 361 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_init_flash_timeout() 377 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_intensity_to_brightness() 391 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_brightness_to_intensity() 401 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_led_external_strobe_set() [all …]
|
H A D | leds-sgm3140.c | 16 struct led_classdev_flash fled_cdev; 33 static struct sgm3140 *flcdev_to_sgm3140(struct led_classdev_flash *flcdev) in flcdev_to_sgm3140() 38 static int sgm3140_strobe_set(struct led_classdev_flash *fled_cdev, bool state) in sgm3140_strobe_set() 74 static int sgm3140_strobe_get(struct led_classdev_flash *fled_cdev, bool *state) in sgm3140_strobe_get() 83 static int sgm3140_timeout_set(struct led_classdev_flash *fled_cdev, in sgm3140_timeout_set() 102 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in sgm3140_brightness_set() 149 struct led_classdev_flash *fled_cdev = &priv->fled_cdev; in sgm3140_init_flash_timeout() 189 struct led_classdev_flash *fled_cdev; in sgm3140_probe()
|
H A D | leds-rt8515.c | 48 struct led_classdev_flash fled; 61 static struct rt8515 *to_rt8515(struct led_classdev_flash *fled) in to_rt8515() 93 struct led_classdev_flash *fled = lcdev_to_flcdev(led); in rt8515_led_brightness_set() 114 static int rt8515_led_flash_strobe_set(struct led_classdev_flash *fled, in rt8515_led_flash_strobe_set() 143 static int rt8515_led_flash_strobe_get(struct led_classdev_flash *fled, in rt8515_led_flash_strobe_get() 153 static int rt8515_led_flash_timeout_set(struct led_classdev_flash *fled, in rt8515_led_flash_timeout_set() 176 struct led_classdev_flash *fled = &rt->fled; in rt8515_init_flash_timeout() 282 struct led_classdev_flash *fled; in rt8515_probe()
|
H A D | leds-rt4505.c | 48 struct led_classdev_flash flash; 116 static int rt4505_flash_brightness_set(struct led_classdev_flash *fled_cdev, in rt4505_flash_brightness_set() 133 static int rt4505_flash_strobe_set(struct led_classdev_flash *fled_cdev, in rt4505_flash_strobe_set() 149 static int rt4505_flash_strobe_get(struct led_classdev_flash *fled_cdev, in rt4505_flash_strobe_get() 170 static int rt4505_flash_timeout_set(struct led_classdev_flash *fled_cdev, in rt4505_flash_timeout_set() 187 static int rt4505_fault_get(struct led_classdev_flash *fled_cdev, u32 *fault) in rt4505_fault_get() 243 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in rt4505_flash_external_strobe_set() 264 struct led_classdev_flash *flash = &priv->flash; in rt4505_init_v4l2_config() 293 struct led_classdev_flash *flash = &priv->flash; in rt4505_init_flash_properties()
|
H A D | leds-ktd2692.c | 76 struct led_classdev_flash fled_cdev; 90 struct led_classdev_flash *fled_cdev) in fled_cdev_to_led() 159 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in ktd2692_led_brightness_set() 179 static int ktd2692_led_flash_strobe_set(struct led_classdev_flash *fled_cdev, in ktd2692_led_flash_strobe_set() 210 static int ktd2692_led_flash_timeout_set(struct led_classdev_flash *fled_cdev, in ktd2692_led_flash_timeout_set() 234 static void ktd2692_init_flash_timeout(struct led_classdev_flash *fled_cdev, in ktd2692_init_flash_timeout() 349 struct led_classdev_flash *fled_cdev; in ktd2692_probe()
|
H A D | leds-lm3601x.c | 87 struct led_classdev_flash fled_cdev; 130 static struct lm3601x_led *fled_cdev_to_led(struct led_classdev_flash *fled_cdev) in fled_cdev_to_led() 173 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(cdev); in lm3601x_brightness_set() 206 static int lm3601x_strobe_set(struct led_classdev_flash *fled_cdev, in lm3601x_strobe_set() 243 static int lm3601x_flash_brightness_set(struct led_classdev_flash *fled_cdev, in lm3601x_flash_brightness_set() 269 static int lm3601x_flash_timeout_set(struct led_classdev_flash *fled_cdev, in lm3601x_flash_timeout_set() 283 static int lm3601x_strobe_get(struct led_classdev_flash *fled_cdev, bool *state) in lm3601x_strobe_get() 302 static int lm3601x_flash_fault_get(struct led_classdev_flash *fled_cdev, in lm3601x_flash_fault_get()
|
H A D | leds-qcom-flash.c | 140 struct led_classdev_flash flash; 291 static int qcom_flash_brightness_set(struct led_classdev_flash *fled_cdev, u32 brightness) in qcom_flash_brightness_set() 299 static int qcom_flash_timeout_set(struct led_classdev_flash *fled_cdev, u32 timeout) in qcom_flash_timeout_set() 307 static int qcom_flash_strobe_set(struct led_classdev_flash *fled_cdev, bool state) in qcom_flash_strobe_set() 331 static int qcom_flash_strobe_get(struct led_classdev_flash *fled_cdev, bool *state) in qcom_flash_strobe_get() 339 static int qcom_flash_fault_get(struct led_classdev_flash *fled_cdev, u32 *fault) in qcom_flash_fault_get() 418 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in qcom_flash_led_brightness_set() 459 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_external_strobe_set() 476 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_intensity_to_led_brightness() 490 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_brightness_to_led_intensity() [all …]
|
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() 300 static int mt6360_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in mt6360_strobe_get() 313 static int mt6360_timeout_set(struct led_classdev_flash *fl_cdev, u32 timeout) in mt6360_timeout_set() 330 static int mt6360_fault_get(struct led_classdev_flash *fl_cdev, u32 *fault) in mt6360_fault_get() 419 struct led_classdev_flash *flash = &led->flash; in mt6360_flash_init_default_state() 461 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in mt6360_flash_external_strobe_set() 697 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() 795 struct led_classdev_flash *fled_cdev = &sub_led->fled_cdev; in max77693_init_flash_settings() 888 struct led_classdev_flash *fled_cdev; in max77693_init_fled_cdev() [all …]
|
H A D | leds-as3645a.c | 132 struct led_classdev_flash fled; 251 static int as3645a_get_fault(struct led_classdev_flash *fled, u32 *fault) in as3645a_get_fault() 329 struct led_classdev_flash *fled = lcdev_to_flcdev(fled_cdev); in as3645a_set_assist_brightness() 345 static int as3645a_set_flash_brightness(struct led_classdev_flash *fled, in as3645a_set_flash_brightness() 356 static int as3645a_set_flash_timeout(struct led_classdev_flash *fled, in as3645a_set_flash_timeout() 366 static int as3645a_set_strobe(struct led_classdev_flash *fled, bool state) in as3645a_set_strobe() 635 struct led_classdev_flash *fled = &flash->fled; in as3645a_v4l2_setup()
|
/openbmc/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()
|
/openbmc/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() 508 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in __sync_device_with_v4l2_controls() 567 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_open() 617 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_close() 655 struct led_classdev_flash *fled_cdev, struct led_classdev *iled_cdev, in __v4l2_flash_init() 709 struct led_classdev_flash *fled_cdev, in v4l2_flash_init()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | light.c | 33 struct led_classdev_flash fled; 90 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(cdev); in get_channel_from_cdev() 538 struct led_classdev_flash *fled; in gb_lights_light_v4l2_register() 611 static int gb_lights_flash_intensity_set(struct led_classdev_flash *fcdev, in gb_lights_flash_intensity_set() 627 static int gb_lights_flash_intensity_get(struct led_classdev_flash *fcdev, in gb_lights_flash_intensity_get() 635 static int gb_lights_flash_strobe_set(struct led_classdev_flash *fcdev, in gb_lights_flash_strobe_set() 666 static int gb_lights_flash_strobe_get(struct led_classdev_flash *fcdev, in gb_lights_flash_strobe_get() 676 static int gb_lights_flash_timeout_set(struct led_classdev_flash *fcdev, in gb_lights_flash_timeout_set() 707 static int gb_lights_flash_fault_get(struct led_classdev_flash *fcdev, in gb_lights_flash_fault_get() 775 struct led_classdev_flash *fled = &channel->fled; in __gb_lights_flash_led_register()
|