#include <linux/delay.h>
#include "rzg2l-cru.h"
struct rzg2l_cru_ip_format { … };
static const struct rzg2l_cru_ip_format rzg2l_cru_ip_formats[] = …;
enum rzg2l_csi2_pads { … };
static const struct rzg2l_cru_ip_format *rzg2l_cru_ip_code_to_fmt(unsigned int code)
{ … }
struct v4l2_mbus_framefmt *rzg2l_cru_ip_get_src_fmt(struct rzg2l_cru_dev *cru)
{ … }
static int rzg2l_cru_ip_s_stream(struct v4l2_subdev *sd, int enable)
{ … }
static int rzg2l_cru_ip_set_format(struct v4l2_subdev *sd,
struct v4l2_subdev_state *state,
struct v4l2_subdev_format *fmt)
{ … }
static int rzg2l_cru_ip_enum_mbus_code(struct v4l2_subdev *sd,
struct v4l2_subdev_state *state,
struct v4l2_subdev_mbus_code_enum *code)
{ … }
static int rzg2l_cru_ip_enum_frame_size(struct v4l2_subdev *sd,
struct v4l2_subdev_state *state,
struct v4l2_subdev_frame_size_enum *fse)
{ … }
static int rzg2l_cru_ip_init_state(struct v4l2_subdev *sd,
struct v4l2_subdev_state *sd_state)
{ … }
static const struct v4l2_subdev_video_ops rzg2l_cru_ip_video_ops = …;
static const struct v4l2_subdev_pad_ops rzg2l_cru_ip_pad_ops = …;
static const struct v4l2_subdev_ops rzg2l_cru_ip_subdev_ops = …;
static const struct v4l2_subdev_internal_ops rzg2l_cru_ip_internal_ops = …;
static const struct media_entity_operations rzg2l_cru_ip_entity_ops = …;
int rzg2l_cru_ip_subdev_register(struct rzg2l_cru_dev *cru)
{ … }
void rzg2l_cru_ip_subdev_unregister(struct rzg2l_cru_dev *cru)
{ … }