/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_gmem.c | 27 #include "pipe/p_state.h" 317 /* figure out number of tiles per pipe: */ in gmem_stateobj_init() 345 struct fd_vsc_pipe *pipe = &gmem->vsc_pipe[i]; in gmem_stateobj_init() local 356 pipe->x = xoff; in gmem_stateobj_init() 357 pipe->y = yoff; in gmem_stateobj_init() 358 pipe->w = MIN2(tpp_x, gmem->nbins_x - xoff); in gmem_stateobj_init() 359 pipe->h = MIN2(tpp_y, gmem->nbins_y - yoff); in gmem_stateobj_init() 368 struct fd_vsc_pipe *pipe = &gmem->vsc_pipe[i]; in gmem_stateobj_init() local 369 pipe->x = pipe in gmem_stateobj_init() 376 struct fd_vsc_pipe *pipe = &gmem->vsc_pipe[i]; gmem_stateobj_init() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | imx21-hcd.c | 218 ((u32) usb_pipedevice(urb->pipe)) << DW0_ADDRESS | in setup_etd_dword0() 219 ((u32) usb_pipeendpoint(urb->pipe) << DW0_ENDPNT) | in setup_etd_dword0() 223 ((u32) fmt_urb_to_etd[usb_pipetype(urb->pipe)] << DW0_FORMAT) | in setup_etd_dword0() 604 dir = usb_pipeout(td->urb->pipe) ? TD_DIR_OUT : TD_DIR_IN; in schedule_isoc_etds() 628 unsigned int pipe = urb->pipe; in isoc_etd_done() local 629 int dir_in = usb_pipein(pipe); in isoc_etd_done() 778 maxpacket = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in imx21_hc_urb_enqueue_isoc() 900 unsigned int pipe in schedule_nonisoc_etd() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_ioctl.c | 519 int atomisp_pipe_check(struct atomisp_video_pipe *pipe, bool settings_change) in atomisp_pipe_check() argument 521 lockdep_assert_held(&pipe->isp->mutex); in atomisp_pipe_check() 523 if (pipe->isp->isp_fatal_error) in atomisp_pipe_check() 526 if (settings_change && vb2_is_busy(&pipe->vb_queue)) { in atomisp_pipe_check() 527 dev_err(pipe->isp->dev, "Set fmt/input IOCTL while streaming\n"); in atomisp_pipe_check() 629 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); in atomisp_s_input() local 630 struct atomisp_sub_device *asd = pipe->asd; in atomisp_s_input() 635 ret = atomisp_pipe_check(pipe, true); in atomisp_s_input() 901 struct atomisp_video_pipe *pipe; in atomisp_g_fmt_cap() local 903 pipe in atomisp_g_fmt_cap() 1031 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_qbuf_wrapper() local 1053 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); atomisp_dqbuf_wrapper() local 1106 struct atomisp_video_pipe *pipe = vq_to_pipe(vq); atomisp_start_streaming() local 1200 struct atomisp_video_pipe *pipe = vq_to_pipe(vq); atomisp_stop_streaming() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_hdmi.c | 292 i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ibx_write_infoframe() 307 intel_de_write(dev_priv, TVIDEO_DIP_DATA(intel_crtc->pipe), in ibx_write_infoframe() 313 intel_de_write(dev_priv, TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in ibx_write_infoframe() 333 val = intel_de_read(dev_priv, TVIDEO_DIP_CTL(crtc->pipe)); in ibx_read_infoframe() 338 intel_de_write(dev_priv, TVIDEO_DIP_CTL(crtc->pipe), val); in ibx_read_infoframe() 341 *data++ = intel_de_read(dev_priv, TVIDEO_DIP_DATA(crtc->pipe)); in ibx_read_infoframe() 348 enum pipe pipe = to_intel_crtc(pipe_config->uapi.crtc)->pipe; in ibx_infoframes_enabled() local 349 i915_reg_t reg = TVIDEO_DIP_CTL(pipe); in ibx_infoframes_enabled() 430 enum pipe pipe = to_intel_crtc(pipe_config->uapi.crtc)->pipe; cpt_infoframes_enabled() local 507 enum pipe pipe = to_intel_crtc(pipe_config->uapi.crtc)->pipe; vlv_infoframes_enabled() local 1829 intel_hdmi_get_hw_state(struct intel_encoder *encoder, enum pipe *pipe) intel_hdmi_get_hw_state() argument 2012 enum pipe pipe = crtc->pipe; cpt_enable_hdmi() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xen-hcd.c | 617 static __u32 pipe; in xenhcd_pipe_urb_to_xenusb() local 619 pipe = usb_pipedevice(urb_pipe) << XENUSB_PIPE_DEV_SHIFT; in xenhcd_pipe_urb_to_xenusb() 620 pipe |= usb_pipeendpoint(urb_pipe) << XENUSB_PIPE_EP_SHIFT; in xenhcd_pipe_urb_to_xenusb() 622 pipe |= XENUSB_PIPE_DIR; in xenhcd_pipe_urb_to_xenusb() 625 pipe |= XENUSB_PIPE_TYPE_ISOC << XENUSB_PIPE_TYPE_SHIFT; in xenhcd_pipe_urb_to_xenusb() 628 pipe |= XENUSB_PIPE_TYPE_INT << XENUSB_PIPE_TYPE_SHIFT; in xenhcd_pipe_urb_to_xenusb() 631 pipe |= XENUSB_PIPE_TYPE_CTRL << XENUSB_PIPE_TYPE_SHIFT; in xenhcd_pipe_urb_to_xenusb() 634 pipe |= XENUSB_PIPE_TYPE_BULK << XENUSB_PIPE_TYPE_SHIFT; in xenhcd_pipe_urb_to_xenusb() 637 pipe = xenusb_setportnum_pipe(pipe, por in xenhcd_pipe_urb_to_xenusb() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mipi_dbi.c | 292 * @pipe: Simple display pipe 299 enum drm_mode_status mipi_dbi_pipe_mode_valid(struct drm_simple_display_pipe *pipe, in mipi_dbi_pipe_mode_valid() argument 302 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in mipi_dbi_pipe_mode_valid() 304 return drm_crtc_helper_mode_valid_fixed(&pipe->crtc, mode, &dbidev->mode); in mipi_dbi_pipe_mode_valid() 309 * mipi_dbi_pipe_update - Display pipe update helper 310 * @pipe: Simple display pipe 316 void mipi_dbi_pipe_update(struct drm_simple_display_pipe *pipe, in mipi_dbi_pipe_update() argument 319 struct drm_plane_state *state = pipe in mipi_dbi_pipe_update() 407 mipi_dbi_pipe_disable(struct drm_simple_display_pipe *pipe) mipi_dbi_pipe_disable() argument 438 mipi_dbi_pipe_begin_fb_access(struct drm_simple_display_pipe *pipe, struct drm_plane_state *plane_state) mipi_dbi_pipe_begin_fb_access() argument 454 mipi_dbi_pipe_end_fb_access(struct drm_simple_display_pipe *pipe, struct drm_plane_state *plane_state) mipi_dbi_pipe_end_fb_access() argument 468 mipi_dbi_pipe_reset_plane(struct drm_simple_display_pipe *pipe) mipi_dbi_pipe_reset_plane() argument 486 mipi_dbi_pipe_duplicate_plane_state(struct drm_simple_display_pipe *pipe) mipi_dbi_pipe_duplicate_plane_state() argument 502 mipi_dbi_pipe_destroy_plane_state(struct drm_simple_display_pipe *pipe, struct drm_plane_state *plane_state) mipi_dbi_pipe_destroy_plane_state() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_screen.c | 291 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_replace_buffer_storage() local 295 trace_dump_arg(ptr, pipe); in trace_context_replace_buffer_storage() 303 tr_ctx->replace_buffer_storage(pipe, dst, src, num_rebinds, rebind_mask, delete_buffer_id); in trace_context_replace_buffer_storage() 310 struct pipe_context *pipe = tr_ctx->pipe; in trace_context_create_fence() local 314 trace_dump_arg(ptr, pipe); in trace_context_create_fence() 317 struct pipe_fence_handle *ret = tr_ctx->create_fence(pipe, token); in trace_context_create_fence() 349 trace_context_create_threaded(struct pipe_screen *screen, struct pipe_context *pipe, in trace_context_create_threaded() argument 354 return pipe; in trace_context_create_threaded() 418 struct pipe_context *pipe = _pipe ? trace_get_possibly_threaded_context(_pipe) : NULL; trace_screen_flush_frontbuffer() local 797 struct pipe_context *pipe = _pipe ? trace_get_possibly_threaded_context(_pipe) : NULL; trace_screen_resource_get_handle() local 829 struct pipe_context *pipe = _pipe ? trace_get_possibly_threaded_context(_pipe) : NULL; trace_screen_resource_get_param() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_entity.c | 24 struct vsp1_pipeline *pipe, in vsp1_entity_route_setup() 38 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() 51 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() 73 struct vsp1_pipeline *pipe, in vsp1_entity_configure_stream() 78 entity->ops->configure_stream(entity, pipe, dl, dlb); in vsp1_entity_configure_stream() 82 struct vsp1_pipeline *pipe, in vsp1_entity_configure_frame() 87 entity->ops->configure_frame(entity, pipe, dl, dlb); in vsp1_entity_configure_frame() 91 struct vsp1_pipeline *pipe, in vsp1_entity_configure_partition() 96 entity->ops->configure_partition(entity, pipe, dl, dlb); in vsp1_entity_configure_partition() 23 vsp1_entity_route_setup(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_body *dlb) vsp1_entity_route_setup() argument 72 vsp1_entity_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_stream() argument 81 vsp1_entity_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_frame() argument 90 vsp1_entity_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_partition() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/ |
H A D | ili9225.c | 161 static void ili9225_pipe_update(struct drm_simple_display_pipe *pipe, in ili9225_pipe_update() argument 164 struct drm_plane_state *state = pipe->plane.state; in ili9225_pipe_update() 167 if (!pipe->crtc.state->active) in ili9225_pipe_update() 174 static void ili9225_pipe_enable(struct drm_simple_display_pipe *pipe, in ili9225_pipe_enable() argument 178 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_enable() 180 struct device *dev = pipe->crtc.dev->dev; in ili9225_pipe_enable() 191 if (!drm_dev_enter(pipe->crtc.dev, &idx)) in ili9225_pipe_enable() 283 static void ili9225_pipe_disable(struct drm_simple_display_pipe *pipe) in ili9225_pipe_disable() argument 285 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_disable()
|
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | urb.c | 196 * usb_pipe_type_check - sanity check of a specific pipe for a usb device 198 * @pipe: pipe to check 201 * given usb device. It returns 0 if the pipe is valid for the specific usb 204 int usb_pipe_type_check(struct usb_device *dev, unsigned int pipe) in usb_pipe_type_check() argument 208 ep = usb_pipe_endpoint(dev, pipe); in usb_pipe_type_check() 211 if (usb_pipetype(pipe) != pipetypes[usb_endpoint_type(&ep->desc)]) in usb_pipe_type_check() 227 return usb_pipe_type_check(urb->dev, urb->pipe); in usb_urb_ep_type_check() 387 /* For now, get the endpoint from the pipe. Eventually drivers in usb_submit_urb() 389 * urb->pipe in usb_submit_urb() [all...] |
H A D | message.c | 88 unsigned int pipe, in usb_internal_control_msg() 100 usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char *)cmd, data, in usb_internal_control_msg() 113 * @pipe: endpoint "pipe" to send the message to 137 int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in usb_control_msg() argument 154 ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); in usb_control_msg() 204 unsigned int pipe = usb_sndctrlpipe(dev, endpoint); in usb_control_msg_send() local 214 ret = usb_control_msg(dev, pipe, request, requesttype, value, index, in usb_control_msg_send() 269 unsigned int pipe = usb_rcvctrlpipe(dev, endpoint); in usb_control_msg_recv() local 280 ret = usb_control_msg(dev, pipe, reques in usb_control_msg_recv() 87 usb_internal_control_msg(struct usb_device *usb_dev, unsigned int pipe, struct usb_ctrlrequest *cmd, void *data, int len, int timeout) usb_internal_control_msg() argument 325 usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout) usb_interrupt_msg() argument 364 usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, void *data, int len, int *actual_length, int timeout) usb_bulk_msg() argument 502 usb_sg_init(struct usb_sg_request *io, struct usb_device *dev, unsigned pipe, unsigned period, struct scatterlist *sg, int nents, size_t length, gfp_t mem_flags) usb_sg_init() argument 1205 usb_clear_halt(struct usb_device *dev, int pipe) usb_clear_halt() argument 1531 unsigned int pipe; usb_set_interface() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gfx.h | 295 void (*select_me_pipe_q)(struct amdgpu_device *adev, u32 me, u32 pipe, 423 /* pipe reservation */ 459 #define amdgpu_gfx_select_me_pipe_q(adev, me, pipe, q, vmid, xcc_id) ((adev)->gfx.funcs->select_me_pipe_q((adev), (me), (pipe), (q), (vmid), (xcc_id))) 501 int pipe, int queue); 503 int *mec, int *pipe, int *queue); 505 int mec, int pipe, int queue); 511 int pipe, int queue); 513 int *me, int *pipe, int *queue); 515 int pipe, in [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_entity.c | 24 struct vsp1_pipeline *pipe, in vsp1_entity_route_setup() 38 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() 51 smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) in vsp1_entity_route_setup() 73 struct vsp1_pipeline *pipe, in vsp1_entity_configure_stream() 78 entity->ops->configure_stream(entity, pipe, dl, dlb); in vsp1_entity_configure_stream() 82 struct vsp1_pipeline *pipe, in vsp1_entity_configure_frame() 87 entity->ops->configure_frame(entity, pipe, dl, dlb); in vsp1_entity_configure_frame() 91 struct vsp1_pipeline *pipe, in vsp1_entity_configure_partition() 96 entity->ops->configure_partition(entity, pipe, dl, dlb); in vsp1_entity_configure_partition() 23 vsp1_entity_route_setup(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_body *dlb) vsp1_entity_route_setup() argument 72 vsp1_entity_configure_stream(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_stream() argument 81 vsp1_entity_configure_frame(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_frame() argument 90 vsp1_entity_configure_partition(struct vsp1_entity *entity, struct vsp1_pipeline *pipe, struct vsp1_dl_list *dl, struct vsp1_dl_body *dlb) vsp1_entity_configure_partition() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
H A D | ili9225.c | 158 static void ili9225_pipe_update(struct drm_simple_display_pipe *pipe, in ili9225_pipe_update() argument 161 struct drm_plane_state *state = pipe->plane.state; in ili9225_pipe_update() 167 if (!pipe->crtc.state->active) in ili9225_pipe_update() 179 static void ili9225_pipe_enable(struct drm_simple_display_pipe *pipe, in ili9225_pipe_enable() argument 183 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_enable() 186 struct device *dev = pipe->crtc.dev->dev; in ili9225_pipe_enable() 197 if (!drm_dev_enter(pipe->crtc.dev, &idx)) in ili9225_pipe_enable() 290 static void ili9225_pipe_disable(struct drm_simple_display_pipe *pipe) in ili9225_pipe_disable() argument 292 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in ili9225_pipe_disable()
|
/third_party/mesa3d/src/freedreno/ds/ |
H A D | fd_pps_driver.cc | 401 struct fd_submit *submit = fd_submit_new(pipe); in configure_counters() 420 fd_pipe_wait(pipe, &fence.fence); in configure_counters() 441 pipe = fd_pipe_new(dev, FD_PIPE_3D); in init_perfcnt() 442 dev_id = fd_pipe_dev_id(pipe); in init_perfcnt() 444 if (fd_pipe_get_param(pipe, FD_MAX_FREQ, &val)) { in init_perfcnt() 450 if (fd_pipe_get_param(pipe, FD_SUSPEND_COUNT, &val)) { in init_perfcnt() 457 fd_pipe_set_param(pipe, FD_SYSPROF, 1); in init_perfcnt() 459 perfcntrs = fd_perfcntrs(fd_pipe_dev_id(pipe), &num_perfcntrs); in init_perfcnt() 522 fd_pipe_get_param(pipe, FD_SUSPEND_COUNT, &val); in dump_perfcnt()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource_buffer.c | 28 #include "pipe/p_state.h" 29 #include "pipe/p_defines.h" 114 svga_buffer_transfer_map(struct pipe_context *pipe, in svga_buffer_transfer_map() argument 121 struct svga_context *svga = svga_context(pipe); in svga_buffer_transfer_map() 122 struct svga_screen *ss = svga_screen(pipe->screen); in svga_buffer_transfer_map() 335 svga_buffer_transfer_flush_region(struct pipe_context *pipe, in svga_buffer_transfer_flush_region() argument 339 struct svga_screen *ss = svga_screen(pipe->screen); in svga_buffer_transfer_flush_region() 341 struct svga_context *svga = svga_context(pipe); in svga_buffer_transfer_flush_region() 357 svga_buffer_transfer_unmap(struct pipe_context *pipe, in svga_buffer_transfer_unmap() argument 360 struct svga_screen *ss = svga_screen(pipe in svga_buffer_transfer_unmap() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_helpers.c | 153 util_upload_index_buffer(struct pipe_context *pipe, in util_upload_index_buffer() argument 161 u_upload_data(pipe->stream_uploader, start_offset, in util_upload_index_buffer() 165 u_upload_unmap(pipe->stream_uploader); in util_upload_index_buffer() 391 util_throttle_memory_usage(struct pipe_context *pipe, in util_throttle_memory_usage() argument 399 struct pipe_screen *screen = pipe->screen; in util_throttle_memory_usage() 424 screen->fence_finish(screen, pipe, *fence, PIPE_TIMEOUT_INFINITE); in util_throttle_memory_usage() 440 pipe->flush(pipe, fence, PIPE_FLUSH_ASYNC); in util_throttle_memory_usage() 452 screen->fence_finish(screen, pipe, *fence, PIPE_TIMEOUT_INFINITE); in util_throttle_memory_usage()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_cs.c | 477 llvmpipe_create_compute_state(struct pipe_context *pipe, in llvmpipe_create_compute_state() argument 496 shader->base.ir.nir = nir_deserialize(NULL, pipe->screen->get_compiler_options(pipe->screen, PIPE_SHADER_IR_NIR, PIPE_SHADER_COMPUTE), &reader); in llvmpipe_create_compute_state() 499 pipe->screen->finalize_nir(pipe->screen, shader->base.ir.nir); in llvmpipe_create_compute_state() 528 llvmpipe_bind_compute_state(struct pipe_context *pipe, in llvmpipe_bind_compute_state() argument 531 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_bind_compute_state() 572 llvmpipe_delete_compute_state(struct pipe_context *pipe, in llvmpipe_delete_compute_state() argument 575 struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); in llvmpipe_delete_compute_state() 767 struct llvmpipe_screen *screen = llvmpipe_screen(lp->pipe in generate_variant() 1360 fill_grid_size(struct pipe_context *pipe, const struct pipe_grid_info *info, uint32_t grid_size[3]) fill_grid_size() argument 1387 llvmpipe_launch_grid(struct pipe_context *pipe, const struct pipe_grid_info *info) llvmpipe_launch_grid() argument 1428 llvmpipe_set_compute_resources(struct pipe_context *pipe, unsigned start, unsigned count, struct pipe_surface **resources) llvmpipe_set_compute_resources() argument 1437 llvmpipe_set_global_binding(struct pipe_context *pipe, unsigned first, unsigned count, struct pipe_resource **resources, uint32_t **handles) llvmpipe_set_global_binding() argument 1508 lp_csctx_create(struct pipe_context *pipe) lp_csctx_create() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gfx_v10.c | 48 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 54 nv_grbm_select(adev, mec, pipe, queue, vmid); in lock_srbm() 71 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue() local 73 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 158 uint32_t pipe; in kgd_init_interrupts() local 161 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts() 163 lock_srbm(kgd, mec, pipe, 0, 0); in kgd_init_interrupts() 234 pr_debug("Load hqd of pipe %d queue %d\n", pipe_id, queue_id); in kgd_hqd_load() 312 uint32_t mec, pipe; in kgd_hiq_mqd_load() local 320 pipe in kgd_hiq_mqd_load() [all...] |
H A D | amdgpu_amdkfd_gfx_v8.c | 47 static void lock_srbm(struct kgd_dev *kgd, uint32_t mec, uint32_t pipe, in lock_srbm() argument 51 uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); in lock_srbm() 71 uint32_t pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in acquire_queue() local 73 lock_srbm(kgd, mec, pipe, queue_id, 0); in acquire_queue() 130 uint32_t pipe; in kgd_init_interrupts() local 133 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_init_interrupts() 135 lock_srbm(kgd, mec, pipe, 0, 0); in kgd_init_interrupts() 185 uint32_t value, mec, pipe; in kgd_hqd_load() local 188 pipe = (pipe_id % adev->gfx.mec.num_pipe_per_mec); in kgd_hqd_load() 190 pr_debug("kfd: set HIQ, mec:%d, pipe in kgd_hqd_load() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 209 * Sets the power management mode of the pipe and plane. 212 * on appropriately at the same time as we're turning the pipe off/on. 219 int pipe = gma_crtc->pipe; in oaktrail_crtc_dpms() local 220 const struct psb_offset *map = &dev_priv->regmap[pipe]; in oaktrail_crtc_dpms() 260 /* Enable the pipe */ in oaktrail_crtc_dpms() 282 if it's on this pipe */ in oaktrail_crtc_dpms() 287 * if it's on this pipe */ in oaktrail_crtc_dpms() 311 /* Wait for for the pipe disable to take effect. */ in oaktrail_crtc_dpms() 341 * Return the pipe currentl 365 int pipe = gma_crtc->pipe; oaktrail_crtc_mode_set() local 595 int pipe = gma_crtc->pipe; oaktrail_pipe_set_base() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
H A D | dcn316_clk_mgr.c | 108 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dcn316_disable_otg_wa() local 110 if (pipe->top_pipe || pipe->prev_odm_pipe) in dcn316_disable_otg_wa() 112 if (pipe->stream && (pipe->stream->dpms_off || pipe->plane_state == NULL || in dcn316_disable_otg_wa() 113 dc_is_virtual_signal(pipe->stream->signal))) { in dcn316_disable_otg_wa() 115 pipe->stream_res.tg->funcs->immediate_disable_crtc(pipe->stream_res.tg); in dcn316_disable_otg_wa() 118 pipe in dcn316_disable_otg_wa() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 212 * Sets the power management mode of the pipe and plane. 215 * on appropriately at the same time as we're turning the pipe off/on. 222 int pipe = gma_crtc->pipe; in oaktrail_crtc_dpms() local 223 const struct psb_offset *map = &dev_priv->regmap[pipe]; in oaktrail_crtc_dpms() 263 /* Enable the pipe */ in oaktrail_crtc_dpms() 285 if it's on this pipe */ in oaktrail_crtc_dpms() 290 * if it's on this pipe */ in oaktrail_crtc_dpms() 314 /* Wait for the pipe disable to take effect. */ in oaktrail_crtc_dpms() 344 * Return the pipe currentl 368 int pipe = gma_crtc->pipe; oaktrail_crtc_mode_set() local 599 int pipe = gma_crtc->pipe; oaktrail_pipe_set_base() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_ctrl.c | 78 HANDLE pipe; member 731 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 764 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open() 767 * Current named pipe server side in wpa_supplicant is in wpa_ctrl_open() 768 * re-opening the pipe for new clients only after the previous in wpa_ctrl_open() 773 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open() 778 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open() 784 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open() 785 CloseHandle(ctrl->pipe); in wpa_ctrl_open() 796 CloseHandle(ctrl->pipe); in wpa_ctrl_close() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | wpa_ctrl.c | 73 HANDLE pipe; member 690 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 723 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open() 726 * Current named pipe server side in wpa_supplicant is in wpa_ctrl_open() 727 * re-opening the pipe for new clients only after the previous in wpa_ctrl_open() 732 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open() 737 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open() 743 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open() 744 CloseHandle(ctrl->pipe); in wpa_ctrl_open() 755 CloseHandle(ctrl->pipe); in wpa_ctrl_close() [all...] |