| /linux/drivers/usb/renesas_usbhs/ |
| H A D | pipe.c | 11 #include "pipe.h" 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() [all …]
|
| H A D | fifo.c | 13 #include "pipe.h" 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() [all …]
|
| H A D | pipe.h | 38 struct usbhs_pipe *pipe; member 39 int size; /* array size of "pipe" */ 46 * pipe list 50 ((i) < (info)->size) && ((pos) = (info)->pipe + (i)); \ 65 * pipe control 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); [all …]
|
| /linux/fs/ |
| H A D | pipe.c | 3 * linux/fs/pipe.c 37 * New pipe buffers will be restricted to this size while the user is exceeding 38 * their pipe buffer quota. The general pipe use case needs at least two 40 * than two, then a write to a non-empty pipe may block even if the pipe is not 43 * pipe before reading tokens: https://lore.kernel.org/lkml/1628086770.5rn8p04n6j.none@localhost/. 45 * Users can reduce their pipe buffers with F_SETPIPE_SZ below this at their 46 * own risk, namely: pipe writes to non-full pipes may block until the pipe i 88 pipe_lock(struct pipe_inode_info * pipe) pipe_lock() argument 95 pipe_unlock(struct pipe_inode_info * pipe) pipe_unlock() argument 114 anon_pipe_get_page(struct pipe_inode_info * pipe) anon_pipe_get_page() argument 127 anon_pipe_put_page(struct pipe_inode_info * pipe,struct page * page) anon_pipe_put_page() argument 142 anon_pipe_buf_release(struct pipe_inode_info * pipe,struct pipe_buffer * buf) anon_pipe_buf_release() argument 150 anon_pipe_buf_try_steal(struct pipe_inode_info * pipe,struct pipe_buffer * buf) anon_pipe_buf_try_steal() argument 174 generic_pipe_buf_try_steal(struct pipe_inode_info * pipe,struct pipe_buffer * buf) generic_pipe_buf_try_steal() argument 202 generic_pipe_buf_get(struct pipe_inode_info * pipe,struct pipe_buffer * buf) generic_pipe_buf_get() argument 216 generic_pipe_buf_release(struct pipe_inode_info * pipe,struct pipe_buffer * buf) generic_pipe_buf_release() argument 230 pipe_readable(const struct pipe_inode_info * pipe) pipe_readable() argument 238 pipe_update_tail(struct pipe_inode_info * pipe,struct pipe_buffer * buf,unsigned int tail) pipe_update_tail() argument 273 struct pipe_inode_info *pipe = filp->private_data; anon_pipe_read() local 421 pipe_writable(const struct pipe_inode_info * pipe) pipe_writable() argument 434 struct pipe_inode_info *pipe = filp->private_data; anon_pipe_write() local 621 struct pipe_inode_info *pipe = filp->private_data; pipe_ioctl() local 663 struct pipe_inode_info *pipe = filp->private_data; pipe_poll() local 709 put_pipe_info(struct inode * inode,struct pipe_inode_info * pipe) put_pipe_info() argument 727 struct pipe_inode_info *pipe = file->private_data; pipe_release() local 751 struct pipe_inode_info *pipe = filp->private_data; pipe_fasync() local 794 struct pipe_inode_info *pipe; alloc_pipe_info() local 841 free_pipe_info(struct pipe_inode_info * pipe) free_pipe_info() argument 889 struct pipe_inode_info *pipe; get_pipe_inode() local 1059 SYSCALL_DEFINE1(pipe,int __user *,fildes) SYSCALL_DEFINE1() argument 1073 pipe_wait_readable(struct pipe_inode_info * pipe) pipe_wait_readable() argument 1080 pipe_wait_writable(struct pipe_inode_info * pipe) pipe_wait_writable() argument 1099 wait_for_partner(struct pipe_inode_info * pipe,unsigned int * cnt) wait_for_partner() argument 1116 wake_up_partner(struct pipe_inode_info * pipe) wake_up_partner() argument 1124 struct pipe_inode_info *pipe; fifo_open() local 1291 pipe_resize_ring(struct pipe_inode_info * pipe,unsigned int nr_slots) pipe_resize_ring() argument 1363 pipe_set_size(struct pipe_inode_info * pipe,unsigned int arg) pipe_set_size() argument 1416 struct pipe_inode_info *pipe = file->private_data; get_pipe_info() local 1429 struct pipe_inode_info *pipe; pipe_fcntl() local [all...] |
| H A D | splice.c | 5 * This is the "extended pipe" functionality, where a pipe is used as 6 * an arbitrary in-memory buffer. Think of a pipe as a small kernel 10 * that transfers data buffers to or from a pipe buffer. 45 * here if set to avoid blocking other users of this pipe if splice is 59 * Attempt to steal a page from a pipe buffer. This should perhaps go into 64 static bool page_cache_pipe_buf_try_steal(struct pipe_inode_info *pipe, in page_cache_pipe_buf_try_steal() argument 108 static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, in page_cache_pipe_buf_release() argument 119 static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, in page_cache_pipe_buf_confirm() argument 162 static bool user_page_pipe_buf_try_steal(struct pipe_inode_info *pipe, in user_page_pipe_buf_try_steal() argument 169 return generic_pipe_buf_try_steal(pipe, buf); in user_page_pipe_buf_try_steal() [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_color_regs.h | 33 #define PALETTE(dev_priv, pipe, i) _MMIO(DISPLAY_MMIO_BASE(dev_priv) + \ argument 34 _PICK_EVEN_2RANGES(pipe, 2, \ 42 #define PIPEGCMAX(dev_priv, pipe, i) _MMIO_PIPE2(dev_priv, pipe, _PIPEAGCMAX + (i) * 4) /* u1.16 */ argument 48 #define LGC_PALETTE(pipe, i) _MMIO(_PIPE(pipe, _LGC_PALETTE_A, _LGC_PALETTE_B) + (i) * 4) argument 65 #define PREC_PALETTE(pipe, i) _MMIO(_PIPE(pipe, _PREC_PALETTE_A, _PREC_PALETTE_B) + (i) * 4) argument 69 #define PREC_PIPEGCMAX(pipe, i) _MMIO(_PIPE(pipe, _PIPEAGCMAX, _PIPEBGCMAX) + (i) * 4) /* u1… argument 73 #define GAMMA_MODE(pipe) _MMIO_PIPE(pipe, _GAMMA_MODE_A, _GAMMA_MODE_B) argument 84 /* pipe CSC */ 120 #define PIPE_CSC_COEFF_RY_GY(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RY_GY, _PIPE_B_CSC_COEFF_RY_G… argument 121 #define PIPE_CSC_COEFF_BY(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_BY, _PIPE_B_CSC_COEFF_BY) argument [all …]
|
| H A D | skl_universal_plane_regs.h | 11 #define _SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 12 _PLANE((plane), _PIPE((pipe), (reg_1_a), (reg_1_b)), _PIPE((pipe), (reg_2_a), (reg_2_b))) 13 #define _SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 14 (_SKL_PLANE((pipe), (plane), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b)) + (dw) * 4) 15 #define _MMIO_SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 16 _MMIO(_SKL_PLANE((pipe), (plane), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b))) 17 #define _MMIO_SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument 18 _MMIO(_SKL_PLANE_DW((pipe), (plane), (dw), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b))) 20 #define _SEL_FETCH(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b, reg_5_a, reg_5_b, reg_6_a, reg_… argument 22 _PIPE((pipe), (reg_1_a), (reg_1_b)), \ [all …]
|
| H A D | intel_sprite_regs.h | 12 #define DVSCNTR(pipe) _MMIO_PIPE(pipe, _DVSACNTR, _DVSBCNTR) argument 37 #define DVSLINOFF(pipe) _MMIO_PIPE(pipe, _DVSALINOFF, _DVSBLINOFF) argument 41 #define DVSSTRIDE(pipe) _MMIO_PIPE(pipe, _DVSASTRIDE, _DVSBSTRIDE) argument 45 #define DVSPOS(pipe) _MMIO_PIPE(pipe, _DVSAPOS, _DVSBPOS) argument 53 #define DVSSIZE(pipe) _MMIO_PIPE(pipe, _DVSASIZE, _DVSBSIZE) argument 61 #define DVSKEYVAL(pipe) _MMIO_PIPE(pipe, _DVSAKEYVAL, _DVSBKEYVAL) argument 65 #define DVSKEYMSK(pipe) _MMIO_PIPE(pipe, _DVSAKEYMSK, _DVSBKEYMSK) argument 69 #define DVSSURF(pipe) _MMIO_PIPE(pipe, _DVSASURF, _DVSBSURF) argument 74 #define DVSKEYMAX(pipe) _MMIO_PIPE(pipe, _DVSAKEYMAXVAL, _DVSBKEYMAXVAL) argument 78 #define DVSTILEOFF(pipe) _MMIO_PIPE(pipe, _DVSATILEOFF, _DVSBTILEOFF) argument [all …]
|
| H A D | intel_vdsc_regs.h | 33 #define ICL_PIPE_DSS_CTL1(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 49 #define ICL_PIPE_DSS_CTL2(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 66 #define ICL_DSC0_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 69 #define ICL_DSC1_PICTURE_PARAMETER_SET_0(pipe) _MMIO_PIPE((pipe) - PIPE_B, \ argument 72 #define _ICL_DSC0_PPS_0(pipe) _PICK_EVEN((pipe) - PIPE_B, \ argument 75 #define _ICL_DSC1_PPS_0(pipe) _PICK_EVEN((pipe) - PIPE_B, \ argument 78 #define _BMG_DSC2_PPS_0(pipe) _PICK_EVEN((pipe) - PIPE_B, \ argument 81 #define ICL_DSC0_PPS(pipe, pps) _MMIO(_ICL_DSC0_PPS_0(pipe) + ((pps) * 4)) argument 82 #define ICL_DSC1_PPS(pipe, pps) _MMIO(_ICL_DSC1_PPS_0(pipe) + ((pps) * 4)) argument 83 #define BMG_DSC2_PPS(pipe, pps) _MMIO(_BMG_DSC2_PPS_0(pipe) + ((pps) * 4)) argument [all …]
|
| H A D | intel_display_irq.c | 128 enum pipe pipe, u32 fault_errors) in intel_pipe_fault_irq_handler() argument 130 struct intel_crtc *crtc = intel_crtc_for_pipe(display, pipe); in intel_pipe_fault_irq_handler() 146 intel_handle_vblank(struct intel_display *display, enum pipe pipe) in intel_handle_vblank() argument 148 struct intel_crtc *crtc = intel_crtc_for_pipe(display, pipe); in intel_handle_vblank() 221 * bdw_update_pipe_irq - update DE pipe interrupt 223 * @pipe: pipe whose interrupt to update 228 enum pipe pip in bdw_update_pipe_irq() argument 252 bdw_enable_pipe_irq(struct intel_display * display,enum pipe pipe,u32 bits) bdw_enable_pipe_irq() argument 258 bdw_disable_pipe_irq(struct intel_display * display,enum pipe pipe,u32 bits) bdw_disable_pipe_irq() argument 300 i915_pipestat_enable_mask(struct intel_display * display,enum pipe pipe) i915_pipestat_enable_mask() argument 344 i915_enable_pipestat(struct intel_display * display,enum pipe pipe,u32 status_mask) i915_enable_pipestat() argument 367 i915_disable_pipestat(struct intel_display * display,enum pipe pipe,u32 status_mask) i915_disable_pipestat() argument 421 display_pipe_crc_irq_handler(struct intel_display * display,enum pipe pipe,u32 crc0,u32 crc1,u32 crc2,u32 crc3,u32 crc4) display_pipe_crc_irq_handler() argument 456 display_pipe_crc_irq_handler(struct intel_display * display,enum pipe pipe,u32 crc0,u32 crc1,u32 crc2,u32 crc3,u32 crc4) display_pipe_crc_irq_handler() argument 463 flip_done_handler(struct intel_display * display,enum pipe pipe) flip_done_handler() argument 479 hsw_pipe_crc_irq_handler(struct intel_display * display,enum pipe pipe) hsw_pipe_crc_irq_handler() argument 487 ivb_pipe_crc_irq_handler(struct intel_display * display,enum pipe pipe) ivb_pipe_crc_irq_handler() argument 498 i9xx_pipe_crc_irq_handler(struct intel_display * display,enum pipe pipe) i9xx_pipe_crc_irq_handler() argument 521 enum pipe pipe; i9xx_pipestat_irq_reset() local 535 enum pipe pipe; i9xx_pipestat_irq_ack() local 603 enum pipe pipe; i915_pipestat_irq_handler() local 627 enum pipe pipe; i965_pipestat_irq_handler() local 653 enum pipe pipe; valleyview_pipestat_irq_handler() local 675 enum pipe pipe; ibx_irq_handler() local 723 ivb_err_int_pipe_fault_mask(enum pipe pipe) ivb_err_int_pipe_fault_mask() argument 759 enum pipe pipe; ivb_err_int_handler() local 795 enum pipe pipe; cpt_serr_int_handler() local 809 enum pipe pipe; cpt_irq_handler() local 844 ilk_gtt_fault_pipe_fault_mask(enum pipe pipe) ilk_gtt_fault_pipe_fault_mask() argument 872 enum pipe pipe; ilk_gtt_fault_irq_handler() local 896 enum pipe pipe; _ilk_display_irq_handler() local 947 enum pipe pipe; _ivb_display_irq_handler() local 1318 enum pipe pipe = INVALID_PIPE; gen11_dsi_te_interrupt_handler() local 1410 enum pipe pipe; gen8_de_irq_handler() local 1649 enum pipe pipe = to_intel_crtc(crtc)->pipe; i8xx_enable_vblank() local 1662 enum pipe pipe = to_intel_crtc(crtc)->pipe; i8xx_disable_vblank() local 1691 enum pipe pipe = to_intel_crtc(crtc)->pipe; i965_enable_vblank() local 1705 enum pipe pipe = to_intel_crtc(crtc)->pipe; i965_disable_vblank() local 1717 enum pipe pipe = to_intel_crtc(crtc)->pipe; ilk_enable_vblank() local 1738 enum pipe pipe = to_intel_crtc(crtc)->pipe; ilk_disable_vblank() local 1784 enum pipe pipe = crtc->pipe; bdw_enable_vblank() local 1810 enum pipe pipe = crtc->pipe; bdw_disable_vblank() local 1824 vlv_dpinvgtt_pipe_fault_mask(enum pipe pipe) vlv_dpinvgtt_pipe_fault_mask() argument 1889 enum pipe pipe; vlv_page_table_error_irq_handler() local 2023 enum pipe pipe; _vlv_display_irq_postinstall() local 2097 enum pipe pipe; gen8_display_irq_reset() local 2119 enum pipe pipe; gen11_display_irq_reset() local 2172 enum pipe pipe; gen8_irq_power_well_post_enable() local 2192 enum pipe pipe; gen8_irq_power_well_pre_disable() local 2325 enum pipe pipe; gen8_de_irq_postinstall() local [all...] |
| H A D | intel_pipe_crc_regs.h | 12 #define PIPE_CRC_CTL(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_CTL_A) argument 42 /* with DP port the pipe source is invalid */ 51 /* with DP/TV port the pipe source is invalid */ 63 #define PIPE_CRC_EXP_GREEN(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_GREEN_A) argument 67 #define PIPE_CRC_EXP_BLUE(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_BLUE_A) argument 71 #define PIPE_CRC_EXP_RES1_I915(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_RES1_A_I9… argument 75 #define PIPE_CRC_EXP_RES2_G4X(dev_priv, pipe) _MMIO_TRANS2(dev_priv, pipe, _PIPE_CRC_EXP_RES2_A_G4X) argument 79 #define PIPE_CRC_RES_RED(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_RED_A) argument 82 #define PIPE_CRC_RES_GREEN(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_GREEN_A) argument 85 #define PIPE_CRC_RES_BLUE(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_BLUE_A) argument [all …]
|
| /linux/include/linux/ |
| H A D | pipe_fs_i.h | 18 * struct pipe_buffer - a linux kernel pipe buffer 19 * @page: the page containing the data for the pipe buffer 23 * @flags: pipe buffer flags. See above. 48 * struct pipe_index - pipe indeces 62 * struct pipe_inode_info - a linux kernel pipe 64 * @rd_wait: reader wait point in case of empty pipe 65 * @wr_wait: writer wait point in case of full pipe 66 * @pipe_index: the pipe indeces 70 * @nr_accounted: The amount this pipe accounts for in user->pipe_bufs 72 * @readers: number of current readers of this pipe [all …]
|
| /linux/sound/drivers/vx/ |
| H A D | vx_pcm.c | 15 * pipe->transferred is the counter of data which has been already transferred. 25 * the current point of read buffer is kept in pipe->hw_ptr. note that 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() 82 * @pipe: the pipe to be checked 84 * if the pipe is programmed with the differed time, set the DSP time [all …]
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_pipeline.c | 21 struct komeda_pipeline *pipe; in komeda_pipeline_add() local 29 if (size < sizeof(*pipe)) { in komeda_pipeline_add() 34 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add() 35 if (!pipe) in komeda_pipeline_add() 38 pipe->mdev = mdev; in komeda_pipeline_add() 39 pipe->id = mdev->n_pipelines; in komeda_pipeline_add() 40 pipe->funcs = funcs; in komeda_pipeline_add() 42 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add() 45 return pipe; in komeda_pipeline_add() 49 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() argument [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | ce.c | 11 static int ath12k_ce_rx_buf_enqueue_pipe(struct ath12k_ce_pipe *pipe, in ath12k_ce_rx_buf_enqueue_pipe() argument 14 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe() 15 struct ath12k_ce_ring *ring = pipe->dest_ring; in ath12k_ce_rx_buf_enqueue_pipe() 49 pipe->rx_buf_needed--; in ath12k_ce_rx_buf_enqueue_pipe() 60 static int ath12k_ce_rx_post_pipe(struct ath12k_ce_pipe *pipe) in ath12k_ce_rx_post_pipe() argument 62 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe() 67 if (!(pipe->dest_ring || pipe->status_ring)) in ath12k_ce_rx_post_pipe() 71 while (pipe->rx_buf_needed) { in ath12k_ce_rx_post_pipe() 72 skb = dev_alloc_skb(pipe->buf_sz); in ath12k_ce_rx_post_pipe() 92 ret = ath12k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath12k_ce_rx_post_pipe() [all …]
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_protocol_ops.c | 51 * updates the pipe structure referenced in the preparation arguments. 59 struct ipc_pipe *pipe = args->pipe_open.pipe; in ipc_protocol_msg_prepipe_open() local 72 skbr = kzalloc_objs(*skbr, pipe->nr_of_entries, GFP_ATOMIC); in ipc_protocol_msg_prepipe_open() 76 /* Allocate the transfer descriptors for the pipe. */ 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() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/ |
| H A D | sh_css.c | 112 * @pipes: pipe handles 114 * @pipe_config: pipe config structs 173 allocate_delay_frames(struct ia_css_pipe *pipe); 192 ia_css_pipe_check_format(struct ia_css_pipe *pipe, 206 need_capture_pp(const struct ia_css_pipe *pipe); 209 need_yuv_scaler_stage(const struct ia_css_pipe *pipe); 224 static bool need_capt_ldc(const struct ia_css_pipe *pipe); 227 sh_css_pipe_load_binaries(struct ia_css_pipe *pipe); 231 struct ia_css_pipe *pipe, 236 sh_css_pipe_get_output_frame_info(struct ia_css_pipe *pipe, [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| H A D | dcn32_resource_helpers.c | 115 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_merge_pipes_for_subvp() 117 // For now merge all pipes for SubVP since pipe split case isn't supported yet in dcn32_merge_pipes_for_subvp() 120 if (pipe->prev_odm_pipe) { in dcn32_merge_pipes_for_subvp() 121 /*split off odm pipe*/ in dcn32_merge_pipes_for_subvp() 122 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp() 123 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp() 124 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp() 126 pipe in dcn32_merge_pipes_for_subvp() 114 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_merge_pipes_for_subvp() local 159 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_all_pipes_have_stream_and_plane() local 176 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_subvp_in_use() local 201 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_any_surfaces_rotated() local 212 dcn32_is_center_timing(struct pipe_ctx * pipe) dcn32_is_center_timing() argument 233 dcn32_is_psr_capable(struct pipe_ctx * pipe) dcn32_is_psr_capable() argument 386 struct pipe_ctx *pipe = 0; dcn32_set_det_allocations() local 591 dcn32_check_native_scaling_for_res(struct pipe_ctx * pipe,unsigned int width,unsigned int height) dcn32_check_native_scaling_for_res() argument 618 disallow_subvp_in_active_plus_blank(struct pipe_ctx * pipe) disallow_subvp_in_active_plus_blank() argument 656 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_subvp_drr_admissable() local 717 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; dcn32_subvp_vblank_admissable() local 755 struct pipe_ctx *pipe = NULL; dcn32_update_dml_pipes_odm_policy_based_on_context() local [all...] |
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_video.c | 209 struct vsp1_pipeline *pipe = video->rwpf->entity.pipe; in vsp1_video_complete_buffer() local 233 done->buf.sequence = pipe->sequence; in vsp1_video_complete_buffer() 243 static void vsp1_video_frame_end(struct vsp1_pipeline *pipe, in vsp1_video_frame_end() argument 254 pipe->buffers_ready |= 1 << video->pipe_index; in vsp1_video_frame_end() 257 static void vsp1_video_pipeline_run_partition(struct vsp1_pipeline *pipe, in vsp1_video_pipeline_run_partition() argument 261 struct vsp1_partition *part = &pipe->part_table[partition]; in vsp1_video_pipeline_run_partition() 265 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_video_pipeline_run_partition() 266 vsp1_entity_configure_partition(entity, pipe, part, dl, dlb); in vsp1_video_pipeline_run_partition() 269 static void vsp1_video_pipeline_run(struct vsp1_pipeline *pipe) in vsp1_video_pipeline_run() argument 271 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_run() [all …]
|
| /linux/net/sunrpc/ |
| H A D | rpc_pipe.c | 86 struct rpc_pipe *pipe = in rpc_timeout_upcall_queue() local 91 spin_lock(&pipe->lock); in rpc_timeout_upcall_queue() 92 destroy_msg = pipe->ops->destroy_msg; in rpc_timeout_upcall_queue() 93 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue() 94 list_splice_init(&pipe->pipe, &free_list); in rpc_timeout_upcall_queue() 95 pipe->pipelen = 0; in rpc_timeout_upcall_queue() 97 dentry = dget(pipe->dentry); in rpc_timeout_upcall_queue() 98 spin_unlock(&pipe->lock); in rpc_timeout_upcall_queue() 126 * @pipe: upcall pipe on which to queue given message 135 rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg) in rpc_queue_upcall() argument [all …]
|
| /linux/net/nfc/hci/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | ce.c | 273 static int ath11k_ce_rx_buf_enqueue_pipe(struct ath11k_ce_pipe *pipe, in ath11k_ce_rx_buf_enqueue_pipe() argument 276 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() 277 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe() 311 pipe->rx_buf_needed--; in ath11k_ce_rx_buf_enqueue_pipe() 322 static int ath11k_ce_rx_post_pipe(struct ath11k_ce_pipe *pipe) in ath11k_ce_rx_post_pipe() argument 324 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe() 329 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe() 333 while (pipe->rx_buf_needed) { in ath11k_ce_rx_post_pipe() 334 skb = dev_alloc_skb(pipe->buf_sz); in ath11k_ce_rx_post_pipe() 354 ret = ath11k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath11k_ce_rx_post_pipe() [all …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | usb.c | 65 /* protects pipe->urb_list_head and pipe->urb_cnt */ 80 struct ath6kl_usb_pipe *pipe; member 129 /* pipe/urb operations */ 131 ath6kl_usb_alloc_urb_from_pipe(struct ath6kl_usb_pipe *pipe) in ath6kl_usb_alloc_urb_from_pipe() argument 136 /* bail if this pipe is not initialized */ in ath6kl_usb_alloc_urb_from_pipe() 137 if (!pipe->ar_usb) in ath6kl_usb_alloc_urb_from_pipe() 140 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_alloc_urb_from_pipe() 141 if (!list_empty(&pipe->urb_list_head)) { in ath6kl_usb_alloc_urb_from_pipe() 143 list_first_entry(&pipe in ath6kl_usb_alloc_urb_from_pipe() 153 ath6kl_usb_free_urb_to_pipe(struct ath6kl_usb_pipe * pipe,struct ath6kl_urb_context * urb_context) ath6kl_usb_free_urb_to_pipe() argument 183 ath6kl_usb_alloc_pipe_resources(struct ath6kl_usb_pipe * pipe,int urb_cnt) ath6kl_usb_alloc_pipe_resources() argument 218 ath6kl_usb_free_pipe_resources(struct ath6kl_usb_pipe * pipe) ath6kl_usb_free_pipe_resources() argument 308 struct ath6kl_usb_pipe *pipe; ath6kl_usb_setup_pipe_resources() local 505 struct ath6kl_usb_pipe *pipe = urb_context->pipe; ath6kl_usb_recv_complete() local 562 struct ath6kl_usb_pipe *pipe = urb_context->pipe; ath6kl_usb_usb_transmit_complete() local 587 struct ath6kl_usb_pipe *pipe = container_of(work, ath6kl_usb_io_comp_work() local 631 struct ath6kl_usb_pipe *pipe; ath6kl_usb_create() local 716 struct ath6kl_usb_pipe *pipe = &device->pipes[PipeID]; ath6kl_usb_send() local [all...] |
| /linux/drivers/platform/goldfish/ |
| H A D | goldfish_pipe.c | 26 * .... write() or read() through the pipe. 84 /* A per-pipe command structure, shared with the host */ 87 s32 id; /* pipe id, guest -> host */ 105 /* A single signalled pipe information */ 124 /* This data type models a given pipe instance */ 126 /* pipe ID - index into goldfish_pipe_dev::pipes array */ 129 /* The wake flags pipe is waiting for 150 * A pipe's own lock. Protects the following: 217 static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, in goldfish_pipe_cmd_locked() argument 220 pipe->command_buffer->cmd = cmd; in goldfish_pipe_cmd_locked() [all …]
|
| /linux/drivers/gpu/drm/lima/ |
| H A 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 …]
|