Lines Matching refs:xvip

89 	struct xvip_device xvip;  member
112 return container_of(subdev, struct xtpg_device, xvip.subdev); in to_tpg()
176 xvip_stop(&xtpg->xvip); in xtpg_s_stream()
185 xvip_set_frame_size(&xtpg->xvip, &xtpg->formats[0]); in xtpg_s_stream()
218 xvip_clr_and_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_stream()
238 xvip_write(&xtpg->xvip, XTPG_BAYER_PHASE, bayer_phase); in xtpg_s_stream()
243 xvip_start(&xtpg->xvip); in xtpg_s_stream()
259 return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad); in __xtpg_get_pad_format()
377 xvip_clr_and_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
381 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
385 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
389 xvip_clr_and_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
395 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
399 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
403 xvip_clr_or_set(&xtpg->xvip, XTPG_PATTERN_CONTROL, in xtpg_s_ctrl()
407 xvip_write(&xtpg->xvip, XTPG_MOTION_SPEED, ctrl->val); in xtpg_s_ctrl()
410 xvip_clr_and_set(&xtpg->xvip, XTPG_CROSS_HAIRS, in xtpg_s_ctrl()
415 xvip_clr_and_set(&xtpg->xvip, XTPG_CROSS_HAIRS, in xtpg_s_ctrl()
420 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_HOR_CONTROL, in xtpg_s_ctrl()
425 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_HOR_CONTROL, in xtpg_s_ctrl()
430 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_VER_CONTROL, in xtpg_s_ctrl()
435 xvip_clr_and_set(&xtpg->xvip, XTPG_ZPLATE_VER_CONTROL, in xtpg_s_ctrl()
440 xvip_write(&xtpg->xvip, XTPG_BOX_SIZE, ctrl->val); in xtpg_s_ctrl()
443 xvip_write(&xtpg->xvip, XTPG_BOX_COLOR, ctrl->val); in xtpg_s_ctrl()
446 xvip_write(&xtpg->xvip, XTPG_STUCK_PIXEL_THRESH, ctrl->val); in xtpg_s_ctrl()
449 xvip_write(&xtpg->xvip, XTPG_NOISE_GAIN, ctrl->val); in xtpg_s_ctrl()
690 xvip_suspend(&xtpg->xvip); in xtpg_pm_suspend()
699 xvip_resume(&xtpg->xvip); in xtpg_pm_resume()
710 struct device *dev = xtpg->xvip.dev; in xtpg_parse_of()
711 struct device_node *node = xtpg->xvip.dev->of_node; in xtpg_parse_of()
778 xtpg->xvip.dev = &pdev->dev; in xtpg_probe()
784 ret = xvip_init_resources(&xtpg->xvip); in xtpg_probe()
802 xvip_reset(&xtpg->xvip); in xtpg_probe()
818 xvip_get_frame_size(&xtpg->xvip, &xtpg->default_format); in xtpg_probe()
829 subdev = &xtpg->xvip.subdev; in xtpg_probe()
875 xvip_print_version(&xtpg->xvip); in xtpg_probe()
890 xvip_cleanup_resources(&xtpg->xvip); in xtpg_probe()
897 struct v4l2_subdev *subdev = &xtpg->xvip.subdev; in xtpg_remove()
903 xvip_cleanup_resources(&xtpg->xvip); in xtpg_remove()