sru 93 drivers/media/platform/vsp1/vsp1.h struct vsp1_sru *sru; sru 391 drivers/media/platform/vsp1/vsp1_drv.c vsp1->sru = vsp1_sru_create(vsp1); sru 392 drivers/media/platform/vsp1/vsp1_drv.c if (IS_ERR(vsp1->sru)) { sru 393 drivers/media/platform/vsp1/vsp1_drv.c ret = PTR_ERR(vsp1->sru); sru 397 drivers/media/platform/vsp1/vsp1_drv.c list_add_tail(&vsp1->sru->entity.list_dev, &vsp1->entities); sru 79 drivers/media/platform/vsp1/vsp1_pipe.h struct vsp1_partition_window sru; sru 27 drivers/media/platform/vsp1/vsp1_sru.c static inline void vsp1_sru_write(struct vsp1_sru *sru, sru 77 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru = sru 82 drivers/media/platform/vsp1/vsp1_sru.c sru->intensity = ctrl->val; sru 125 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru = to_sru(subdev); sru 130 drivers/media/platform/vsp1/vsp1_sru.c config = vsp1_entity_get_pad_config(&sru->entity, cfg, fse->which); sru 134 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, SRU_PAD_SINK); sru 136 drivers/media/platform/vsp1/vsp1_sru.c mutex_lock(&sru->entity.lock); sru 162 drivers/media/platform/vsp1/vsp1_sru.c mutex_unlock(&sru->entity.lock); sru 166 drivers/media/platform/vsp1/vsp1_sru.c static void sru_try_format(struct vsp1_sru *sru, sru 187 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, sru 222 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru = to_sru(subdev); sru 227 drivers/media/platform/vsp1/vsp1_sru.c mutex_lock(&sru->entity.lock); sru 229 drivers/media/platform/vsp1/vsp1_sru.c config = vsp1_entity_get_pad_config(&sru->entity, cfg, fmt->which); sru 235 drivers/media/platform/vsp1/vsp1_sru.c sru_try_format(sru, config, fmt->pad, &fmt->format); sru 237 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, fmt->pad); sru 242 drivers/media/platform/vsp1/vsp1_sru.c format = vsp1_entity_get_pad_format(&sru->entity, config, sru 246 drivers/media/platform/vsp1/vsp1_sru.c sru_try_format(sru, config, SRU_PAD_SOURCE, format); sru 250 drivers/media/platform/vsp1/vsp1_sru.c mutex_unlock(&sru->entity.lock); sru 276 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru = to_sru(&entity->subdev); sru 281 drivers/media/platform/vsp1/vsp1_sru.c input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, sru 283 drivers/media/platform/vsp1/vsp1_sru.c output = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, sru 295 drivers/media/platform/vsp1/vsp1_sru.c param = &vsp1_sru_params[sru->intensity - 1]; sru 299 drivers/media/platform/vsp1/vsp1_sru.c vsp1_sru_write(sru, dlb, VI6_SRU_CTRL0, ctrl0); sru 300 drivers/media/platform/vsp1/vsp1_sru.c vsp1_sru_write(sru, dlb, VI6_SRU_CTRL1, VI6_SRU_CTRL1_PARAM5); sru 301 drivers/media/platform/vsp1/vsp1_sru.c vsp1_sru_write(sru, dlb, VI6_SRU_CTRL2, param->ctrl2); sru 307 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru = to_sru(&entity->subdev); sru 311 drivers/media/platform/vsp1/vsp1_sru.c input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, sru 313 drivers/media/platform/vsp1/vsp1_sru.c output = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, sru 333 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru = to_sru(&entity->subdev); sru 337 drivers/media/platform/vsp1/vsp1_sru.c input = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, sru 339 drivers/media/platform/vsp1/vsp1_sru.c output = vsp1_entity_get_pad_format(&sru->entity, sru->entity.config, sru 348 drivers/media/platform/vsp1/vsp1_sru.c partition->sru = *window; sru 363 drivers/media/platform/vsp1/vsp1_sru.c struct vsp1_sru *sru; sru 366 drivers/media/platform/vsp1/vsp1_sru.c sru = devm_kzalloc(vsp1->dev, sizeof(*sru), GFP_KERNEL); sru 367 drivers/media/platform/vsp1/vsp1_sru.c if (sru == NULL) sru 370 drivers/media/platform/vsp1/vsp1_sru.c sru->entity.ops = &sru_entity_ops; sru 371 drivers/media/platform/vsp1/vsp1_sru.c sru->entity.type = VSP1_ENTITY_SRU; sru 373 drivers/media/platform/vsp1/vsp1_sru.c ret = vsp1_entity_init(vsp1, &sru->entity, "sru", 2, &sru_ops, sru 379 drivers/media/platform/vsp1/vsp1_sru.c v4l2_ctrl_handler_init(&sru->ctrls, 1); sru 380 drivers/media/platform/vsp1/vsp1_sru.c v4l2_ctrl_new_custom(&sru->ctrls, &sru_intensity_control, NULL); sru 382 drivers/media/platform/vsp1/vsp1_sru.c sru->intensity = 1; sru 384 drivers/media/platform/vsp1/vsp1_sru.c sru->entity.subdev.ctrl_handler = &sru->ctrls; sru 386 drivers/media/platform/vsp1/vsp1_sru.c if (sru->ctrls.error) { sru 388 drivers/media/platform/vsp1/vsp1_sru.c ret = sru->ctrls.error; sru 389 drivers/media/platform/vsp1/vsp1_sru.c vsp1_entity_destroy(&sru->entity); sru 393 drivers/media/platform/vsp1/vsp1_sru.c return sru;