Lines Matching refs:stm32_dcmi
120 struct stm32_dcmi { struct
174 static inline struct stm32_dcmi *notifier_to_dcmi(struct v4l2_async_notifier *n) in notifier_to_dcmi() argument
176 return container_of(n, struct stm32_dcmi, notifier); in notifier_to_dcmi()
199 static int dcmi_start_capture(struct stm32_dcmi *dcmi, struct dcmi_buf *buf);
201 static void dcmi_buffer_done(struct stm32_dcmi *dcmi, in dcmi_buffer_done()
228 static int dcmi_restart_capture(struct stm32_dcmi *dcmi) in dcmi_restart_capture()
256 struct stm32_dcmi *dcmi = (struct stm32_dcmi *)param; in dcmi_dma_callback()
300 static int dcmi_start_dma(struct stm32_dcmi *dcmi, in dcmi_start_dma()
358 static int dcmi_start_capture(struct stm32_dcmi *dcmi, struct dcmi_buf *buf) in dcmi_start_capture()
377 static void dcmi_set_crop(struct stm32_dcmi *dcmi) in dcmi_set_crop()
399 static void dcmi_process_jpeg(struct stm32_dcmi *dcmi) in dcmi_process_jpeg()
445 struct stm32_dcmi *dcmi = arg; in dcmi_irq_thread()
471 struct stm32_dcmi *dcmi = arg; in dcmi_irq_callback()
492 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vq); in dcmi_queue_setup()
522 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vb->vb2_queue); in dcmi_buf_prepare()
577 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vb->vb2_queue); in dcmi_buf_queue()
603 static struct media_entity *dcmi_find_source(struct stm32_dcmi *dcmi) in dcmi_find_source()
624 static int dcmi_pipeline_s_fmt(struct stm32_dcmi *dcmi, in dcmi_pipeline_s_fmt()
697 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vq); in dcmi_start_streaming()
848 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vq); in dcmi_stop_streaming()
908 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_g_fmt_vid_cap()
915 static const struct dcmi_format *find_format_by_fourcc(struct stm32_dcmi *dcmi, in find_format_by_fourcc()
931 static void __find_outer_frame_size(struct stm32_dcmi *dcmi, in __find_outer_frame_size()
956 static int dcmi_try_fmt(struct stm32_dcmi *dcmi, struct v4l2_format *f, in dcmi_try_fmt()
1042 static int dcmi_set_fmt(struct stm32_dcmi *dcmi, struct v4l2_format *f) in dcmi_set_fmt()
1094 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_s_fmt_vid_cap()
1105 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_try_fmt_vid_cap()
1113 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_enum_fmt_vid_cap()
1122 static int dcmi_get_sensor_format(struct stm32_dcmi *dcmi, in dcmi_get_sensor_format()
1139 static int dcmi_set_sensor_format(struct stm32_dcmi *dcmi, in dcmi_set_sensor_format()
1165 static int dcmi_get_sensor_bounds(struct stm32_dcmi *dcmi, in dcmi_get_sensor_bounds()
1232 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_g_selection()
1262 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_s_selection()
1347 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_enum_framesizes()
1376 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_g_parm()
1384 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_s_parm()
1392 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_enum_frameintervals()
1427 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_open()
1458 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_release()
1525 static int dcmi_set_default_fmt(struct stm32_dcmi *dcmi) in dcmi_set_default_fmt()
1642 static int dcmi_formats_init(struct stm32_dcmi *dcmi) in dcmi_formats_init()
1702 static int dcmi_framesizes_init(struct stm32_dcmi *dcmi) in dcmi_framesizes_init()
1749 struct stm32_dcmi *dcmi = notifier_to_dcmi(notifier); in dcmi_graph_notify_complete()
1804 struct stm32_dcmi *dcmi = notifier_to_dcmi(notifier); in dcmi_graph_notify_unbind()
1816 struct stm32_dcmi *dcmi = notifier_to_dcmi(notifier); in dcmi_graph_notify_bound()
1852 static int dcmi_graph_init(struct stm32_dcmi *dcmi) in dcmi_graph_init()
1893 struct stm32_dcmi *dcmi; in dcmi_probe()
1900 dcmi = devm_kzalloc(&pdev->dev, sizeof(struct stm32_dcmi), GFP_KERNEL); in dcmi_probe()
2088 struct stm32_dcmi *dcmi = platform_get_drvdata(pdev); in dcmi_remove()
2103 struct stm32_dcmi *dcmi = dev_get_drvdata(dev); in dcmi_runtime_suspend()
2112 struct stm32_dcmi *dcmi = dev_get_drvdata(dev); in dcmi_runtime_resume()