Home
last modified time | relevance | path

Searched refs:csi_dev (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi.c31 if (csi_dev->v4l2_dev && csi_dev->v4l2_dev != v4l2_dev) in sun6i_csi_isp_complete()
34 csi_dev->v4l2_dev = v4l2_dev; in sun6i_csi_isp_complete()
63 csi_dev->isp_available = true; in sun6i_csi_isp_detect()
110 csi_dev->v4l2_dev = v4l2_dev; in sun6i_csi_v4l2_setup()
111 csi_dev->media_dev = media_dev; in sun6i_csi_v4l2_setup()
251 if (IS_ERR(csi_dev->regmap)) { in sun6i_csi_resources_setup()
280 if (IS_ERR(csi_dev->reset)) { in sun6i_csi_resources_setup()
325 csi_dev = devm_kzalloc(dev, sizeof(*csi_dev), GFP_KERNEL); in sun6i_csi_probe()
326 if (!csi_dev) in sun6i_csi_probe()
368 if (!csi_dev->isp_available) in sun6i_csi_probe()
[all …]
H A Dsun6i_csi_bridge.c231 struct device *dev = csi_dev->dev; in sun6i_csi_bridge_configure_parallel()
414 struct device *dev = csi_dev->dev; in sun6i_csi_bridge_s_stream()
469 sun6i_csi_bridge_enable(csi_dev); in sun6i_csi_bridge_s_stream()
481 sun6i_csi_bridge_disable(csi_dev); in sun6i_csi_bridge_s_stream()
608 struct device *dev = csi_dev->dev; in sun6i_csi_bridge_link()
647 struct sun6i_csi_device *csi_dev = in sun6i_csi_bridge_notifier_bound() local
671 if (csi_dev->isp_available) { in sun6i_csi_bridge_notifier_bound()
693 if (csi_dev->isp_available) in sun6i_csi_bridge_notifier_complete()
810 if (csi_dev->isp_available) in sun6i_csi_bridge_setup()
822 if (csi_dev->isp_available) in sun6i_csi_bridge_setup()
[all …]
H A Dsun6i_csi_capture.c29 *width = csi_dev->capture.format.fmt.pix.width; in sun6i_csi_capture_dimensions()
336 struct regmap *regmap = csi_dev->regmap; in sun6i_csi_capture_buffer_configure()
375 struct regmap *regmap = csi_dev->regmap; in sun6i_csi_capture_configure()
546 sun6i_csi_capture_state_update(csi_dev); in sun6i_csi_capture_sync()
725 "platform:%s", dev_name(csi_dev->dev)); in sun6i_csi_capture_querycap()
748 *format = csi_dev->capture.format; in sun6i_csi_capture_g_fmt()
764 csi_dev->capture.format = *format; in sun6i_csi_capture_s_fmt()
1016 queue->dev = csi_dev->dev; in sun6i_csi_capture_setup()
1017 queue->drv_priv = csi_dev; in sun6i_csi_capture_setup()
1048 video_set_drvdata(video_dev, csi_dev); in sun6i_csi_capture_setup()
[all …]
H A Dsun6i_csi_capture.h64 void sun6i_csi_capture_dimensions(struct sun6i_csi_device *csi_dev,
66 void sun6i_csi_capture_format(struct sun6i_csi_device *csi_dev,
76 void sun6i_csi_capture_configure(struct sun6i_csi_device *csi_dev);
77 void sun6i_csi_capture_state_update(struct sun6i_csi_device *csi_dev);
81 void sun6i_csi_capture_sync(struct sun6i_csi_device *csi_dev);
82 void sun6i_csi_capture_frame_done(struct sun6i_csi_device *csi_dev);
86 int sun6i_csi_capture_setup(struct sun6i_csi_device *csi_dev);
87 void sun6i_csi_capture_cleanup(struct sun6i_csi_device *csi_dev);
H A Dsun6i_csi_bridge.h54 void sun6i_csi_bridge_dimensions(struct sun6i_csi_device *csi_dev,
56 void sun6i_csi_bridge_format(struct sun6i_csi_device *csi_dev,
66 int sun6i_csi_bridge_setup(struct sun6i_csi_device *csi_dev);
67 void sun6i_csi_bridge_cleanup(struct sun6i_csi_device *csi_dev);
H A Dsun6i_csi.h60 int sun6i_csi_isp_complete(struct sun6i_csi_device *csi_dev,
/openbmc/linux/drivers/media/pci/intel/
H A Dipu-bridge.c155 return csi_dev; in ipu_bridge_get_ivsc_csi_dev()
165 struct device *csi_dev; in ipu_bridge_check_ivsc_dev() local
170 if (!csi_dev) { in ipu_bridge_check_ivsc_dev()
176 sensor->csi_dev = csi_dev; in ipu_bridge_check_ivsc_dev()
317 if (sensor->csi_dev) { in ipu_bridge_create_fwnode_properties()
412 if (sensor->csi_dev) { in ipu_bridge_init_swnode_names()
434 if (sensor->csi_dev) { in ipu_bridge_init_swnode_group()
477 if (sensor->csi_dev) { in ipu_bridge_create_connection_swnodes()
619 if (!sensor->csi_dev) in ipu_bridge_instantiate_ivsc()
767 if (!csi_dev)
[all …]
/openbmc/linux/drivers/media/pci/intel/ivsc/
H A Dmei_ace.c179 struct device *csi_dev; member
401 struct device *csi_dev; in mei_ace_setup_dev_link() local
407 csi_dev = device_find_child_by_name(dev->parent, name); in mei_ace_setup_dev_link()
408 if (!csi_dev) { in mei_ace_setup_dev_link()
414 ace->csi_link = device_link_add(csi_dev, dev, DL_FLAG_PM_RUNTIME | in mei_ace_setup_dev_link()
418 dev_err(dev, "failed to link to %s\n", dev_name(csi_dev)); in mei_ace_setup_dev_link()
422 ace->csi_dev = csi_dev; in mei_ace_setup_dev_link()
427 put_device(csi_dev); in mei_ace_setup_dev_link()
524 put_device(ace->csi_dev); in mei_ace_remove()
/openbmc/linux/include/media/
H A Dipu-bridge.h126 struct device *csi_dev; member