Lines Matching refs:fimc
607 static int register_fimc_entity(struct fimc_md *fmd, struct fimc_dev *fimc) in register_fimc_entity() argument
613 if (WARN_ON(fimc->id >= FIMC_MAX_DEVS || fmd->fimc[fimc->id])) in register_fimc_entity()
616 sd = &fimc->vid_cap.subdev; in register_fimc_entity()
627 if (!fmd->pmf && fimc->pdev) in register_fimc_entity()
628 fmd->pmf = &fimc->pdev->dev; in register_fimc_entity()
629 fmd->fimc[fimc->id] = fimc; in register_fimc_entity()
630 fimc->vid_cap.user_subdev_api = fmd->user_subdev_api; in register_fimc_entity()
633 fimc->id, ret); in register_fimc_entity()
778 struct fimc_dev *dev = fmd->fimc[i]; in fimc_md_unregister_entities()
783 fmd->fimc[i] = NULL; in fimc_md_unregister_entities()
832 if (!fmd->fimc[i]) in __fimc_md_create_fimc_sink_links()
838 if (!fmd->fimc[i]->variant->has_cam_if) in __fimc_md_create_fimc_sink_links()
843 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links()
888 struct fimc_lite *fimc = fmd->fimc_lite[i]; in __fimc_md_create_flite_source_links() local
890 if (fimc == NULL) in __fimc_md_create_flite_source_links()
893 source = &fimc->subdev.entity; in __fimc_md_create_flite_source_links()
894 sink = &fimc->ve.vdev.entity; in __fimc_md_create_flite_source_links()
921 if (fmd->fimc[i] == NULL) in __fimc_md_create_fimc_is_links()
925 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_is_links()
1036 if (!fmd->fimc[i]) in fimc_md_create_links()
1039 source = &fmd->fimc[i]->vid_cap.subdev.entity; in fimc_md_create_links()
1040 sink = &fmd->fimc[i]->vid_cap.ve.vdev.entity; in fimc_md_create_links()
1267 if (fmd->fimc[i]) in fimc_md_sysfs_store()
1268 fmd->fimc[i]->vid_cap.user_subdev_api = subdev_api; in fimc_md_sysfs_store()