/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-flash-led-class.c | 17 #define has_flash_op(v4l2_flash, op) \ 18 (v4l2_flash && v4l2_flash->ops && v4l2_flash->ops->op) 20 #define call_flash_op(v4l2_flash, op, arg) \ 21 (has_flash_op(v4l2_flash, op) ? \ 22 v4l2_flash->ops->op(v4l2_flash, arg) : \ 34 * the 'ctrls' array in the struct v4l2_flash. 79 static int v4l2_flash_set_led_brightness(struct v4l2_flash *v4l2_flas argument 122 v4l2_flash_update_led_brightness(struct v4l2_flash *v4l2_flash, struct v4l2_ctrl *ctrl) v4l2_flash_update_led_brightness() argument 167 struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); v4l2_flash_g_volatile_ctrl() local 215 struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); v4l2_flash_s_ctrl() local 320 __fill_ctrl_init_data(struct v4l2_flash *v4l2_flash, struct v4l2_flash_config *flash_cfg, struct v4l2_flash_ctrl_data *ctrl_init_data) __fill_ctrl_init_data() argument 429 v4l2_flash_init_controls(struct v4l2_flash *v4l2_flash, struct v4l2_flash_config *flash_cfg) v4l2_flash_init_controls() argument 506 __sync_device_with_v4l2_controls(struct v4l2_flash *v4l2_flash) __sync_device_with_v4l2_controls() argument 566 struct v4l2_flash *v4l2_flash = v4l2_subdev_to_v4l2_flash(sd); v4l2_flash_open() local 616 struct v4l2_flash *v4l2_flash = v4l2_subdev_to_v4l2_flash(sd); v4l2_flash_close() local 658 struct v4l2_flash *v4l2_flash; __v4l2_flash_init() local 726 v4l2_flash_release(struct v4l2_flash *v4l2_flash) v4l2_flash_release() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-flash-led-class.c | 17 #define has_flash_op(v4l2_flash, op) \ 18 (v4l2_flash && v4l2_flash->ops && v4l2_flash->ops->op) 20 #define call_flash_op(v4l2_flash, op, arg) \ 21 (has_flash_op(v4l2_flash, op) ? \ 22 v4l2_flash->ops->op(v4l2_flash, arg) : \ 34 * the 'ctrls' array in the struct v4l2_flash. 79 static void v4l2_flash_set_led_brightness(struct v4l2_flash *v4l2_flas argument 115 v4l2_flash_update_led_brightness(struct v4l2_flash *v4l2_flash, struct v4l2_ctrl *ctrl) v4l2_flash_update_led_brightness() argument 153 struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); v4l2_flash_g_volatile_ctrl() local 195 struct v4l2_flash *v4l2_flash = v4l2_ctrl_to_v4l2_flash(c); v4l2_flash_s_ctrl() local 294 __fill_ctrl_init_data(struct v4l2_flash *v4l2_flash, struct v4l2_flash_config *flash_cfg, struct v4l2_flash_ctrl_data *ctrl_init_data) __fill_ctrl_init_data() argument 403 v4l2_flash_init_controls(struct v4l2_flash *v4l2_flash, struct v4l2_flash_config *flash_cfg) v4l2_flash_init_controls() argument 480 __sync_device_with_v4l2_controls(struct v4l2_flash *v4l2_flash) __sync_device_with_v4l2_controls() argument 528 struct v4l2_flash *v4l2_flash = v4l2_subdev_to_v4l2_flash(sd); v4l2_flash_open() local 578 struct v4l2_flash *v4l2_flash = v4l2_subdev_to_v4l2_flash(sd); v4l2_flash_close() local 620 struct v4l2_flash *v4l2_flash; __v4l2_flash_init() local 688 v4l2_flash_release(struct v4l2_flash *v4l2_flash) v4l2_flash_release() argument [all...] |
/kernel/linux/linux-5.10/include/media/ |
H 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); 71 * struct v4l2_flash - Flash sub-device context 81 struct v4l2_flash { struct 92 * v4l2_subdev_to_v4l2_flash - Returns a &struct v4l2_flash fro 181 v4l2_flash_release(struct v4l2_flash *v4l2_flash) v4l2_flash_release() argument [all...] |
/kernel/linux/linux-6.6/include/media/ |
H 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); 71 * struct v4l2_flash - Flash sub-device context 81 struct v4l2_flash { struct 92 * v4l2_subdev_to_v4l2_flash - Returns a &struct v4l2_flash fro 181 v4l2_flash_release(struct v4l2_flash *v4l2_flash) v4l2_flash_release() argument [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-aat1290.c | 70 struct v4l2_flash *v4l2_flash; member 374 struct v4l2_flash *v4l2_flash, in aat1290_intensity_to_brightness() 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 373 aat1290_intensity_to_brightness( struct v4l2_flash *v4l2_flash, s32 intensity) aat1290_intensity_to_brightness() argument [all...] |
H 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()
|
H A D | leds-max77693.c | 62 struct v4l2_flash *v4l2_flash; member 821 struct v4l2_flash *v4l2_flash, in max77693_led_external_strobe_set() 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() 820 max77693_led_external_strobe_set( struct v4l2_flash *v4l2_flash, bool enable) max77693_led_external_strobe_set() argument [all...] |
H A D | leds-as3645a.c | 135 struct v4l2_flash *vf; 136 struct v4l2_flash *vfind;
|
/kernel/linux/linux-6.6/drivers/leds/flash/ |
H A D | leds-aat1290.c | 70 struct v4l2_flash *v4l2_flash; member 374 struct v4l2_flash *v4l2_flash, in aat1290_intensity_to_brightness() 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 373 aat1290_intensity_to_brightness( struct v4l2_flash *v4l2_flash, s32 intensity) aat1290_intensity_to_brightness() argument [all...] |
H A D | leds-qcom-flash.c | 129 struct v4l2_flash **v4l2_flash; member 457 static int qcom_flash_external_strobe_set(struct v4l2_flash *v4l2_flash, bool enable) in qcom_flash_external_strobe_set() argument 459 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_external_strobe_set() 474 qcom_flash_intensity_to_led_brightness(struct v4l2_flash *v4l2_flash, s32 intensity) in qcom_flash_intensity_to_led_brightness() argument 476 struct led_classdev_flash *fled_cdev = v4l2_flash->fled_cdev; in qcom_flash_intensity_to_led_brightness() 487 static s32 qcom_flash_brightness_to_led_intensity(struct v4l2_flash *v4l2_flash, in qcom_flash_brightness_to_led_intensity() argument [all...] |
H 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()
|
H A D | leds-mt6370-flash.c | 72 struct v4l2_flash *v4l2_flash; member 343 static int mt6370_flash_external_strobe_set(struct v4l2_flash *v4l2_flash, in mt6370_flash_external_strobe_set() argument 346 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in mt6370_flash_external_strobe_set() 398 static void mt6370_v4l2_flash_release(void *v4l2_flash) in mt6370_v4l2_flash_release() argument 400 v4l2_flash_release(v4l2_flash); in mt6370_v4l2_flash_release() 415 led->v4l2_flash = v4l2_flash_init(parent, fwnode, &led->flash, &v4l2_flash_ops, in mt6370_led_register() 417 if (IS_ERR(led->v4l2_flash)) in mt6370_led_register() 418 return dev_err_probe(parent, PTR_ERR(led->v4l2_flash), in mt6370_led_register() [all...] |
H 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()
|
H A D | leds-sgm3140.c | 17 struct v4l2_flash *v4l2_flash; member 268 priv->v4l2_flash = v4l2_flash_init(&pdev->dev, in sgm3140_probe() 272 if (IS_ERR(priv->v4l2_flash)) { in sgm3140_probe() 273 ret = PTR_ERR(priv->v4l2_flash); in sgm3140_probe() 290 v4l2_flash_release(priv->v4l2_flash); in sgm3140_remove()
|
H A D | leds-max77693.c | 62 struct v4l2_flash *v4l2_flash; member 821 struct v4l2_flash *v4l2_flash, in max77693_led_external_strobe_set() 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() 820 max77693_led_external_strobe_set( struct v4l2_flash *v4l2_flash, bool enable) max77693_led_external_strobe_set() argument [all...] |
H A D | leds-mt6360.c | 80 struct v4l2_flash *v4l2_flash; member 458 static int mt6360_flash_external_strobe_set(struct v4l2_flash *v4l2_flash, in mt6360_flash_external_strobe_set() argument 461 struct led_classdev_flash *flash = v4l2_flash->fled_cdev; in mt6360_flash_external_strobe_set() 588 led->v4l2_flash = v4l2_flash_init(parent, init_data->fwnode, in mt6360_led_register() 592 if (IS_ERR(led->v4l2_flash)) { in mt6360_led_register() 595 return PTR_ERR(led->v4l2_flash); in mt6360_led_register() 766 if (led->v4l2_flash) in mt6360_v4l2_flash_release() 767 v4l2_flash_release(led->v4l2_flash); in mt6360_v4l2_flash_release() [all...] |
H A D | leds-as3645a.c | 135 struct v4l2_flash *vf; 136 struct v4l2_flash *vfind;
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | light.c | 57 struct v4l2_flash *v4l2_flash; member 58 struct v4l2_flash *v4l2_flash_ind; 568 light->v4l2_flash = v4l2_flash_init(dev, NULL, fled, &v4l2_flash_ops, in gb_lights_light_v4l2_register() 570 if (IS_ERR(light->v4l2_flash)) in gb_lights_light_v4l2_register() 571 return PTR_ERR(light->v4l2_flash); in gb_lights_light_v4l2_register() 577 v4l2_flash_release(light->v4l2_flash); in gb_lights_light_v4l2_register() 588 v4l2_flash_release(light->v4l2_flash); in gb_lights_light_v4l2_unregister()
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H 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()
|