Lines Matching refs:entity
51 pipe = to_vsp1_pipeline(&wpf->entity.subdev.entity); in vsp1_irq_handler()
80 struct media_entity *entity = &sink->subdev.entity; in vsp1_create_links() local
100 for (pad = 0; pad < entity->num_pads; ++pad) { in vsp1_create_links()
101 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK)) in vsp1_create_links()
104 ret = media_entity_create_link(&source->subdev.entity, in vsp1_create_links()
106 entity, pad, flags); in vsp1_create_links()
111 source->sink = entity; in vsp1_create_links()
120 struct vsp1_entity *entity; in vsp1_destroy_entities() local
123 list_for_each_entry_safe(entity, next, &vsp1->entities, list_dev) { in vsp1_destroy_entities()
124 list_del(&entity->list_dev); in vsp1_destroy_entities()
125 vsp1_entity_destroy(entity); in vsp1_destroy_entities()
136 struct vsp1_entity *entity; in vsp1_create_entities() local
166 list_add_tail(&vsp1->bru->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
174 list_add_tail(&vsp1->hsi->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
182 list_add_tail(&vsp1->hst->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
191 list_add_tail(&vsp1->lif->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
201 list_add_tail(&vsp1->lut->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
214 list_add_tail(&rpf->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
224 list_add_tail(&vsp1->sru->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
237 list_add_tail(&uds->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
250 list_add_tail(&wpf->entity.list_dev, &vsp1->entities); in vsp1_create_entities()
254 list_for_each_entry(entity, &vsp1->entities, list_dev) { in vsp1_create_entities()
255 if (entity->type == VSP1_ENTITY_LIF || in vsp1_create_entities()
256 entity->type == VSP1_ENTITY_RPF) in vsp1_create_entities()
259 ret = vsp1_create_links(vsp1, entity); in vsp1_create_entities()
266 &vsp1->wpf[0]->entity.subdev.entity, RWPF_PAD_SOURCE, in vsp1_create_entities()
267 &vsp1->lif->entity.subdev.entity, LIF_PAD_SINK, 0); in vsp1_create_entities()
273 list_for_each_entry(entity, &vsp1->entities, list_dev) { in vsp1_create_entities()
275 &entity->subdev); in vsp1_create_entities()