Lines Matching refs:csi_state
107 struct csi_state { struct
224 static inline void imx8mq_mipi_csi_write(struct csi_state *state, u32 reg, u32 val) in imx8mq_mipi_csi_write()
229 static int imx8mq_mipi_csi_sw_reset(struct csi_state *state) in imx8mq_mipi_csi_sw_reset()
247 static void imx8mq_mipi_csi_set_params(struct csi_state *state) in imx8mq_mipi_csi_set_params()
266 static int imx8mq_mipi_csi_clk_enable(struct csi_state *state) in imx8mq_mipi_csi_clk_enable()
271 static void imx8mq_mipi_csi_clk_disable(struct csi_state *state) in imx8mq_mipi_csi_clk_disable()
276 static int imx8mq_mipi_csi_clk_get(struct csi_state *state) in imx8mq_mipi_csi_clk_get()
286 static int imx8mq_mipi_csi_calc_hs_settle(struct csi_state *state, in imx8mq_mipi_csi_calc_hs_settle()
352 static int imx8mq_mipi_csi_start_stream(struct csi_state *state, in imx8mq_mipi_csi_start_stream()
379 static void imx8mq_mipi_csi_stop_stream(struct csi_state *state) in imx8mq_mipi_csi_stop_stream()
388 static struct csi_state *mipi_sd_to_csi2_state(struct v4l2_subdev *sdev) in mipi_sd_to_csi2_state()
390 return container_of(sdev, struct csi_state, sd); in mipi_sd_to_csi2_state()
395 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_s_stream()
565 static struct csi_state *
568 return container_of(n, struct csi_state, notifier); in mipi_notifier_to_csi2_state()
575 struct csi_state *state = mipi_notifier_to_csi2_state(notifier); in imx8mq_mipi_csi_notify_bound()
588 static int imx8mq_mipi_csi_async_register(struct csi_state *state) in imx8mq_mipi_csi_async_register()
654 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_pm_suspend()
670 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_pm_resume()
699 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_suspend()
711 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_resume()
722 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_runtime_suspend()
737 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_runtime_resume()
759 static int imx8mq_mipi_csi_subdev_init(struct csi_state *state) in imx8mq_mipi_csi_subdev_init()
798 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_release_icc()
806 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_init_icc()
818 static int imx8mq_mipi_csi_parse_dt(struct csi_state *state) in imx8mq_mipi_csi_parse_dt()
863 struct csi_state *state; in imx8mq_mipi_csi_probe()
933 struct csi_state *state = mipi_sd_to_csi2_state(sd); in imx8mq_mipi_csi_remove()