icvs
static int cvs_read_i2c(struct icvs *ctx, __be16 cmd_id, void *resp,
static int cvs_write_i2c(struct icvs *ctx, const void *data, int size)
static int cvs_schedule_and_wait(struct icvs *ctx, unsigned int work_delay_ms,
static int cvs_wait_wake_or_sleep(struct icvs *ctx,
static int cvs_config_mipi(struct icvs *ctx, struct icvs_cmd *c, size_t len)
static int cvs_get_device_state(struct icvs *ctx, u8 *state)
static int cvs_get_device_caps(struct icvs *ctx,
static int cvs_hw_init(struct icvs *ctx)
struct icvs *ctx = dev_id;
static void cvs_reset(struct icvs *ctx)
struct icvs *ctx = container_of(work, struct icvs, work.work);
int cvs_send(struct icvs *ctx, struct icvs_cmd *cmd, size_t len)
int cvs_set_link_owner(struct icvs *ctx, enum icvs_csi_link_owner owner)
static int cvs_configure_dev_caps(struct icvs *ctx)
struct icvs *ctx;
struct icvs *ctx = dev_get_drvdata(dev);
struct icvs *ctx = dev_get_drvdata(dev);
static void cvs_set_quirks(struct icvs *ctx, u16 vid, u16 pid)
struct icvs *ctx = dev_get_drvdata(dev);
struct icvs *ctx = dev_get_drvdata(dev);
struct icvs *ctx = dev_get_drvdata(dev);
static inline struct device *cvs_dev(struct icvs *ctx)
int cvs_send(struct icvs *ctx, struct icvs_cmd *cmd, size_t len);
int cvs_set_link_owner(struct icvs *ctx, enum icvs_csi_link_owner owner);
int cvs_csi_init(struct icvs *ctx, struct device *dev, struct i2c_client *i2c);
void cvs_csi_remove(struct icvs *ctx);
struct icvs *ctx = sd_to_csi(sd);
static inline struct icvs *notifier_to_csi(struct v4l2_async_notifier *n)
return container_of(n, struct icvs, notifier);
static inline struct icvs *sd_to_csi(struct v4l2_subdev *sd)
return container_of(sd, struct icvs, subdev);
struct icvs *ctx = sd_to_csi(sd);
struct icvs *ctx = notifier_to_csi(notifier);
struct icvs *ctx = notifier_to_csi(notifier);
static int cvs_csi_init_controls(struct icvs *ctx)
static int cvs_csi_parse_firmware(struct icvs *ctx)
int cvs_csi_init(struct icvs *ctx, struct device *dev, struct i2c_client *i2c)
static int csi_set_link_cfg(struct icvs *ctx)
void cvs_csi_remove(struct icvs *ctx)
struct icvs *ctx = sd_to_csi(sd);