Home
last modified time | relevance | path

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

12345678910>>...45

/Linux-v6.6/drivers/usb/renesas_usbhs/
Dpipe.c33 char *usbhs_pipe_name(struct usbhs_pipe *pipe) in usbhs_pipe_name() argument
35 return usbhsp_pipe_name[usbhs_pipe_type(pipe)]; in usbhs_pipe_name()
50 static void usbhsp_pipectrl_set(struct usbhs_pipe *pipe, u16 mask, u16 val) in usbhsp_pipectrl_set() argument
52 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_set()
53 int offset = usbhsp_addr_offset(pipe); in usbhsp_pipectrl_set()
55 if (usbhs_pipe_is_dcp(pipe)) in usbhsp_pipectrl_set()
61 static u16 usbhsp_pipectrl_get(struct usbhs_pipe *pipe) in usbhsp_pipectrl_get() argument
63 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhsp_pipectrl_get()
64 int offset = usbhsp_addr_offset(pipe); in usbhsp_pipectrl_get()
66 if (usbhs_pipe_is_dcp(pipe)) in usbhsp_pipectrl_get()
[all …]
Dfifo.c17 #define usbhsf_fifo_is_busy(f) ((f)->pipe) /* see usbhs_pipe_select_fifo */
32 struct usbhs_priv *priv = usbhs_pipe_to_priv(pkt->pipe); in usbhsf_null_handle()
45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push() argument
50 struct usbhs_priv *priv = usbhs_pipe_to_priv(pipe); in usbhs_pkt_push()
62 if (!pipe->handler) { in usbhs_pkt_push()
64 pipe->handler = &usbhsf_null_handler; in usbhs_pkt_push()
67 list_move_tail(&pkt->node, &pipe->list); in usbhs_pkt_push()
74 pkt->pipe = pipe; in usbhs_pkt_push()
76 pkt->handler = pipe->handler; in usbhs_pkt_push()
92 struct usbhs_pkt *__usbhsf_pkt_get(struct usbhs_pipe *pipe) in __usbhsf_pkt_get() argument
[all …]
/Linux-v6.6/drivers/gpu/drm/
Ddrm_simple_kms_helper.c89 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_mode_valid() local
91 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid()
92 if (!pipe->funcs || !pipe->funcs->mode_valid) in drm_simple_kms_crtc_mode_valid()
96 return pipe->funcs->mode_valid(pipe, mode); in drm_simple_kms_crtc_mode_valid()
120 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_enable() local
122 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable()
123 if (!pipe->funcs || !pipe->funcs->enable) in drm_simple_kms_crtc_enable()
126 plane = &pipe->plane; in drm_simple_kms_crtc_enable()
127 pipe->funcs->enable(pipe, crtc->state, plane->state); in drm_simple_kms_crtc_enable()
133 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_disable() local
[all …]
Ddrm_vblank.c157 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe,
169 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() argument
173 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in store_vblank()
185 static u32 drm_max_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_max_vblank_count() argument
187 struct drm_vblank_crtc *vblank = &dev->vblank[pipe]; in drm_max_vblank_count()
196 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() argument
198 drm_WARN_ON_ONCE(dev, drm_max_vblank_count(dev, pipe) != 0); in drm_vblank_no_hw_counter()
202 static u32 __get_vblank_counter(struct drm_device *dev, unsigned int pipe) in __get_vblank_counter() argument
205 struct drm_crtc *crtc = drm_crtc_from_index(dev, pipe); in __get_vblank_counter()
215 return dev->driver->get_vblank_counter(dev, pipe); in __get_vblank_counter()
[all …]
/Linux-v6.6/fs/
Dpipe.c79 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument
81 if (pipe->files) in pipe_lock_nested()
82 mutex_lock_nested(&pipe->mutex, subclass); in pipe_lock_nested()
85 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() argument
90 pipe_lock_nested(pipe, I_MUTEX_PARENT); in pipe_lock()
94 void pipe_unlock(struct pipe_inode_info *pipe) in pipe_unlock() argument
96 if (pipe->files) in pipe_unlock()
97 mutex_unlock(&pipe->mutex); in pipe_unlock()
101 static inline void __pipe_lock(struct pipe_inode_info *pipe) in __pipe_lock() argument
103 mutex_lock_nested(&pipe->mutex, I_MUTEX_PARENT); in __pipe_lock()
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_vdsc_regs.h31 #define ICL_PIPE_DSS_CTL1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
45 #define ICL_PIPE_DSS_CTL2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
54 #define MTL_DSC0_PICTURE_PARAMETER_SET_17(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
57 #define MTL_DSC1_PICTURE_PARAMETER_SET_17(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
66 #define MTL_DSC0_PICTURE_PARAMETER_SET_18(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
69 #define MTL_DSC1_PICTURE_PARAMETER_SET_18(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
82 #define ICL_DSC0_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
85 #define ICL_DSC1_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
106 #define ICL_DSC0_PICTURE_PARAMETER_SET_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
109 #define ICL_DSC1_PICTURE_PARAMETER_SET_1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument
[all …]
Dskl_watermark_regs.h13 #define PIPE_MBUS_DBOX_CTL(pipe) _MMIO_PIPE(pipe, _PIPEA_MBUS_DBOX_CTL, \ argument
41 #define MBUS_JOIN_PIPE_SELECT(pipe) REG_FIELD_PREP(MBUS_JOIN_PIPE_SELECT_MASK, pipe) argument
74 #define _CUR_WM_0(pipe) _PIPE(pipe, _CUR_WM_A_0, _CUR_WM_B_0) argument
75 #define CUR_WM(pipe, level) _MMIO(_CUR_WM_0(pipe) + ((4) * (level))) argument
76 #define CUR_WM_SAGV(pipe) _MMIO_PIPE(pipe, _CUR_WM_SAGV_A, _CUR_WM_SAGV_B) argument
77 #define CUR_WM_SAGV_TRANS(pipe) _MMIO_PIPE(pipe, _CUR_WM_SAGV_TRANS_A, _CUR_WM_SAGV_TRANS_B) argument
78 #define CUR_WM_TRANS(pipe) _MMIO_PIPE(pipe, _CUR_WM_TRANS_A, _CUR_WM_TRANS_B) argument
79 #define _PLANE_WM_1(pipe) _PIPE(pipe, _PLANE_WM_1_A_0, _PLANE_WM_1_B_0) argument
80 #define _PLANE_WM_2(pipe) _PIPE(pipe, _PLANE_WM_2_A_0, _PLANE_WM_2_B_0) argument
81 #define _PLANE_WM_BASE(pipe, plane) \ argument
[all …]
Dintel_display_irq.c26 intel_handle_vblank(struct drm_i915_private *dev_priv, enum pipe pipe) in intel_handle_vblank() argument
28 struct intel_crtc *crtc = intel_crtc_for_pipe(dev_priv, pipe); in intel_handle_vblank()
108 enum pipe pipe, u32 interrupt_mask, in bdw_update_pipe_irq() argument
120 new_val = dev_priv->de_irq_mask[pipe]; in bdw_update_pipe_irq()
124 if (new_val != dev_priv->de_irq_mask[pipe]) { in bdw_update_pipe_irq()
125 dev_priv->de_irq_mask[pipe] = new_val; in bdw_update_pipe_irq()
126 intel_uncore_write(&dev_priv->uncore, GEN8_DE_PIPE_IMR(pipe), dev_priv->de_irq_mask[pipe]); in bdw_update_pipe_irq()
127 intel_uncore_posting_read(&dev_priv->uncore, GEN8_DE_PIPE_IMR(pipe)); in bdw_update_pipe_irq()
132 enum pipe pipe, u32 bits) in bdw_enable_pipe_irq() argument
134 bdw_update_pipe_irq(i915, pipe, bits, bits); in bdw_enable_pipe_irq()
[all …]
Dintel_dsb_regs.h13 #define DSBSL_INSTANCE(pipe, id) (_DSBSL_INSTANCE_BASE + \ argument
14 (pipe) * 0x1000 + (id) * 0x100)
15 #define DSB_HEAD(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x0) argument
16 #define DSB_TAIL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x4) argument
17 #define DSB_CTRL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x8) argument
25 #define DSB_MMIOCTRL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0xc) argument
31 #define DSB_POLLFUNC(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x10) argument
37 #define DSB_DEBUG(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x14) argument
38 #define DSB_POLLMASK(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x1c) argument
39 #define DSB_STATUS(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x24) argument
[all …]
Dintel_pch_display.c21 enum pipe pch_transcoder) in intel_has_pch_trancoder()
27 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc) in intel_crtc_pch_transcoder()
34 return crtc->pipe; in intel_crtc_pch_transcoder()
38 enum pipe pipe, enum port port, in assert_pch_dp_disabled() argument
41 enum pipe port_pipe; in assert_pch_dp_disabled()
46 I915_STATE_WARN(dev_priv, state && port_pipe == pipe, in assert_pch_dp_disabled()
48 port_name(port), pipe_name(pipe)); in assert_pch_dp_disabled()
57 enum pipe pipe, enum port port, in assert_pch_hdmi_disabled() argument
60 enum pipe port_pipe; in assert_pch_hdmi_disabled()
65 I915_STATE_WARN(dev_priv, state && port_pipe == pipe, in assert_pch_hdmi_disabled()
[all …]
Dintel_fifo_underrun.c62 enum pipe pipe; in ivb_can_enable_err_int() local
66 for_each_pipe(dev_priv, pipe) { in ivb_can_enable_err_int()
67 crtc = intel_crtc_for_pipe(dev_priv, pipe); in ivb_can_enable_err_int()
79 enum pipe pipe; in cpt_can_enable_serr_int() local
84 for_each_pipe(dev_priv, pipe) { in cpt_can_enable_serr_int()
85 crtc = intel_crtc_for_pipe(dev_priv, pipe); in cpt_can_enable_serr_int()
97 i915_reg_t reg = PIPESTAT(crtc->pipe); in i9xx_check_fifo_underruns()
105 enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
109 trace_intel_cpu_fifo_underrun(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
110 drm_err(&dev_priv->drm, "pipe %c underrun\n", pipe_name(crtc->pipe)); in i9xx_check_fifo_underruns()
[all …]
Dintel_display_trace.h32 __field(enum pipe, pipe)
39 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
40 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
42 __entry->pipe = crtc->pipe;
46 __get_str(dev), pipe_name(__entry->pipe),
60 __field(enum pipe, pipe)
68 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
69 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
71 __entry->pipe = crtc->pipe;
75 __get_str(dev), pipe_name(__entry->pipe),
[all …]
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-hw.c16 static inline u32 mxc_isi_read(struct mxc_isi_pipe *pipe, u32 reg) in mxc_isi_read() argument
18 return readl(pipe->regs + reg); in mxc_isi_read()
21 static inline void mxc_isi_write(struct mxc_isi_pipe *pipe, u32 reg, u32 val) in mxc_isi_write() argument
23 writel(val, pipe->regs + reg); in mxc_isi_write()
30 void mxc_isi_channel_set_inbuf(struct mxc_isi_pipe *pipe, dma_addr_t dma_addr) in mxc_isi_channel_set_inbuf() argument
32 mxc_isi_write(pipe, CHNL_IN_BUF_ADDR, lower_32_bits(dma_addr)); in mxc_isi_channel_set_inbuf()
33 if (pipe->isi->pdata->has_36bit_dma) in mxc_isi_channel_set_inbuf()
34 mxc_isi_write(pipe, CHNL_IN_BUF_XTND_ADDR, in mxc_isi_channel_set_inbuf()
38 void mxc_isi_channel_set_outbuf(struct mxc_isi_pipe *pipe, in mxc_isi_channel_set_outbuf() argument
44 val = mxc_isi_read(pipe, CHNL_OUT_BUF_CTRL); in mxc_isi_channel_set_outbuf()
[all …]
/Linux-v6.6/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline.c19 struct komeda_pipeline *pipe; in komeda_pipeline_add() local
27 if (size < sizeof(*pipe)) { in komeda_pipeline_add()
32 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add()
33 if (!pipe) in komeda_pipeline_add()
36 pipe->mdev = mdev; in komeda_pipeline_add()
37 pipe->id = mdev->n_pipelines; in komeda_pipeline_add()
38 pipe->funcs = funcs; in komeda_pipeline_add()
40 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add()
43 return pipe; in komeda_pipeline_add()
47 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() argument
[all …]
/Linux-v6.6/sound/drivers/vx/
Dvx_pcm.c46 struct vx_pipe *pipe) in vx_pcm_read_per_bytes() argument
48 int offset = pipe->hw_ptr; in vx_pcm_read_per_bytes()
51 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes()
56 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes()
61 if (++offset >= pipe->buffer_bytes) { in vx_pcm_read_per_bytes()
64 pipe->hw_ptr = offset; in vx_pcm_read_per_bytes()
90 struct vx_pipe *pipe) in vx_set_differed_time() argument
93 if (! (pipe->differed_type & DC_DIFFERED_DELAY)) in vx_set_differed_time()
100 vx_set_pcx_time(chip, &pipe->pcx_time, &rmh->Cmd[1]); in vx_set_differed_time()
103 if (pipe->differed_type & DC_NOTIFY_DELAY) in vx_set_differed_time()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c129 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_merge_pipes_for_subvp() local
134 if (pipe->prev_odm_pipe) { in dcn32_merge_pipes_for_subvp()
136 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp()
137 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp()
138 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp()
140 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
141 pipe->next_odm_pipe = NULL; in dcn32_merge_pipes_for_subvp()
142 pipe->plane_state = NULL; in dcn32_merge_pipes_for_subvp()
143 pipe->stream = NULL; in dcn32_merge_pipes_for_subvp()
144 pipe->top_pipe = NULL; in dcn32_merge_pipes_for_subvp()
[all …]
/Linux-v6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_pipe.c262 void vsp1_pipeline_reset(struct vsp1_pipeline *pipe) in vsp1_pipeline_reset() argument
267 if (pipe->brx) { in vsp1_pipeline_reset()
268 struct vsp1_brx *brx = to_brx(&pipe->brx->subdev); in vsp1_pipeline_reset()
274 for (i = 0; i < ARRAY_SIZE(pipe->inputs); ++i) in vsp1_pipeline_reset()
275 pipe->inputs[i] = NULL; in vsp1_pipeline_reset()
277 pipe->output = NULL; in vsp1_pipeline_reset()
279 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_pipeline_reset()
280 entity->pipe = NULL; in vsp1_pipeline_reset()
282 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_reset()
283 pipe->state = VSP1_PIPELINE_STOPPED; in vsp1_pipeline_reset()
[all …]
Dvsp1_video.c187 static void vsp1_video_calculate_partition(struct vsp1_pipeline *pipe, in vsp1_video_calculate_partition() argument
200 format = vsp1_entity_get_pad_format(&pipe->output->entity, in vsp1_video_calculate_partition()
201 pipe->output->entity.config, in vsp1_video_calculate_partition()
205 if (pipe->partitions <= 1) { in vsp1_video_calculate_partition()
209 vsp1_pipeline_propagate_partition(pipe, partition, index, in vsp1_video_calculate_partition()
234 unsigned int partitions = pipe->partitions - 1; in vsp1_video_calculate_partition()
250 vsp1_pipeline_propagate_partition(pipe, partition, index, &window); in vsp1_video_calculate_partition()
253 static int vsp1_video_pipeline_setup_partitions(struct vsp1_pipeline *pipe) in vsp1_video_pipeline_setup_partitions() argument
255 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_setup_partitions()
265 format = vsp1_entity_get_pad_format(&pipe->output->entity, in vsp1_video_pipeline_setup_partitions()
[all …]
Dvsp1_drm.c33 static void vsp1_du_pipeline_frame_end(struct vsp1_pipeline *pipe, in vsp1_du_pipeline_frame_end() argument
36 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_frame_end()
64 struct vsp1_pipeline *pipe, in vsp1_du_insert_uif() argument
116 struct vsp1_pipeline *pipe, in vsp1_du_pipeline_setup_rpf() argument
190 ret = vsp1_du_insert_uif(vsp1, pipe, uif, &rpf->entity, RWPF_PAD_SOURCE, in vsp1_du_pipeline_setup_rpf()
191 pipe->brx, brx_input); in vsp1_du_pipeline_setup_rpf()
198 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
205 format.format.code, BRX_NAME(pipe->brx), format.pad); in vsp1_du_pipeline_setup_rpf()
211 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf()
218 BRX_NAME(pipe->brx), sel.pad); in vsp1_du_pipeline_setup_rpf()
[all …]
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_protocol_ops.c59 struct ipc_pipe *pipe = args->pipe_open.pipe; in ipc_protocol_msg_prepipe_open() local
72 skbr = kcalloc(pipe->nr_of_entries, sizeof(*skbr), GFP_ATOMIC); in ipc_protocol_msg_prepipe_open()
78 pipe->nr_of_entries * sizeof(*tdr), in ipc_protocol_msg_prepipe_open()
79 &pipe->phy_tdr_start, GFP_ATOMIC); in ipc_protocol_msg_prepipe_open()
86 pipe->max_nr_of_queued_entries = pipe->nr_of_entries - 1; in ipc_protocol_msg_prepipe_open()
87 pipe->nr_of_queued_entries = 0; in ipc_protocol_msg_prepipe_open()
88 pipe->tdr_start = tdr; in ipc_protocol_msg_prepipe_open()
89 pipe->skbr_start = skbr; in ipc_protocol_msg_prepipe_open()
90 pipe->old_tail = 0; in ipc_protocol_msg_prepipe_open()
92 ipc_protocol->p_ap_shm->head_array[pipe->pipe_nr] = 0; in ipc_protocol_msg_prepipe_open()
[all …]
/Linux-v6.6/drivers/staging/media/atomisp/pci/camera/pipe/src/
Dpipe_binarydesc.c37 struct ia_css_pipe const *const pipe, in pipe_binarydesc_get_offline() argument
46 assert(pipe); in pipe_binarydesc_get_offline()
53 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline()
68 descr->stream_format = pipe->stream->config.input_config.format; in pipe_binarydesc_get_offline()
74 descr->isp_pipe_version = pipe->config.isp_pipe_version; in pipe_binarydesc_get_offline()
80 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_copy_binarydesc() argument
89 assert(pipe); in ia_css_pipe_get_copy_binarydesc()
97 pipe_binarydesc_get_offline(pipe, IA_CSS_BINARY_MODE_COPY, in ia_css_pipe_get_copy_binarydesc()
101 copy_descr->two_ppc = (pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_get_copy_binarydesc()
108 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_vfpp_binarydesc() argument
[all …]
/Linux-v6.6/include/xen/interface/io/
Dusbif.h296 #define xenusb_pipeportnum(pipe) ((pipe) & XENUSB_PIPE_PORT_MASK) argument
297 #define xenusb_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument
299 #define xenusb_pipeunlink(pipe) ((pipe) & XENUSB_PIPE_UNLINK) argument
300 #define xenusb_pipesubmit(pipe) (!xenusb_pipeunlink(pipe)) argument
301 #define xenusb_setunlink_pipe(pipe) ((pipe) | XENUSB_PIPE_UNLINK) argument
303 #define xenusb_pipein(pipe) ((pipe) & XENUSB_PIPE_DIR) argument
304 #define xenusb_pipeout(pipe) (!xenusb_pipein(pipe)) argument
306 #define xenusb_pipedevice(pipe) \ argument
307 (((pipe) >> XENUSB_PIPE_DEV_SHIFT) & XENUSB_PIPE_DEV_MASK)
309 #define xenusb_pipeendpoint(pipe) \ argument
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dce.c222 static int ath12k_ce_rx_buf_enqueue_pipe(struct ath12k_ce_pipe *pipe, in ath12k_ce_rx_buf_enqueue_pipe() argument
225 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe()
226 struct ath12k_ce_ring *ring = pipe->dest_ring; in ath12k_ce_rx_buf_enqueue_pipe()
260 pipe->rx_buf_needed--; in ath12k_ce_rx_buf_enqueue_pipe()
271 static int ath12k_ce_rx_post_pipe(struct ath12k_ce_pipe *pipe) in ath12k_ce_rx_post_pipe() argument
273 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe()
278 if (!(pipe->dest_ring || pipe->status_ring)) in ath12k_ce_rx_post_pipe()
282 while (pipe->rx_buf_needed) { in ath12k_ce_rx_post_pipe()
283 skb = dev_alloc_skb(pipe->buf_sz); in ath12k_ce_rx_post_pipe()
303 ret = ath12k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath12k_ce_rx_post_pipe()
[all …]
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Dsh_css.c186 allocate_delay_frames(struct ia_css_pipe *pipe);
205 ia_css_pipe_check_format(struct ia_css_pipe *pipe,
219 need_capture_pp(const struct ia_css_pipe *pipe);
222 need_yuv_scaler_stage(const struct ia_css_pipe *pipe);
237 static bool need_capt_ldc(const struct ia_css_pipe *pipe);
240 sh_css_pipe_load_binaries(struct ia_css_pipe *pipe);
244 struct ia_css_pipe *pipe,
249 sh_css_pipe_get_output_frame_info(struct ia_css_pipe *pipe,
254 capture_start(struct ia_css_pipe *pipe);
257 video_start(struct ia_css_pipe *pipe);
[all …]
/Linux-v6.6/drivers/gpu/drm/lima/
Dlima_sched.c21 struct lima_sched_pipe *pipe; member
63 return f->pipe->base.name; in lima_fence_get_timeline_name()
87 static struct lima_fence *lima_fence_create(struct lima_sched_pipe *pipe) in lima_fence_create() argument
95 fence->pipe = pipe; in lima_fence_create()
96 dma_fence_init(&fence->base, &lima_fence_ops, &pipe->fence_lock, in lima_fence_create()
97 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
155 int lima_sched_context_init(struct lima_sched_pipe *pipe, in lima_sched_context_init() argument
159 struct drm_gpu_scheduler *sched = &pipe->base; in lima_sched_context_init()
165 void lima_sched_context_fini(struct lima_sched_pipe *pipe, in lima_sched_context_fini() argument
205 struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); in lima_sched_run_job() local
[all …]

12345678910>>...45