Lines Matching full:entity
33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write()
40 void vsp1_uds_set_alpha(struct vsp1_entity *entity, struct vsp1_dl_body *dlb, in vsp1_uds_set_alpha() argument
43 struct vsp1_uds *uds = to_uds(&entity->subdev); in vsp1_uds_set_alpha()
135 config = vsp1_entity_get_pad_config(&uds->entity, sd_state, in uds_enum_frame_size()
140 format = vsp1_entity_get_pad_format(&uds->entity, config, in uds_enum_frame_size()
143 mutex_lock(&uds->entity.lock); in uds_enum_frame_size()
163 mutex_unlock(&uds->entity.lock); in uds_enum_frame_size()
188 format = vsp1_entity_get_pad_format(&uds->entity, sd_state, in uds_try_format()
212 mutex_lock(&uds->entity.lock); in uds_set_format()
214 config = vsp1_entity_get_pad_config(&uds->entity, sd_state, in uds_set_format()
223 format = vsp1_entity_get_pad_format(&uds->entity, config, fmt->pad); in uds_set_format()
228 format = vsp1_entity_get_pad_format(&uds->entity, config, in uds_set_format()
236 mutex_unlock(&uds->entity.lock); in uds_set_format()
257 * VSP1 Entity Operations
260 static void uds_configure_stream(struct vsp1_entity *entity, in uds_configure_stream() argument
265 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_configure_stream()
272 input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_configure_stream()
274 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_configure_stream()
280 dev_dbg(uds->entity.vsp1->dev, "hscale %u vscale %u\n", hscale, vscale); in uds_configure_stream()
308 static void uds_configure_partition(struct vsp1_entity *entity, in uds_configure_partition() argument
313 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_configure_partition()
317 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_configure_partition()
334 static unsigned int uds_max_width(struct vsp1_entity *entity, in uds_max_width() argument
337 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_max_width()
342 input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_max_width()
344 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_max_width()
370 static void uds_partition(struct vsp1_entity *entity, in uds_partition() argument
376 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_partition()
384 input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_partition()
386 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.config, in uds_partition()
418 uds->entity.ops = &uds_entity_ops; in vsp1_uds_create()
419 uds->entity.type = VSP1_ENTITY_UDS; in vsp1_uds_create()
420 uds->entity.index = index; in vsp1_uds_create()
423 ret = vsp1_entity_init(vsp1, &uds->entity, name, 2, &uds_ops, in vsp1_uds_create()