Searched refs:sensor_dev (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/video/ |
D | video_mcux_mipi_csi2rx.c | 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() [all …]
|
D | video_mcux_smartdma.c | 23 const struct device *sensor_dev; member 243 if (!device_is_ready(config->sensor_dev)) { in nxp_video_sdma_set_format() 257 return video_set_format(config->sensor_dev, ep, fmt); in nxp_video_sdma_set_format() 271 if (!device_is_ready(config->sensor_dev)) { in nxp_video_sdma_get_format() 281 ret = video_get_format(config->sensor_dev, VIDEO_EP_OUT, fmt); in nxp_video_sdma_get_format() 296 ret = video_set_format(config->sensor_dev, VIDEO_EP_OUT, fmt); in nxp_video_sdma_get_format() 375 .sensor_dev = DEVICE_DT_GET(DT_INST_PHANDLE(inst, sensor)), \
|
D | video_stm32_dcmi.c | 53 const struct device *sensor_dev; member 212 if (video_set_format(config->sensor_dev, ep, fmt)) { in video_stm32_dcmi_set_fmt() 230 if (!video_get_format(config->sensor_dev, ep, fmt)) { in video_stm32_dcmi_get_fmt() 262 if (video_stream_start(config->sensor_dev)) { in video_stm32_dcmi_stream_start() 275 if (video_stream_stop(config->sensor_dev)) { in video_stm32_dcmi_stream_stop() 348 ret = video_get_caps(config->sensor_dev, ep, caps); in video_stm32_dcmi_get_caps() 359 ret = video_set_ctrl(config->sensor_dev, cid, value); in video_stm32_dcmi_set_ctrl() 370 ret = video_get_ctrl(config->sensor_dev, cid, value); in video_stm32_dcmi_get_ctrl() 467 .sensor_dev = DEVICE_DT_GET(DT_INST_PHANDLE(0, sensor)),
|