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 state = vsp1_entity_get_state(&uds->entity, sd_state, fse->which); in uds_enum_frame_size()
139 format = vsp1_entity_get_pad_format(&uds->entity, state, UDS_PAD_SINK); in uds_enum_frame_size()
141 mutex_lock(&uds->entity.lock); in uds_enum_frame_size()
161 mutex_unlock(&uds->entity.lock); in uds_enum_frame_size()
186 format = vsp1_entity_get_pad_format(&uds->entity, sd_state, in uds_try_format()
210 mutex_lock(&uds->entity.lock); in uds_set_format()
212 state = vsp1_entity_get_state(&uds->entity, sd_state, fmt->which); in uds_set_format()
220 format = vsp1_entity_get_pad_format(&uds->entity, state, fmt->pad); in uds_set_format()
225 format = vsp1_entity_get_pad_format(&uds->entity, state, in uds_set_format()
233 mutex_unlock(&uds->entity.lock); in uds_set_format()
253 * VSP1 Entity Operations
256 static void uds_configure_stream(struct vsp1_entity *entity, in uds_configure_stream() argument
261 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_configure_stream()
268 input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_configure_stream()
270 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_configure_stream()
276 dev_dbg(uds->entity.vsp1->dev, "hscale %u vscale %u\n", hscale, vscale); in uds_configure_stream()
304 static void uds_configure_partition(struct vsp1_entity *entity, in uds_configure_partition() argument
309 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_configure_partition()
313 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_configure_partition()
330 static unsigned int uds_max_width(struct vsp1_entity *entity, in uds_max_width() argument
333 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_max_width()
338 input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_max_width()
340 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_max_width()
366 static void uds_partition(struct vsp1_entity *entity, in uds_partition() argument
372 struct vsp1_uds *uds = to_uds(&entity->subdev); in uds_partition()
380 input = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_partition()
382 output = vsp1_entity_get_pad_format(&uds->entity, uds->entity.state, in uds_partition()
414 uds->entity.ops = &uds_entity_ops; in vsp1_uds_create()
415 uds->entity.type = VSP1_ENTITY_UDS; in vsp1_uds_create()
416 uds->entity.index = index; in vsp1_uds_create()
419 ret = vsp1_entity_init(vsp1, &uds->entity, name, 2, &uds_ops, in vsp1_uds_create()