Home
last modified time | relevance | path

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

12345678910>>...26

/linux/drivers/usb/renesas_usbhs/
H A 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 …]
H A 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 …]
H A 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/drivers/gpu/drm/i915/display/
H A Dintel_color_regs.h33 #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
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
122 #define PIPE_CSC_COEFF_RU_GU(pipe) _MMIO_PIPE(pipe, _PIPE_A_CSC_COEFF_RU_GU, _PIPE_B_CSC_COEFF_RU_G… argument
[all …]
H A Dskl_universal_plane_regs.h11 #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 Dintel_vdsc_regs.h33 #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 Dintel_pipe_crc_regs.h12 #define PIPE_CRC_CTL(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_CTL_A) argument
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
88 #define PIPE_CRC_RES_RES1_I915(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_RES1_… argument
91 #define PIPE_CRC_RES_RES2_G4X(dev_priv, pipe) _MMIO_TRANS2((dev_priv), (pipe), _PIPE_CRC_RES_RES2_A… argument
[all …]
H A Dintel_sprite_regs.h12 #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 Dintel_dmc_regs.h282 #define PIPEDMC_CONTROL(pipe) _MMIO_PIPE(pipe, \ argument
288 #define PIPEDMC_ENABLE_MTL(pipe) REG_BIT(((pipe) - PIPE_A) * 4) argument
292 #define PIPEDMC_LOAD_HTP(pipe) _MMIO_PIPE((pipe), _PIPEDMC_LOAD_HTP_A, _PIPEDMC_LOAD_HTP_B) argument
296 #define PIPEDMC_CTL(pipe) _MMIO_PIPE((pipe), _PIPEDMC_CTL_A, _PIPEDMC_CTL_B) argument
303 #define PIPEDMC_STATUS(pipe) _MMIO_PIPE((pipe), _PIPEDMC_STATUS_A, _PIPEDMC_STATUS_B) argument
314 #define PIPEDMC_FQ_CTRL(pipe) _MMIO_PIPE((pipe), _PIPEDMC_FQ_CTRL_A, _PIPEDMC_FQ_CTRL_B) argument
321 #define PIPEDMC_FQ_STATUS(pipe) _MMIO_PIPE((pipe), _PIPEDMC_FQ_STATUS_A, _PIPEDMC_FQ_STATUS_B) argument
328 #define PIPEDMC_FPQ_ATOMIC_TP(pipe) _MMIO_PIPE((pipe), _PIPEDMC_FPQ_ATOMIC_TP_A, _PIPEDMC_FPQ_ATOMI… argument
342 #define PIPEDMC_FPQ_LINES_TO_W1 _MMIO_PIPE((pipe), _PIPEDMC_FPQ_LINES_TO_W1_A, _PIPEDMC_FPQ_LINES_…
346 #define PIPEDMC_FPQ_LINES_TO_W2 _MMIO_PIPE((pipe), _PIPEDMC_FPQ_LINES_TO_W2_A, _PIPEDMC_FPQ_LINES_…
[all …]
H A Dintel_cursor_regs.h12 #define CURCNTR(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURACNTR) argument
28 #define MCURSOR_PIPE_SEL(pipe) REG_FIELD_PREP(MCURSOR_PIPE_SEL_MASK, (pipe)) argument
44 #define CURBASE(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURABASE) argument
47 #define CURPOS(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURAPOS) argument
56 #define CURPOS_ERLY_TPT(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURAPOS_ERLY_TP argument
59 CURSIZE(dev_priv,pipe) global() argument
66 CUR_FBC_CTL(dev_priv,pipe) global() argument
72 CUR_CHICKEN(dev_priv,pipe) global() argument
75 CURSURFLIVE(dev_priv,pipe) global() argument
80 CUR_WM(pipe,level) global() argument
88 CUR_WM_SAGV(pipe) global() argument
92 CUR_WM_SAGV_TRANS(pipe) global() argument
96 CUR_WM_TRANS(pipe) global() argument
100 CUR_BUF_CFG(pipe) global() argument
110 SEL_FETCH_CUR_CTL(pipe) global() argument
[all...]
H A Dintel_audio_regs.h20 #define IBX_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _IBX_HDMIW_HDMIEDID_A, \ argument
24 #define IBX_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _IBX_AUD_CNTL_ST_A, \ argument
35 #define CPT_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _CPT_HDMIW_HDMIEDID_A, _CPT_HDMIW_HDMIEDID_B) argument
38 #define CPT_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _CPT_AUD_CNTL_ST_A, _CPT_AUD_CNTL_ST_B) argument
43 #define VLV_HDMIW_HDMIEDID(pipe) _MMIO_PIPE(pipe, _VLV_HDMIW_HDMIEDID_ argument
46 VLV_AUD_CNTL_ST(pipe) global() argument
51 IBX_AUD_CFG(pipe) global() argument
54 CPT_AUD_CFG(pipe) global() argument
57 VLV_AUD_CFG(pipe) global() argument
137 HBLANK_EARLY_ENABLE_ICL(pipe) global() argument
138 HBLANK_EARLY_ENABLE_TGL(pipe) global() argument
139 HBLANK_START_COUNT_MASK(pipe) global() argument
140 HBLANK_START_COUNT(pipe,val) global() argument
141 NUMBER_SAMPLES_PER_LINE_MASK(pipe) global() argument
142 NUMBER_SAMPLES_PER_LINE(pipe,val) global() argument
[all...]
/linux/fs/
H A Dpipe.c3 * 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
141 anon_pipe_prefill_and_lock(struct pipe_inode_info * pipe,size_t total_len) anon_pipe_prefill_and_lock() argument
181 anon_pipe_trim_and_unlock(struct pipe_inode_info * pipe) anon_pipe_trim_and_unlock() argument
194 anon_pipe_get_page(struct pipe_inode_info * pipe) anon_pipe_get_page() argument
207 anon_pipe_put_page(struct pipe_inode_info * pipe,struct page * page) anon_pipe_put_page() argument
217 anon_pipe_buf_release(struct pipe_inode_info * pipe,struct pipe_buffer * buf) anon_pipe_buf_release() argument
225 anon_pipe_buf_try_steal(struct pipe_inode_info * pipe,struct pipe_buffer * buf) anon_pipe_buf_try_steal() argument
249 generic_pipe_buf_try_steal(struct pipe_inode_info * pipe,struct pipe_buffer * buf) generic_pipe_buf_try_steal() argument
277 generic_pipe_buf_get(struct pipe_inode_info * pipe,struct pipe_buffer * buf) generic_pipe_buf_get() argument
291 generic_pipe_buf_release(struct pipe_inode_info * pipe,struct pipe_buffer * buf) generic_pipe_buf_release() argument
305 pipe_readable(const struct pipe_inode_info * pipe) pipe_readable() argument
313 pipe_update_tail(struct pipe_inode_info * pipe,struct pipe_buffer * buf,unsigned int tail) pipe_update_tail() argument
348 struct pipe_inode_info *pipe = filp->private_data; anon_pipe_read() local
497 pipe_writable(const struct pipe_inode_info * pipe) pipe_writable() argument
510 struct pipe_inode_info *pipe = filp->private_data; anon_pipe_write() local
696 struct pipe_inode_info *pipe = filp->private_data; pipe_ioctl() local
737 struct pipe_inode_info *pipe = filp->private_data; pipe_poll() local
792 put_pipe_info(struct inode * inode,struct pipe_inode_info * pipe) put_pipe_info() argument
810 struct pipe_inode_info *pipe = file->private_data; pipe_release() local
834 struct pipe_inode_info *pipe = filp->private_data; pipe_fasync() local
879 struct pipe_inode_info *pipe; alloc_pipe_info() local
926 free_pipe_info(struct pipe_inode_info * pipe) free_pipe_info() argument
972 struct pipe_inode_info *pipe; get_pipe_inode() local
1142 SYSCALL_DEFINE1(pipe,int __user *,fildes) SYSCALL_DEFINE1() argument
1156 pipe_wait_readable(struct pipe_inode_info * pipe) pipe_wait_readable() argument
1163 pipe_wait_writable(struct pipe_inode_info * pipe) pipe_wait_writable() argument
1182 wait_for_partner(struct pipe_inode_info * pipe,unsigned int * cnt) wait_for_partner() argument
1199 wake_up_partner(struct pipe_inode_info * pipe) wake_up_partner() argument
1207 struct pipe_inode_info *pipe; fifo_open() local
1374 pipe_resize_ring(struct pipe_inode_info * pipe,unsigned int nr_slots) pipe_resize_ring() argument
1446 pipe_set_size(struct pipe_inode_info * pipe,unsigned int arg) pipe_set_size() argument
1499 struct pipe_inode_info *pipe = file->private_data; get_pipe_info() local
1512 struct pipe_inode_info *pipe; pipe_fcntl() local
[all...]
H A Dsplice.c5 * 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
62 static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe,
109 static void wakeup_pipe_readers(struct pipe_inode_info *pipe) in page_cache_pipe_buf_release()
111 if (wq_has_sleeper(&pipe->rd_wait)) in page_cache_pipe_buf_release()
112 wake_up_interruptible_poll(&pipe->rd_wait, in page_cache_pipe_buf_release()
114 kill_fasync(&pipe in page_cache_pipe_buf_release()
64 page_cache_pipe_buf_try_steal(struct pipe_inode_info * pipe,struct pipe_buffer * buf) page_cache_pipe_buf_try_steal() argument
108 page_cache_pipe_buf_release(struct pipe_inode_info * pipe,struct pipe_buffer * buf) page_cache_pipe_buf_release() argument
119 page_cache_pipe_buf_confirm(struct pipe_inode_info * pipe,struct pipe_buffer * buf) page_cache_pipe_buf_confirm() argument
162 user_page_pipe_buf_try_steal(struct pipe_inode_info * pipe,struct pipe_buffer * buf) user_page_pipe_buf_try_steal() argument
178 wakeup_pipe_readers(struct pipe_inode_info * pipe) wakeup_pipe_readers() argument
197 splice_to_pipe(struct pipe_inode_info * pipe,struct splice_pipe_desc * spd) splice_to_pipe() argument
245 add_to_pipe(struct pipe_inode_info * pipe,struct pipe_buffer * buf) add_to_pipe() argument
270 splice_grow_spd(const struct pipe_inode_info * pipe,struct splice_pipe_desc * spd) splice_grow_spd() argument
319 copy_splice_read(struct file * in,loff_t * ppos,struct pipe_inode_info * pipe,size_t len,unsigned int flags) copy_splice_read() argument
414 wakeup_pipe_writers(struct pipe_inode_info * pipe) wakeup_pipe_writers() argument
442 splice_from_pipe_feed(struct pipe_inode_info * pipe,struct splice_desc * sd,splice_actor * actor) splice_from_pipe_feed() argument
491 eat_empty_buffer(struct pipe_inode_info * pipe) eat_empty_buffer() argument
515 splice_from_pipe_next(struct pipe_inode_info * pipe,struct splice_desc * sd) splice_from_pipe_next() argument
577 splice_from_pipe_end(struct pipe_inode_info * pipe,struct splice_desc * sd) splice_from_pipe_end() argument
596 __splice_from_pipe(struct pipe_inode_info * pipe,struct splice_desc * sd,splice_actor * actor) __splice_from_pipe() argument
628 splice_from_pipe(struct pipe_inode_info * pipe,struct file * out,loff_t * ppos,size_t len,unsigned int flags,splice_actor * actor) splice_from_pipe() argument
662 iter_file_splice_write(struct pipe_inode_info * pipe,struct file * out,loff_t * ppos,size_t len,unsigned int flags) iter_file_splice_write() argument
795 splice_to_socket(struct pipe_inode_info * pipe,struct file * out,loff_t * ppos,size_t len,unsigned int flags) splice_to_socket() argument
931 do_splice_from(struct pipe_inode_info * pipe,struct file * out,loff_t * ppos,size_t len,unsigned int flags) do_splice_from() argument
955 do_splice_read(struct file * in,loff_t * ppos,struct pipe_inode_info * pipe,size_t len,unsigned int flags) do_splice_read() argument
999 vfs_splice_read(struct file * in,loff_t * ppos,struct pipe_inode_info * pipe,size_t len,unsigned int flags) vfs_splice_read() argument
1021 struct pipe_inode_info *pipe; splice_direct_to_actor() local
1180 direct_splice_actor(struct pipe_inode_info * pipe,struct splice_desc * sd) direct_splice_actor() argument
1192 splice_file_range_actor(struct pipe_inode_info * pipe,struct splice_desc * sd) splice_file_range_actor() argument
1287 wait_for_space(struct pipe_inode_info * pipe,unsigned flags) wait_for_space() argument
1472 iter_to_pipe(struct iov_iter * from,struct pipe_inode_info * pipe,unsigned int flags) iter_to_pipe() argument
1518 pipe_to_user(struct pipe_inode_info * pipe,struct pipe_buffer * buf,struct splice_desc * sd) pipe_to_user() argument
1532 struct pipe_inode_info *pipe = get_pipe_info(file, true); vmsplice_to_user() local
1565 struct pipe_inode_info *pipe; vmsplice_to_pipe() local
1670 ipipe_prep(struct pipe_inode_info * pipe,unsigned int flags) ipipe_prep() argument
1706 opipe_prep(struct pipe_inode_info * pipe,unsigned int flags) opipe_prep() argument
[all...]
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.c21 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/sound/drivers/vx/
H A 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/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol_ops.c56 * updates the pipe structure referenced in the preparation arguments. in ipc_protocol_msg_prepipe_open()
64 struct ipc_pipe *pipe = args->pipe_open.pipe; in ipc_protocol_msg_prepipe_open()
77 skbr = kzalloc_objs(*skbr, pipe->nr_of_entries, GFP_ATOMIC); in ipc_protocol_msg_prepipe_open()
81 /* Allocate the transfer descriptors for the pipe. */ in ipc_protocol_msg_prepipe_open()
83 pipe->nr_of_entries * sizeof(*tdr), in ipc_protocol_msg_prepipe_open()
84 &pipe->phy_tdr_start, GFP_ATOMIC); in ipc_protocol_msg_prepipe_open()
91 pipe->max_nr_of_queued_entries = pipe->nr_of_entries - 1; in ipc_protocol_msg_prepipe_open()
92 pipe in ipc_protocol_msg_prepipe_open()
59 struct ipc_pipe *pipe = args->pipe_open.pipe; ipc_protocol_msg_prepipe_open() local
111 struct ipc_pipe *pipe = args->pipe_close.pipe; ipc_protocol_msg_prepipe_close() local
219 ipc_protocol_ul_td_send(struct iosm_protocol * ipc_protocol,struct ipc_pipe * pipe,struct sk_buff_head * p_ul_list) ipc_protocol_ul_td_send() argument
295 ipc_protocol_ul_td_process(struct iosm_protocol * ipc_protocol,struct ipc_pipe * pipe) ipc_protocol_ul_td_process() argument
324 ipc_protocol_dl_td_prepare(struct iosm_protocol * ipc_protocol,struct ipc_pipe * pipe) ipc_protocol_dl_td_prepare() argument
373 ipc_protocol_dl_td_process(struct iosm_protocol * ipc_protocol,struct ipc_pipe * pipe) ipc_protocol_dl_td_process() argument
434 ipc_protocol_get_head_tail_index(struct iosm_protocol * ipc_protocol,struct ipc_pipe * pipe,u32 * head,u32 * tail) ipc_protocol_get_head_tail_index() argument
448 ipc_protocol_pipe_cleanup(struct iosm_protocol * ipc_protocol,struct ipc_pipe * pipe) ipc_protocol_pipe_cleanup() argument
[all...]
/linux/drivers/net/wireless/ath/ath12k/
H A Dce.c11 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 in ath12k_ce_rx_post_pipe()
109 ath12k_ce_completed_recv_next(struct ath12k_ce_pipe * pipe,struct sk_buff ** skb,int * nbytes) ath12k_ce_completed_recv_next() argument
155 ath12k_ce_recv_process_cb(struct ath12k_ce_pipe * pipe) ath12k_ce_recv_process_cb() argument
195 ath12k_ce_completed_send_next(struct ath12k_ce_pipe * pipe) ath12k_ce_completed_send_next() argument
236 ath12k_ce_send_done_cb(struct ath12k_ce_pipe * pipe) ath12k_ce_send_done_cb() argument
369 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; ath12k_ce_alloc_pipe() local
408 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[ce_id]; ath12k_ce_per_engine_service() local
419 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; ath12k_ce_poll_send_completed() local
428 struct ath12k_ce_pipe *pipe = &ab->ce.ce_pipe[pipe_id]; ath12k_ce_send() local
506 ath12k_ce_rx_pipe_cleanup(struct ath12k_ce_pipe * pipe) ath12k_ce_rx_pipe_cleanup() argument
530 struct ath12k_ce_pipe *pipe; ath12k_ce_cleanup_pipes() local
546 struct ath12k_ce_pipe *pipe; ath12k_ce_rx_post_buf() local
614 struct ath12k_ce_pipe *pipe; ath12k_ce_init_pipes() local
676 struct ath12k_ce_pipe *pipe; ath12k_ce_free_pipes() local
724 struct ath12k_ce_pipe *pipe; ath12k_ce_alloc_pipes() local
[all...]
/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css.c174 allocate_delay_frames(struct ia_css_pipe *pipe);
193 ia_css_pipe_check_format(struct ia_css_pipe *pipe,
207 need_capture_pp(const struct ia_css_pipe *pipe);
210 need_yuv_scaler_stage(const struct ia_css_pipe *pipe);
225 static bool need_capt_ldc(const struct ia_css_pipe *pipe);
228 sh_css_pipe_load_binaries(struct ia_css_pipe *pipe);
232 struct ia_css_pipe *pipe,
237 sh_css_pipe_get_output_frame_info(struct ia_css_pipe *pipe,
242 capture_start(struct ia_css_pipe *pipe);
245 video_start(struct ia_css_pipe *pipe);
[all …]
/linux/include/xen/interface/io/
H A 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/drivers/platform/goldfish/
H A Dgoldfish_pipe.c26 * .... write() or read() through the pipe.
83 /* A per-pipe command structure, shared with the host */
86 s32 id; /* pipe id, guest -> host */
104 /* A single signalled pipe information */
123 /* This data type models a given pipe instance */
125 /* pipe ID - index into goldfish_pipe_dev::pipes array */
128 /* The wake flags pipe is waiting for
149 * A pipe's own lock. Protects the following:
216 static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, in goldfish_pipe_cmd_locked() argument
219 pipe in goldfish_pipe_cmd_locked()
226 goldfish_pipe_cmd(struct goldfish_pipe * pipe,enum PipeCmdCode cmd) goldfish_pipe_cmd() argument
323 transfer_max_buffers(struct goldfish_pipe * pipe,unsigned long address,unsigned long address_end,int is_write,unsigned long last_page,unsigned int last_page_size,s32 * consumed_size,int * status) transfer_max_buffers() argument
365 wait_for_host_signal(struct goldfish_pipe * pipe,int is_write) wait_for_host_signal() argument
392 struct goldfish_pipe *pipe = filp->private_data; goldfish_pipe_read_write() local
490 struct goldfish_pipe *pipe = filp->private_data; goldfish_pipe_poll() local
515 struct goldfish_pipe *pipe; signalled_pipes_add_locked() local
535 signalled_pipes_remove_locked(struct goldfish_pipe_dev * dev,struct goldfish_pipe * pipe) signalled_pipes_remove_locked() argument
550 struct goldfish_pipe *pipe; signalled_pipes_pop_front() local
579 struct goldfish_pipe *pipe; goldfish_interrupt_task() local
701 struct goldfish_pipe *pipe = kzalloc_obj(*pipe); goldfish_pipe_open() local
761 struct goldfish_pipe *pipe = filp->private_data; goldfish_pipe_release() local
[all...]
/linux/net/nfc/hci/
H A 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/net/sunrpc/
H A Drpc_pipe.c86 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
135 rpc_queue_upcall(struct rpc_pipe * pipe,struct rpc_pipe_msg * msg) rpc_queue_upcall() argument
174 struct rpc_pipe *pipe = RPC_I(inode)->pipe; rpc_close_pipes() local
216 struct rpc_pipe *pipe; rpc_pipe_open() local
243 struct rpc_pipe *pipe; rpc_pipe_release() local
285 struct rpc_pipe *pipe; rpc_pipe_read() local
361 struct rpc_pipe *pipe; rpc_pipe_ioctl() local
489 init_pipe(struct rpc_pipe * pipe) init_pipe() argument
504 rpc_destroy_pipe_data(struct rpc_pipe * pipe) rpc_destroy_pipe_data() argument
512 struct rpc_pipe *pipe; rpc_mkpipe_data() local
636 rpc_mkpipe_dentry(struct dentry * parent,const char * name,void * private,struct rpc_pipe * pipe) rpc_mkpipe_dentry() argument
690 rpc_unlink(struct rpc_pipe * pipe) rpc_unlink() argument
1158 struct rpc_pipe *pipe = sn->gssd_dummy; gssd_running() local
[all...]
/linux/drivers/gpu/drm/lima/
H 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
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 …]
/linux/drivers/usb/host/
H A Docteon-hcd.c205 * enum cvmx_usb_pipe_flags - internal flags for a pipe.
207 * @CVMX_USB_PIPE_FLAGS_SCHEDULED: Used internally to determine if a pipe is
210 * pipe is in the ping state.
257 * to form a list of pending requests for a pipe.
259 * @node: List node for transactions in the pipe.
260 * @type: Type of transaction, duplicated of the pipe.
292 * struct cvmx_usb_pipe - a pipe represents a virtual connection between Octeon
296 * @node: List node for pipe list
301 * @next_tx_frame: The next frame this pipe is allowed to transmit on
302 * @flags: State flags for this pipe
569 cvmx_usb_pipe_needs_split(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe) cvmx_usb_pipe_needs_split() argument
582 cvmx_usb_get_data_pid(struct cvmx_usb_pipe * pipe) cvmx_usb_get_data_pid() argument
1121 struct cvmx_usb_pipe *pipe; cvmx_usb_open_pipe() local
1372 cvmx_usb_start_channel_control(struct octeon_hcd * usb,int channel,struct cvmx_usb_pipe * pipe) cvmx_usb_start_channel_control() argument
1519 cvmx_usb_start_channel(struct octeon_hcd * usb,int channel,struct cvmx_usb_pipe * pipe) cvmx_usb_start_channel() argument
1867 struct cvmx_usb_pipe *pipe; cvmx_usb_find_ready_pipe() local
1889 struct cvmx_usb_pipe *pipe; cvmx_usb_next_pipe() local
1923 struct cvmx_usb_pipe *pipe; cvmx_usb_schedule() local
1999 octeon_usb_urb_complete_callback(struct octeon_hcd * usb,enum cvmx_usb_status status,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction,int bytes_transferred,struct urb * urb) octeon_usb_urb_complete_callback() argument
2098 cvmx_usb_complete(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction,enum cvmx_usb_status complete_code) cvmx_usb_complete() argument
2167 cvmx_usb_submit_transaction(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,enum cvmx_usb_transfer type,u64 buffer,int buffer_length,u64 control_header,int iso_start_frame,int iso_number_packets,struct cvmx_usb_iso_packet * iso_packets,struct urb * urb) cvmx_usb_submit_transaction() argument
2228 cvmx_usb_submit_bulk(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct urb * urb) cvmx_usb_submit_bulk() argument
2252 cvmx_usb_submit_interrupt(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct urb * urb) cvmx_usb_submit_interrupt() argument
2277 cvmx_usb_submit_control(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct urb * urb) cvmx_usb_submit_control() argument
2308 cvmx_usb_submit_isochronous(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct urb * urb) cvmx_usb_submit_isochronous() argument
2338 cvmx_usb_cancel(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction) cvmx_usb_cancel() argument
2383 cvmx_usb_cancel_all(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe) cvmx_usb_cancel_all() argument
2407 cvmx_usb_close_pipe(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe) cvmx_usb_close_pipe() argument
2437 cvmx_usb_transfer_control(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction,union cvmx_usbcx_hccharx usbc_hcchar,int buffer_space_left,int bytes_in_last_packet) cvmx_usb_transfer_control() argument
2521 cvmx_usb_transfer_bulk(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction,union cvmx_usbcx_hcintx usbc_hcint,int buffer_space_left,int bytes_in_last_packet) cvmx_usb_transfer_bulk() argument
2555 cvmx_usb_transfer_intr(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction,int buffer_space_left,int bytes_in_last_packet) cvmx_usb_transfer_intr() argument
2580 cvmx_usb_transfer_isoc(struct octeon_hcd * usb,struct cvmx_usb_pipe * pipe,struct cvmx_usb_transaction * transaction,int buffer_space_left,int bytes_in_last_packet,int bytes_this_transfer) cvmx_usb_transfer_isoc() argument
2643 struct cvmx_usb_pipe *pipe; cvmx_usb_poll_channel() local
3115 struct cvmx_usb_pipe *pipe; octeon_usb_urb_enqueue() local
3317 struct cvmx_usb_pipe *pipe = ep->hcpriv; octeon_usb_endpoint_disable() local
[all...]
/linux/net/nfc/nci/
H A Dhci.c21 u8 pipe; member
38 u8 pipe; member
42 u8 pipe; member
142 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data() argument
149 u8 cb = pipe; in nci_hci_send_data()
203 nci_hci_send_data(ndev, data->pipe, data->cmd, in nci_hci_send_data_req()
210 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() local
212 if (pipe == NCI_HCI_INVALID_PIPE) in nci_hci_send_event()
215 return nci_hci_send_data(ndev, pipe, in nci_hci_send_event()
229 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() local
[all …]

12345678910>>...26