Lines Matching full:entity
32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write()
68 sink_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation()
69 wpf->entity.config, in vsp1_wpf_set_rotation()
71 source_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation()
72 wpf->entity.config, in vsp1_wpf_set_rotation()
75 mutex_lock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
87 mutex_unlock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
136 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_init_controls()
141 if (wpf->entity.index != 0) { in wpf_init_controls()
181 wpf->entity.index); in wpf_init_controls()
195 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_s_stream()
204 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); in wpf_s_stream()
205 vsp1_write(vsp1, wpf->entity.index * VI6_WPF_OFFSET + in wpf_s_stream()
225 * VSP1 Entity Operations
228 static void vsp1_wpf_destroy(struct vsp1_entity *entity) in vsp1_wpf_destroy() argument
230 struct vsp1_rwpf *wpf = entity_to_rwpf(entity); in vsp1_wpf_destroy()
238 unsigned int index = wpf->entity.index; in wpf_configure_writeback_chain()
244 dev_err(wpf->entity.vsp1->dev, in wpf_configure_writeback_chain()
256 static void wpf_configure_stream(struct vsp1_entity *entity, in wpf_configure_stream() argument
261 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev); in wpf_configure_stream()
262 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_configure_stream()
265 unsigned int index = wpf->entity.index; in wpf_configure_stream()
271 sink_format = vsp1_entity_get_pad_format(&wpf->entity, in wpf_configure_stream()
272 wpf->entity.config, in wpf_configure_stream()
274 source_format = vsp1_entity_get_pad_format(&wpf->entity, in wpf_configure_stream()
275 wpf->entity.config, in wpf_configure_stream()
331 ? VI6_WPF_SRCRPF_RPF_ACT_MST(input->entity.index) in wpf_configure_stream()
332 : VI6_WPF_SRCRPF_RPF_ACT_SUB(input->entity.index); in wpf_configure_stream()
365 static void wpf_configure_frame(struct vsp1_entity *entity, in wpf_configure_frame() argument
372 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev); in wpf_configure_frame()
391 static void wpf_configure_partition(struct vsp1_entity *entity, in wpf_configure_partition() argument
396 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev); in wpf_configure_partition()
397 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_configure_partition()
409 sink_format = vsp1_entity_get_pad_format(&wpf->entity, in wpf_configure_partition()
410 wpf->entity.config, in wpf_configure_partition()
533 static unsigned int wpf_max_width(struct vsp1_entity *entity, in wpf_max_width() argument
536 struct vsp1_rwpf *wpf = to_rwpf(&entity->subdev); in wpf_max_width()
541 static void wpf_partition(struct vsp1_entity *entity, in wpf_partition() argument
581 wpf->entity.ops = &wpf_entity_ops; in vsp1_wpf_create()
582 wpf->entity.type = VSP1_ENTITY_WPF; in vsp1_wpf_create()
583 wpf->entity.index = index; in vsp1_wpf_create()
586 ret = vsp1_entity_init(vsp1, &wpf->entity, name, 2, &wpf_ops, in vsp1_wpf_create()
611 vsp1_entity_destroy(&wpf->entity); in vsp1_wpf_create()