/linux-6.6.21/drivers/leds/ |
D | led-class-flash.c | 17 #define has_flash_op(fled_cdev, op) \ argument 20 #define call_flash_op(fled_cdev, op, args...) \ argument 41 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_brightness_store() local 70 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_brightness_show() local 83 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in max_flash_brightness_show() local 93 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_strobe_store() local 124 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_strobe_show() local 141 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_timeout_store() local 170 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in flash_timeout_show() local 180 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(led_cdev); in max_flash_timeout_show() local [all …]
|
/linux-6.6.21/include/linux/ |
D | led-class-flash.h | 122 struct led_classdev_flash *fled_cdev, in led_classdev_flash_register_ext() 128 static inline void led_classdev_flash_unregister(struct led_classdev_flash *fled_cdev) {}; in led_classdev_flash_unregister() 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() 149 struct led_classdev_flash *fled_cdev) in devm_led_classdev_flash_register() 163 static inline int led_set_flash_strobe(struct led_classdev_flash *fled_cdev, in led_set_flash_strobe() 180 static inline int led_get_flash_strobe(struct led_classdev_flash *fled_cdev, in led_get_flash_strobe()
|
/linux-6.6.21/drivers/leds/flash/ |
D | leds-sgm3140.c | 16 struct led_classdev_flash fled_cdev; member 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() local 146 struct led_classdev_flash *fled_cdev = &priv->fled_cdev; in sgm3140_init_flash_timeout() local 186 struct led_classdev_flash *fled_cdev; in sgm3140_probe() local
|
D | leds-aat1290.c | 68 struct led_classdev_flash fled_cdev; member 85 struct led_classdev_flash *fled_cdev) in fled_cdev_to_led() 129 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_set_flash_safety_timer() local 143 struct led_classdev_flash *fled_cdev = led_cdev_to_fled_cdev(led_cdev); in aat1290_led_brightness_set() local 171 static int aat1290_led_flash_strobe_set(struct led_classdev_flash *fled_cdev, in aat1290_led_flash_strobe_set() 203 static int aat1290_led_flash_timeout_set(struct led_classdev_flash *fled_cdev, in aat1290_led_flash_timeout_set() 361 struct led_classdev_flash *fled_cdev = &led->fled_cdev; in aat1290_init_flash_timeout() local 377 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_intensity_to_brightness() local 391 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_brightness_to_intensity() local 401 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_led_external_strobe_set() local [all …]
|
D | leds-lm3601x.c | 87 struct led_classdev_flash fled_cdev; member 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() local 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()
|
D | leds-ktd2692.c | 76 struct led_classdev_flash fled_cdev; member 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() local 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() local
|
D | leds-max77693.c | 60 struct led_classdev_flash fled_cdev; member 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() local 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() local 888 struct led_classdev_flash *fled_cdev; in max77693_init_fled_cdev() local [all …]
|
D | leds-qcom-flash.c | 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() local 459 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_external_strobe_set() local 476 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_intensity_to_led_brightness() local 490 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_brightness_to_led_intensity() local
|
D | leds-rt4505.c | 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()
|
D | leds-as3645a.c | 326 static int as3645a_set_assist_brightness(struct led_classdev *fled_cdev, in as3645a_set_assist_brightness() 573 struct led_classdev *fled_cdev = &flash->fled.led_cdev; in as3645a_led_class_setup() local
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-flash-led-class.c | 168 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_g_volatile_ctrl() local 216 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_s_ctrl() local 324 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in __fill_ctrl_init_data() local 508 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in __sync_device_with_v4l2_controls() local 567 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_open() local 617 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_close() local 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()
|
/linux-6.6.21/include/media/ |
D | v4l2-flash-led-class.h | 82 struct led_classdev_flash *fled_cdev; member 168 struct led_classdev_flash *fled_cdev, in v4l2_flash_init()
|
/linux-6.6.21/drivers/staging/greybus/ |
D | light.c | 90 struct led_classdev_flash *fled_cdev = lcdev_to_flcdev(cdev); in get_channel_from_cdev() local
|