Home
last modified time | relevance | path

Searched full:pipe (Results 1 – 25 of 1218) sorted by relevance

12345678910>>...49

/linux/drivers/usb/renesas_usbhs/
H A Dpipe.c11 #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 Dfifo.c13 #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 Dpipe.h38 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 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 is
52 * The max size that a non-root user is allowed to grow the pipe. Can
53 * be set by root in /proc/sys/fs/pipe-max-size
88 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() argument
[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
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 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
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 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_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
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 …]
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_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_TPT) argument
59 #define CURSIZE(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURASIZE) argument
66 #define CUR_FBC_CTL(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CUR_FBC_CTL_A) argument
72 #define CUR_CHICKEN(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CUR_CHICKEN_A) argument
75 #define CURSURFLIVE(dev_priv, pipe) _MMIO_CURSOR2((dev_priv), (pipe), _CURASURFLIVE) argument
80 #define CUR_WM(pipe, level) _MMIO(_PIPE((pipe), _CUR_WM_A_0, _CUR_WM_B_0) + (level) * 4) 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_A, _VLV_HDMIW_HDMIEDID_B) argument
46 #define VLV_AUD_CNTL_ST(pipe) _MMIO_PIPE(pipe, _VLV_AUD_CNTL_ST_A, _VLV_AUD_CNTL_ST_B) argument
51 #define IBX_AUD_CFG(pipe) _MMIO_PIPE(pipe, _IBX_AUD_CONFIG_A, _IBX_AUD_CONFIG_B) argument
54 #define CPT_AUD_CFG(pipe) _MMIO_PIPE(pipe, _CPT_AUD_CONFIG_A, _CPT_AUD_CONFIG_B) argument
57 #define VLV_AUD_CFG(pipe) _MMIO_PIPE(pipe, _VLV_AUD_CONFIG_A, _VLV_AUD_CONFIG_B) argument
137 #define HBLANK_EARLY_ENABLE_ICL(pipe) (0x1 << (20 - (pipe))) argument
[all …]
/linux/include/linux/
H A Dpipe_fs_i.h18 * 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.
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
72 * @nr_accounted: The amount this pipe accounts for in user->pipe_bufs
74 * @readers: number of current readers of this pipe
75 * @writers: number of current writers of this pipe
76 * @files: number of struct file referring this pipe (protected by ->i_lock)
[all …]
/linux/sound/drivers/vx/
H A Dvx_pcm.c15 * 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 t
90 vx_set_differed_time(struct vx_core * chip,struct vx_rmh * rmh,struct vx_pipe * pipe) vx_set_differed_time() argument
123 vx_set_stream_format(struct vx_core * chip,struct vx_pipe * pipe,unsigned int data) vx_set_stream_format() argument
150 vx_set_format(struct vx_core * chip,struct vx_pipe * pipe,struct snd_pcm_runtime * runtime) vx_set_format() argument
211 vx_get_pipe_state(struct vx_core * chip,struct vx_pipe * pipe,int * state) vx_get_pipe_state() argument
236 vx_query_hbuffer_size(struct vx_core * chip,struct vx_pipe * pipe) vx_query_hbuffer_size() argument
260 vx_pipe_can_start(struct vx_core * chip,struct vx_pipe * pipe) vx_pipe_can_start() argument
281 vx_conf_pipe(struct vx_core * chip,struct vx_pipe * pipe) vx_conf_pipe() argument
320 vx_toggle_pipe(struct vx_core * chip,struct vx_pipe * pipe,int state) vx_toggle_pipe() argument
375 vx_stop_pipe(struct vx_core * chip,struct vx_pipe * pipe) vx_stop_pipe() argument
398 struct vx_pipe *pipe; vx_alloc_pipe() local
443 vx_free_pipe(struct vx_core * chip,struct vx_pipe * pipe) vx_free_pipe() argument
461 vx_start_stream(struct vx_core * chip,struct vx_pipe * pipe) vx_start_stream() argument
477 vx_stop_stream(struct vx_core * chip,struct vx_pipe * pipe) vx_stop_stream() argument
518 struct vx_pipe *pipe = NULL; vx_pcm_playback_open() local
560 struct vx_pipe *pipe; vx_pcm_playback_close() local
583 vx_notify_end_of_buffer(struct vx_core * chip,struct vx_pipe * pipe) vx_notify_end_of_buffer() argument
613 vx_pcm_playback_transfer_chunk(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe,int size) vx_pcm_playback_transfer_chunk() argument
651 vx_update_pipe_position(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe) vx_update_pipe_position() argument
679 vx_pcm_playback_transfer(struct vx_core * chip,struct snd_pcm_substream * subs,struct vx_pipe * pipe,int nchunks) vx_pcm_playback_transfer() argument
700 vx_pcm_playback_update(struct vx_core * chip,struct snd_pcm_substream * subs,struct vx_pipe * pipe) vx_pcm_playback_update() argument
722 struct vx_pipe *pipe = subs->runtime->private_data; vx_pcm_trigger() local
777 struct vx_pipe *pipe = runtime->private_data; vx_pcm_playback_pointer() local
788 struct vx_pipe *pipe = runtime->private_data; vx_pcm_prepare() local
894 struct vx_pipe *pipe; vx_pcm_capture_open() local
952 struct vx_pipe *pipe; vx_pcm_capture_close() local
986 vx_pcm_capture_update(struct vx_core * chip,struct snd_pcm_substream * subs,struct vx_pipe * pipe) vx_pcm_capture_update() argument
1064 struct vx_pipe *pipe = runtime->private_data; vx_pcm_capture_pointer() local
1086 struct vx_pipe *pipe; vx_pcm_update_intr() local
[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/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol_ops.c51 * 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 = kcalloc(pipe->nr_of_entries, sizeof(*skbr), 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/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c114 struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i]; in dcn32_merge_pipes_for_subvp() local
116 // For now merge all pipes for SubVP since pipe split case isn't supported yet in dcn32_merge_pipes_for_subvp()
119 if (pipe->prev_odm_pipe) { in dcn32_merge_pipes_for_subvp()
120 /*split off odm pipe*/ in dcn32_merge_pipes_for_subvp()
121 pipe->prev_odm_pipe->next_odm_pipe = pipe->next_odm_pipe; in dcn32_merge_pipes_for_subvp()
122 if (pipe->next_odm_pipe) in dcn32_merge_pipes_for_subvp()
123 pipe->next_odm_pipe->prev_odm_pipe = pipe->prev_odm_pipe; in dcn32_merge_pipes_for_subvp()
125 pipe->bottom_pipe = NULL; in dcn32_merge_pipes_for_subvp()
126 pipe->next_odm_pipe = NULL; in dcn32_merge_pipes_for_subvp()
127 pipe->plane_state = NULL; in dcn32_merge_pipes_for_subvp()
[all …]
/linux/drivers/gpu/drm/lima/
H A Dlima_sched.c22 struct lima_sched_pipe *pipe; member
64 return f->pipe->base.name; in lima_fence_get_timeline_name()
88 static struct lima_fence *lima_fence_create(struct lima_sched_pipe *pipe) in lima_fence_create() argument
96 fence->pipe = pipe; in lima_fence_create()
97 dma_fence_init(&fence->base, &lima_fence_ops, &pipe->fence_lock, in lima_fence_create()
98 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
158 int lima_sched_context_init(struct lima_sched_pipe *pipe, in lima_sched_context_init() argument
161 struct drm_gpu_scheduler *sched = &pipe->base; in lima_sched_context_init()
167 void lima_sched_context_fini(struct lima_sched_pipe *pipe, in lima_sched_context_fini() argument
207 struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); in lima_sched_run_job() local
[all …]
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/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: 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/drivers/net/wireless/ath/ath6kl/
H A Dusb.c65 /* 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->urb_list_head, in ath6kl_usb_alloc_urb_from_pipe()
146 pipe->urb_cnt--; in ath6kl_usb_alloc_urb_from_pipe()
[all …]
/linux/drivers/platform/goldfish/
H A Dgoldfish_pipe.c26 * .... 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/net/nfc/nci/
H A Dhci.c21 u8 pipe; member
38 u8 pipe; member
42 u8 pipe; member
55 u8 header; /* cbit+pipe */
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()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.c83 enum dpu_sspp pipe; member
111 * @pipe_cfg: Pointer to pipe configuration
161 * @pipe_cfg: Pointer to pipe configuration
190 * @pipe: Pointer to software pipe
197 struct dpu_sw_pipe *pipe, in _dpu_plane_calc_fill_level() argument
205 if (!fmt || !pipe || !src_width || !fmt->bpp) { in _dpu_plane_calc_fill_level()
229 if (pipe->multirect_mode == DPU_SSPP_MULTIRECT_PARALLEL) { in _dpu_plane_calc_fill_level()
239 pipe->sspp->idx - SSPP_VIG0, in _dpu_plane_calc_fill_level()
249 * @pipe: Pointer to software pipe
251 * @pipe_cfg: Pointer to pipe configuration
[all …]

12345678910>>...49