Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 139) sorted by relevance

123456

/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/
Ddma_writer.c65 dma_error dma_writer_update_state( dma_pipe *pipe ) in dma_writer_update_state() argument
68 if ( pipe != NULL ) { in dma_writer_update_state()
69 … LOG( LOG_DEBUG, "state update %dx%d\n", (int)pipe->settings.width, (int)pipe->settings.height ); in dma_writer_update_state()
70 if ( pipe->settings.width == 0 || pipe->settings.height == 0 ) { in dma_writer_update_state()
72 pipe->settings.enabled = 0; in dma_writer_update_state()
73pipe->api.p_acamera_isp_dma_writer_frame_write_on_write( pipe->settings.isp_base, pipe->settings.e… in dma_writer_update_state()
74pipe->api.p_acamera_isp_dma_writer_frame_write_on_write_uv( pipe->settings.isp_base, pipe->setting… in dma_writer_update_state()
80 pipe->api.p_acamera_isp_dma_writer_max_bank_write( pipe->settings.isp_base, 0 ); in dma_writer_update_state()
81pipe->api.p_acamera_isp_dma_writer_active_width_write( pipe->settings.isp_base, pipe->settings.wid… in dma_writer_update_state()
82pipe->api.p_acamera_isp_dma_writer_active_height_write( pipe->settings.isp_base, pipe->settings.he… in dma_writer_update_state()
[all …]
Ddma_writer.h48 dma_pipe pipe[dma_max]; member
63 dma_error dma_writer_update_state( dma_pipe *pipe );
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_vblank.c156 static bool drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, ktime_t *tvblank, …
168 static void store_vblank(struct drm_device *dev, unsigned int pipe, u32 vblank_count_inc, ktime_t t… in store_vblank() argument
170 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in store_vblank()
182 static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_max_vblank_count() argument
184 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in drm_max_vblank_count()
193 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() argument
195 drm_WARN_ON_ONCE(dev, drm_max_vblank_count(dev, pipe) != 0); in drm_vblank_no_hw_counter()
199 static u32 _get_vblank_counter(struct drm_device *dev, unsigned int pipe) in _get_vblank_counter() argument
202 struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); in _get_vblank_counter()
212 return dev->driver->get_vblank_counter(dev, pipe); in _get_vblank_counter()
[all …]
Ddrm_internal.h106 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe);
107 int drm_vblank_get(struct drm_device *dev, unsigned int pipe);
108 void drm_vblank_put(struct drm_device *dev, unsigned int pipe);
109 u64 drm_vblank_count(struct drm_device *dev, unsigned int pipe);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dusb_ops_linux.h48 #define rtw_usb_control_msg(dev, pipe, request, requesttype, value, index, data, size, timeout_ms) \ argument
49 …usb_control_msg((dev), (pipe), (request), (requesttype), (value), (index), (data), (size), (timeou…
50 #define rtw_usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout_ms) \ argument
51 usb_bulk_msg((usb_dev), (pipe), (data), (len), (actual_length), (timeout_ms))
53 #define rtw_usb_control_msg(dev, pipe, request, requesttype, value, index, data, size, timeout_ms) \ argument
54 usb_control_msg((dev), (pipe), (request), (requesttype), (value), (index), (data), (size), \
56 #define rtw_usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout_ms) \ argument
57 usb_bulk_msg((usb_dev), (pipe), (data), (len), (actual_length), \
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c233 int pipe = drm_crtc_index(crtc); in rockchip_drm_te_handle() local
234 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->te_handler) { in rockchip_drm_te_handle()
235 priv->crtc_funcs[pipe]->te_handler(crtc); in rockchip_drm_te_handle()
913 int pipe = drm_crtc_index(crtc); in rockchip_register_crtc_funcs() local
916 if (pipe >= ROCKCHIP_MAX_CRTC) { in rockchip_register_crtc_funcs()
920 priv->crtc_funcs[pipe] = crtc_funcs; in rockchip_register_crtc_funcs()
927 int pipe = drm_crtc_index(crtc); in rockchip_unregister_crtc_funcs() local
930 if (pipe >= ROCKCHIP_MAX_CRTC) { in rockchip_unregister_crtc_funcs()
934 priv->crtc_funcs[pipe] = NULL; in rockchip_unregister_crtc_funcs()
947 int pipe = drm_crtc_index(crtc); in rockchip_drm_fault_handler() local
[all …]
Drockchip_drm_logo.c613 int pipe = drm_crtc_index(crtc); in setup_initial_state() local
708 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) { in setup_initial_state()
709 priv->crtc_funcs[pipe]->loader_protect(crtc, true); in setup_initial_state()
761 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) { in setup_initial_state()
762 priv->crtc_funcs[pipe]->loader_protect(crtc, false); in setup_initial_state()
936 int pipe = drm_crtc_index(crtc); in rockchip_drm_show_logo() local
940 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) { in rockchip_drm_show_logo()
941 priv->crtc_funcs[pipe]->loader_protect(crtc, true); in rockchip_drm_show_logo()
943 priv->crtc_funcs[pipe]->crtc_close(crtc); in rockchip_drm_show_logo()
944 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) { in rockchip_drm_show_logo()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v33x/de330/
Dde_bld.c74 s32 de_bld_set_pipe_fcolor(u32 disp, u32 pipe, u32 color) in de_bld_set_pipe_fcolor() argument
79 reg->pipe.en.bits.pipe0_fcolor_en = 1; in de_bld_set_pipe_fcolor()
80 reg->pipe.attr[0].fcolor.dwval = color; in de_bld_set_pipe_fcolor()
148 reg->pipe.en.dwval = dwval; in de_bld_set_pipe_ctl()
165 s32 de_bld_set_pipe_attr(u32 disp, u32 chn, u32 pipe) in de_bld_set_pipe_attr() argument
177 reg->pipe.attr[pipe].in_size.dwval = dwval; in de_bld_set_pipe_attr()
181 reg->pipe.attr[pipe].in_coord.dwval = dwval; in de_bld_set_pipe_attr()
244 reg->pipe.en.dwval = 0; in de_bld_disable()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-video/
Dvin_video.c61 ret = vin_pipeline_call(cap->vinc, set_stream, &cap->pipe, cap->vinc->stream_idx); in __vin_s_stream_handle()
68 v4l2_subdev_call(cap->pipe.sd[VIN_IND_SENSOR], core, ioctl, in __vin_s_stream_handle()
595 ret = v4l2_subdev_call(vinc->vid_cap.pipe.sd[VIN_IND_SENSOR], pad, in vidioc_enum_framesizes()
633 struct v4l2_subdev *sd = vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]; in vin_pipeline_try_format()
706 if (sd != vinc->vid_cap.pipe.sd[sd_ind]) in vin_pipeline_try_format()
723 sensor_isp_input(vinc->vid_cap.pipe.sd[VIN_IND_SENSOR], &sfmt.format); in vin_pipeline_try_format()
757 struct vin_pipeline *pipe = &vinc->vid_cap.pipe; in vin_pipeline_set_mbus_config() local
758 struct v4l2_subdev *sd = pipe->sd[VIN_IND_SENSOR]; in vin_pipeline_set_mbus_config()
778 if ((sd == pipe->sd[VIN_IND_MIPI]) || in vin_pipeline_set_mbus_config()
779 (sd == pipe->sd[VIN_IND_CSI])) { in vin_pipeline_set_mbus_config()
[all …]
Dvin_core.c704 vinc->id, vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]->name, in vin_status_dump()
708 vinc->id, vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]->name, in vin_status_dump()
713 vinc->id, vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]->name, in vin_status_dump()
720 vinc->id, vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]->name, in vin_status_dump()
724 vinc->id, vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]->name, in vin_status_dump()
729 vinc->id, vinc->vid_cap.pipe.sd[VIN_IND_SENSOR]->name, in vin_status_dump()
1008 sunxi_isp_reset(v4l2_get_subdevdata(cap->pipe.sd[VIN_IND_ISP])); in vin_isr()
1278 if (!cap->pipe.sd[VIN_IND_SENSOR]->entity.use_count) { in vin_core_suspend()
1279 vin_err("%s is not used, cannot be suspend!\n", cap->pipe.sd[VIN_IND_SENSOR]->name); in vin_core_suspend()
1284 if (cap->pipe.sd[VIN_IND_ISP] != NULL) { in vin_core_suspend()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dbridge.c255 ret = dev->ispdev->pipe.open(&dev->ispdev->pipe, &sd->entity, true); in bridge_start_stream()
266 ret = dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, true); in bridge_start_stream()
271 ret = media_pipeline_start(&sd->entity, &dev->ispdev->pipe.pipe); in bridge_start_stream()
278 dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, false); in bridge_start_stream()
282 dev->ispdev->pipe.close(&dev->ispdev->pipe); in bridge_start_stream()
302 dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, false); in bridge_stop_stream()
303 dev->ispdev->pipe.close(&dev->ispdev->pipe); in bridge_stop_stream()
Dcapture_v1x.c634 ret = dev->pipe.set_stream(&dev->pipe, false); in rkisp_stop_streaming()
642 ret = dev->pipe.close(&dev->pipe); in rkisp_stop_streaming()
722 ret = dev->pipe.open(&dev->pipe, &node->vdev.entity, true); in rkisp_start_streaming()
736 ret = dev->pipe.set_stream(&dev->pipe, true); in rkisp_start_streaming()
741 ret = media_pipeline_start(&node->vdev.entity, &dev->pipe.pipe); in rkisp_start_streaming()
750 dev->pipe.set_stream(&dev->pipe, false); in rkisp_start_streaming()
754 dev->pipe.close(&dev->pipe); in rkisp_start_streaming()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dbridge.c266 ret = dev->ispdev->pipe.open(&dev->ispdev->pipe, &sd->entity, true); in bridge_start_stream()
275 ret = dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, true); in bridge_start_stream()
279 ret = media_pipeline_start(&sd->entity, &dev->ispdev->pipe.pipe); in bridge_start_stream()
285 dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, false); in bridge_start_stream()
289 dev->ispdev->pipe.close(&dev->ispdev->pipe); in bridge_start_stream()
309 dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, false); in bridge_stop_stream()
310 dev->ispdev->pipe.close(&dev->ispdev->pipe); in bridge_stop_stream()
Dcapture_v1x.c674 ret = dev->pipe.set_stream(&dev->pipe, false); in rkisp_stop_streaming()
682 ret = dev->pipe.close(&dev->pipe); in rkisp_stop_streaming()
767 ret = dev->pipe.open(&dev->pipe, &node->vdev.entity, true); in rkisp_start_streaming()
781 ret = dev->pipe.set_stream(&dev->pipe, true); in rkisp_start_streaming()
785 ret = media_pipeline_start(&node->vdev.entity, &dev->pipe.pipe); in rkisp_start_streaming()
795 dev->pipe.set_stream(&dev->pipe, false); in rkisp_start_streaming()
799 dev->pipe.close(&dev->pipe); in rkisp_start_streaming()
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dbridge.c266 ret = dev->ispdev->pipe.open(&dev->ispdev->pipe, &sd->entity, true); in bridge_start_stream()
275 ret = dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, true); in bridge_start_stream()
279 ret = media_pipeline_start(&sd->entity, &dev->ispdev->pipe.pipe); in bridge_start_stream()
285 dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, false); in bridge_start_stream()
289 dev->ispdev->pipe.close(&dev->ispdev->pipe); in bridge_start_stream()
309 dev->ispdev->pipe.set_stream(&dev->ispdev->pipe, false); in bridge_stop_stream()
310 dev->ispdev->pipe.close(&dev->ispdev->pipe); in bridge_stop_stream()
Dcapture_v1x.c674 ret = dev->pipe.set_stream(&dev->pipe, false); in rkisp_stop_streaming()
682 ret = dev->pipe.close(&dev->pipe); in rkisp_stop_streaming()
767 ret = dev->pipe.open(&dev->pipe, &node->vdev.entity, true); in rkisp_start_streaming()
781 ret = dev->pipe.set_stream(&dev->pipe, true); in rkisp_start_streaming()
785 ret = media_pipeline_start(&node->vdev.entity, &dev->pipe.pipe); in rkisp_start_streaming()
795 dev->pipe.set_stream(&dev->pipe, false); in rkisp_start_streaming()
799 dev->pipe.close(&dev->pipe); in rkisp_start_streaming()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Drockchip_drm_logo.c584 int pipe = drm_crtc_index(crtc); in setup_initial_state() local
676 if (priv->crtc_funcs[pipe] && in setup_initial_state()
677 priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state()
678 priv->crtc_funcs[pipe]->loader_protect(crtc, true); in setup_initial_state()
729 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state()
730 priv->crtc_funcs[pipe]->loader_protect(crtc, false); in setup_initial_state()
892 int pipe = drm_crtc_index(crtc); in rockchip_drm_show_logo() local
897 if (priv->crtc_funcs[pipe] && in rockchip_drm_show_logo()
898 priv->crtc_funcs[pipe]->loader_protect) in rockchip_drm_show_logo()
899 priv->crtc_funcs[pipe]->loader_protect(crtc, true); in rockchip_drm_show_logo()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Drockchip_drm_logo.c635 int pipe = drm_crtc_index(crtc); in setup_initial_state() local
727 if (priv->crtc_funcs[pipe] && in setup_initial_state()
728 priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state()
729 priv->crtc_funcs[pipe]->loader_protect(crtc, true); in setup_initial_state()
780 if (priv->crtc_funcs[pipe] && priv->crtc_funcs[pipe]->loader_protect) in setup_initial_state()
781 priv->crtc_funcs[pipe]->loader_protect(crtc, false); in setup_initial_state()
943 int pipe = drm_crtc_index(crtc); in rockchip_drm_show_logo() local
948 if (priv->crtc_funcs[pipe] && in rockchip_drm_show_logo()
949 priv->crtc_funcs[pipe]->loader_protect) in rockchip_drm_show_logo()
950 priv->crtc_funcs[pipe]->loader_protect(crtc, true); in rockchip_drm_show_logo()
[all …]
/device/soc/allwinner/t507/hardware/display/src/display_device/
Ddrm_plane.h62 void BindToPipe(uint32_t pipe) in BindToPipe() argument
64 mPipe = pipe; in BindToPipe()
/device/soc/nxp/hardware/display/src/display_device/drm/
Ddrm_plane.h65 void BindToPipe(uint32_t pipe) in BindToPipe() argument
67 mPipe = pipe; in BindToPipe()
Ddrm_crtc.cpp26 DrmCrtc::DrmCrtc(drmModeCrtcPtr c, uint32_t pipe) : mId(c->crtc_id), mPipe(pipe) {} in DrmCrtc() argument
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
Ddrm_plane.h62 void BindToPipe(uint32_t pipe) in BindToPipe() argument
64 mPipe = pipe; in BindToPipe()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/sysd/arch/hi3516cv500/include/
Dsys_hal.h47 hi_s32 sys_hal_vi_ppc_chn_clk_en(hi_vi_pipe pipe, hi_bool clk_en);
48 hi_s32 sys_hal_vi_isp_cfg_reset(hi_vi_pipe pipe, hi_bool reset);
49 hi_s32 sys_hal_vi_isp_core_reset(hi_vi_pipe pipe, hi_bool reset);
50 hi_s32 sys_hal_vi_isp_clk_en(hi_vi_pipe pipe, hi_bool clk_en);
66 hi_void sys_hal_set_isp_fe_clk(hi_s32 pipe, hi_u32 clk_sel);
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/
Ddrm_internal.h106 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe);
107 int drm_vblank_get(struct drm_device *dev, unsigned int pipe);
108 void drm_vblank_put(struct drm_device *dev, unsigned int pipe);
109 u64 drm_vblank_count(struct drm_device *dev, unsigned int pipe);
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Ddrm_plane.h73 void BindToPipe(uint32_t pipe) in BindToPipe() argument
75 mPipe = pipe; in BindToPipe()

123456