Lines Matching refs:stm32_dcmi
121 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()
695 static int dcmi_pipeline_s_stream(struct stm32_dcmi *dcmi, int state) in dcmi_pipeline_s_stream()
730 static int dcmi_pipeline_start(struct stm32_dcmi *dcmi) in dcmi_pipeline_start()
735 static void dcmi_pipeline_stop(struct stm32_dcmi *dcmi) in dcmi_pipeline_stop()
742 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vq); in dcmi_start_streaming()
890 struct stm32_dcmi *dcmi = vb2_get_drv_priv(vq); in dcmi_stop_streaming()
946 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_g_fmt_vid_cap()
953 static const struct dcmi_format *find_format_by_fourcc(struct stm32_dcmi *dcmi, in find_format_by_fourcc()
969 static void __find_outer_frame_size(struct stm32_dcmi *dcmi, in __find_outer_frame_size()
994 static int dcmi_try_fmt(struct stm32_dcmi *dcmi, struct v4l2_format *f, in dcmi_try_fmt()
1080 static int dcmi_set_fmt(struct stm32_dcmi *dcmi, struct v4l2_format *f) in dcmi_set_fmt()
1132 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_s_fmt_vid_cap()
1143 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_try_fmt_vid_cap()
1151 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_enum_fmt_vid_cap()
1160 static int dcmi_get_sensor_format(struct stm32_dcmi *dcmi, in dcmi_get_sensor_format()
1177 static int dcmi_set_sensor_format(struct stm32_dcmi *dcmi, in dcmi_set_sensor_format()
1203 static int dcmi_get_sensor_bounds(struct stm32_dcmi *dcmi, in dcmi_get_sensor_bounds()
1270 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_g_selection()
1300 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_s_selection()
1385 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_enum_framesizes()
1414 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_g_parm()
1422 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_s_parm()
1430 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_enum_frameintervals()
1465 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_open()
1496 struct stm32_dcmi *dcmi = video_drvdata(file); in dcmi_release()
1563 static int dcmi_set_default_fmt(struct stm32_dcmi *dcmi) in dcmi_set_default_fmt()
1680 static int dcmi_formats_init(struct stm32_dcmi *dcmi) in dcmi_formats_init()
1740 static int dcmi_framesizes_init(struct stm32_dcmi *dcmi) in dcmi_framesizes_init()
1787 struct stm32_dcmi *dcmi = notifier_to_dcmi(notifier); in dcmi_graph_notify_complete()
1842 struct stm32_dcmi *dcmi = notifier_to_dcmi(notifier); in dcmi_graph_notify_unbind()
1854 struct stm32_dcmi *dcmi = notifier_to_dcmi(notifier); in dcmi_graph_notify_bound()
1888 static int dcmi_graph_init(struct stm32_dcmi *dcmi) in dcmi_graph_init()
1930 struct stm32_dcmi *dcmi; in dcmi_probe()
1944 dcmi = devm_kzalloc(&pdev->dev, sizeof(struct stm32_dcmi), GFP_KERNEL); in dcmi_probe()
2150 struct stm32_dcmi *dcmi = platform_get_drvdata(pdev); in dcmi_remove()
2167 struct stm32_dcmi *dcmi = dev_get_drvdata(dev); in dcmi_runtime_suspend()
2176 struct stm32_dcmi *dcmi = dev_get_drvdata(dev); in dcmi_runtime_resume()