Searched refs:v4l2_flash (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/media/v4l2-core/ |
A D | v4l2-flash-led-class.c | 18 (v4l2_flash && v4l2_flash->ops && v4l2_flash->ops->op) 22 v4l2_flash->ops->op(v4l2_flash, arg) : \ 167 struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); in v4l2_flash_g_volatile_ctrl() local 215 struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); in v4l2_flash_s_ctrl() local 320 static void __fill_ctrl_init_data(struct v4l2_flash *v4l2_flash, in __fill_ctrl_init_data() argument 438 v4l2_flash->ctrls = devm_kcalloc(v4l2_flash->sd.dev, in v4l2_flash_init_controls() 497 v4l2_flash->sd.ctrl_handler = &v4l2_flash->hdl; in v4l2_flash_init_controls() 566 struct v4l2_flash *v4l2_flash = v4l2_subdev_to_v4l2_flash(sd); in v4l2_flash_open() local 616 struct v4l2_flash *v4l2_flash = v4l2_subdev_to_v4l2_flash(sd); in v4l2_flash_close() local 658 struct v4l2_flash *v4l2_flash; in __v4l2_flash_init() local [all …]
|
/linux/include/media/ |
A D | v4l2-flash-led-class.h | 17 struct v4l2_flash; 44 int (*external_strobe_set)(struct v4l2_flash *v4l2_flash, 47 (struct v4l2_flash *v4l2_flash, s32 intensity); 49 (struct v4l2_flash *v4l2_flash, enum led_brightness); 81 struct v4l2_flash { struct 100 return container_of(sd, struct v4l2_flash, sd); in v4l2_subdev_to_v4l2_flash() 132 struct v4l2_flash *v4l2_flash_init( 153 struct v4l2_flash *v4l2_flash_indicator_init( 163 void v4l2_flash_release(struct v4l2_flash *v4l2_flash); 166 static inline struct v4l2_flash *v4l2_flash_init( in v4l2_flash_init() [all …]
|
/linux/drivers/leds/flash/ |
A D | leds-aat1290.c | 70 struct v4l2_flash *v4l2_flash; member 374 struct v4l2_flash *v4l2_flash, in aat1290_intensity_to_brightness() argument 377 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_intensity_to_brightness() 388 static s32 aat1290_brightness_to_intensity(struct v4l2_flash *v4l2_flash, in aat1290_brightness_to_intensity() argument 391 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_brightness_to_intensity() 397 static int aat1290_led_external_strobe_set(struct v4l2_flash *v4l2_flash, in aat1290_led_external_strobe_set() argument 400 struct aat1290_led *led = fled_cdev_to_led(v4l2_flash->fled_cdev); in aat1290_led_external_strobe_set() 401 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in aat1290_led_external_strobe_set() 510 if (IS_ERR(led->v4l2_flash)) { in aat1290_led_probe() 511 ret = PTR_ERR(led->v4l2_flash); in aat1290_led_probe() [all …]
|
A D | leds-rt4505.c | 49 struct v4l2_flash *v4l2_flash; member 240 static int rt4505_flash_external_strobe_set(struct v4l2_flash *v4l2_flash, in rt4505_flash_external_strobe_set() argument 243 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in rt4505_flash_external_strobe_set() 384 priv->v4l2_flash = v4l2_flash_init(priv->dev, init_data.fwnode, in rt4505_probe() 387 if (IS_ERR(priv->v4l2_flash)) { in rt4505_probe() 389 return PTR_ERR(priv->v4l2_flash); in rt4505_probe() 400 v4l2_flash_release(priv->v4l2_flash); in rt4505_remove()
|
A D | leds-sgm3140.c | 17 struct v4l2_flash *v4l2_flash; member 265 priv->v4l2_flash = v4l2_flash_init(&pdev->dev, in sgm3140_probe() 269 if (IS_ERR(priv->v4l2_flash)) { in sgm3140_probe() 270 ret = PTR_ERR(priv->v4l2_flash); in sgm3140_probe() 287 v4l2_flash_release(priv->v4l2_flash); in sgm3140_remove()
|
A D | leds-rt8515.c | 50 struct v4l2_flash *v4l2_flash; member 216 v4l2_flash_release(rt->v4l2_flash); in rt8515_v4l2_flash_release() 355 rt->v4l2_flash = v4l2_flash_init(dev, child, fled, NULL, &v4l2_sd_cfg); in rt8515_probe() 356 if (IS_ERR(rt->v4l2_flash)) { in rt8515_probe() 357 ret = PTR_ERR(rt->v4l2_flash); in rt8515_probe()
|
A D | leds-max77693.c | 62 struct v4l2_flash *v4l2_flash; member 821 struct v4l2_flash *v4l2_flash, in max77693_led_external_strobe_set() argument 825 flcdev_to_sub_led(v4l2_flash->fled_cdev); in max77693_led_external_strobe_set() 930 sub_led->v4l2_flash = v4l2_flash_init(dev, of_fwnode_handle(sub_node), in max77693_register_led() 933 if (IS_ERR(sub_led->v4l2_flash)) { in max77693_register_led() 934 ret = PTR_ERR(sub_led->v4l2_flash); in max77693_register_led() 1011 v4l2_flash_release(sub_leds[FLED1].v4l2_flash); in max77693_led_probe() 1025 v4l2_flash_release(sub_leds[FLED1].v4l2_flash); in max77693_led_remove() 1030 v4l2_flash_release(sub_leds[FLED2].v4l2_flash); in max77693_led_remove()
|
A D | leds-as3645a.c | 135 struct v4l2_flash *vf; 136 struct v4l2_flash *vfind;
|
/linux/drivers/staging/greybus/ |
A D | light.c | 57 struct v4l2_flash *v4l2_flash; member 58 struct v4l2_flash *v4l2_flash_ind; 567 light->v4l2_flash = v4l2_flash_init(dev, NULL, fled, &v4l2_flash_ops, in gb_lights_light_v4l2_register() 569 if (IS_ERR(light->v4l2_flash)) in gb_lights_light_v4l2_register() 570 return PTR_ERR(light->v4l2_flash); in gb_lights_light_v4l2_register() 576 v4l2_flash_release(light->v4l2_flash); in gb_lights_light_v4l2_register() 587 v4l2_flash_release(light->v4l2_flash); in gb_lights_light_v4l2_unregister()
|
/linux/Documentation/leds/ |
A D | leds-class-flash.rst | 78 argument - struct v4l2_flash pointer returned previously by v4l2_flash_init.
|
Completed in 23 milliseconds