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()
96 mutex_lock(&uif->entity.lock); in uif_get_selection()
98 state = vsp1_entity_get_state(&uif->entity, sd_state, sel->which); in uif_get_selection()
107 format = vsp1_entity_get_pad_format(&uif->entity, state, in uif_get_selection()
116 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, state, in uif_get_selection()
126 mutex_unlock(&uif->entity.lock); in uif_get_selection()
144 mutex_lock(&uif->entity.lock); in uif_set_selection()
146 state = vsp1_entity_get_state(&uif->entity, sd_state, sel->which); in uif_set_selection()
153 format = vsp1_entity_get_pad_format(&uif->entity, state, UIF_PAD_SINK); in uif_set_selection()
163 selection = vsp1_entity_get_pad_selection(&uif->entity, state, in uif_set_selection()
168 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->state, 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()