Lines Matching full:entity
31 * struct xvip_graph_entity - Entity in the video graph
33 * @entity: media entity, from the corresponding V4L2 subdev
38 struct media_entity *entity; member
56 struct xvip_graph_entity *entity; in xvip_graph_find_entity() local
66 entity = to_xvip_entity(asd); in xvip_graph_find_entity()
67 if (entity->asd.match.fwnode == fwnode) in xvip_graph_find_entity()
68 return entity; in xvip_graph_find_entity()
76 struct xvip_graph_entity *entity) in xvip_graph_build_one() argument
79 struct media_entity *local = entity->entity; in xvip_graph_build_one()
88 dev_dbg(xdev->dev, "creating links for entity %s\n", local->name); in xvip_graph_build_one()
92 ep = fwnode_graph_get_next_endpoint(entity->asd.match.fwnode, in xvip_graph_build_one()
134 /* Find the remote entity. */ in xvip_graph_build_one()
137 dev_err(xdev->dev, "no entity found for %p\n", in xvip_graph_build_one()
144 remote = ent->entity; in xvip_graph_build_one()
231 /* Find the remote entity. */ in xvip_graph_build_dma()
234 dev_err(xdev->dev, "no entity found for %pOF\n", in xvip_graph_build_dma()
241 if (link.remote_port >= ent->entity->num_pads) { in xvip_graph_build_dma()
251 source = &dma->video.entity; in xvip_graph_build_dma()
253 sink = ent->entity; in xvip_graph_build_dma()
256 source = ent->entity; in xvip_graph_build_dma()
258 sink = &dma->video.entity; in xvip_graph_build_dma()
289 struct xvip_graph_entity *entity; in xvip_graph_notify_complete() local
295 /* Create links for every entity. */ in xvip_graph_notify_complete()
297 entity = to_xvip_entity(asd); in xvip_graph_notify_complete()
298 ret = xvip_graph_build_one(xdev, entity); in xvip_graph_notify_complete()
319 struct xvip_graph_entity *entity = to_xvip_entity(asc); in xvip_graph_notify_bound() local
321 entity->entity = &subdev->entity; in xvip_graph_notify_bound()
322 entity->subdev = subdev; in xvip_graph_notify_bound()
384 struct xvip_graph_entity *entity; in xvip_graph_parse() local
399 entity = to_xvip_entity(asd); in xvip_graph_parse()
400 ret = xvip_graph_parse_one(xdev, entity->asd.match.fwnode); in xvip_graph_parse()