/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
D | pipe.c | 33 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 …]
|
D | fifo.c | 17 #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 …]
|
D | pipe.h | 38 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 …]
|
/kernel/linux/linux-5.10/fs/ |
D | pipe.c | 78 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument 80 if (pipe->files) in pipe_lock_nested() 81 mutex_lock_nested(&pipe->mutex, subclass); in pipe_lock_nested() 84 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() argument 89 pipe_lock_nested(pipe, I_MUTEX_PARENT); in pipe_lock() 93 void pipe_unlock(struct pipe_inode_info *pipe) in pipe_unlock() argument 95 if (pipe->files) in pipe_unlock() 96 mutex_unlock(&pipe->mutex); in pipe_unlock() 100 static inline void __pipe_lock(struct pipe_inode_info *pipe) in __pipe_lock() argument 102 mutex_lock_nested(&pipe->mutex, I_MUTEX_PARENT); in __pipe_lock() [all …]
|
D | splice.c | 46 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_output.h | 75 #define CHECK_PIPE(pipe) ({ \ argument 76 const typeof(pipe) __pipe = (pipe); \ 80 #define CHECK_PIPE(pipe) (pipe) argument 86 #define REG_OFFSET(pipe) (CHECK_PIPE(pipe) * 0x400) argument 89 #define MIPI_DEVICE_READY_REG(pipe) (0xb000 + REG_OFFSET(pipe)) argument 90 #define MIPI_INTR_STAT_REG(pipe) (0xb004 + REG_OFFSET(pipe)) argument 91 #define MIPI_INTR_EN_REG(pipe) (0xb008 + REG_OFFSET(pipe)) argument 92 #define MIPI_DSI_FUNC_PRG_REG(pipe) (0xb00c + REG_OFFSET(pipe)) argument 93 #define MIPI_HS_TX_TIMEOUT_REG(pipe) (0xb010 + REG_OFFSET(pipe)) argument 94 #define MIPI_LP_RX_TIMEOUT_REG(pipe) (0xb014 + REG_OFFSET(pipe)) argument [all …]
|
D | mdfld_dsi_dpi.c | 39 int pipe); 41 static void mdfld_wait_for_HS_DATA_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_DATA_FIFO() argument 43 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_DATA_FIFO() 59 static void mdfld_wait_for_HS_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_CTRL_FIFO() argument 61 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_CTRL_FIFO() 76 static void mdfld_wait_for_DPI_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_DPI_CTRL_FIFO() argument 78 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_DPI_CTRL_FIFO() 94 static void mdfld_wait_for_SPL_PKG_SENT(struct drm_device *dev, u32 pipe) in mdfld_wait_for_SPL_PKG_SENT() argument 96 u32 intr_stat_reg = MIPI_INTR_STAT_REG(pipe); in mdfld_wait_for_SPL_PKG_SENT() 115 int pipe) in dsi_set_device_ready_state() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_simple_kms_helper.c | 78 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_mode_valid() local 80 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid() 81 if (!pipe->funcs || !pipe->funcs->mode_valid) in drm_simple_kms_crtc_mode_valid() 85 return pipe->funcs->mode_valid(pipe, mode); in drm_simple_kms_crtc_mode_valid() 105 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_enable() local 107 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable() 108 if (!pipe->funcs || !pipe->funcs->enable) in drm_simple_kms_crtc_enable() 111 plane = &pipe->plane; in drm_simple_kms_crtc_enable() 112 pipe->funcs->enable(pipe, crtc->state, plane->state); in drm_simple_kms_crtc_enable() 118 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_disable() local [all …]
|
D | drm_vblank.c | 157 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() 213 return dev->driver->get_vblank_counter(dev, pipe); in __get_vblank_counter() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline.c | 17 struct komeda_pipeline *pipe; in komeda_pipeline_add() local 25 if (size < sizeof(*pipe)) { in komeda_pipeline_add() 30 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add() 31 if (!pipe) in komeda_pipeline_add() 34 pipe->mdev = mdev; in komeda_pipeline_add() 35 pipe->id = mdev->n_pipelines; in komeda_pipeline_add() 36 pipe->funcs = funcs; in komeda_pipeline_add() 38 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add() 41 return pipe; in komeda_pipeline_add() 45 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() argument [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
D | vsp1_pipe.c | 244 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 …]
|
D | vsp1_video.c | 186 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 …]
|
D | vsp1_drm.c | 33 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 …]
|
/kernel/linux/linux-5.10/sound/drivers/vx/ |
D | vx_pcm.c | 46 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
D | pipe_binarydesc.c | 35 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() 67 descr->stream_format = pipe->stream->config.input_config.format; in pipe_binarydesc_get_offline() 73 descr->isp_pipe_version = pipe->config.isp_pipe_version; in pipe_binarydesc_get_offline() 79 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_copy_binarydesc() argument 88 assert(pipe); in ia_css_pipe_get_copy_binarydesc() 96 pipe_binarydesc_get_offline(pipe, IA_CSS_BINARY_MODE_COPY, in ia_css_pipe_get_copy_binarydesc() 100 copy_descr->two_ppc = (pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_get_copy_binarydesc() 107 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_vfpp_binarydesc() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_fifo_underrun.c | 58 enum pipe pipe; in ivb_can_enable_err_int() local 62 for_each_pipe(dev_priv, pipe) { in ivb_can_enable_err_int() 63 crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in ivb_can_enable_err_int() 75 enum pipe pipe; in cpt_can_enable_serr_int() local 80 for_each_pipe(dev_priv, pipe) { in cpt_can_enable_serr_int() 81 crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in cpt_can_enable_serr_int() 93 i915_reg_t reg = PIPESTAT(crtc->pipe); in i9xx_check_fifo_underruns() 101 enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns() 105 trace_intel_cpu_fifo_underrun(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns() 106 drm_err(&dev_priv->drm, "pipe %c underrun\n", pipe_name(crtc->pipe)); in i9xx_check_fifo_underruns() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | ce.c | 210 static int ath11k_ce_rx_buf_enqueue_pipe(struct ath11k_ce_pipe *pipe, in ath11k_ce_rx_buf_enqueue_pipe() argument 213 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 214 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe() 248 pipe->rx_buf_needed--; in ath11k_ce_rx_buf_enqueue_pipe() 259 static int ath11k_ce_rx_post_pipe(struct ath11k_ce_pipe *pipe) in ath11k_ce_rx_post_pipe() argument 261 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() 266 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe() 270 while (pipe->rx_buf_needed) { in ath11k_ce_rx_post_pipe() 271 skb = dev_alloc_skb(pipe->buf_sz); in ath11k_ce_rx_post_pipe() 291 ret = ath11k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath11k_ce_rx_post_pipe() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_sched.c | 20 struct lima_sched_pipe *pipe; member 62 return f->pipe->base.name; in lima_fence_get_timeline_name() 86 static struct lima_fence *lima_fence_create(struct lima_sched_pipe *pipe) in lima_fence_create() argument 94 fence->pipe = pipe; in lima_fence_create() 95 dma_fence_init(&fence->base, &lima_fence_ops, &pipe->fence_lock, in lima_fence_create() 96 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create() 161 int lima_sched_context_init(struct lima_sched_pipe *pipe, in lima_sched_context_init() argument 165 struct drm_gpu_scheduler *sched = &pipe->base; in lima_sched_context_init() 171 void lima_sched_context_fini(struct lima_sched_pipe *pipe, in lima_sched_context_fini() argument 223 struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); in lima_sched_run_job() local [all …]
|
D | lima_pp.c | 24 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_handle_irq() local 32 pipe->error = true; in lima_pp_handle_irq() 45 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_irq_handler() local 54 if (atomic_dec_and_test(&pipe->task)) in lima_pp_irq_handler() 55 lima_sched_pipe_task_done(pipe); in lima_pp_irq_handler() 66 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_bcast_irq_handler() local 70 if (!pipe->current_task) in lima_pp_bcast_irq_handler() 73 frame = pipe->current_task->frame; in lima_pp_bcast_irq_handler() 76 struct lima_ip *ip = pipe->processor[i]; in lima_pp_bcast_irq_handler() 79 if (pipe->done & (1 << i)) in lima_pp_bcast_irq_handler() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | sh_css.c | 182 allocate_delay_frames(struct ia_css_pipe *pipe); 225 ia_css_pipe_check_format(struct ia_css_pipe *pipe, 230 check_pipe_resolutions(const struct ia_css_pipe *pipe); 233 ia_css_pipe_load_extension(struct ia_css_pipe *pipe, 237 ia_css_pipe_unload_extension(struct ia_css_pipe *pipe, 249 need_capture_pp(const struct ia_css_pipe *pipe); 252 need_yuv_scaler_stage(const struct ia_css_pipe *pipe); 267 static bool need_capt_ldc(const struct ia_css_pipe *pipe); 270 sh_css_pipe_load_binaries(struct ia_css_pipe *pipe); 274 struct ia_css_pipe *pipe, [all …]
|
D | sh_css_mipi.c | 50 static bool ia_css_mipi_is_source_port_valid(struct ia_css_pipe *pipe, in ia_css_mipi_is_source_port_valid() argument 57 switch (pipe->stream->config.mode) { in ia_css_mipi_is_source_port_valid() 59 port = (unsigned int)pipe->stream->config.source.port.port; in ia_css_mipi_is_source_port_valid() 63 port = (unsigned int)pipe->stream->config.source.tpg.id; in ia_css_mipi_is_source_port_valid() 67 port = (unsigned int)pipe->stream->config.source.prbs.id; in ia_css_mipi_is_source_port_valid() 388 static bool buffers_needed(struct ia_css_pipe *pipe) in buffers_needed() argument 391 if (pipe->stream->config.mode == IA_CSS_INPUT_MODE_BUFFERED_SENSOR) in buffers_needed() 397 if (pipe->stream->config.mode == IA_CSS_INPUT_MODE_BUFFERED_SENSOR || in buffers_needed() 398 pipe->stream->config.mode == IA_CSS_INPUT_MODE_TPG || in buffers_needed() 399 pipe->stream->config.mode == IA_CSS_INPUT_MODE_PRBS) in buffers_needed() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 221 static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, in goldfish_pipe_cmd_locked() argument 224 pipe->command_buffer->cmd = cmd; in goldfish_pipe_cmd_locked() 226 pipe->command_buffer->status = PIPE_ERROR_INVAL; in goldfish_pipe_cmd_locked() 227 writel(pipe->id, pipe->dev->base + PIPE_REG_CMD); in goldfish_pipe_cmd_locked() 228 return pipe->command_buffer->status; in goldfish_pipe_cmd_locked() 231 static int goldfish_pipe_cmd(struct goldfish_pipe *pipe, enum PipeCmdCode cmd) in goldfish_pipe_cmd() argument 235 if (mutex_lock_interruptible(&pipe->lock)) in goldfish_pipe_cmd() 237 status = goldfish_pipe_cmd_locked(pipe, cmd); in goldfish_pipe_cmd() 238 mutex_unlock(&pipe->lock); in goldfish_pipe_cmd() 328 static int transfer_max_buffers(struct goldfish_pipe *pipe, in transfer_max_buffers() argument [all …]
|
/kernel/linux/linux-5.10/net/nfc/hci/ |
D | command.c | 19 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/ |
D | octeon-hcd.c | 467 if (usb_pipeisoc(urb->pipe)) in octeon_free_temp_buffer() 553 struct cvmx_usb_pipe *pipe) in cvmx_usb_pipe_needs_split() argument 555 return pipe->device_speed != CVMX_USB_SPEED_HIGH && in cvmx_usb_pipe_needs_split() 566 static inline int cvmx_usb_get_data_pid(struct cvmx_usb_pipe *pipe) in cvmx_usb_get_data_pid() argument 568 if (pipe->pid_toggle) in cvmx_usb_get_data_pid() 1097 struct cvmx_usb_pipe *pipe; in cvmx_usb_open_pipe() local 1099 pipe = kzalloc(sizeof(*pipe), GFP_ATOMIC); in cvmx_usb_open_pipe() 1100 if (!pipe) in cvmx_usb_open_pipe() 1105 pipe->flags |= CVMX_USB_PIPE_FLAGS_NEED_PING; in cvmx_usb_open_pipe() 1106 pipe->device_addr = device_addr; in cvmx_usb_open_pipe() [all …]
|
/kernel/linux/linux-5.10/drivers/rpmsg/ |
D | qcom_glink_smem.c | 51 struct glink_smem_pipe *pipe = to_smem_pipe(np); in glink_smem_rx_avail() local 57 if (!pipe->fifo) { in glink_smem_rx_avail() 58 fifo = qcom_smem_get(pipe->remote_pid, in glink_smem_rx_avail() 66 pipe->fifo = fifo; in glink_smem_rx_avail() 67 pipe->native.length = len; in glink_smem_rx_avail() 70 head = le32_to_cpu(*pipe->head); in glink_smem_rx_avail() 71 tail = le32_to_cpu(*pipe->tail); in glink_smem_rx_avail() 74 return pipe->native.length - tail + head; in glink_smem_rx_avail() 82 struct glink_smem_pipe *pipe = to_smem_pipe(np); in glink_smem_rx_peak() local 86 tail = le32_to_cpu(*pipe->tail); in glink_smem_rx_peak() [all …]
|