Lines Matching refs:sd_state
287 struct v4l2_subdev_state *sd_state, in imx8mq_mipi_csi_calc_hs_settle() argument
299 fmt = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SINK); in imx8mq_mipi_csi_calc_hs_settle()
353 struct v4l2_subdev_state *sd_state) in imx8mq_mipi_csi_start_stream() argument
363 ret = imx8mq_mipi_csi_calc_hs_settle(state, sd_state, &hs_settle); in imx8mq_mipi_csi_start_stream()
396 struct v4l2_subdev_state *sd_state; in imx8mq_mipi_csi_s_stream() local
413 sd_state = v4l2_subdev_lock_and_get_active_state(sd); in imx8mq_mipi_csi_s_stream()
414 ret = imx8mq_mipi_csi_start_stream(state, sd_state); in imx8mq_mipi_csi_s_stream()
415 v4l2_subdev_unlock_state(sd_state); in imx8mq_mipi_csi_s_stream()
441 struct v4l2_subdev_state *sd_state) in imx8mq_mipi_csi_init_state() argument
446 fmt_sink = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SINK); in imx8mq_mipi_csi_init_state()
447 fmt_source = v4l2_subdev_state_get_format(sd_state, in imx8mq_mipi_csi_init_state()
468 struct v4l2_subdev_state *sd_state, in imx8mq_mipi_csi_enum_mbus_code() argument
481 fmt = v4l2_subdev_state_get_format(sd_state, code->pad); in imx8mq_mipi_csi_enum_mbus_code()
498 struct v4l2_subdev_state *sd_state, in imx8mq_mipi_csi_set_fmt() argument
509 return v4l2_subdev_get_fmt(sd, sd_state, sdformat); in imx8mq_mipi_csi_set_fmt()
518 fmt = v4l2_subdev_state_get_format(sd_state, sdformat->pad); in imx8mq_mipi_csi_set_fmt()
527 fmt = v4l2_subdev_state_get_format(sd_state, MIPI_CSI2_PAD_SOURCE); in imx8mq_mipi_csi_set_fmt()
671 struct v4l2_subdev_state *sd_state; in imx8mq_mipi_csi_pm_resume() local
681 sd_state = v4l2_subdev_lock_and_get_active_state(sd); in imx8mq_mipi_csi_pm_resume()
682 ret = imx8mq_mipi_csi_start_stream(state, sd_state); in imx8mq_mipi_csi_pm_resume()
683 v4l2_subdev_unlock_state(sd_state); in imx8mq_mipi_csi_pm_resume()