Home
last modified time | relevance | path

Searched refs:isp_dev (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/staging/media/sunxi/sun6i-isp/
H A Dsun6i_isp.c87 sun6i_isp_state_ready(isp_dev); in sun6i_isp_state_update()
351 if (IS_ERR(isp_dev->regmap)) { in sun6i_isp_resources_setup()
379 if (IS_ERR(isp_dev->reset)) { in sun6i_isp_resources_setup()
381 ret = PTR_ERR(isp_dev->reset); in sun6i_isp_resources_setup()
432 isp_dev = devm_kzalloc(dev, sizeof(*isp_dev), GFP_KERNEL); in sun6i_isp_probe()
433 if (!isp_dev) in sun6i_isp_probe()
436 isp_dev->dev = dev; in sun6i_isp_probe()
481 sun6i_isp_proc_cleanup(isp_dev); in sun6i_isp_probe()
484 sun6i_isp_v4l2_cleanup(isp_dev); in sun6i_isp_probe()
501 sun6i_isp_proc_cleanup(isp_dev); in sun6i_isp_remove()
[all …]
H A Dsun6i_isp_params.c117 sun6i_isp_params_configure_ae(isp_dev); in sun6i_isp_params_configure_base()
118 sun6i_isp_params_configure_ob(isp_dev); in sun6i_isp_params_configure_base()
119 sun6i_isp_params_configure_wb(isp_dev); in sun6i_isp_params_configure_base()
180 sun6i_isp_params_configure_base(isp_dev); in sun6i_isp_params_configure()
312 struct sun6i_isp_device *isp_dev = in sun6i_isp_params_buffer_prepare() local
330 struct sun6i_isp_device *isp_dev = in sun6i_isp_params_buffer_queue() local
407 &isp_dev->params.format.fmt.meta; in sun6i_isp_params_enum_fmt()
422 *format = isp_dev->params.format; in sun6i_isp_params_g_fmt()
495 queue->dev = isp_dev->dev; in sun6i_isp_params_setup()
496 queue->drv_priv = isp_dev; in sun6i_isp_params_setup()
[all …]
H A Dsun6i_isp_proc.c172 struct device *dev = isp_dev->dev; in sun6i_isp_proc_s_stream()
209 sun6i_isp_proc_irq_clear(isp_dev); in sun6i_isp_proc_s_stream()
213 sun6i_isp_tables_configure(isp_dev); in sun6i_isp_proc_s_stream()
215 sun6i_isp_proc_configure(isp_dev); in sun6i_isp_proc_s_stream()
224 sun6i_isp_proc_irq_enable(isp_dev); in sun6i_isp_proc_s_stream()
236 sun6i_isp_proc_disable(isp_dev); in sun6i_isp_proc_s_stream()
362 struct device *dev = isp_dev->dev; in sun6i_isp_proc_link()
400 struct sun6i_isp_device *isp_dev = in sun6i_isp_proc_notifier_bound() local
431 struct sun6i_isp_device *isp_dev = in sun6i_isp_proc_notifier_complete() local
455 struct device *dev = isp_dev->dev; in sun6i_isp_proc_source_setup()
[all …]
H A Dsun6i_isp_capture.c25 *width = isp_dev->capture.format.fmt.pix.width; in sun6i_isp_capture_dimensions()
280 struct sun6i_isp_device *isp_dev = in sun6i_isp_capture_buffer_prepare() local
298 struct sun6i_isp_device *isp_dev = in sun6i_isp_capture_buffer_queue() local
312 sun6i_isp_state_update(isp_dev, false); in sun6i_isp_capture_buffer_queue()
433 "platform:%s", dev_name(isp_dev->dev)); in sun6i_isp_capture_querycap()
456 *format = isp_dev->capture.format; in sun6i_isp_capture_g_fmt()
466 if (vb2_is_busy(&isp_dev->capture.queue)) in sun6i_isp_capture_s_fmt()
471 isp_dev->capture.format = *format; in sun6i_isp_capture_s_fmt()
666 queue->dev = isp_dev->dev; in sun6i_isp_capture_setup()
667 queue->drv_priv = isp_dev; in sun6i_isp_capture_setup()
[all …]
H A Dsun6i_isp_capture.h52 void sun6i_isp_capture_dimensions(struct sun6i_isp_device *isp_dev,
54 void sun6i_isp_capture_format(struct sun6i_isp_device *isp_dev,
64 void sun6i_isp_capture_configure(struct sun6i_isp_device *isp_dev);
68 void sun6i_isp_capture_state_update(struct sun6i_isp_device *isp_dev,
70 void sun6i_isp_capture_state_complete(struct sun6i_isp_device *isp_dev);
71 void sun6i_isp_capture_finish(struct sun6i_isp_device *isp_dev);
75 int sun6i_isp_capture_setup(struct sun6i_isp_device *isp_dev);
76 void sun6i_isp_capture_cleanup(struct sun6i_isp_device *isp_dev);
H A Dsun6i_isp_params.h39 void sun6i_isp_params_configure(struct sun6i_isp_device *isp_dev);
43 void sun6i_isp_params_state_update(struct sun6i_isp_device *isp_dev,
45 void sun6i_isp_params_state_complete(struct sun6i_isp_device *isp_dev);
49 int sun6i_isp_params_setup(struct sun6i_isp_device *isp_dev);
50 void sun6i_isp_params_cleanup(struct sun6i_isp_device *isp_dev);
H A Dsun6i_isp.h77 u32 sun6i_isp_load_read(struct sun6i_isp_device *isp_dev, u32 offset);
78 void sun6i_isp_load_write(struct sun6i_isp_device *isp_dev, u32 offset,
84 void sun6i_isp_state_update(struct sun6i_isp_device *isp_dev, bool ready_hold);
88 void sun6i_isp_tables_configure(struct sun6i_isp_device *isp_dev);
H A Dsun6i_isp_proc.h54 void sun6i_isp_proc_dimensions(struct sun6i_isp_device *isp_dev,
63 int sun6i_isp_proc_setup(struct sun6i_isp_device *isp_dev);
64 void sun6i_isp_proc_cleanup(struct sun6i_isp_device *isp_dev);