Home
last modified time | relevance | path

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

12345678910>>...39

/linux/drivers/usb/renesas_usbhs/
A Dpipe.c643 pipe = NULL; in usbhsp_get_pipe()
650 pipe = pos; in usbhsp_get_pipe()
654 if (!pipe) in usbhsp_get_pipe()
663 return pipe; in usbhsp_get_pipe()
703 if (!pipe) { in usbhs_pipe_malloc()
744 return pipe; in usbhs_pipe_malloc()
756 if (pipe->fifo) in usbhs_pipe_select_fifo()
757 pipe->fifo->pipe = NULL; in usbhs_pipe_select_fifo()
762 fifo->pipe = pipe; in usbhs_pipe_select_fifo()
774 if (!pipe) in usbhs_dcp_malloc()
[all …]
A Dfifo.c74 pkt->pipe = pipe; in usbhs_pkt_push()
359 struct usbhs_pipe *pipe = pkt->pipe; in usbhs_dcp_dir_switch_to_write() local
388 struct usbhs_pipe *pipe = pkt->pipe; in usbhs_dcp_dir_switch_to_read() local
416 struct usbhs_pipe *pipe = pkt->pipe; in usbhs_dcp_dir_switch_done() local
444 struct usbhs_pipe *pipe = pkt->pipe; in usbhsf_dcp_data_stage_try_push() local
466 struct usbhs_pipe *pipe = pkt->pipe; in usbhsf_dcp_data_stage_prepare_pop() local
504 struct usbhs_pipe *pipe = pkt->pipe; in usbhsf_pio_try_push() local
622 struct usbhs_pipe *pipe = pkt->pipe; in usbhsf_prepare_pop() local
651 struct usbhs_pipe *pipe = pkt->pipe; in usbhsf_pio_try_pop() local
959 usbhsf_dma_stop(pipe, pipe->fifo); in usbhsf_dma_push_done()
[all …]
A Dpipe.h38 struct usbhs_pipe *pipe; member
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);
82 void usbhs_pipe_clear(struct usbhs_pipe *pipe);
87 void usbhs_pipe_enable(struct usbhs_pipe *pipe);
88 void usbhs_pipe_disable(struct usbhs_pipe *pipe);
89 void usbhs_pipe_stall(struct usbhs_pipe *pipe);
90 int usbhs_pipe_is_stall(struct usbhs_pipe *pipe);
97 #define usbhs_pipe_sequence_data0(pipe) usbhs_pipe_data_sequence(pipe, 0) argument
[all …]
/linux/fs/
A Dpipe.c253 was_full = pipe_full(pipe->head, pipe->tail, pipe->max_usage); in pipe_read()
380 was_full = pipe_full(pipe->head, pipe->tail, pipe->max_usage); in pipe_read()
383 if (pipe_empty(pipe->head, pipe->tail)) in pipe_read()
571 was_empty = pipe_empty(pipe->head, pipe->tail); in pipe_write()
575 if (pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in pipe_write()
724 if (!pipe->readers != !pipe->writers) { in pipe_release()
811 pipe->r_counter = pipe->w_counter = 1; in alloc_pipe_info()
883 pipe->readers = pipe->writers = 1; in get_pipe_inode()
1165 if (wait_for_partner(pipe, &pipe->r_counter)) in fifo_open()
1182 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open()
[all …]
A Dsplice.c361 pipe_occupancy(pipe->head, pipe->tail) > 1) in pipe_to_sendpage()
481 while (pipe_empty(pipe->head, pipe->tail)) { in splice_from_pipe_next()
784 p_space = pipe->max_usage - pipe_occupancy(pipe->head, pipe->tail); in do_splice_to()
864 WARN_ON_ONCE(!pipe_empty(pipe->head, pipe->tail)); in splice_direct_to_actor()
908 pipe->tail = pipe->head = 0; in splice_direct_to_actor()
994 if (!pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in wait_for_space()
1224 if (!pipe) in vmsplice_to_user()
1371 if (!pipe_empty(pipe->head, pipe->tail)) in ipipe_prep()
1377 while (pipe_empty(pipe->head, pipe->tail)) { in ipipe_prep()
1407 if (!pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in opipe_prep()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_simple_kms_helper.c97 return pipe->funcs->mode_valid(pipe, mode); in drm_simple_kms_crtc_mode_valid()
122 if (!pipe->funcs || !pipe->funcs->enable) in drm_simple_kms_crtc_enable()
135 if (!pipe->funcs || !pipe->funcs->disable) in drm_simple_kms_crtc_disable()
138 pipe->funcs->disable(pipe); in drm_simple_kms_crtc_disable()
156 return pipe->funcs->reset_crtc(pipe); in drm_simple_kms_crtc_reset()
189 return pipe->funcs->enable_vblank(pipe); in drm_simple_kms_crtc_enable_vblank()
200 pipe->funcs->disable_vblank(pipe); in drm_simple_kms_crtc_disable_vblank()
237 if (!pipe->funcs || !pipe->funcs->check) in drm_simple_kms_plane_atomic_check()
254 pipe->funcs->update(pipe, old_pstate); in drm_simple_kms_plane_atomic_update()
284 pipe->funcs->cleanup_fb(pipe, state); in drm_simple_kms_plane_cleanup_fb()
[all …]
A Ddrm_vblank.c489 unsigned int pipe = vblank->pipe; in vblank_disable_fn() local
1065 e->pipe = pipe; in drm_crtc_arm_vblank_event()
1097 e->pipe = pipe; in drm_crtc_send_vblank_event()
1343 if (e->pipe != pipe) in drm_crtc_vblank_off()
1635 e->pipe = pipe; in drm_queue_vblank_event()
1786 pipe = 0; in drm_wait_vblank_ioctl()
1793 pipe++; in drm_wait_vblank_ioctl()
1904 if (e->pipe != pipe) in drm_handle_vblank_events()
2026 int pipe; in drm_crtc_get_sequence_ioctl() local
2082 int pipe; in drm_crtc_queue_sequence_ioctl() local
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_pipeline.c31 if (!pipe) in komeda_pipeline_add()
34 pipe->mdev = mdev; in komeda_pipeline_add()
36 pipe->funcs = funcs; in komeda_pipeline_add()
41 return pipe; in komeda_pipeline_add()
56 clk_put(pipe->pxlclk); in komeda_pipeline_destroy()
205 c->pipeline = pipe; in komeda_component_add()
254 pipe->id, pipe->n_layers, pipe->n_scalers, in komeda_pipeline_dump()
321 if (pipe->dual_link && !pipe->ctrlr->supports_dual_link) { in komeda_pipeline_assemble()
324 pipe->id); in komeda_pipeline_assemble()
366 if (pipe->funcs && pipe->funcs->dump_register) in komeda_pipeline_dump_register()
[all …]
/linux/sound/drivers/vx/
A Dvx_pcm.c415 pipe = kzalloc(sizeof(*pipe), GFP_KERNEL); in vx_alloc_pipe()
416 if (! pipe) { in vx_alloc_pipe()
449 kfree(pipe); in vx_free_pipe()
529 if (! pipe) { in vx_pcm_playback_open()
1009 if ((pipe->hw_ptr % pipe->align) == 0) in vx_pcm_capture_update()
1042 if (pipe->transferred >= pipe->period_bytes) { in vx_pcm_capture_update()
1043 pipe->transferred %= pipe->period_bytes; in vx_pcm_capture_update()
1118 if (pipe && pipe->substream) { in vx_pcm_update_intr()
1119 vx_pcm_playback_update(chip, pipe->substream, pipe); in vx_pcm_update_intr()
1128 if (pipe && pipe->substream) in vx_pcm_update_intr()
[all …]
/linux/drivers/media/platform/vsp1/
A Dvsp1_pipe.c249 if (pipe->brx) { in vsp1_pipeline_reset()
268 pipe->brx = NULL; in vsp1_pipeline_reset()
319 if (pipe->lif) { in vsp1_pipeline_stop()
337 ret = wait_event_timeout(pipe->wq, vsp1_pipeline_stopped(pipe), in vsp1_pipeline_stop()
348 if (pipe->hgo) in vsp1_pipeline_stop()
353 if (pipe->hgt) in vsp1_pipeline_stop()
368 if (!pipe->lif) in vsp1_pipeline_ready()
388 if (pipe->hgo) in vsp1_pipeline_frame_end()
391 if (pipe->hgt) in vsp1_pipeline_frame_end()
399 pipe->frame_end(pipe, flags); in vsp1_pipeline_frame_end()
[all …]
A Dvsp1_video.c287 pipe->part_table = kcalloc(pipe->partitions, sizeof(*pipe->part_table), in vsp1_video_pipeline_setup_partitions()
370 pipe->partition = &pipe->part_table[partition]; in vsp1_video_pipeline_run_partition()
448 vsp1_video_frame_end(pipe, pipe->inputs[i]); in vsp1_video_pipeline_frame_end()
451 vsp1_video_frame_end(pipe, pipe->output); in vsp1_video_pipeline_frame_end()
585 e->pipe = pipe; in vsp1_video_pipeline_build()
625 if (pipe->num_inputs == 0 || !pipe->output) in vsp1_video_pipeline_build()
667 pipe = kzalloc(sizeof(*pipe), GFP_KERNEL); in vsp1_video_pipeline_get()
678 pipe = video->rwpf->entity.pipe; in vsp1_video_pipeline_get()
1181 pipe = wpf->entity.pipe; in vsp1_video_suspend()
1198 pipe = wpf->entity.pipe; in vsp1_video_suspend()
[all …]
A Dvsp1_drm.c281 pipe->brx->pipe = NULL; in vsp1_du_pipeline_setup_brx()
325 pipe->brx->pipe = pipe; in vsp1_du_pipeline_setup_brx()
326 pipe->brx->sink = &pipe->output->entity; in vsp1_du_pipeline_setup_brx()
422 rpf->entity.pipe = pipe; in vsp1_du_pipeline_setup_inputs()
452 pipe->brx, pipe->brx->source_pad, in vsp1_du_pipeline_setup_inputs()
472 drm_pipe->uif->pipe = pipe; in vsp1_du_pipeline_setup_inputs()
657 pipe = &drm_pipe->pipe; in vsp1_du_setup_lif()
700 pipe->brx->pipe = NULL; in vsp1_du_setup_lif()
965 pipe->output->entity.pipe = pipe; in vsp1_drm_init()
966 pipe->output->entity.sink = pipe->lif; in vsp1_drm_init()
[all …]
/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
A Dpipe_binarydesc.c44 assert(pipe); in pipe_binarydesc_get_offline()
88 assert(pipe); in ia_css_pipe_get_copy_binarydesc()
115 assert(pipe); in ia_css_pipe_get_vfpp_binarydesc()
220 assert(pipe); in ia_css_pipe_get_preview_binarydesc()
342 assert(pipe); in ia_css_pipe_get_video_binarydesc()
460 assert(pipe); in ia_css_pipe_get_yuvscaler_binarydesc()
503 assert(pipe); in ia_css_pipe_get_capturepp_binarydesc()
558 assert(pipe); in ia_css_pipe_get_primary_binarydesc()
634 assert(pipe); in ia_css_pipe_get_pre_gdc_binarydesc()
661 assert(pipe); in ia_css_pipe_get_gdc_binarydesc()
[all …]
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_protocol_ops.c59 struct ipc_pipe *pipe = args->pipe_open.pipe; in ipc_protocol_msg_prepipe_open() local
86 pipe->max_nr_of_queued_entries = pipe->nr_of_entries - 1; in ipc_protocol_msg_prepipe_open()
111 struct ipc_pipe *pipe = args->pipe_close.pipe; in ipc_protocol_msg_prepipe_close() local
298 struct sk_buff *skb = pipe->skbr_start[pipe->old_tail]; in ipc_protocol_ul_td_process()
302 if (pipe->old_tail >= pipe->nr_of_entries) in ipc_protocol_ul_td_process()
384 p_td = &pipe->tdr_start[pipe->old_tail]; in ipc_protocol_dl_td_process()
385 skb = pipe->skbr_start[pipe->old_tail]; in ipc_protocol_dl_td_process()
388 pipe->skbr_start[pipe->old_tail] = NULL; in ipc_protocol_dl_td_process()
393 if (pipe->old_tail >= pipe->nr_of_entries) in ipc_protocol_dl_td_process()
496 sizeof(*pipe->tdr_start) * pipe->nr_of_entries, in ipc_protocol_pipe_cleanup()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_fifo_underrun.c59 enum pipe pipe; in ivb_can_enable_err_int() local
76 enum pipe pipe; in cpt_can_enable_serr_int() local
111 enum pipe pipe, in i9xx_set_fifo_underrun_reporting() argument
133 enum pipe pipe, bool enable) in ilk_set_fifo_underrun_reporting() argument
148 enum pipe pipe = crtc->pipe; in ivb_check_fifo_underruns() local
164 enum pipe pipe, bool enable, in ivb_set_fifo_underrun_reporting() argument
202 enum pipe pipe, bool enable) in bdw_set_fifo_underrun_reporting() argument
235 enum pipe pch_transcoder = crtc->pipe; in cpt_check_pch_fifo_underruns()
279 enum pipe pipe, bool enable) in __intel_set_cpu_fifo_underrun_reporting() argument
319 enum pipe pipe, bool enable) in intel_set_cpu_fifo_underrun_reporting() argument
[all …]
/linux/drivers/staging/media/atomisp/pci/
A Dsh_css.c1382 if ((!pipe) || (!pipe->stream)) in start_copy_on_sp()
2635 if ((!pipe) || (!pipe->stream)) { in alloc_continuous_frames()
2646 pipe->stream->continuous_pipe = pipe; in alloc_continuous_frames()
3456 if ((!pipe) || (!pipe->stream) || (pipe->mode != IA_CSS_PIPE_ID_VIDEO)) { in create_host_video_pipeline()
3645 if ((!pipe) || (!pipe->stream)) { in create_host_acc_pipeline()
4308 if (pipe && pipe->stop_requested) { in ia_css_pipe_dequeue_buffer()
8811 if (!pipe || !pipe->stream) {
9010 if (!pipe || !pipe->stream) {
10404 if (!pipe || !pipe->stream) {
10450 if (!pipe || !pipe->stream) {
[all …]
A Dsh_css_mipi.c400 assert(pipe); in allocate_mipi_frames()
402 if ((!pipe) || (!pipe->stream)) { in allocate_mipi_frames()
405 pipe); in allocate_mipi_frames()
413 pipe); in allocate_mipi_frames()
422 pipe); in allocate_mipi_frames()
539 if (pipe) { in free_mipi_frames()
541 if ((!pipe) || (!pipe->stream)) { in free_mipi_frames()
544 pipe); in free_mipi_frames()
551 pipe); in free_mipi_frames()
651 assert(pipe); in send_mipi_frames()
[all …]
/linux/drivers/gpu/drm/lima/
A Dlima_sched.c95 fence->pipe = pipe; in lima_fence_create()
97 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
254 if (pipe->bcast_mmu) in lima_sched_run_job()
255 lima_mmu_switch_vm(pipe->bcast_mmu, pipe->current_vm); in lima_sched_run_job()
258 lima_mmu_switch_vm(pipe->mmu[i], pipe->current_vm); in lima_sched_run_job()
264 pipe->task_run(pipe, task); in lima_sched_run_job()
405 if (!pipe->error) in lima_sched_timedout_job()
414 pipe->task_error(pipe); in lima_sched_timedout_job()
476 if (pipe->task_recover(pipe)) in lima_sched_recover_work()
506 if (pipe->error) { in lima_sched_pipe_task_done()
[all …]
A Dlima_pp.c24 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
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()
79 if (pipe->done & (1 << i)) in lima_pp_bcast_irq_handler()
96 pipe->done |= (1 << i); in lima_pp_bcast_irq_handler()
146 struct lima_sched_pipe *pipe = dev->pipe + lima_pipe_pp; in lima_pp_soft_reset_async_wait() local
338 pipe->done = 0; in lima_pp_task_run()
389 if (pipe->bcast_processor) in lima_pp_task_fini()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Dce.c301 pipe->rx_buf_needed--; in ath11k_ce_rx_buf_enqueue_pipe()
319 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe()
400 pipe->rx_buf_needed++; in ath11k_ce_completed_recv_next()
671 if (pipe->send_cb) in ath11k_ce_per_engine_service()
672 pipe->send_cb(pipe); in ath11k_ce_per_engine_service()
674 if (pipe->recv_cb) in ath11k_ce_per_engine_service()
682 if ((pipe->attr_flags & CE_ATTR_DIS_INTR) && pipe->send_cb) in ath11k_ce_poll_send_completed()
683 pipe->send_cb(pipe); in ath11k_ce_poll_send_completed()
928 pipe->rx_buf_needed = pipe->dest_ring->nentries ? in ath11k_ce_init_pipes()
1014 pipe->pipe_num = i; in ath11k_ce_alloc_pipes()
[all …]
/linux/drivers/platform/goldfish/
A Dgoldfish_pipe.c224 writel(pipe->id, pipe->dev->base + PIPE_REG_CMD); in goldfish_pipe_cmd_locked()
523 if (!pipe) in signalled_pipes_add_locked()
527 if (pipe->prev_signalled || pipe->next_signalled || in signalled_pipes_add_locked()
540 pipe->prev_signalled->next_signalled = pipe->next_signalled; in signalled_pipes_remove_locked()
542 pipe->next_signalled->prev_signalled = pipe->prev_signalled; in signalled_pipes_remove_locked()
558 if (pipe) { in signalled_pipes_pop_front()
574 return pipe; in signalled_pipes_pop_front()
705 if (!pipe) in goldfish_pipe_open()
733 pipe->id = id; in goldfish_pipe_open()
756 kfree(pipe); in goldfish_pipe_open()
[all …]
/linux/net/nfc/hci/
A Dcommand.c94 u8 pipe; in nfc_hci_send_event() local
98 pipe = hdev->gate2pipe[gate]; in nfc_hci_send_event()
115 u8 pipe; in nfc_hci_send_cmd() local
129 u8 pipe; in nfc_hci_send_cmd_async() local
187 pr_debug("pipe=%d\n", pipe); in nfc_hci_open_pipe()
214 u8 pipe; in nfc_hci_create_pipe() local
229 pipe = resp->pipe; in nfc_hci_create_pipe()
234 return pipe; in nfc_hci_create_pipe()
271 if (pipe != NFC_HCI_LINK_MGMT_PIPE && pipe != NFC_HCI_ADMIN_PIPE) { in nfc_hci_disconnect_gate()
298 u8 pipe) in nfc_hci_connect_gate() argument
[all …]
/linux/drivers/staging/octeon-usb/
A Docteon-hcd.c1101 pipe = kzalloc(sizeof(*pipe), GFP_ATOMIC); in cvmx_usb_open_pipe()
1102 if (!pipe) in cvmx_usb_open_pipe()
1878 if (pipe) in cvmx_usb_next_pipe()
1882 if (pipe) in cvmx_usb_next_pipe()
1886 if (pipe) in cvmx_usb_next_pipe()
2527 pipe->next_tx_frame += pipe->interval; in cvmx_usb_transfer_intr()
2533 pipe->next_tx_frame += pipe->interval; in cvmx_usb_transfer_intr()
2559 pipe->next_tx_frame += pipe->interval; in cvmx_usb_transfer_isoc()
2573 pipe->next_tx_frame += pipe->interval; in cvmx_usb_transfer_isoc()
2582 pipe->next_tx_frame += pipe->interval; in cvmx_usb_transfer_isoc()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
A Dusb.c68 pipe->urb_cnt++; in ath10k_usb_free_urb_to_pipe()
94 pipe->logical_pipe_num, pipe->usb_pipe_handle, in ath10k_usb_free_pipe_resources()
95 pipe->urb_alloc, pipe->urb_cnt); in ath10k_usb_free_pipe_resources()
97 if (pipe->urb_alloc != pipe->urb_cnt) { in ath10k_usb_free_pipe_resources()
100 pipe->logical_pipe_num, pipe->usb_pipe_handle, in ath10k_usb_free_pipe_resources()
101 pipe->urb_alloc, pipe->urb_cnt); in ath10k_usb_free_pipe_resources()
128 struct ath10k_usb_pipe *pipe = urb_context->pipe; in ath10k_usb_recv_complete() local
176 pipe->urb_cnt >= pipe->urb_cnt_thresh) { in ath10k_usb_recv_complete()
185 struct ath10k_usb_pipe *pipe = urb_context->pipe; in ath10k_usb_transmit_complete() local
798 urb_context->pipe = pipe; in ath10k_usb_alloc_pipe_resources()
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
A Dusb.c199 urb_context->pipe = pipe; in ath6kl_usb_alloc_pipe_resources()
211 pipe->logical_pipe_num, pipe->usb_pipe_handle, in ath6kl_usb_alloc_pipe_resources()
230 pipe->logical_pipe_num, pipe->usb_pipe_handle, in ath6kl_usb_free_pipe_resources()
231 pipe->urb_alloc, pipe->urb_cnt); in ath6kl_usb_free_pipe_resources()
233 if (pipe->urb_alloc != pipe->urb_cnt) { in ath6kl_usb_free_pipe_resources()
237 pipe->logical_pipe_num, pipe->usb_pipe_handle, in ath6kl_usb_free_pipe_resources()
238 pipe->urb_alloc, pipe->urb_cnt); in ath6kl_usb_free_pipe_resources()
505 struct ath6kl_usb_pipe *pipe = urb_context->pipe; in ath6kl_usb_recv_complete() local
553 pipe->urb_cnt >= pipe->urb_cnt_thresh) { in ath6kl_usb_recv_complete()
562 struct ath6kl_usb_pipe *pipe = urb_context->pipe; in ath6kl_usb_usb_transmit_complete() local
[all …]

Completed in 149 milliseconds

12345678910>>...39