Lines Matching full:entity

14 #include <media/media-entity.h>
31 return vsp1_read(uif->entity.vsp1, in vsp1_uif_read()
32 uif->entity.index * VI6_UIF_OFFSET + reg); in vsp1_uif_read()
38 vsp1_dl_body_write(dlb, reg + uif->entity.index * VI6_UIF_OFFSET, data); in vsp1_uif_write()
95 mutex_lock(&uif->entity.lock); in uif_get_selection()
97 config = vsp1_entity_get_pad_config(&uif->entity, cfg, sel->which); in uif_get_selection()
106 format = vsp1_entity_get_pad_format(&uif->entity, config, in uif_get_selection()
115 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, config, in uif_get_selection()
125 mutex_unlock(&uif->entity.lock); in uif_get_selection()
143 mutex_lock(&uif->entity.lock); in uif_set_selection()
145 config = vsp1_entity_get_pad_config(&uif->entity, cfg, sel->which); in uif_set_selection()
152 format = vsp1_entity_get_pad_format(&uif->entity, config, UIF_PAD_SINK); in uif_set_selection()
162 selection = vsp1_entity_get_pad_selection(&uif->entity, config, in uif_set_selection()
167 mutex_unlock(&uif->entity.lock); in uif_set_selection()
190 * VSP1 Entity Operations
193 static void uif_configure_stream(struct vsp1_entity *entity, in uif_configure_stream() argument
198 struct vsp1_uif *uif = to_uif(&entity->subdev); in uif_configure_stream()
206 crop = vsp1_entity_get_pad_selection(entity, entity->config, in uif_configure_stream()
253 uif->entity.ops = &uif_entity_ops; in vsp1_uif_create()
254 uif->entity.type = VSP1_ENTITY_UIF; in vsp1_uif_create()
255 uif->entity.index = index; in vsp1_uif_create()
259 ret = vsp1_entity_init(vsp1, &uif->entity, name, 2, &uif_ops, in vsp1_uif_create()