Lines Matching refs:links
698 struct media_link *links = NULL; in create() local
780 links = m_ispSensorEntity->links; in create()
781 if (links == NULL || in create()
782 links->source->entity != m_ispSensorEntity || in create()
783 links->sink->entity != m_ispFrontEntity) { in create()
786 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0)… in create()
794 links = &m_ispFrontEntity->links[i]; in create()
795 if (links == NULL || in create()
796 links->source->entity != m_ispFrontEntity || in create()
797 links->sink->entity != m_ispBackEntity) { in create()
799 links->source->entity, m_ispFrontEntity); in create()
801 links->sink->entity, m_ispBackEntity); in create()
803 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0)… in create()
812 links = &m_ispBackEntity->links[i]; in create()
813 if (links == NULL || in create()
814 links->source->entity != m_ispBackEntity || in create()
815 links->sink->entity != m_ispScalerpEntity) { in create()
817 links->source->entity, m_ispBackEntity); in create()
819 links->sink->entity, m_ispScalerpEntity); in create()
821 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0)… in create()
913 links = m_sensorEntity->links; in create()
914 if (links == NULL || in create()
915 links->source->entity != m_sensorEntity || in create()
916 links->sink->entity != m_mipiEntity) { in create()
921 … if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0) { in create()
929 links = &m_mipiEntity->links[i]; in create()
931 links->source->entity, m_mipiEntity); in create()
933 links->sink->entity, m_fliteSdEntity); in create()
934 if (links == NULL || in create()
935 links->source->entity != m_mipiEntity || in create()
936 links->sink->entity != m_fliteSdEntity) { in create()
938 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < … in create()
947 links = &m_fliteSdEntity->links[i]; in create()
949 links->source->entity, m_fliteSdEntity); in create()
951 links->sink->entity, m_fliteVdEntity); in create()
952 if (links == NULL || in create()
953 links->source->entity != m_fliteSdEntity || in create()
954 links->sink->entity != m_fliteVdEntity) { in create()
956 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < … in create()
965 links = &m_gscSdEntity->links[i]; in create()
967 links->source->entity, m_fliteSdEntity); in create()
969 links->sink->entity, m_gscSdEntity); in create()
970 if (links == NULL || in create()
971 links->source->entity != m_fliteSdEntity || in create()
972 links->sink->entity != m_gscSdEntity) { in create()
974 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0)… in create()
983 links = &m_gscVdEntity->links[i]; in create()
985 links->source->entity, m_gscSdEntity); in create()
987 links->sink->entity, m_gscVdEntity); in create()
988 if (links == NULL || in create()
989 links->source->entity != m_gscSdEntity || in create()
990 links->sink->entity != m_gscVdEntity) { in create()
992 …} else if (exynos_media_setup_link(m_media, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0)… in create()