Searched refs:fled_cdev (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/include/linux/ |
D | led-class-flash.h | 39 int (*flash_brightness_set)(struct led_classdev_flash *fled_cdev, 42 int (*flash_brightness_get)(struct led_classdev_flash *fled_cdev, 45 int (*strobe_set)(struct led_classdev_flash *fled_cdev, bool state); 47 int (*strobe_get)(struct led_classdev_flash *fled_cdev, bool *state); 49 int (*timeout_set)(struct led_classdev_flash *fled_cdev, u32 timeout); 51 int (*fault_get)(struct led_classdev_flash *fled_cdev, u32 *fault); 101 struct led_classdev_flash *fled_cdev); 110 extern void led_classdev_flash_unregister(struct led_classdev_flash *fled_cdev); 121 static inline int led_set_flash_strobe(struct led_classdev_flash *fled_cdev, in led_set_flash_strobe() argument 124 if (!fled_cdev) in led_set_flash_strobe() [all …]
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-flash-led-class.c | 110 led_set_brightness_sync(&v4l2_flash->fled_cdev->led_cdev, in v4l2_flash_set_led_brightness() 134 led_cdev = &v4l2_flash->fled_cdev->led_cdev; in v4l2_flash_update_led_brightness() 157 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_g_volatile_ctrl() local 166 ret = led_update_flash_brightness(fled_cdev); in v4l2_flash_g_volatile_ctrl() 173 c->val = fled_cdev->brightness.val; in v4l2_flash_g_volatile_ctrl() 176 ret = led_get_flash_strobe(fled_cdev, &is_strobing); in v4l2_flash_g_volatile_ctrl() 183 return led_get_flash_fault(fled_cdev, &c->val); in v4l2_flash_g_volatile_ctrl() 199 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in v4l2_flash_s_ctrl() local 200 struct led_classdev *led_cdev = fled_cdev ? &fled_cdev->led_cdev : NULL; in v4l2_flash_s_ctrl() 210 return led_set_flash_strobe(fled_cdev, false); in v4l2_flash_s_ctrl() [all …]
|
/linux-4.19.296/include/media/ |
D | v4l2-flash-led-class.h | 85 struct led_classdev_flash *fled_cdev; member 137 struct led_classdev_flash *fled_cdev, 171 struct led_classdev_flash *fled_cdev, in v4l2_flash_init() argument
|