Searched refs:source_dev (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/video/ |
D | video_emul_rx.c | 21 const struct device *source_dev; member 37 return video_set_ctrl(cfg->source_dev, cid, value); in emul_rx_set_ctrl() 45 return video_get_ctrl(cfg->source_dev, cid, value); in emul_rx_get_ctrl() 57 return video_set_frmival(cfg->source_dev, VIDEO_EP_OUT, frmival); in emul_rx_set_frmival() 69 return video_get_frmival(cfg->source_dev, VIDEO_EP_OUT, frmival); in emul_rx_get_frmival() 81 return video_enum_frmival(cfg->source_dev, VIDEO_EP_OUT, fie); in emul_rx_enum_frmival() 97 ret = video_set_format(cfg->source_dev, VIDEO_EP_OUT, fmt); in emul_rx_set_fmt() 99 LOG_DBG("Failed to set %s format to %x %ux%u", cfg->source_dev->name, in emul_rx_set_fmt() 131 return video_get_caps(cfg->source_dev, VIDEO_EP_OUT, caps); in emul_rx_get_caps() 139 return video_stream_start(cfg->source_dev); in emul_rx_stream_start() [all …]
|
D | video_mcux_csi.c | 23 const struct device *source_dev; member 170 if (config->source_dev && video_set_format(config->source_dev, ep, &format)) { in video_mcux_csi_set_fmt() 186 if (config->source_dev && !video_get_format(config->source_dev, ep, fmt)) { in video_mcux_csi_get_fmt() 208 if (config->source_dev && video_stream_start(config->source_dev)) { in video_mcux_csi_stream_start() 221 if (config->source_dev && video_stream_stop(config->source_dev)) { in video_mcux_csi_stream_stop() 314 if (config->source_dev) { in video_mcux_csi_set_ctrl() 315 ret = video_set_ctrl(config->source_dev, cid, value); in video_mcux_csi_set_ctrl() 327 if (config->source_dev) { in video_mcux_csi_get_ctrl() 328 ret = video_get_ctrl(config->source_dev, cid, value); in video_mcux_csi_get_ctrl() 345 if (config->source_dev) { in video_mcux_csi_get_caps() [all …]
|
D | video_esp32_dvp.c | 50 const struct device *source_dev; member 214 if (video_stream_start(cfg->source_dev)) { in video_esp32_stream_start() 230 if (video_stream_stop(cfg->source_dev)) { in video_esp32_stream_stop() 258 return video_get_caps(config->source_dev, ep, caps); in video_esp32_get_caps() 273 ret = video_get_format(cfg->source_dev, ep, fmt); in video_esp32_get_fmt() 294 return video_set_format(cfg->source_dev, ep, fmt); in video_esp32_set_fmt() 336 return video_set_ctrl(cfg->source_dev, cid, value); in video_esp32_set_ctrl() 343 return video_get_ctrl(cfg->source_dev, cid, value); in video_esp32_get_ctrl() 421 .source_dev = DEVICE_DT_GET(DT_INST_PHANDLE(0, source)),
|