Lines Matching refs:entity
22 return v4l2_subdev_get_try_crop(&rwpf->entity.subdev, config, in vsp1_rwpf_get_crop()
68 mutex_lock(&rwpf->entity.lock); in vsp1_rwpf_set_format()
70 config = vsp1_entity_get_pad_config(&rwpf->entity, cfg, fmt->which); in vsp1_rwpf_set_format()
82 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
104 if (rwpf->entity.type == VSP1_ENTITY_RPF) { in vsp1_rwpf_set_format()
116 format = vsp1_entity_get_pad_format(&rwpf->entity, config, in vsp1_rwpf_set_format()
126 mutex_unlock(&rwpf->entity.lock); in vsp1_rwpf_set_format()
143 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection()
146 mutex_lock(&rwpf->entity.lock); in vsp1_rwpf_get_selection()
148 config = vsp1_entity_get_pad_config(&rwpf->entity, cfg, sel->which); in vsp1_rwpf_get_selection()
160 format = vsp1_entity_get_pad_format(&rwpf->entity, config, in vsp1_rwpf_get_selection()
174 mutex_unlock(&rwpf->entity.lock); in vsp1_rwpf_get_selection()
192 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_set_selection()
198 mutex_lock(&rwpf->entity.lock); in vsp1_rwpf_set_selection()
200 config = vsp1_entity_get_pad_config(&rwpf->entity, cfg, sel->which); in vsp1_rwpf_set_selection()
207 format = vsp1_entity_get_pad_format(&rwpf->entity, config, in vsp1_rwpf_set_selection()
232 format = vsp1_entity_get_pad_format(&rwpf->entity, config, in vsp1_rwpf_set_selection()
238 mutex_unlock(&rwpf->entity.lock); in vsp1_rwpf_set_selection()
280 rwpf->entity.subdev.ctrl_handler = &rwpf->ctrls; in vsp1_rwpf_init_ctrls()