/third_party/libuv/test/ |
H A D | test-ipc-heavy-traffic-deadlock-bug.c | 134 uv_pipe_t pipe; in TEST_IMPL() local 137 spawn_helper(&pipe, &process, "ipc_helper_heavy_traffic_deadlock_bug"); in TEST_IMPL() 138 do_writes_and_reads((uv_stream_t*) &pipe); in TEST_IMPL() 140 MAKE_VALGRIND_HAPPY(pipe.loop); in TEST_IMPL() 145 uv_pipe_t pipe; in ipc_helper_heavy_traffic_deadlock_bug() local 148 r = uv_pipe_init(uv_default_loop(), &pipe, 1); in ipc_helper_heavy_traffic_deadlock_bug() 150 r = uv_pipe_open(&pipe, 0); in ipc_helper_heavy_traffic_deadlock_bug() 154 do_writes_and_reads((uv_stream_t*) &pipe); in ipc_helper_heavy_traffic_deadlock_bug()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_state.h | 4 #include "pipe/p_state.h" 22 struct pipe_blend_state pipe; member 28 struct pipe_rasterizer_state pipe; member 34 struct pipe_depth_stencil_alpha_state pipe; member 40 struct pipe_sampler_state pipe; member 52 struct pipe_sampler_view pipe; member 81 struct pipe_shader_state pipe; member 110 struct pipe_shader_state pipe; member 137 struct pipe_vertex_element pipe[PIPE_MAX_ATTRIBS]; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_resource.c | 2 #include "pipe/p_context.h" 44 nv50_surface_from_buffer(struct pipe_context *pipe, in nv50_surface_from_buffer() argument 72 sf->base.context = pipe; in nv50_surface_from_buffer() 77 nv50_surface_create(struct pipe_context *pipe, in nv50_surface_create() argument 82 return nv50_surface_from_buffer(pipe, pres, templ); in nv50_surface_create() 83 return nv50_miptree_surface_new(pipe, pres, templ); in nv50_surface_create() 87 nv50_surface_destroy(struct pipe_context *pipe, struct pipe_surface *ps) in nv50_surface_destroy() argument 97 nv50_invalidate_resource(struct pipe_context *pipe, struct pipe_resource *res) in nv50_invalidate_resource() argument 100 nouveau_buffer_invalidate(pipe, res); in nv50_invalidate_resource()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.c | 33 #include "pipe/p_screen.h" 34 #include "pipe/p_context.h" 35 #include "pipe/p_state.h" 36 #include "pipe/p_shader_tokens.h" 43 pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe, in pp_init_prog() argument 49 if (!pipe) in pp_init_prog() 56 p->screen = pipe->screen; in pp_init_prog() 57 p->pipe = pipe; in pp_init_prog() 81 p->vbuf = pipe_buffer_create(pipe in pp_init_prog() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_cursor.c | 156 /* final plane coordinates will be relative to the plane's pipe */ in intel_check_cursor() 304 enum pipe *pipe) in i845_cursor_get_hw_state() 318 *pipe = PIPE_A; in i845_cursor_get_hw_state() 349 cntl |= MCURSOR_PIPE_SEL(crtc->pipe); in i9xx_cursor_ctl_crtc() 433 enum pipe pipe = plane->pipe; in i9xx_check_cursor() local 466 * There's something wrong with the cursor on CHV pipe C. in i9xx_check_cursor() 469 * results in a pipe underru in i9xx_check_cursor() 303 i845_cursor_get_hw_state(struct intel_plane *plane, enum pipe *pipe) i845_cursor_get_hw_state() argument 493 enum pipe pipe = plane->pipe; i9xx_cursor_update_arm() local 564 i9xx_cursor_get_hw_state(struct intel_plane *plane, enum pipe *pipe) i9xx_cursor_get_hw_state() argument 760 intel_cursor_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe) intel_cursor_plane_create() argument [all...] |
H A D | intel_dmc.h | 13 enum pipe; 18 void intel_dmc_enable_pipe(struct drm_i915_private *i915, enum pipe pipe); 19 void intel_dmc_disable_pipe(struct drm_i915_private *i915, enum pipe pipe);
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
H A D | output.c | 52 struct pipe_context *pipe; in vlVdpOutputSurfaceCreate() local 66 pipe = dev->context; in vlVdpOutputSurfaceCreate() 67 if (!pipe) in vlVdpOutputSurfaceCreate() 98 if (!CheckSurfaceParams(pipe->screen, &res_tmpl)) in vlVdpOutputSurfaceCreate() 101 res = pipe->screen->resource_create(pipe->screen, &res_tmpl); in vlVdpOutputSurfaceCreate() 106 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate() 112 vlsurface->surface = pipe->create_surface(pipe, re in vlVdpOutputSurfaceCreate() 148 struct pipe_context *pipe; vlVdpOutputSurfaceDestroy() local 203 struct pipe_context *pipe; vlVdpOutputSurfaceGetBitsNative() local 251 struct pipe_context *pipe; vlVdpOutputSurfacePutBitsNative() local 444 struct pipe_context *pipe; vlVdpOutputSurfacePutBitsYCbCr() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_ioctl.c | 857 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); in atomisp_g_fmt_file() local 860 f->fmt.pix = pipe->pix; in atomisp_g_fmt_file() 1120 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); in __atomisp_reqbufs() local 1121 struct atomisp_sub_device *asd = pipe->asd; in __atomisp_reqbufs() 1130 dev_err(pipe->isp->dev, "%s(): asd is NULL, device is %s\n", in __atomisp_reqbufs() 1137 mutex_lock(&pipe->capq.vb_lock); in __atomisp_reqbufs() 1138 if (!list_empty(&pipe->capq.stream)) in __atomisp_reqbufs() 1139 videobuf_queue_cancel(&pipe->capq); in __atomisp_reqbufs() 1141 atomisp_videobuf_free_queue(&pipe->capq); in __atomisp_reqbufs() 1142 mutex_unlock(&pipe in __atomisp_reqbufs() 1212 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_reqbufs_file() local 1229 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_querybuf() local 1238 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_querybuf_file() local 1253 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_qbuf() local 1439 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_qbuf_file() local 1476 __get_frame_exp_id(struct atomisp_video_pipe *pipe, struct v4l2_buffer *buf) __get_frame_exp_id() argument 1499 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_dqbuf() local 1692 __wdt_on_master_slave_sensor_pipe(struct atomisp_video_pipe *pipe, unsigned int wdt_duration, bool enable) __wdt_on_master_slave_sensor_pipe() argument 1751 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_streamon() local 2016 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); __atomisp_streamoff() local [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_clear.c | 42 i915_clear_emit(struct pipe_context *pipe, unsigned buffers, in i915_clear_emit() argument 47 struct i915_context *i915 = i915_context(pipe); in i915_clear_emit() 220 i915_clear_blitter(struct pipe_context *pipe, unsigned buffers, in i915_clear_blitter() argument 226 &i915_context(pipe)->framebuffer; in i915_clear_blitter() 234 pipe->clear_render_target(pipe, ps, color, 0, 0, ps->width, in i915_clear_blitter() 242 pipe->clear_depth_stencil(pipe, ps, buffers & PIPE_CLEAR_DEPTHSTENCIL, in i915_clear_blitter() 249 i915_clear_render(struct pipe_context *pipe, unsigned buffers, in i915_clear_render() argument 254 struct i915_context *i915 = i915_context(pipe); in i915_clear_render() [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_swtnl_draw.c | 29 #include "pipe/p_state.h" 74 map = pipe_buffer_map(&svga->pipe, in svga_swtnl_draw_vbo() 91 map = pipe_buffer_map(&svga->pipe, info->index.resource, in svga_swtnl_draw_vbo() 106 map = pipe_buffer_map(&svga->pipe, in svga_swtnl_draw_vbo() 131 pipe_buffer_unmap(&svga->pipe, vb_transfer[i]); in svga_swtnl_draw_vbo() 137 pipe_buffer_unmap(&svga->pipe, ib_transfer); in svga_swtnl_draw_vbo() 143 pipe_buffer_unmap(&svga->pipe, cb_transfer[i]); in svga_swtnl_draw_vbo() 159 struct svga_screen *screen = svga_screen(svga->pipe.screen); in svga_init_swtnl() 168 svga->swtnl.draw = draw_create(&svga->pipe); in svga_init_swtnl() 178 svga->blitter = util_blitter_create(&svga->pipe); in svga_init_swtnl() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | mdfld_output.h | 58 void (*drv_ic_init)(struct mdfld_dsi_config *dsi_config, int pipe); 66 int mdfld_get_panel_type(struct drm_device *dev, int pipe); 73 extern void mdfld_disable_crtc(struct drm_device *dev, int pipe); 74 extern void mdfldWaitForPipeEnable(struct drm_device *dev, int pipe); 75 extern void mdfldWaitForPipeDisable(struct drm_device *dev, int pipe);
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_drm.h | 22 * @pipe: the VSP1 pipeline used for display 33 struct vsp1_pipeline pipe; member 51 * @pipe: the VSP1 DRM pipeline used for display 57 struct vsp1_drm_pipeline pipe[VSP1_MAX_LIF]; member 68 to_vsp1_drm_pipeline(struct vsp1_pipeline *pipe) in to_vsp1_drm_pipeline() argument 70 return container_of(pipe, struct vsp1_drm_pipeline, pipe); in to_vsp1_drm_pipeline()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_util.c | 23 const struct ia_css_pipe *const pipe) in ia_css_pipe_util_pipe_input_format_bpp() 25 assert(pipe); in ia_css_pipe_util_pipe_input_format_bpp() 26 assert(pipe->stream); in ia_css_pipe_util_pipe_input_format_bpp() 28 return ia_css_util_input_format_bpp(pipe->stream->config.input_config.format, in ia_css_pipe_util_pipe_input_format_bpp() 29 pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_util_pipe_input_format_bpp() 22 ia_css_pipe_util_pipe_input_format_bpp( const struct ia_css_pipe *const pipe) ia_css_pipe_util_pipe_input_format_bpp() argument
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/qplane/qplane_2/ |
H A D | ia_css_qplane.host.c | 28 .pipe = (struct sh_css_sp_pipeline *)NULL, 46 to->inout_port_config = from->pipe->inout_port_config; in ia_css_qplane_config() 52 const struct sh_css_sp_pipeline *pipe, in ia_css_qplane_configure() 58 config.pipe = pipe; in ia_css_qplane_configure() 51 ia_css_qplane_configure( const struct sh_css_sp_pipeline *pipe, const struct ia_css_binary *binary, const struct ia_css_frame_info *info) ia_css_qplane_configure() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/qplane/qplane_2/ |
H A D | ia_css_qplane.host.c | 28 .pipe = (struct sh_css_sp_pipeline *)NULL, 48 to->inout_port_config = from->pipe->inout_port_config; in ia_css_qplane_config() 54 int ia_css_qplane_configure(const struct sh_css_sp_pipeline *pipe, in ia_css_qplane_configure() argument 60 config.pipe = pipe; in ia_css_qplane_configure()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_util.c | 23 const struct ia_css_pipe *const pipe) in ia_css_pipe_util_pipe_input_format_bpp() 25 assert(pipe); in ia_css_pipe_util_pipe_input_format_bpp() 26 assert(pipe->stream); in ia_css_pipe_util_pipe_input_format_bpp() 28 return ia_css_util_input_format_bpp(pipe->stream->config.input_config.format, in ia_css_pipe_util_pipe_input_format_bpp() 29 pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_util_pipe_input_format_bpp() 22 ia_css_pipe_util_pipe_input_format_bpp( const struct ia_css_pipe *const pipe) ia_css_pipe_util_pipe_input_format_bpp() argument
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drm.h | 22 * @pipe: the VSP1 pipeline used for display 33 struct vsp1_pipeline pipe; member 51 * @pipe: the VSP1 DRM pipeline used for display 57 struct vsp1_drm_pipeline pipe[VSP1_MAX_LIF]; member 68 to_vsp1_drm_pipeline(struct vsp1_pipeline *pipe) in to_vsp1_drm_pipeline() argument 70 return container_of(pipe, struct vsp1_drm_pipeline, pipe); in to_vsp1_drm_pipeline()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_flush.h | 31 #include "pipe/p_compiler.h" 39 softpipe_flush(struct pipe_context *pipe, 44 softpipe_flush_wrapped(struct pipe_context *pipe, 49 softpipe_flush_resource(struct pipe_context *pipe, 58 void softpipe_texture_barrier(struct pipe_context *pipe, unsigned flags); 59 void softpipe_memory_barrier(struct pipe_context *pipe, unsigned flags);
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | xm_st.c | 69 struct pipe_context *pctx = stctx ? stctx->pipe : NULL; in xmesa_st_framebuffer_display() 100 struct pipe_context *pipe; in xmesa_st_framebuffer_copy_textures() local 105 pipe = xmesa_get_context(stfbi); in xmesa_st_framebuffer_copy_textures() 110 pipe->resource_copy_region(pipe, dst_ptex, 0, x, y, 0, in xmesa_st_framebuffer_copy_textures() 413 struct pipe_context *pipe; in xmesa_get_context() local 416 pipe = xstfb->display->pipe; in xmesa_get_context() 417 if (!pipe) { in xmesa_get_context() 418 pipe in xmesa_get_context() [all...] |
/kernel/linux/linux-5.10/sound/pci/echoaudio/ |
H A D | echoaudio.c | 98 struct audiopipe *pipe = runtime->private_data; in audiopipe_free() local 100 if (pipe->sgpage.area) in audiopipe_free() 101 snd_dma_free_pages(&pipe->sgpage); in audiopipe_free() 102 kfree(pipe); in audiopipe_free() 271 struct audiopipe *pipe; in pcm_open() local 280 pipe = kzalloc(sizeof(struct audiopipe), GFP_KERNEL); in pcm_open() 281 if (!pipe) in pcm_open() 283 pipe->index = -1; /* Not configured yet */ in pcm_open() 286 memcpy(&pipe->hw, &pcm_hardware_skel, sizeof(struct snd_pcm_hardware)); in pcm_open() 288 pipe in pcm_open() 529 struct audiopipe *pipe; init_engine() local 659 struct audiopipe *pipe; pcm_hw_free() local 739 struct audiopipe *pipe; pcm_trigger() local 810 struct audiopipe *pipe = runtime->private_data; pcm_pointer() local 1805 struct audiopipe *pipe = runtime->private_data; period_has_elapsed() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hwseq.c | 229 struct pipe_ctx *pipe = &ctx->res_ctx.pipe_ctx[i]; in dcn32_calculate_cab_allocation() local 231 if (!pipe->stream || !pipe->plane_state) in dcn32_calculate_cab_allocation() 234 mall_ss_size_bytes += dcn32_helper_calculate_mall_bytes_for_cursor(dc, pipe, false); in dcn32_calculate_cab_allocation() 334 /* Send DMCUB message with SubVP pipe info 335 * - For each pipe in context, populate payload with required SubVP information 336 * if the pipe is using SubVP for MCLK switch 352 // There is at least 1 SubVP pipe, so enable SubVP in dcn32_commit_subvp_config() 361 * 1. Any full update for any SubVP main pipe 362 * 2. Any immediate flip for any SubVP pipe 376 struct pipe_ctx *pipe; dcn32_subvp_pipe_control_lock() local 607 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_update_force_pstate() local 628 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_update_force_pstate() local 659 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_update_mall_sel() local 719 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_program_mall_pipe_config() local 1201 struct pipe_ctx *pipe = NULL; dcn32_resync_fifo_dccg_dio() local 1358 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_update_phantom_vp_position() local 1465 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_enable_phantom_streams() local [all...] |
/kernel/linux/linux-6.6/sound/pci/echoaudio/ |
H A D | echoaudio.c | 97 struct audiopipe *pipe = runtime->private_data; in audiopipe_free() local 99 if (pipe->sgpage.area) in audiopipe_free() 100 snd_dma_free_pages(&pipe->sgpage); in audiopipe_free() 101 kfree(pipe); in audiopipe_free() 270 struct audiopipe *pipe; in pcm_open() local 279 pipe = kzalloc(sizeof(struct audiopipe), GFP_KERNEL); in pcm_open() 280 if (!pipe) in pcm_open() 282 pipe->index = -1; /* Not configured yet */ in pcm_open() 285 memcpy(&pipe->hw, &pcm_hardware_skel, sizeof(struct snd_pcm_hardware)); in pcm_open() 287 pipe in pcm_open() 542 struct audiopipe *pipe; init_engine() local 672 struct audiopipe *pipe; pcm_hw_free() local 752 struct audiopipe *pipe; pcm_trigger() local 823 struct audiopipe *pipe = runtime->private_data; pcm_pointer() local 1823 struct audiopipe *pipe = runtime->private_data; period_has_elapsed() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_pipe.c | 34 * since we cannot immediately re-use a pipe that is in mdp5_pipe_assign() 37 * (2) hw pipe previously assigned to different CRTC in mdp5_pipe_assign() 49 * don't assign a cursor pipe to a plane that isn't going to in mdp5_pipe_assign() 74 if (cur->pipe > r_cur->pipe) in mdp5_pipe_assign() 102 (*hwpipe)->pipe, blkcfg); in mdp5_pipe_assign() 146 mdp5_smp_release(mdp5_kms->smp, &state->smp, hwpipe->pipe); in mdp5_pipe_release() 159 struct mdp5_hw_pipe *mdp5_pipe_init(enum mdp5_pipe pipe, in mdp5_pipe_init() argument 168 hwpipe->name = pipe2name(pipe); in mdp5_pipe_init() 169 hwpipe->pipe in mdp5_pipe_init() [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mipi_dbi.h | 84 * @pipe: Display pipe structure 86 struct drm_simple_display_pipe pipe; member 164 enum drm_mode_status mipi_dbi_pipe_mode_valid(struct drm_simple_display_pipe *pipe, 166 void mipi_dbi_pipe_update(struct drm_simple_display_pipe *pipe, 171 void mipi_dbi_pipe_disable(struct drm_simple_display_pipe *pipe); 172 int mipi_dbi_pipe_begin_fb_access(struct drm_simple_display_pipe *pipe, 174 void mipi_dbi_pipe_end_fb_access(struct drm_simple_display_pipe *pipe, 176 void mipi_dbi_pipe_reset_plane(struct drm_simple_display_pipe *pipe); 177 struct drm_plane_state *mipi_dbi_pipe_duplicate_plane_state(struct drm_simple_display_pipe *pipe); [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_pipe.c | 34 * since we cannot immediately re-use a pipe that is in mdp5_pipe_assign() 37 * (2) hw pipe previously assigned to different CRTC in mdp5_pipe_assign() 49 * don't assign a cursor pipe to a plane that isn't going to in mdp5_pipe_assign() 74 if (cur->pipe > r_cur->pipe) in mdp5_pipe_assign() 102 (*hwpipe)->pipe, blkcfg); in mdp5_pipe_assign() 146 mdp5_smp_release(mdp5_kms->smp, &state->smp, hwpipe->pipe); in mdp5_pipe_release() 159 struct mdp5_hw_pipe *mdp5_pipe_init(enum mdp5_pipe pipe, in mdp5_pipe_init() argument 168 hwpipe->name = pipe2name(pipe); in mdp5_pipe_init() 169 hwpipe->pipe in mdp5_pipe_init() [all...] |