Home
last modified time | relevance | path

Searched refs:v4l2_cfg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/leds/flash/
H A Dleds-qcom-flash.c506 struct v4l2_flash_config v4l2_cfg = { 0 }; in qcom_flash_v4l2_init() local
507 struct led_flash_setting *intensity = &v4l2_cfg.intensity; in qcom_flash_v4l2_init()
517 strscpy(v4l2_cfg.dev_name, led->flash.led_cdev.dev->kobj.name, in qcom_flash_v4l2_init()
518 sizeof(v4l2_cfg.dev_name)); in qcom_flash_v4l2_init()
520 v4l2_cfg.has_external_strobe = true; in qcom_flash_v4l2_init()
521 v4l2_cfg.flash_faults = LED_FAULT_INPUT_VOLTAGE | in qcom_flash_v4l2_init()
527 v4l2_flash = v4l2_flash_init(dev, fwnode, &led->flash, &qcom_v4l2_flash_ops, &v4l2_cfg); in qcom_flash_v4l2_init()