/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_psr.c | 62 * must be correctly synchronized/cancelled when shutting down the pipe." 665 if (to_intel_crtc(crtc_state->uapi.crtc)->pipe != PIPE_A || in tgl_dc3co_exitline_compute_config() 745 "PSR2 not enabled because it would inhibit pipe CRC calculation\n"); in intel_psr2_config_valid() 765 "PSR2 not enabled, pipe bpp %d > max supported %d\n", in intel_psr2_config_valid() 964 dev_priv->psr.pipe = to_intel_crtc(crtc_state->uapi.crtc)->pipe; in intel_psr_enable_locked() 1013 * This function can only be called after the pipe is fully trained and enabled. 1131 * This function needs to be called before disabling pipe. 1163 * pipe. in psr_force_hw_tracking_exit() 1165 intel_de_write(dev_priv, CURSURFLIVE(dev_priv->psr.pipe), in psr_force_hw_tracking_exit() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_drv.c | 673 unsigned int pipe = crtc->index; in msm_crtc_enable_vblank() local 678 DBG("dev=%p, crtc=%u", dev, pipe); in msm_crtc_enable_vblank() 679 return vblank_ctrl_queue_work(priv, pipe, true); in msm_crtc_enable_vblank() 685 unsigned int pipe = crtc->index; in msm_crtc_disable_vblank() local 690 DBG("dev=%p, crtc=%u", dev, pipe); in msm_crtc_disable_vblank() 691 vblank_ctrl_queue_work(priv, pipe, false); in msm_crtc_disable_vblank() 705 /* for now, we just have 3d pipe.. eventually this would need to in msm_ioctl_get_param() 708 if (args->pipe != MSM_PIPE_3D0) in msm_ioctl_get_param()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_trace.h | 639 __entry->sspp = pstate->pipe.sspp->idx; 640 __entry->multirect_idx = pstate->pipe.multirect_index; 641 __entry->multirect_mode = pstate->pipe.multirect_mode; 742 TP_PROTO(struct dpu_sw_pipe *pipe, struct dpu_hw_fmt_layout *layout), 743 TP_ARGS(pipe, layout), 750 __entry->index = pipe->sspp->idx; 752 __entry->multirect_index = pipe->multirect_index;
|
/kernel/linux/linux-6.6/sound/usb/usx2y/ |
H A D | usbusx2yaudio.c | 108 * prepare urb for playback data pipe 305 subs->endpoint, usb_pipein(urb->pipe) ? "in" : "out", in i_usx2y_urb_complete() 417 unsigned int pipe; in usx2y_urbs_allocate() local 422 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usx2y_urbs_allocate() 424 subs->maxpacksize = usb_maxpacket(dev, pipe); in usx2y_urbs_allocate() 456 (*purb)->pipe = pipe; in usx2y_urbs_allocate() 497 if (usb_pipein(urb->pipe)) { in usx2y_urbs_start() 870 snd_printdd("starting capture pipe for %s\n", subs == capsubs ? "self" : "playpipe"); in snd_usx2y_pcm_prepare()
|
H A D | usb_stream.c | 50 struct usb_device *dev, int pipe) in init_pipe_urbs() 54 use_packsize : usb_maxpacket(dev, pipe); in init_pipe_urbs() 64 urb->pipe = pipe; in init_pipe_urbs() 68 if (usb_pipeout(pipe)) in init_pipe_urbs() 47 init_pipe_urbs(struct usb_stream_kernel *sk, unsigned int use_packsize, struct urb **urbs, char *transfer, struct usb_device *dev, int pipe) init_pipe_urbs() argument
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_constants.c | 30 #include "pipe/p_defines.h" 200 const struct svga_screen *screen = svga_screen(svga->pipe.screen); in svga_get_pt_sprite_constants() 563 pipe_buffer_map(&svga->pipe, svga->curr.constbufs[shader][0].buffer, in emit_consts_vgpu9() 578 pipe_buffer_unmap(&svga->pipe, transfer); in emit_consts_vgpu9() 764 src_map = pipe_buffer_map_range(&svga->pipe, in emit_constbuf() 796 pipe_buffer_unmap(&svga->pipe, src_transfer); in emit_constbuf() 807 pipe_buffer_unmap(&svga->pipe, src_transfer); in emit_constbuf() 845 const struct svga_screen *screen = svga_screen(svga->pipe.screen); in emit_constbuf()
|
H A D | svga_shader.c | 602 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in define_gb_shader_vgpu9() 822 struct svga_winsys_screen *sws = svga_screen(svga->pipe.screen)->sws; in svga_destroy_shader_variant() 916 svga_create_shader(struct pipe_context *pipe, in svga_create_shader() argument 921 struct svga_context *svga = svga_context(pipe); in svga_create_shader() 931 shader->tokens = pipe_shader_state_to_tgsi_tokens(pipe->screen, templ); in svga_create_shader()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_draw.c | 424 lima_blend_func(enum pipe_blend_func pipe) in lima_blend_func() argument 426 switch (pipe) { in lima_blend_func() 442 lima_blend_factor(enum pipe_blendfactor pipe) in lima_blend_factor() argument 447 switch (pipe) { in lima_blend_factor() 536 lima_stencil_op(enum pipe_stencil_op pipe) in lima_stencil_op() argument 538 switch (pipe) { in lima_stencil_op() 828 struct pipe_vertex_element *pve = ve->pipe + i; in lima_update_gp_attribute_info()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | gfx_v11_0.c | 178 PACKET3_MAP_QUEUES_PIPE(ring->pipe) | in gfx11_kiq_map_queues() 828 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) in gfx_v11_0_select_me_pipe_q() 830 soc21_grbm_select(adev, me, pipe, q, vm); in gfx_v11_0_select_me_pipe_q() 902 int me, int pipe, int queue) in gfx_v11_0_gfx_ring_init() 911 ring->pipe = pipe; in gfx_v11_0_gfx_ring_init() 922 sprintf(ring->name, "gfx_%d.%d.%d", ring->me, ring->pipe, ring->queue); in gfx_v11_0_gfx_ring_init() 924 irq_type = AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP + ring->pipe; in gfx_v11_0_gfx_ring_init() 933 int mec, int pipe, int queue) in gfx_v11_0_compute_ring_init() 944 ring->pipe in gfx_v11_0_compute_ring_init() 827 gfx_v11_0_select_me_pipe_q(struct amdgpu_device *adev, u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) gfx_v11_0_select_me_pipe_q() argument 901 gfx_v11_0_gfx_ring_init(struct amdgpu_device *adev, int ring_id, int me, int pipe, int queue) gfx_v11_0_gfx_ring_init() argument 932 gfx_v11_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, int mec, int pipe, int queue) gfx_v11_0_compute_ring_init() argument 1238 int pipe, ucode_id, data_id; gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local 3202 gfx_v11_0_cp_gfx_switch_pipe(struct amdgpu_device *adev, CP_PIPE_ID pipe) gfx_v11_0_cp_gfx_switch_pipe() argument 5715 gfx_v11_0_set_gfx_eop_interrupt_state(struct amdgpu_device *adev, uint32_t me, uint32_t pipe, enum amdgpu_interrupt_state state) gfx_v11_0_set_gfx_eop_interrupt_state() argument 5760 gfx_v11_0_set_compute_eop_interrupt_state(struct amdgpu_device *adev, int me, int pipe, enum amdgpu_interrupt_state state) gfx_v11_0_set_compute_eop_interrupt_state() argument [all...] |
H A D | gfx_v9_4_3.c | 92 PACKET3_MAP_QUEUES_PIPE(ring->pipe) | in gfx_v9_4_3_kiq_map_queues() 616 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) in gfx_v9_4_3_select_me_pipe_q() 618 soc15_grbm_select(adev, me, pipe, q, vm, GET_INST(GC, xcc_id)); in gfx_v9_4_3_select_me_pipe_q() 740 int xcc_id, int mec, int pipe, int queue) in gfx_v9_4_3_compute_ring_init() 753 ring->pipe = pipe; in gfx_v9_4_3_compute_ring_init() 766 ring->xcc_id, ring->me, ring->pipe, ring->queue); in gfx_v9_4_3_compute_ring_init() 770 + ring->pipe; in gfx_v9_4_3_compute_ring_init() 1451 tmp |= (ring->me << 5) | (ring->pipe << 3) | (ring->queue); in gfx_v9_4_3_xcc_kiq_setting() 1775 soc15_grbm_select(adev, ring->me, ring->pipe, rin in gfx_v9_4_3_xcc_kiq_init_queue() 615 gfx_v9_4_3_select_me_pipe_q(struct amdgpu_device *adev, u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) gfx_v9_4_3_select_me_pipe_q() argument 739 gfx_v9_4_3_compute_ring_init(struct amdgpu_device *adev, int ring_id, int xcc_id, int mec, int pipe, int queue) gfx_v9_4_3_compute_ring_init() argument 2704 gfx_v9_4_3_xcc_set_compute_eop_interrupt_state( struct amdgpu_device *adev, int me, int pipe, enum amdgpu_interrupt_state state, int xcc_id) gfx_v9_4_3_xcc_set_compute_eop_interrupt_state() argument 2960 gfx_v9_4_3_emit_wave_limit_cs(struct amdgpu_ring *ring, uint32_t pipe, bool enable) gfx_v9_4_3_emit_wave_limit_cs() argument [all...] |
/third_party/libfuse/lib/ |
H A D | fuse_lowlevel.c | 539 int pipe[2]; member 544 close(llp->pipe[0]); 545 close(llp->pipe[1]); 553 int rv = pipe(fds); 585 res = fuse_pipe(llp->pipe); 620 fuse_log(FUSE_LOG_ERR, "fuse: internal error: failed to read back from pipe: %s\n", strerror(errno)); 624 fuse_log(FUSE_LOG_ERR, "fuse: internal error: short read back from pipe: %i from %zi\n", res, len); 637 maxfd = open("/proc/sys/fs/pipe-max-size", O_RDONLY); 703 * Heuristic for the required pipe size, does not work if the 710 res = fcntl(llp->pipe[ [all...] |
/kernel/linux/linux-5.10/drivers/misc/cardreader/ |
H A D | rtsx_usb.c | 19 MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)"); 41 unsigned int pipe, struct scatterlist *sg, int num_sg, in rtsx_usb_bulk_transfer_sglist() 48 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist() 67 int rtsx_usb_transfer_data(struct rtsx_ucr *ucr, unsigned int pipe, in rtsx_usb_transfer_data() argument 75 return rtsx_usb_bulk_transfer_sglist(ucr, pipe, in rtsx_usb_transfer_data() 79 return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len, in rtsx_usb_transfer_data() 40 rtsx_usb_bulk_transfer_sglist(struct rtsx_ucr *ucr, unsigned int pipe, struct scatterlist *sg, int num_sg, unsigned int length, unsigned int *act_len, int timeout) rtsx_usb_bulk_transfer_sglist() argument
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | yealink.c | 860 int ret, pipe, i; in usb_probe() local 906 /* get a handle to the interrupt data pipe */ in usb_probe() 907 pipe = usb_rcvintpipe(udev, endpoint->bEndpointAddress); in usb_probe() 908 ret = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); in usb_probe() 914 usb_fill_int_urb(yld->urb_irq, udev, pipe, yld->irq_data, in usb_probe()
|
H A D | ati_remote2.c | 630 int i, pipe, maxp; in ati_remote2_urb_init() local 641 pipe = usb_rcvintpipe(udev, ar2->ep[i]->bEndpointAddress); in ati_remote2_urb_init() 642 maxp = usb_maxpacket(udev, pipe, usb_pipeout(pipe)); in ati_remote2_urb_init() 645 usb_fill_int_urb(ar2->urb[i], udev, pipe, ar2->buf[i], maxp, in ati_remote2_urb_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.c | 389 unsigned int pipe = p_state->pipe; in sun4i_backend_update_layer_zpos() local 391 DRM_DEBUG_DRIVER("Setting layer %d's priority to %d and pipe %d\n", in sun4i_backend_update_layer_zpos() 392 layer, priority, pipe); in sun4i_backend_update_layer_zpos() 396 SUN4I_BACKEND_ATTCTL_REG0_LAY_PIPESEL(p_state->pipe) | in sun4i_backend_update_layer_zpos() 556 * pipes. If more that 1 layer is assigned to the same pipe, in sun4i_backend_atomic_check() 557 * and if pixels overlaps, the pipe will take the pixel from in sun4i_backend_atomic_check() 571 * pipe (pipe 0, priority 0), if it has any alpha, will in sun4i_backend_atomic_check() 603 * second pipe in sun4i_backend_atomic_check() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/ |
H A D | tm6000-core.c | 25 unsigned int pipe; in tm6000_read_write_usb() local 38 pipe = usb_rcvctrlpipe(dev->udev, 0); in tm6000_read_write_usb() 40 pipe = usb_sndctrlpipe(dev->udev, 0); in tm6000_read_write_usb() 45 printk(KERN_DEBUG "(dev %p, pipe %08x): ", dev->udev, pipe); in tm6000_read_write_usb() 60 ret = usb_control_msg(dev->udev, pipe, req, req_type, value, index, in tm6000_read_write_usb()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | hub.c | 231 if (tegra_shared_plane_get_owner(plane, dc) == dc->pipe) { in tegra_dc_owns_shared_plane() 236 dc->pipe, plane->index); in tegra_dc_owns_shared_plane() 255 if (new && (owner != OWNER_MASK && owner != new->pipe)) { in tegra_shared_plane_set_owner() 267 old->pipe, owner); in tegra_shared_plane_set_owner() 272 value |= OWNER(new->pipe); in tegra_shared_plane_set_owner() 312 /* pipe meter */ in tegra_dc_assign_shared_plane()
|
/kernel/linux/linux-6.6/drivers/misc/cardreader/ |
H A D | rtsx_usb.c | 19 MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)"); 41 unsigned int pipe, struct scatterlist *sg, int num_sg, in rtsx_usb_bulk_transfer_sglist() 48 ret = usb_sg_init(&ucr->current_sg, ucr->pusb_dev, pipe, 0, in rtsx_usb_bulk_transfer_sglist() 67 int rtsx_usb_transfer_data(struct rtsx_ucr *ucr, unsigned int pipe, in rtsx_usb_transfer_data() argument 75 return rtsx_usb_bulk_transfer_sglist(ucr, pipe, in rtsx_usb_transfer_data() 79 return usb_bulk_msg(ucr->pusb_dev, pipe, buf, len, act_len, in rtsx_usb_transfer_data() 40 rtsx_usb_bulk_transfer_sglist(struct rtsx_ucr *ucr, unsigned int pipe, struct scatterlist *sg, int num_sg, unsigned int length, unsigned int *act_len, int timeout) rtsx_usb_bulk_transfer_sglist() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_hw_sequencer.c | 288 /* Not applicable if the pipe is not primary, save 300ms of boot time */ in hwss_wait_for_blank_complete() 439 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in get_subvp_visual_confirm_color() local 441 if (pipe->stream && pipe->stream->mall_stream_config.paired_stream && in get_subvp_visual_confirm_color() 442 pipe->stream->mall_stream_config.type == SUBVP_MAIN) { in get_subvp_visual_confirm_color() 449 if (pipe_ctx->stream == pipe->stream) in get_subvp_visual_confirm_color()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.c | 370 unsigned int pipe = p_state->pipe; in sun4i_backend_update_layer_zpos() local 372 DRM_DEBUG_DRIVER("Setting layer %d's priority to %d and pipe %d\n", in sun4i_backend_update_layer_zpos() 373 layer, priority, pipe); in sun4i_backend_update_layer_zpos() 377 SUN4I_BACKEND_ATTCTL_REG0_LAY_PIPESEL(p_state->pipe) | in sun4i_backend_update_layer_zpos() 535 * pipes. If more that 1 layer is assigned to the same pipe, in sun4i_backend_atomic_check() 536 * and if pixels overlaps, the pipe will take the pixel from in sun4i_backend_atomic_check() 550 * pipe (pipe 0, priority 0), if it has any alpha, will in sun4i_backend_atomic_check() 582 * second pipe in sun4i_backend_atomic_check() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nv30_transfer.c | 115 struct pipe_context *pipe = &nv30->base.pipe; in nv30_transfer_rect_fragprog() local 119 pipe_buffer_create(pipe->screen, 0, PIPE_USAGE_STAGING, 12 * 4); in nv30_transfer_rect_fragprog() 122 u32 *map = pipe_buffer_map(pipe, nv30->blit_fp, in nv30_transfer_rect_fragprog() 133 pipe_buffer_unmap(pipe, transfer); in nv30_transfer_rect_fragprog()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_ureg.h | 31 #include "pipe/p_defines.h" 32 #include "pipe/p_format.h" 33 #include "pipe/p_compiler.h" 34 #include "pipe/p_shader_tokens.h" 113 struct pipe_context *pipe, 147 struct pipe_context *pipe, in ureg_create_shader_with_so_and_destroy() 150 void *result = ureg_create_shader( p, pipe, so ); in ureg_create_shader_with_so_and_destroy() 157 struct pipe_context *pipe ) in ureg_create_shader_and_destroy() 159 return ureg_create_shader_with_so_and_destroy(p, pipe, NULL); in ureg_create_shader_and_destroy() 146 ureg_create_shader_with_so_and_destroy( struct ureg_program *p, struct pipe_context *pipe, const struct pipe_stream_output_info *so ) ureg_create_shader_with_so_and_destroy() argument
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_transfer.c | 203 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_m2mf_push_linear() 245 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nve4_p2mf_push_linear() 287 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear() 325 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nve4_m2mf_copy_linear() 543 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_cb_push()
|
H A D | nvc0_vbo_translate.c | 2 #include "pipe/p_context.h" 3 #include "pipe/p_state.h" 108 struct pipe_vertex_element *ve = &nvc0->vertex->element[attr].pipe; in nvc0_push_map_edgeflag() 607 struct pipe_context *pipe = &nvc0->base.pipe; in nvc0_push_vbo() local 610 pipe->get_query_result(pipe, targ->pq, true, (void *)&vert_count); in nvc0_push_vbo()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 1193 unsigned int pipe) in get_max_streams_for_pipe() 1197 max_streams = dum_hcd->num_stream[usb_pipeendpoint(pipe)]; in get_max_streams_for_pipe() 1198 if (usb_pipeout(pipe)) in get_max_streams_for_pipe() 1207 unsigned int pipe, unsigned int streams) in set_max_streams_for_pipe() 1212 max_streams = dum_hcd->num_stream[usb_pipeendpoint(pipe)]; in set_max_streams_for_pipe() 1213 if (usb_pipeout(pipe)) { in set_max_streams_for_pipe() 1220 dum_hcd->num_stream[usb_pipeendpoint(pipe)] = max_streams; in set_max_streams_for_pipe() 1238 usb_pipeendpoint(urb->pipe)); in dummy_validate_stream() 1289 if (usb_pipetype(urb->pipe) == PIPE_CONTROL) in dummy_urb_enqueue() 1840 address = usb_pipeendpoint (urb->pipe); in dummy_timer() 1192 get_max_streams_for_pipe(struct dummy_hcd *dum_hcd, unsigned int pipe) get_max_streams_for_pipe() argument 1206 set_max_streams_for_pipe(struct dummy_hcd *dum_hcd, unsigned int pipe, unsigned int streams) set_max_streams_for_pipe() argument [all...] |