Lines Matching refs:entity
42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, in vsp1_rpf_write()
58 static void rpf_configure_stream(struct vsp1_entity *entity, in rpf_configure_stream() argument
63 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_stream()
91 sink_format = vsp1_entity_get_pad_format(&rpf->entity, in rpf_configure_stream()
92 rpf->entity.config, in rpf_configure_stream()
94 source_format = vsp1_entity_get_pad_format(&rpf->entity, in rpf_configure_stream()
95 rpf->entity.config, in rpf_configure_stream()
158 if (entity->vsp1->info->gen == 3) { in rpf_configure_stream()
210 auto_fld = &auto_fld[rpf->entity.index]; in vsp1_rpf_configure_autofld()
223 cmd->flags |= VI6_DL_EXT_AUTOFLD_INT | BIT(16 + rpf->entity.index); in vsp1_rpf_configure_autofld()
226 static void rpf_configure_frame(struct vsp1_entity *entity, in rpf_configure_frame() argument
231 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_frame()
241 static void rpf_configure_partition(struct vsp1_entity *entity, in rpf_configure_partition() argument
246 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_partition()
248 struct vsp1_device *vsp1 = rpf->entity.vsp1; in rpf_configure_partition()
261 crop = *vsp1_rwpf_get_crop(rpf, rpf->entity.config); in rpf_configure_partition()
324 static void rpf_partition(struct vsp1_entity *entity, in rpf_partition() argument
357 rpf->entity.ops = &rpf_entity_ops; in vsp1_rpf_create()
358 rpf->entity.type = VSP1_ENTITY_RPF; in vsp1_rpf_create()
359 rpf->entity.index = index; in vsp1_rpf_create()
362 ret = vsp1_entity_init(vsp1, &rpf->entity, name, 2, &rpf_ops, in vsp1_rpf_create()
380 vsp1_entity_destroy(&rpf->entity); in vsp1_rpf_create()