Searched refs:links (Results 1 – 6 of 6) sorted by relevance
80 struct media_link *links = entity->links; in __media_entity_add_link() local84 links = (struct media_link*)realloc(links, max_links * sizeof *links); in __media_entity_add_link()85 if (links == NULL) in __media_entity_add_link()89 links[i].twin->twin = &links[i]; in __media_entity_add_link()92 entity->links = links; in __media_entity_add_link()95 return &entity->links[entity->num_links++]; in __media_entity_add_link()107 struct media_links_enum links; in __media_enum_links() local110 links.entity = entity->info.id; in __media_enum_links()111 … links.pads = (struct media_pad_desc*)malloc(entity->info.pads * sizeof(struct media_pad_desc)); in __media_enum_links()112 …links.links = (struct media_link_desc*)malloc(entity->info.links * sizeof(struct media_link_desc)); in __media_enum_links()[all …]
698 struct media_link *links = NULL; in create() local780 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()[all …]
312 struct media_link *links; in m_exynos_gsc_output_create() local365 links = &gsc_vd_entity->links[i]; in m_exynos_gsc_output_create()367 if (links == NULL || in m_exynos_gsc_output_create()368 links->source->entity != gsc_vd_entity || in m_exynos_gsc_output_create()369 links->sink->entity != gsc_sd_entity) { in m_exynos_gsc_output_create()371 …} else if (exynos_media_setup_link(media0, links->source, links->sink, MEDIA_LNK_FL_ENABLED) < 0… in m_exynos_gsc_output_create()373 __func__, links->source->entity->info.id, links->sink->entity->info.id); in m_exynos_gsc_output_create()380 links = &gsc_sd_entity->links[i]; in m_exynos_gsc_output_create()382 if (links == NULL || links->source->entity != gsc_sd_entity || in m_exynos_gsc_output_create()383 links->sink->entity != sink_sd_entity) { in m_exynos_gsc_output_create()[all …]
66 __u16 links; member116 struct media_link_desc __user *links; member
155 struct media_link *links; member
70 __u16 links; member123 struct media_link_desc __user *links; member