Lines Matching refs:fimc
609 static int register_fimc_entity(struct fimc_md *fmd, struct fimc_dev *fimc) in register_fimc_entity() argument
615 if (WARN_ON(fimc->id >= FIMC_MAX_DEVS || fmd->fimc[fimc->id])) in register_fimc_entity()
618 sd = &fimc->vid_cap.subdev; in register_fimc_entity()
629 if (!fmd->pmf && fimc->pdev) in register_fimc_entity()
630 fmd->pmf = &fimc->pdev->dev; in register_fimc_entity()
631 fmd->fimc[fimc->id] = fimc; in register_fimc_entity()
632 fimc->vid_cap.user_subdev_api = fmd->user_subdev_api; in register_fimc_entity()
635 fimc->id, ret); in register_fimc_entity()
780 struct fimc_dev *dev = fmd->fimc[i]; in fimc_md_unregister_entities()
785 fmd->fimc[i] = NULL; in fimc_md_unregister_entities()
834 if (!fmd->fimc[i]) in __fimc_md_create_fimc_sink_links()
840 if (!fmd->fimc[i]->variant->has_cam_if) in __fimc_md_create_fimc_sink_links()
845 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_sink_links()
890 struct fimc_lite *fimc = fmd->fimc_lite[i]; in __fimc_md_create_flite_source_links() local
892 if (fimc == NULL) in __fimc_md_create_flite_source_links()
895 source = &fimc->subdev.entity; in __fimc_md_create_flite_source_links()
896 sink = &fimc->ve.vdev.entity; in __fimc_md_create_flite_source_links()
923 if (fmd->fimc[i] == NULL) in __fimc_md_create_fimc_is_links()
927 sink = &fmd->fimc[i]->vid_cap.subdev.entity; in __fimc_md_create_fimc_is_links()
1038 if (!fmd->fimc[i]) in fimc_md_create_links()
1041 source = &fmd->fimc[i]->vid_cap.subdev.entity; in fimc_md_create_links()
1042 sink = &fmd->fimc[i]->vid_cap.ve.vdev.entity; in fimc_md_create_links()
1269 if (fmd->fimc[i]) in subdev_conf_mode_store()
1270 fmd->fimc[i]->vid_cap.user_subdev_api = subdev_api; in subdev_conf_mode_store()