Lines Matching +full:sub +full:- +full:device
2 * V4L2 flash LED sub-device registration helpers.
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-subdev.h>
24 * struct v4l2_flash_ctrl_data - flash control initialization data, filled
37 * struct v4l2_flash_ops - V4L2 flash operations
41 * @intensity_to_led_brightness: Convert intensity to brightness in a device
43 * @led_brightness_to_intensity: convert brightness to intensity in a device
56 * struct v4l2_flash_config - V4L2 Flash sub-device initialization data
59 * @intensity: non-flash strobe constraints for the LED
61 * device can report; corresponding LED_FAULT* bit
63 * <linux/led-class-flash.h>
74 * struct v4l2_flash - Flash sub-device context
75 * @fled_cdev: LED flash class device controlled by this sub-device
76 * @iled_cdev: LED class device representing indicator LED associated
77 * with the LED flash class device
79 * @sd: V4L2 sub-device
82 * the sub-device state
95 * v4l2_subdev_to_v4l2_flash - Returns a &struct v4l2_flash from the
107 * v4l2_ctrl_to_v4l2_flash - Returns a &struct v4l2_flash from the
114 return container_of(c->handler, struct v4l2_flash, hdl); in v4l2_ctrl_to_v4l2_flash()
119 * v4l2_flash_init - initialize V4L2 flash led sub-device
120 * @dev: flash device, e.g. an I2C device
121 * @fwn: fwnode_handle of the LED, may be NULL if the same as device's
122 * @fled_cdev: LED flash class device to wrap
123 * @ops: V4L2 Flash device ops
124 * @config: initialization data for V4L2 Flash sub-device
126 * Create V4L2 Flash sub-device wrapping given LED subsystem device.
136 struct device *dev, struct fwnode_handle *fwn,
141 * v4l2_flash_indicator_init - initialize V4L2 indicator sub-device
142 * @dev: flash device, e.g. an I2C device
143 * @fwn: fwnode_handle of the LED, may be NULL if the same as device's
144 * @iled_cdev: LED flash class device representing the indicator LED
145 * @config: initialization data for V4L2 Flash sub-device
147 * Create V4L2 Flash sub-device wrapping given LED subsystem device.
157 struct device *dev, struct fwnode_handle *fwn,
161 * v4l2_flash_release - release V4L2 Flash sub-device
162 * @v4l2_flash: the V4L2 Flash sub-device to release
164 * Release V4L2 Flash sub-device.
170 struct device *dev, struct fwnode_handle *fwn, in v4l2_flash_init()
178 struct device *dev, struct fwnode_handle *fwn, in v4l2_flash_indicator_init()