Lines Matching refs:xvip
92 struct xvip_device xvip; member
115 return container_of(subdev, struct xtpg_device, xvip.subdev); in to_tpg()
179 xvip_stop(&xtpg->xvip); in xtpg_s_stream()
188 xvip_set_frame_size(&xtpg->xvip, &xtpg->formats[0]); in xtpg_s_stream()
221 xvip_clr_and_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_stream()
241 xvip_write(&xtpg->xvip, XTPG_BAYER_PHASE, bayer_phase); in xtpg_s_stream()
246 xvip_start(&xtpg->xvip); in xtpg_s_stream()
262 return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad); in __xtpg_get_pad_format()
380 xvip_clr_and_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
384 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
388 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
392 xvip_clr_and_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
398 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
402 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
406 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
410 xvip_write(&xtpg->xvip, XTPG_MOTION_SPEED, ctrl->val); in xtpg_s_ctrl()
413 xvip_clr_and_set(&xtpg->xvip, XTPG_CROSS_HAIRS, in xtpg_s_ctrl()
418 xvip_clr_and_set(&xtpg->xvip, XTPG_CROSS_HAIRS, in xtpg_s_ctrl()
423 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_HOR_CONTROL, in xtpg_s_ctrl()
428 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_HOR_CONTROL, in xtpg_s_ctrl()
433 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_VER_CONTROL, in xtpg_s_ctrl()
438 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_VER_CONTROL, in xtpg_s_ctrl()
443 xvip_write(&xtpg->xvip, XTPG_BOX_SIZE, ctrl->val); in xtpg_s_ctrl()
446 xvip_write(&xtpg->xvip, XTPG_BOX_COLOR, ctrl->val); in xtpg_s_ctrl()
449 xvip_write(&xtpg->xvip, XTPG_STUCK_PIXEL_THRESH, ctrl->val); in xtpg_s_ctrl()
452 xvip_write(&xtpg->xvip, XTPG_NOISE_GAIN, ctrl->val); in xtpg_s_ctrl()
693 xvip_suspend(&xtpg->xvip); in xtpg_pm_suspend()
702 xvip_resume(&xtpg->xvip); in xtpg_pm_resume()
713 struct device *dev = xtpg->xvip.dev; in xtpg_parse_of()
714 struct device_node *node = xtpg->xvip.dev->of_node; in xtpg_parse_of()
781 xtpg->xvip.dev = &pdev->dev; in xtpg_probe()
787 ret = xvip_init_resources(&xtpg->xvip); in xtpg_probe()
805 xvip_reset(&xtpg->xvip); in xtpg_probe()
821 xvip_get_frame_size(&xtpg->xvip, &xtpg->default_format); in xtpg_probe()
832 subdev = &xtpg->xvip.subdev; in xtpg_probe()
878 xvip_print_version(&xtpg->xvip); in xtpg_probe()
893 xvip_cleanup_resources(&xtpg->xvip); in xtpg_probe()
900 struct v4l2_subdev *subdev = &xtpg->xvip.subdev; in xtpg_remove()
906 xvip_cleanup_resources(&xtpg->xvip); in xtpg_remove()