Lines Matching full:entity

103 	return v4l2_subdev_get_try_compose(&brx->entity.subdev, cfg, pad);  in brx_get_compose()
122 format = vsp1_entity_get_pad_format(&brx->entity, config, in brx_try_format()
143 mutex_lock(&brx->entity.lock); in brx_set_format()
145 config = vsp1_entity_get_pad_config(&brx->entity, cfg, fmt->which); in brx_set_format()
153 format = vsp1_entity_get_pad_format(&brx->entity, config, fmt->pad); in brx_set_format()
157 if (fmt->pad != brx->entity.source_pad) { in brx_set_format()
171 for (i = 0; i <= brx->entity.source_pad; ++i) { in brx_set_format()
172 format = vsp1_entity_get_pad_format(&brx->entity, in brx_set_format()
179 mutex_unlock(&brx->entity.lock); in brx_set_format()
190 if (sel->pad == brx->entity.source_pad) in brx_get_selection()
202 config = vsp1_entity_get_pad_config(&brx->entity, cfg, in brx_get_selection()
207 mutex_lock(&brx->entity.lock); in brx_get_selection()
209 mutex_unlock(&brx->entity.lock); in brx_get_selection()
227 if (sel->pad == brx->entity.source_pad) in brx_set_selection()
233 mutex_lock(&brx->entity.lock); in brx_set_selection()
235 config = vsp1_entity_get_pad_config(&brx->entity, cfg, sel->which); in brx_set_selection()
245 format = vsp1_entity_get_pad_format(&brx->entity, config, in brx_set_selection()
246 brx->entity.source_pad); in brx_set_selection()
254 format = vsp1_entity_get_pad_format(&brx->entity, config, sel->pad); in brx_set_selection()
262 mutex_unlock(&brx->entity.lock); in brx_set_selection()
281 * VSP1 Entity Operations
284 static void brx_configure_stream(struct vsp1_entity *entity, in brx_configure_stream() argument
289 struct vsp1_brx *brx = to_brx(&entity->subdev); in brx_configure_stream()
294 format = vsp1_entity_get_pad_format(&brx->entity, brx->entity.config, in brx_configure_stream()
295 brx->entity.source_pad); in brx_configure_stream()
331 if (entity->type == VSP1_ENTITY_BRU) in brx_configure_stream()
337 for (i = 0; i < brx->entity.source_pad; ++i) { in brx_configure_stream()
371 if (!(entity->type == VSP1_ENTITY_BRU && i == 1)) in brx_configure_stream()
420 brx->entity.ops = &brx_entity_ops; in vsp1_brx_create()
421 brx->entity.type = type; in vsp1_brx_create()
431 ret = vsp1_entity_init(vsp1, &brx->entity, name, num_pads, &brx_ops, in vsp1_brx_create()
443 brx->entity.subdev.ctrl_handler = &brx->ctrls; in vsp1_brx_create()
448 vsp1_entity_destroy(&brx->entity); in vsp1_brx_create()