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 config = vsp1_entity_get_pad_config(&uif->entity, sd_state, in uif_get_selection()
108 format = vsp1_entity_get_pad_format(&uif->entity, config, in uif_get_selection()
117 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, config, in uif_get_selection()
127 mutex_unlock(&uif->entity.lock); in uif_get_selection()
145 mutex_lock(&uif->entity.lock); in uif_set_selection()
147 config = vsp1_entity_get_pad_config(&uif->entity, sd_state, in uif_set_selection()
155 format = vsp1_entity_get_pad_format(&uif->entity, config, UIF_PAD_SINK); in uif_set_selection()
165 selection = vsp1_entity_get_pad_selection(&uif->entity, config, in uif_set_selection()
170 mutex_unlock(&uif->entity.lock); in uif_set_selection()
193 * VSP1 Entity Operations
196 static void uif_configure_stream(struct vsp1_entity *entity, in uif_configure_stream() argument
201 struct vsp1_uif *uif = to_uif(&entity->subdev); in uif_configure_stream()
209 crop = vsp1_entity_get_pad_selection(entity, entity->config, in uif_configure_stream()
256 uif->entity.ops = &uif_entity_ops; in vsp1_uif_create()
257 uif->entity.type = VSP1_ENTITY_UIF; in vsp1_uif_create()
258 uif->entity.index = index; in vsp1_uif_create()
262 ret = vsp1_entity_init(vsp1, &uif->entity, name, 2, &uif_ops, in vsp1_uif_create()