Home
last modified time | relevance | path

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

12345678910>>...41

/Linux-v6.1/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 …]
Dpipe.h38 struct usbhs_pipe *pipe; member
50 ((i) < (info)->size) && ((pos) = (info)->pipe + (i)); \
67 char *usbhs_pipe_name(struct usbhs_pipe *pipe);
70 void usbhs_pipe_free(struct usbhs_pipe *pipe);
73 int usbhs_pipe_is_dir_in(struct usbhs_pipe *pipe);
74 int usbhs_pipe_is_dir_host(struct usbhs_pipe *pipe);
75 int usbhs_pipe_is_running(struct usbhs_pipe *pipe);
76 void usbhs_pipe_running(struct usbhs_pipe *pipe, int running);
81 int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe);
82 void usbhs_pipe_clear(struct usbhs_pipe *pipe);
[all …]
/Linux-v6.1/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()
116 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_enable() local
118 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable()
119 if (!pipe->funcs || !pipe->funcs->enable) in drm_simple_kms_crtc_enable()
122 plane = &pipe->plane; in drm_simple_kms_crtc_enable()
123 pipe->funcs->enable(pipe, crtc->state, plane->state); in drm_simple_kms_crtc_enable()
129 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.1/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 …]
Dsplice.c46 static bool page_cache_pipe_buf_try_steal(struct pipe_inode_info *pipe, in page_cache_pipe_buf_try_steal() argument
91 static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, in page_cache_pipe_buf_release() argument
102 static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, in page_cache_pipe_buf_confirm() argument
147 static bool user_page_pipe_buf_try_steal(struct pipe_inode_info *pipe, in user_page_pipe_buf_try_steal() argument
154 return generic_pipe_buf_try_steal(pipe, buf); in user_page_pipe_buf_try_steal()
163 static void wakeup_pipe_readers(struct pipe_inode_info *pipe) in wakeup_pipe_readers() argument
166 if (waitqueue_active(&pipe->rd_wait)) in wakeup_pipe_readers()
167 wake_up_interruptible(&pipe->rd_wait); in wakeup_pipe_readers()
168 kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); in wakeup_pipe_readers()
182 ssize_t splice_to_pipe(struct pipe_inode_info *pipe, in splice_to_pipe() argument
[all …]
/Linux-v6.1/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.1/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.1/drivers/media/platform/renesas/vsp1/
Dvsp1_pipe.c244 void vsp1_pipeline_reset(struct vsp1_pipeline *pipe) in vsp1_pipeline_reset() argument
249 if (pipe->brx) { in vsp1_pipeline_reset()
250 struct vsp1_brx *brx = to_brx(&pipe->brx->subdev); in vsp1_pipeline_reset()
256 for (i = 0; i < ARRAY_SIZE(pipe->inputs); ++i) in vsp1_pipeline_reset()
257 pipe->inputs[i] = NULL; in vsp1_pipeline_reset()
259 pipe->output = NULL; in vsp1_pipeline_reset()
261 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_pipeline_reset()
262 entity->pipe = NULL; in vsp1_pipeline_reset()
264 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_reset()
265 pipe->state = VSP1_PIPELINE_STOPPED; in vsp1_pipeline_reset()
[all …]
Dvsp1_video.c186 static void vsp1_video_calculate_partition(struct vsp1_pipeline *pipe, in vsp1_video_calculate_partition() argument
199 format = vsp1_entity_get_pad_format(&pipe->output->entity, in vsp1_video_calculate_partition()
200 pipe->output->entity.config, in vsp1_video_calculate_partition()
204 if (pipe->partitions <= 1) { in vsp1_video_calculate_partition()
208 vsp1_pipeline_propagate_partition(pipe, partition, index, in vsp1_video_calculate_partition()
233 unsigned int partitions = pipe->partitions - 1; in vsp1_video_calculate_partition()
249 vsp1_pipeline_propagate_partition(pipe, partition, index, &window); in vsp1_video_calculate_partition()
252 static int vsp1_video_pipeline_setup_partitions(struct vsp1_pipeline *pipe) in vsp1_video_pipeline_setup_partitions() argument
254 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_setup_partitions()
264 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.1/drivers/gpu/drm/i915/display/
Dintel_display_trace.h28 __field(enum pipe, pipe)
34 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
35 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
37 __entry->pipe = crtc->pipe;
41 pipe_name(__entry->pipe),
54 __field(enum pipe, pipe)
61 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
62 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
64 __entry->pipe = crtc->pipe;
68 pipe_name(__entry->pipe),
[all …]
Dintel_pch_display.c18 enum pipe pch_transcoder) in intel_has_pch_trancoder()
24 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc) in intel_crtc_pch_transcoder()
31 return crtc->pipe; in intel_crtc_pch_transcoder()
35 enum pipe pipe, enum port port, in assert_pch_dp_disabled() argument
38 enum pipe port_pipe; in assert_pch_dp_disabled()
43 I915_STATE_WARN(state && port_pipe == pipe, in assert_pch_dp_disabled()
45 port_name(port), pipe_name(pipe)); in assert_pch_dp_disabled()
53 enum pipe pipe, enum port port, in assert_pch_hdmi_disabled() argument
56 enum pipe port_pipe; in assert_pch_hdmi_disabled()
61 I915_STATE_WARN(state && port_pipe == pipe, in assert_pch_hdmi_disabled()
[all …]
Dintel_fifo_underrun.c59 enum pipe pipe; in ivb_can_enable_err_int() local
63 for_each_pipe(dev_priv, pipe) { in ivb_can_enable_err_int()
64 crtc = intel_crtc_for_pipe(dev_priv, pipe); in ivb_can_enable_err_int()
76 enum pipe pipe; in cpt_can_enable_serr_int() local
81 for_each_pipe(dev_priv, pipe) { in cpt_can_enable_serr_int()
82 crtc = intel_crtc_for_pipe(dev_priv, pipe); in cpt_can_enable_serr_int()
94 i915_reg_t reg = PIPESTAT(crtc->pipe); in i9xx_check_fifo_underruns()
102 enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
106 trace_intel_cpu_fifo_underrun(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
107 drm_err(&dev_priv->drm, "pipe %c underrun\n", pipe_name(crtc->pipe)); in i9xx_check_fifo_underruns()
[all …]
/Linux-v6.1/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.1/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c72 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_helper_calculate_num_ways_for_subvp() local
78 if (pipe->stream && pipe->plane_state && in dcn32_helper_calculate_num_ways_for_subvp()
79 pipe->stream->mall_stream_config.type == SUBVP_PHANTOM) { in dcn32_helper_calculate_num_ways_for_subvp()
86 if (main_pipe->stream == pipe->stream->mall_stream_config.paired_stream) { in dcn32_helper_calculate_num_ways_for_subvp()
92 bytes_per_pixel = pipe->plane_state->format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616 ? 8 : 4; in dcn32_helper_calculate_num_ways_for_subvp()
99 full_vp_width_blk_aligned = ((pipe->plane_res.scl_data.viewport.x + in dcn32_helper_calculate_num_ways_for_subvp()
100 pipe->plane_res.scl_data.viewport.width + mblk_width - 1) / mblk_width * mblk_width) + in dcn32_helper_calculate_num_ways_for_subvp()
101 (pipe->plane_res.scl_data.viewport.x / mblk_width * mblk_width); in dcn32_helper_calculate_num_ways_for_subvp()
106 full_vp_height_blk_aligned = ((pipe->plane_res.scl_data.viewport.y + in dcn32_helper_calculate_num_ways_for_subvp()
108 (pipe->plane_res.scl_data.viewport.y / mblk_height * mblk_height); in dcn32_helper_calculate_num_ways_for_subvp()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/camera/pipe/src/
Dpipe_binarydesc.c35 struct ia_css_pipe const *const pipe, in pipe_binarydesc_get_offline() argument
44 assert(pipe); in pipe_binarydesc_get_offline()
51 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline()
66 descr->stream_format = pipe->stream->config.input_config.format; in pipe_binarydesc_get_offline()
72 descr->isp_pipe_version = pipe->config.isp_pipe_version; in pipe_binarydesc_get_offline()
78 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_copy_binarydesc() argument
87 assert(pipe); in ia_css_pipe_get_copy_binarydesc()
95 pipe_binarydesc_get_offline(pipe, IA_CSS_BINARY_MODE_COPY, in ia_css_pipe_get_copy_binarydesc()
99 copy_descr->two_ppc = (pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_get_copy_binarydesc()
106 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_vfpp_binarydesc() argument
[all …]
/Linux-v6.1/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.1/drivers/staging/media/atomisp/pci/
Dsh_css.c189 allocate_delay_frames(struct ia_css_pipe *pipe);
208 ia_css_pipe_check_format(struct ia_css_pipe *pipe,
213 ia_css_pipe_load_extension(struct ia_css_pipe *pipe,
217 ia_css_pipe_unload_extension(struct ia_css_pipe *pipe,
229 need_capture_pp(const struct ia_css_pipe *pipe);
232 need_yuv_scaler_stage(const struct ia_css_pipe *pipe);
247 static bool need_capt_ldc(const struct ia_css_pipe *pipe);
250 sh_css_pipe_load_binaries(struct ia_css_pipe *pipe);
254 struct ia_css_pipe *pipe,
259 sh_css_pipe_get_output_frame_info(struct ia_css_pipe *pipe,
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/platform/goldfish/
Dgoldfish_pipe.c218 static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, in goldfish_pipe_cmd_locked() argument
221 pipe->command_buffer->cmd = cmd; in goldfish_pipe_cmd_locked()
223 pipe->command_buffer->status = PIPE_ERROR_INVAL; in goldfish_pipe_cmd_locked()
224 writel(pipe->id, pipe->dev->base + PIPE_REG_CMD); in goldfish_pipe_cmd_locked()
225 return pipe->command_buffer->status; in goldfish_pipe_cmd_locked()
228 static int goldfish_pipe_cmd(struct goldfish_pipe *pipe, enum PipeCmdCode cmd) in goldfish_pipe_cmd() argument
232 if (mutex_lock_interruptible(&pipe->lock)) in goldfish_pipe_cmd()
234 status = goldfish_pipe_cmd_locked(pipe, cmd); in goldfish_pipe_cmd()
235 mutex_unlock(&pipe->lock); in goldfish_pipe_cmd()
325 static int transfer_max_buffers(struct goldfish_pipe *pipe, in transfer_max_buffers() argument
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_reg.h138 #define _PIPE(pipe, a, b) _PICK_EVEN(pipe, a, b) argument
145 #define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b)) argument
154 #define _MMIO_PIPE3(pipe, a, b, c) _MMIO(_PICK(pipe, a, b, c)) argument
155 #define _MMIO_PORT3(pipe, a, b, c) _MMIO(_PICK(pipe, a, b, c)) argument
164 #define _MMIO_PIPE2(pipe, reg) _MMIO(INTEL_INFO(dev_priv)->display.pipe_offsets[(pipe)] - \ argument
170 #define _MMIO_CURSOR2(pipe, reg) _MMIO(INTEL_INFO(dev_priv)->display.cursor_offsets[(pipe)] - \ argument
213 #define GEN7_PIPE_DE_LOAD_SL(pipe) _MMIO_PIPE(pipe, _GEN7_PIPEA_DE_LOAD_SL, _GEN7_PIPEB_DE_LOAD_SL) argument
260 #define DPIO_PHY(pipe) ((pipe) >> 1) argument
1016 #define ERR_INT_PIPE_CRC_DONE(pipe) (1 << (2 + (pipe) * 3)) argument
1018 #define ERR_INT_FIFO_UNDERRUN(pipe) (1 << ((pipe) * 3)) argument
[all …]
/Linux-v6.1/net/nfc/hci/
Dcommand.c19 static int nfc_hci_execute_cmd_async(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd_async() argument
23 pr_debug("exec cmd async through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd_async()
29 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_COMMAND, cmd, in nfc_hci_execute_cmd_async()
55 static int nfc_hci_execute_cmd(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_execute_cmd() argument
65 pr_debug("exec cmd sync through pipe=%d, cmd=%d, plen=%zd\n", pipe, in nfc_hci_execute_cmd()
71 hcp_ew.exec_result = nfc_hci_hcp_message_tx(hdev, pipe, in nfc_hci_execute_cmd()
94 u8 pipe; in nfc_hci_send_event() local
98 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_event()
99 if (pipe == NFC_HCI_INVALID_PIPE) in nfc_hci_send_event()
102 return nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_EVENT, event, in nfc_hci_send_event()
[all …]
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dce.c271 static int ath11k_ce_rx_buf_enqueue_pipe(struct ath11k_ce_pipe *pipe, in ath11k_ce_rx_buf_enqueue_pipe() argument
274 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe()
275 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe()
309 pipe->rx_buf_needed--; in ath11k_ce_rx_buf_enqueue_pipe()
320 static int ath11k_ce_rx_post_pipe(struct ath11k_ce_pipe *pipe) in ath11k_ce_rx_post_pipe() argument
322 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe()
327 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe()
331 while (pipe->rx_buf_needed) { in ath11k_ce_rx_post_pipe()
332 skb = dev_alloc_skb(pipe->buf_sz); in ath11k_ce_rx_post_pipe()
352 ret = ath11k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath11k_ce_rx_post_pipe()
[all …]

12345678910>>...41