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
60 entity = to_xvip_entity(asd); in xvip_graph_find_entity()
61 if (entity->asd.match.fwnode == fwnode) in xvip_graph_find_entity()
62 return entity; in xvip_graph_find_entity()
69 struct xvip_graph_entity *entity) in xvip_graph_build_one() argument
72 struct media_entity *local = entity->entity; in xvip_graph_build_one()
81 dev_dbg(xdev->dev, "creating links for entity %s\n", local->name); in xvip_graph_build_one()
85 ep = fwnode_graph_get_next_endpoint(entity->asd.match.fwnode, in xvip_graph_build_one()
127 /* Find the remote entity. */ in xvip_graph_build_one()
130 dev_err(xdev->dev, "no entity found for %p\n", in xvip_graph_build_one()
137 remote = ent->entity; in xvip_graph_build_one()
229 /* Find the remote entity. */ in xvip_graph_build_dma()
232 dev_err(xdev->dev, "no entity found for %pOF\n", in xvip_graph_build_dma()
239 if (link.remote_port >= ent->entity->num_pads) { in xvip_graph_build_dma()
249 source = &dma->video.entity; in xvip_graph_build_dma()
251 sink = ent->entity; in xvip_graph_build_dma()
254 source = ent->entity; in xvip_graph_build_dma()
256 sink = &dma->video.entity; in xvip_graph_build_dma()
287 struct xvip_graph_entity *entity; in xvip_graph_notify_complete() local
293 /* Create links for every entity. */ in xvip_graph_notify_complete()
295 entity = to_xvip_entity(asd); in xvip_graph_notify_complete()
296 ret = xvip_graph_build_one(xdev, entity); in xvip_graph_notify_complete()
319 struct xvip_graph_entity *entity; in xvip_graph_notify_bound() local
322 /* Locate the entity corresponding to the bound subdev and store the in xvip_graph_notify_bound()
326 entity = to_xvip_entity(asd); in xvip_graph_notify_bound()
328 if (entity->asd.match.fwnode != subdev->fwnode) in xvip_graph_notify_bound()
331 if (entity->subdev) { in xvip_graph_notify_bound()
333 entity->asd.match.fwnode); in xvip_graph_notify_bound()
338 entity->entity = &subdev->entity; in xvip_graph_notify_bound()
339 entity->subdev = subdev; in xvip_graph_notify_bound()
343 dev_err(xdev->dev, "no entity for subdev %s\n", subdev->name); in xvip_graph_notify_bound()
404 struct xvip_graph_entity *entity; in xvip_graph_parse() local
419 entity = to_xvip_entity(asd); in xvip_graph_parse()
420 ret = xvip_graph_parse_one(xdev, entity->asd.match.fwnode); in xvip_graph_parse()