Lines Matching refs:sensor_dev
26 const struct device *sensor_dev; member
59 ret = video_get_format(config->sensor_dev, ep, &fmt); in mipi_csi2rx_update_settings()
65 ret = video_get_ctrl(config->sensor_dev, VIDEO_CID_PIXEL_RATE, &sensor_pixel_rate); in mipi_csi2rx_update_settings()
126 if (video_set_format(config->sensor_dev, ep, fmt)) { in mipi_csi2rx_set_fmt()
142 if (video_get_format(config->sensor_dev, ep, fmt)) { in mipi_csi2rx_get_fmt()
156 if (video_stream_start(config->sensor_dev)) { in mipi_csi2rx_stream_start()
167 if (video_stream_stop(config->sensor_dev)) { in mipi_csi2rx_stream_stop()
186 return video_get_caps(config->sensor_dev, ep, caps); in mipi_csi2rx_get_caps()
193 if (config->sensor_dev) { in mipi_csi2rx_set_ctrl()
194 return video_set_ctrl(config->sensor_dev, cid, value); in mipi_csi2rx_set_ctrl()
206 ret = video_set_frmival(config->sensor_dev, ep, frmival); in mipi_csi2rx_set_frmival()
222 return video_get_frmival(config->sensor_dev, ep, frmival); in mipi_csi2rx_get_frmival()
252 ret = video_enum_frmival(config->sensor_dev, ep, fie); in mipi_csi2rx_enum_frmival()
257 ret = video_get_ctrl(config->sensor_dev, VIDEO_CID_PIXEL_RATE, &cur_pixel_rate); in mipi_csi2rx_enum_frmival()
263 ret = video_get_frmival(config->sensor_dev, ep, &cur_frmival); in mipi_csi2rx_enum_frmival()
269 ret = video_get_format(config->sensor_dev, ep, &cur_fmt); in mipi_csi2rx_enum_frmival()
328 if (!device_is_ready(config->sensor_dev)) { in mipi_csi2rx_init()
356 .sensor_dev = \