Lines Matching refs:entity

32 	vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data);
68 sink_format = vsp1_entity_get_pad_format(&wpf->entity,
69 wpf->entity.state,
71 source_format = vsp1_entity_get_pad_format(&wpf->entity,
72 wpf->entity.state,
75 mutex_lock(&wpf->entity.lock);
87 mutex_unlock(&wpf->entity.lock);
136 struct vsp1_device *vsp1 = wpf->entity.vsp1;
141 if (wpf->entity.index != 0) {
181 wpf->entity.index);
194 struct vsp1_device *vsp1 = wpf->entity.vsp1;
200 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0);
201 vsp1_write(vsp1, wpf->entity.index * VI6_WPF_OFFSET +
205 static void vsp1_wpf_destroy(struct vsp1_entity *entity)
207 struct vsp1_rwpf *wpf = entity_to_rwpf(entity);
215 unsigned int index = wpf->entity.index;
221 dev_err(wpf->entity.vsp1->dev,
233 static void wpf_configure_stream(struct vsp1_entity *entity,
238 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
239 struct vsp1_device *vsp1 = wpf->entity.vsp1;
242 unsigned int index = wpf->entity.index;
248 sink_format = vsp1_entity_get_pad_format(&wpf->entity,
249 wpf->entity.state,
251 source_format = vsp1_entity_get_pad_format(&wpf->entity,
252 wpf->entity.state,
308 ? VI6_WPF_SRCRPF_RPF_ACT_MST(input->entity.index)
309 : VI6_WPF_SRCRPF_RPF_ACT_SUB(input->entity.index);
342 static void wpf_configure_frame(struct vsp1_entity *entity,
349 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
368 static void wpf_configure_partition(struct vsp1_entity *entity,
373 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
374 struct vsp1_device *vsp1 = wpf->entity.vsp1;
386 sink_format = vsp1_entity_get_pad_format(&wpf->entity,
387 wpf->entity.state,
510 static unsigned int wpf_max_width(struct vsp1_entity *entity,
513 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev);
518 static void wpf_partition(struct vsp1_entity *entity,
558 wpf->entity.ops = &wpf_entity_ops;
559 wpf->entity.type = VSP1_ENTITY_WPF;
560 wpf->entity.index = index;
563 ret = vsp1_entity_init(vsp1, &wpf->entity, name, 2, &vsp1_rwpf_subdev_ops,
588 vsp1_entity_destroy(&wpf->entity);