[PATCH RESEND v2 06/12] media: qcom: camss: Add streams API support in CSID subdevice

From: Gjorgji Rosikopulos

Date: Wed Nov 25 2026 - 13:24:27 EST


Implement the V4L2 subdev streams API (enable_streams/disable_streams,
set_routing, get/set_fmt) on the CSID subdevice, selected per SoC via
camss->res->streams_enable.

Each CSID source pad carries a single stream fanned out from the sink
pad by default; a multi-VC sensor is supported by remapping a route's
sink_stream via .set_routing, leaving source_pad/source_stream
untouched. The virtual channel and data type programmed into the
hardware are discovered from the remote subdev's CSI-2 frame
descriptor when available, falling back to the format's data type
otherwise.

The Rx front-end and, where present, the test-pattern generator's
v4l2 controls are synced once, on the transition from no active sink
streams to at least one; propagation to the sensor and teardown are
likewise only done when no other source pad still references a given
sink stream.

The full IFE's pix pad/route is still excluded on non-lite CSIDs
pending a correctness fix for the non-functional pix path; this is a
known limitation carried over from the non-streams driver, not
specific to the streams API.

Co-developed-by: Hitesh Patel <hitesh@xxxxxxxxxxxxxx>
Signed-off-by: Hitesh Patel <hitesh@xxxxxxxxxxxxxx>
Signed-off-by: Gjorgji Rosikopulos <gjorgji.rosikopulos@xxxxxxxxxxxxxxxx>
---
.../media/platform/qcom/camss/camss-csid.c | 490 +++++++++++++++++-
.../media/platform/qcom/camss/camss-csid.h | 1 +
2 files changed, 486 insertions(+), 5 deletions(-)

diff --git a/drivers/media/platform/qcom/camss/camss-csid.c b/drivers/media/platform/qcom/camss/camss-csid.c
index 2efaeef83606..652c4dd31093 100644
--- a/drivers/media/platform/qcom/camss/camss-csid.c
+++ b/drivers/media/platform/qcom/camss/camss-csid.c
@@ -1432,10 +1432,469 @@ static const struct v4l2_subdev_ops csid_v4l2_ops = {
.pad = &csid_pad_ops,
};

+/*
+ * csid_fill_port_configs - Discover and populate the virtual channel/data
+ * type to program for every actively routed port
+ * @csid: CSID device
+ * @state: V4L2 subdevice state
+ * @remote_pad: Remote pad linked on the CSID sink pad, or NULL if unlinked
+ *
+ * Fetches the frame descriptor from the remote subdev linked on the sink pad
+ * once, then walks every active route to populate csid->port_cfg[] for each
+ * routed source pad, falling back to {0, format_dt} when no frame descriptor
+ * is available.
+
+ * Return 0 on success, error otherwise.
+ */
+static int csid_fill_port_configs(struct csid_device *csid, struct v4l2_subdev_state *state,
+ struct media_pad *remote_pad)
+{
+ struct v4l2_mbus_frame_desc frame_desc = { };
+ struct v4l2_subdev_route *route;
+ int ret;
+
+ if (remote_pad) {
+ struct v4l2_subdev *sd = media_entity_to_v4l2_subdev(remote_pad->entity);
+
+ ret = v4l2_subdev_call(sd, pad, get_frame_desc,
+ remote_pad->index, &frame_desc);
+ if (ret)
+ return ret;
+ /* Only csi2 frame descriptors are supported for now */
+ if (frame_desc.type != V4L2_MBUS_FRAME_DESC_TYPE_CSI2)
+ return -EINVAL;
+ /* Frame descriptor of type csi2 should contain entries! */
+ if (!frame_desc.num_entries)
+ return -EINVAL;
+ }
+
+ for_each_active_route(&state->routing, route) {
+ int src_port = csid_pad_to_port(route->source_pad);
+ struct csid_port_config *port_cfg = &csid->port_cfg[src_port];
+ const struct csid_format_info *pad_fmt;
+ u32 sink_stream;
+ unsigned int i;
+
+ pad_fmt = csid_get_fmt_entry(csid->res->formats->formats,
+ csid->res->formats->nformats,
+ csid->fmt[route->source_pad].code);
+ /* If there are no entries fill dt from the format */
+ if (!frame_desc.num_entries) {
+ port_cfg->vc = 0;
+ port_cfg->dt = pad_fmt->data_type;
+ continue;
+ }
+
+ ret = v4l2_subdev_routing_find_opposite_end(&state->routing,
+ route->source_pad, 0, NULL,
+ &sink_stream);
+ /* This should never fail, anyways handle error cases */
+ if (ret)
+ return ret;
+
+ for (i = 0; i < frame_desc.num_entries; i++) {
+ if (frame_desc.entry[i].stream != sink_stream)
+ continue;
+
+ port_cfg->vc = frame_desc.entry[i].bus.csi2.vc;
+ port_cfg->dt = frame_desc.entry[i].bus.csi2.dt;
+
+ if (port_cfg->dt != pad_fmt->data_type) {
+ dev_warn(csid->camss->dev,
+ "Sink stream %u dt mismatch %u, %u\n",
+ sink_stream, port_cfg->dt,
+ pad_fmt->data_type);
+ return -EINVAL;
+ }
+ break;
+ }
+ if (i == frame_desc.num_entries) {
+ dev_warn(csid->camss->dev,
+ "Cannot find CSI2 desc for sink stream %u\n",
+ sink_stream);
+ return -EINVAL;
+ }
+ }
+
+ return 0;
+}
+
+/*
+ * csid_pad_enable_streams - Enable one or more streams on a source pad
+ * @sd: CSID V4L2 subdevice
+ * @state: V4L2 subdevice state
+ * @pad: Pad number
+ * @streams_mask: Bitmask of v4l2 streams to enable
+ *
+ * The v4l2 core only calls this on a source pad (v4l2_subdev_enable_streams()
+ * rejects sink pads with -EOPNOTSUPP before reaching the driver), so @pad is
+ * not checked here. Each source pad only ever carries stream 0.
+ *
+ * The shared sink stream(s) are propagated upstream only once, on the
+ * transition from no active sink streams to at least one, so that a second
+ * consumer of the same shared sink stream never triggers a second, redundant
+ * propagation to the sensor.
+ *
+ * Return 0 on success, -ENOLINK if there is no remote sink link and the test
+ * generator is disabled, or another negative error code otherwise
+ */
+static int csid_pad_enable_streams(struct v4l2_subdev *sd,
+ struct v4l2_subdev_state *state,
+ u32 pad, u64 streams_mask)
+{
+ struct csid_device *csid = v4l2_get_subdevdata(sd);
+ const struct csid_hw_ops *hw_ops = csid->res->hw_ops;
+ struct media_pad *remote_pad = media_pad_remote_pad_first(&csid->pads[MSM_CSID_PAD_SINK]);
+ unsigned int hw_port = csid_pad_to_port(pad);
+ u64 sink_streams, propagate_mask;
+ int ret;
+
+ if (!csid->testgen.enabled && !remote_pad)
+ return -ENOLINK;
+
+ sink_streams = v4l2_subdev_state_xlate_streams(state, pad, MSM_CSID_PAD_SINK,
+ &streams_mask);
+ if (!csid->enabled_sink_streams) {
+ if (csid->testgen.nmodes != CSID_PAYLOAD_MODE_DISABLED) {
+ /*
+ * sd->state_lock is aliased to csid->ctrls.lock, and is
+ * already held here by the v4l2_subdev_enable_streams()
+ * caller, so use the lock-free variant to avoid
+ * self-deadlocking on the same mutex.
+ */
+ ret = __v4l2_ctrl_handler_setup(&csid->ctrls);
+ if (ret < 0) {
+ dev_err(csid->camss->dev,
+ "could not sync v4l2 controls: %d\n", ret);
+ return ret;
+ }
+ }
+
+ /* Routing cannot change while any sink stream is enabled */
+ ret = csid_fill_port_configs(csid, state, remote_pad);
+ if (ret)
+ return ret;
+ }
+
+ /* If sink streams are already active elsewhere don't need to re-propagate */
+ propagate_mask = sink_streams & ~csid->enabled_sink_streams;
+ csid->enabled_sink_streams |= sink_streams;
+
+ hw_ops->configure_stream(csid, BIT(hw_port), csid->port_cfg, 1);
+ csid->enabled_ports |= BIT(hw_port);
+ if (propagate_mask && remote_pad) {
+ ret = v4l2_subdev_enable_streams(media_entity_to_v4l2_subdev(remote_pad->entity),
+ remote_pad->index, propagate_mask);
+ if (ret) {
+ csid->enabled_sink_streams &= ~propagate_mask;
+
+ hw_ops->configure_stream(csid, BIT(hw_port), NULL, 0);
+ csid->enabled_ports &= ~BIT(hw_port);
+ return ret;
+ }
+ }
+
+ return 0;
+}
+
+/*
+ * csid_sink_streams_in_use - Compute the subset of sink streams still
+ * referenced by a source pad other than @pad
+ * @csid: CSID device
+ * @state: V4L2 subdevice state
+ * @pad: Source pad to exclude from the check
+ * @sink_streams: Candidate sink streams to check
+ *
+ * Return the subset of @sink_streams still referenced by some other source
+ * pad
+ */
+static u64 csid_sink_streams_in_use(struct csid_device *csid, struct v4l2_subdev_state *state,
+ u32 pad, u64 sink_streams)
+{
+ u64 in_use = 0;
+ unsigned int i;
+
+ for (i = MSM_CSID_PAD_FIRST_SRC; i < MSM_CSID_PADS_NUM; i++) {
+ u64 other_streams;
+ u64 other_sink_streams;
+
+ if (i == pad)
+ continue;
+
+ other_streams = !!(csid->enabled_ports & BIT(csid_pad_to_port(i)));
+
+ other_sink_streams = v4l2_subdev_state_xlate_streams(state, i, MSM_CSID_PAD_SINK,
+ &other_streams);
+ in_use |= sink_streams & other_sink_streams;
+ }
+
+ return in_use;
+}
+
+/*
+ * csid_pad_disable_streams - Disable one or more streams on a source pad
+ * @sd: CSID V4L2 subdevice
+ * @state: V4L2 subdevice state
+ * @pad: Pad number
+ * @streams_mask: Bitmask of v4l2 streams to disable
+ *
+ * The v4l2 core only calls this on a source pad (v4l2_subdev_disable_streams()
+ * rejects sink pads with -EOPNOTSUPP before reaching the driver), so @pad is
+ * not checked here. Each source pad only ever carries stream 0.
+ *
+ * A sink stream is only disabled, and propagated upstream to disable it there
+ * too, once no source pad references it any more.
+ *
+ * Return 0 on success or a negative error code otherwise
+ */
+static int csid_pad_disable_streams(struct v4l2_subdev *sd,
+ struct v4l2_subdev_state *state,
+ u32 pad, u64 streams_mask)
+{
+ struct csid_device *csid = v4l2_get_subdevdata(sd);
+ const struct csid_hw_ops *hw_ops = csid->res->hw_ops;
+ unsigned int hw_port = csid_pad_to_port(pad);
+ u64 sink_streams, disable_sink_streams, streams_in_use;
+ struct media_pad *remote_pad;
+ int ret = 0;
+
+ sink_streams = v4l2_subdev_state_xlate_streams(state, pad, MSM_CSID_PAD_SINK,
+ &streams_mask);
+
+ /* Keep a sink stream active as long as any other source pad still uses it. */
+ streams_in_use = csid_sink_streams_in_use(csid, state, pad, sink_streams);
+ disable_sink_streams = sink_streams & ~streams_in_use;
+
+ hw_ops->configure_stream(csid, BIT(hw_port), NULL, 0);
+
+ remote_pad = media_pad_remote_pad_first(&csid->pads[MSM_CSID_PAD_SINK]);
+ if (disable_sink_streams && remote_pad) {
+ ret = v4l2_subdev_disable_streams(media_entity_to_v4l2_subdev(remote_pad->entity),
+ remote_pad->index, disable_sink_streams);
+ if (ret)
+ dev_err(csid->camss->dev,
+ "Failed to disable stream on remote pad: %d\n", ret);
+ }
+
+ csid->enabled_ports &= ~BIT(hw_port);
+ csid->enabled_sink_streams &= ~disable_sink_streams;
+
+ return ret;
+}
+
+static const struct v4l2_mbus_framefmt csid_default_format = {
+ .code = MEDIA_BUS_FMT_UYVY8_1X16,
+ .width = 1920,
+ .height = 1080,
+ .field = V4L2_FIELD_NONE,
+ .colorspace = V4L2_COLORSPACE_SRGB,
+};
+
+/*
+ * csid_set_routing - Handle setting of routing table
+ * @sd: CSID V4L2 subdevice
+ * @state: V4L2 subdevice state
+ * @which: TRY or ACTIVE routing
+ * @routing: Routing table to set
+ *
+ * Return 0 on success or a negative error code otherwise
+ */
+static int csid_set_routing(struct v4l2_subdev *sd,
+ struct v4l2_subdev_state *state,
+ enum v4l2_subdev_format_whence which,
+ struct v4l2_subdev_krouting *routing)
+{
+ struct csid_device *csid = v4l2_get_subdevdata(sd);
+ unsigned int i;
+ int ret;
+
+ if (which == V4L2_SUBDEV_FORMAT_ACTIVE && csid->enabled_sink_streams)
+ return -EBUSY;
+
+ for (i = 0; i < routing->num_routes; i++)
+ if (routing->routes[i].source_stream != 0)
+ return -EINVAL;
+
+ ret = v4l2_subdev_routing_validate(sd, routing,
+ V4L2_SUBDEV_ROUTING_NO_SOURCE_STREAM_MIX |
+ V4L2_SUBDEV_ROUTING_NO_SOURCE_MULTIPLEXING |
+ V4L2_SUBDEV_ROUTING_NO_N_TO_1);
+ if (ret)
+ return ret;
+
+ return v4l2_subdev_set_routing_with_fmt(sd, state, routing, &csid_default_format);
+}
+
+/*
+ * __csid_get_stream_format - Get pointer to per-stream format structure
+ * @csid: CSID device
+ * @sd_state: V4L2 subdev state
+ * @pad: pad from which format is requested
+ * @stream: stream from which format is requested
+ * @which: TRY or ACTIVE format
+ *
+ * Same as __csid_get_format(), but honors @stream for TRY-state lookups.
+ * For ACTIVE state, csid->fmt[] is indexed by pad + stream. @stream is
+ * always 0 and @pad selects the RDI channel (0-3).
+ *
+ * Return pointer to TRY or ACTIVE format structure
+ */
+static struct v4l2_mbus_framefmt *
+__csid_get_stream_format(struct csid_device *csid,
+ struct v4l2_subdev_state *sd_state,
+ unsigned int pad, u32 stream,
+ enum v4l2_subdev_format_whence which)
+{
+ if (which == V4L2_SUBDEV_FORMAT_TRY)
+ return v4l2_subdev_state_get_format(sd_state, pad, stream);
+
+ if (pad == MSM_CSID_PAD_SINK)
+ return &csid->fmt[MSM_CSID_PAD_SINK];
+
+ return &csid->fmt[pad + stream];
+}
+
+/*
+ * csid_streams_get_format - Handle get format by pads subdev method
+ * @sd: CSID V4L2 subdevice
+ * @sd_state: V4L2 subdev state
+ * @fmt: pointer to v4l2 subdev format structure
+ *
+ * Return -EINVAL or zero on success
+ */
+static int csid_streams_get_format(struct v4l2_subdev *sd,
+ struct v4l2_subdev_state *sd_state,
+ struct v4l2_subdev_format *fmt)
+{
+ struct csid_device *csid = v4l2_get_subdevdata(sd);
+ struct v4l2_mbus_framefmt *format;
+
+ format = __csid_get_stream_format(csid, sd_state, fmt->pad, fmt->stream, fmt->which);
+ if (!format)
+ return -EINVAL;
+
+ fmt->format = *format;
+
+ return 0;
+}
+
+/*
+ * csid_streams_set_format - Handle set format by pads subdev method
+ * @sd: CSID V4L2 subdevice
+ * @sd_state: V4L2 subdev state
+ * @fmt: pointer to v4l2 subdev format structure
+ *
+ * Return -EINVAL or zero on success
+ */
+static int csid_streams_set_format(struct v4l2_subdev *sd,
+ const struct v4l2_subdev_client_info *ci,
+ struct v4l2_subdev_state *sd_state,
+ struct v4l2_subdev_format *fmt)
+{
+ struct csid_device *csid = v4l2_get_subdevdata(sd);
+ struct v4l2_mbus_framefmt *format;
+ struct v4l2_subdev_route *route;
+
+ if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE && csid->enabled_sink_streams)
+ return -EBUSY;
+
+ format = __csid_get_stream_format(csid, sd_state, fmt->pad, fmt->stream, fmt->which);
+ if (!format)
+ return -EINVAL;
+
+ csid_try_format(csid, sd_state, fmt->pad, &fmt->format, fmt->which);
+ *format = fmt->format;
+
+ /* Propagate the format from the sink stream to every source stream it feeds */
+ for_each_active_route(&sd_state->routing, route) {
+ struct v4l2_mbus_framefmt *src_format;
+
+ if (route->sink_pad != fmt->pad || route->sink_stream != fmt->stream)
+ continue;
+
+ src_format = __csid_get_stream_format(csid, sd_state, route->source_pad,
+ route->source_stream, fmt->which);
+ if (!src_format)
+ continue;
+
+ *src_format = fmt->format;
+ csid_try_format(csid, sd_state, route->source_pad, src_format, fmt->which);
+ }
+
+ return 0;
+}
+
+static const struct v4l2_subdev_pad_ops csid_streams_pad_ops = {
+ .enum_mbus_code = csid_enum_mbus_code,
+ .enum_frame_size = csid_enum_frame_size,
+ .get_fmt = csid_streams_get_format,
+ .set_fmt = csid_streams_set_format,
+ .set_routing = csid_set_routing,
+ .enable_streams = csid_pad_enable_streams,
+ .disable_streams = csid_pad_disable_streams,
+};
+
+static const struct v4l2_subdev_video_ops csid_streams_video_ops = {
+ .s_stream = v4l2_subdev_s_stream_helper,
+};
+
+static const struct v4l2_subdev_ops csid_streams_v4l2_ops = {
+ .core = &csid_core_ops,
+ .pad = &csid_streams_pad_ops,
+ .video = &csid_streams_video_ops,
+};
+
+/*
+ * csid_init_state - Initialize the routing table for the streams API subdev
+ * @sd: CSID V4L2 subdevice
+ * @state: V4L2 subdev state
+ *
+ * source_stream is always 0: each source pad MSM_CSID_PAD_FIRST_SRC + i
+ * links to its own independent downstream subdev, and a link's sink side is
+ * validated against the implicit stream 0 exposed by any subdev without
+ * V4L2_SUBDEV_FL_STREAMS (see v4l2_link_validate_get_streams()) -- every
+ * downstream VFE line is such a subdev.
+ *
+ * All source pads route from sink_stream 0 by default, fanning the single
+ * incoming stream out to every port; a multi-VC source is supported by
+ * remapping each route's sink_stream via .set_routing, leaving
+ * source_pad/source_stream untouched.
+ *
+ * Return 0 on success or a negative error code otherwise
+ */
+static int csid_init_state(struct v4l2_subdev *sd, struct v4l2_subdev_state *state)
+{
+ struct csid_device *csid = v4l2_get_subdevdata(sd);
+ struct v4l2_subdev_route routes[MSM_CSID_MAX_SRC_STREAMS];
+ struct v4l2_subdev_krouting routing = { };
+ unsigned int num_routes = MSM_CSID_MAX_SRC_STREAMS;
+ int i, ret;
+
+ for (i = 0; i < num_routes; i++) {
+ routes[i].sink_pad = MSM_CSID_PAD_SINK;
+ routes[i].sink_stream = 0;
+ routes[i].source_pad = MSM_CSID_PAD_FIRST_SRC + i;
+ routes[i].source_stream = 0;
+ routes[i].flags = V4L2_SUBDEV_ROUTE_FL_ACTIVE;
+ }
+
+ routing.num_routes = num_routes;
+ routing.routes = routes;
+ ret = v4l2_subdev_set_routing_with_fmt(sd, state, &routing, &csid_default_format);
+ if (ret)
+ dev_err(csid->camss->dev, "Failed to set routing: %d\n", ret);
+
+ return ret;
+}
+
static const struct v4l2_subdev_internal_ops csid_v4l2_internal_ops = {
.open = csid_init_formats,
};

+static const struct v4l2_subdev_internal_ops csid_streams_internal_ops = {
+ .init_state = csid_init_state,
+};
+
static const struct media_entity_operations csid_media_ops = {
.link_setup = csid_link_setup,
.link_validate = v4l2_subdev_link_validate,
@@ -1454,13 +1913,18 @@ int msm_csid_register_entity(struct csid_device *csid,
struct v4l2_subdev *sd = &csid->subdev;
struct media_pad *pads = csid->pads;
struct device *dev = csid->camss->dev;
+ bool streams_api = csid->camss->res->streams_enable;
+ unsigned int num_pads = MSM_CSID_PADS_NUM;
int i;
int ret;

- v4l2_subdev_init(sd, &csid_v4l2_ops);
- sd->internal_ops = &csid_v4l2_internal_ops;
+ v4l2_subdev_init(sd, streams_api ? &csid_streams_v4l2_ops : &csid_v4l2_ops);
+ sd->internal_ops = streams_api ? &csid_streams_internal_ops
+ : &csid_v4l2_internal_ops;
sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
V4L2_SUBDEV_FL_HAS_EVENTS;
+ if (streams_api)
+ sd->flags |= V4L2_SUBDEV_FL_STREAMS;
snprintf(sd->name, ARRAY_SIZE(sd->name), "%s%d",
MSM_CSID_NAME, csid->id);
v4l2_set_subdevdata(sd, csid);
@@ -1494,25 +1958,39 @@ int msm_csid_register_entity(struct csid_device *csid,
}

pads[MSM_CSID_PAD_SINK].flags = MEDIA_PAD_FL_SINK;
- for (i = MSM_CSID_PAD_FIRST_SRC; i < MSM_CSID_PADS_NUM; ++i)
+ for (i = MSM_CSID_PAD_FIRST_SRC; i < num_pads; ++i)
pads[i].flags = MEDIA_PAD_FL_SOURCE;

sd->entity.function = MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER;
sd->entity.ops = &csid_media_ops;
- ret = media_entity_pads_init(&sd->entity, MSM_CSID_PADS_NUM, pads);
+ ret = media_entity_pads_init(&sd->entity, num_pads, pads);
if (ret < 0) {
dev_err(dev, "Failed to init media entity: %d\n", ret);
goto free_ctrl;
}

+ if (streams_api) {
+ if (csid->testgen.nmodes != CSID_PAYLOAD_MODE_DISABLED)
+ sd->state_lock = csid->ctrls.lock;
+
+ ret = v4l2_subdev_init_finalize(sd);
+ if (ret) {
+ dev_err(dev, "Failed to finalize subdev: %d\n", ret);
+ goto media_cleanup;
+ }
+ }
+
ret = v4l2_device_register_subdev(v4l2_dev, sd);
if (ret < 0) {
dev_err(dev, "Failed to register subdev: %d\n", ret);
- goto media_cleanup;
+ goto subdev_cleanup;
}

return 0;

+subdev_cleanup:
+ if (streams_api)
+ v4l2_subdev_cleanup(sd);
media_cleanup:
media_entity_cleanup(&sd->entity);
free_ctrl:
@@ -1529,6 +2007,8 @@ int msm_csid_register_entity(struct csid_device *csid,
void msm_csid_unregister_entity(struct csid_device *csid)
{
v4l2_device_unregister_subdev(&csid->subdev);
+ if (csid->camss->res->streams_enable)
+ v4l2_subdev_cleanup(&csid->subdev);
media_entity_cleanup(&csid->subdev.entity);
if (csid->testgen.nmodes != CSID_PAYLOAD_MODE_DISABLED)
v4l2_ctrl_handler_free(&csid->ctrls);
diff --git a/drivers/media/platform/qcom/camss/camss-csid.h b/drivers/media/platform/qcom/camss/camss-csid.h
index 5f09beffa5f5..70bb4e34cad8 100644
--- a/drivers/media/platform/qcom/camss/camss-csid.h
+++ b/drivers/media/platform/qcom/camss/camss-csid.h
@@ -187,6 +187,7 @@ struct csid_device {
atomic_t sof_seq[MSM_CSID_MAX_SRC_STREAMS];
struct csid_port_config port_cfg[MSM_CSID_MAX_SRC_STREAMS];
u32 enabled_ports;
+ u64 enabled_sink_streams;
};

struct camss_subdev_resources;
--
2.34.1