Home
last modified time | relevance | path

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

12345678910>>...57

/Linux-v5.10/drivers/usb/renesas_usbhs/
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 …]
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 …]
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-v5.10/fs/
Dpipe.c3 * linux/fs/pipe.c
35 * The max size that a non-root user is allowed to grow the pipe. Can
36 * be set by root in /proc/sys/fs/pipe-max-size
63 static void pipe_lock_nested(struct pipe_inode_info *pipe, int subclass) in pipe_lock_nested() argument
65 if (pipe->files) in pipe_lock_nested()
66 mutex_lock_nested(&pipe->mutex, subclass); in pipe_lock_nested()
69 void pipe_lock(struct pipe_inode_info *pipe) in pipe_lock() argument
72 * pipe_lock() nests non-pipe inode locks (for writing to a file) in pipe_lock()
74 pipe_lock_nested(pipe, I_MUTEX_PARENT); in pipe_lock()
78 void pipe_unlock(struct pipe_inode_info *pipe) in pipe_unlock() argument
[all …]
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.
41 * Attempt to steal a page from a pipe buffer. This should perhaps go into
46 static bool page_cache_pipe_buf_try_steal(struct pipe_inode_info *pipe, in page_cache_pipe_buf_try_steal() argument
91 static void page_cache_pipe_buf_release(struct pipe_inode_info *pipe, in page_cache_pipe_buf_release() argument
102 static int page_cache_pipe_buf_confirm(struct pipe_inode_info *pipe, in page_cache_pipe_buf_confirm() argument
147 static bool user_page_pipe_buf_try_steal(struct pipe_inode_info *pipe, in user_page_pipe_buf_try_steal() argument
154 return generic_pipe_buf_try_steal(pipe, buf); in user_page_pipe_buf_try_steal()
163 static void wakeup_pipe_readers(struct pipe_inode_info *pipe) in wakeup_pipe_readers() argument
[all …]
/Linux-v5.10/drivers/gpu/drm/gma500/
Dmdfld_dsi_dpi.c39 int pipe);
41 static void mdfld_wait_for_HS_DATA_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_DATA_FIFO() argument
43 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_DATA_FIFO()
59 static void mdfld_wait_for_HS_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_HS_CTRL_FIFO() argument
61 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_HS_CTRL_FIFO()
76 static void mdfld_wait_for_DPI_CTRL_FIFO(struct drm_device *dev, u32 pipe) in mdfld_wait_for_DPI_CTRL_FIFO() argument
78 u32 gen_fifo_stat_reg = MIPI_GEN_FIFO_STAT_REG(pipe); in mdfld_wait_for_DPI_CTRL_FIFO()
94 static void mdfld_wait_for_SPL_PKG_SENT(struct drm_device *dev, u32 pipe) in mdfld_wait_for_SPL_PKG_SENT() argument
96 u32 intr_stat_reg = MIPI_INTR_STAT_REG(pipe); in mdfld_wait_for_SPL_PKG_SENT()
115 int pipe) in dsi_set_device_ready_state() argument
[all …]
Dmdfld_dsi_output.h75 #define CHECK_PIPE(pipe) ({ \ argument
76 const typeof(pipe) __pipe = (pipe); \
80 #define CHECK_PIPE(pipe) (pipe) argument
86 #define REG_OFFSET(pipe) (CHECK_PIPE(pipe) * 0x400) argument
89 #define MIPI_DEVICE_READY_REG(pipe) (0xb000 + REG_OFFSET(pipe)) argument
90 #define MIPI_INTR_STAT_REG(pipe) (0xb004 + REG_OFFSET(pipe)) argument
91 #define MIPI_INTR_EN_REG(pipe) (0xb008 + REG_OFFSET(pipe)) argument
92 #define MIPI_DSI_FUNC_PRG_REG(pipe) (0xb00c + REG_OFFSET(pipe)) argument
93 #define MIPI_HS_TX_TIMEOUT_REG(pipe) (0xb010 + REG_OFFSET(pipe)) argument
94 #define MIPI_LP_RX_TIMEOUT_REG(pipe) (0xb014 + REG_OFFSET(pipe)) argument
[all …]
/Linux-v5.10/drivers/gpu/drm/
Ddrm_simple_kms_helper.c78 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_mode_valid() local
80 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_mode_valid()
81 if (!pipe->funcs || !pipe->funcs->mode_valid) in drm_simple_kms_crtc_mode_valid()
85 return pipe->funcs->mode_valid(pipe, mode); in drm_simple_kms_crtc_mode_valid()
105 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_enable() local
107 pipe = container_of(crtc, struct drm_simple_display_pipe, crtc); in drm_simple_kms_crtc_enable()
108 if (!pipe->funcs || !pipe->funcs->enable) in drm_simple_kms_crtc_enable()
111 plane = &pipe->plane; in drm_simple_kms_crtc_enable()
112 pipe->funcs->enable(pipe, crtc->state, plane->state); in drm_simple_kms_crtc_enable()
118 struct drm_simple_display_pipe *pipe; in drm_simple_kms_crtc_disable() local
[all …]
/Linux-v5.10/sound/drivers/vx/
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 to be checked
84 * if the pipe is programmed with the differed time, set the DSP time
[all …]
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_pipeline.c17 struct komeda_pipeline *pipe; in komeda_pipeline_add() local
25 if (size < sizeof(*pipe)) { in komeda_pipeline_add()
30 pipe = devm_kzalloc(mdev->dev, size, GFP_KERNEL); in komeda_pipeline_add()
31 if (!pipe) in komeda_pipeline_add()
34 pipe->mdev = mdev; in komeda_pipeline_add()
35 pipe->id = mdev->n_pipelines; in komeda_pipeline_add()
36 pipe->funcs = funcs; in komeda_pipeline_add()
38 mdev->pipelines[mdev->n_pipelines] = pipe; in komeda_pipeline_add()
41 return pipe; in komeda_pipeline_add()
45 struct komeda_pipeline *pipe) in komeda_pipeline_destroy() argument
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/camera/pipe/src/
Dpipe_binarydesc.c35 struct ia_css_pipe const *const pipe, in pipe_binarydesc_get_offline() argument
44 assert(pipe); in pipe_binarydesc_get_offline()
51 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline()
67 descr->stream_format = pipe->stream->config.input_config.format; in pipe_binarydesc_get_offline()
73 descr->isp_pipe_version = pipe->config.isp_pipe_version; in pipe_binarydesc_get_offline()
79 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_copy_binarydesc() argument
88 assert(pipe); in ia_css_pipe_get_copy_binarydesc()
96 pipe_binarydesc_get_offline(pipe, IA_CSS_BINARY_MODE_COPY, in ia_css_pipe_get_copy_binarydesc()
100 copy_descr->two_ppc = (pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_get_copy_binarydesc()
107 struct ia_css_pipe const *const pipe, in ia_css_pipe_get_vfpp_binarydesc() argument
[all …]
/Linux-v5.10/include/linux/
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.
35 * struct pipe_inode_info - a linux kernel pipe
37 * @rd_wait: reader wait point in case of empty pipe
38 * @wr_wait: writer wait point in case of full pipe
44 * @nr_accounted: The amount this pipe accounts for in user->pipe_bufs
46 * @readers: number of current readers of this pipe
47 * @writers: number of current writers of this pipe
48 * @files: number of struct file referring this pipe (protected by ->i_lock)
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_fifo_underrun.c43 * occurrence until the next modeset on a given pipe.
46 * is no interrupt (despite that the signalling bit is in the PIPESTAT pipe
58 enum pipe pipe; in ivb_can_enable_err_int() local
62 for_each_pipe(dev_priv, pipe) { in ivb_can_enable_err_int()
63 crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in ivb_can_enable_err_int()
75 enum pipe pipe; in cpt_can_enable_serr_int() local
80 for_each_pipe(dev_priv, pipe) { in cpt_can_enable_serr_int()
81 crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in cpt_can_enable_serr_int()
93 i915_reg_t reg = PIPESTAT(crtc->pipe); in i9xx_check_fifo_underruns()
101 enable_mask = i915_pipestat_enable_mask(dev_priv, crtc->pipe); in i9xx_check_fifo_underruns()
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dia_css_pipe_public.h37 /* Enumeration of pipe modes. This mode can be used to create
38 * an image pipe for this mode. These pipes can be combined
41 * For example, one can create a preview and capture pipe to
45 IA_CSS_PIPE_MODE_PREVIEW, /** Preview pipe */
46 IA_CSS_PIPE_MODE_VIDEO, /** Video pipe */
47 IA_CSS_PIPE_MODE_CAPTURE, /** Still capture pipe */
48 IA_CSS_PIPE_MODE_ACC, /** Accelerated pipe */
49 IA_CSS_PIPE_MODE_COPY, /** Copy pipe, only used for embedded/image data copying */
50 IA_CSS_PIPE_MODE_YUVPP, /** YUV post processing pipe, used for all use cases with YUV input,
58 * Enumeration of pipe versions.
[all …]
Dsh_css.c135 struct ia_css_pipe *pipes[IA_CSS_PIPE_ID_NUM]; /* pipe handles */
139 pipe_config[IA_CSS_PIPE_ID_NUM]; /* pipe config structs */
182 allocate_delay_frames(struct ia_css_pipe *pipe);
225 ia_css_pipe_check_format(struct ia_css_pipe *pipe,
230 check_pipe_resolutions(const struct ia_css_pipe *pipe);
233 ia_css_pipe_load_extension(struct ia_css_pipe *pipe,
237 ia_css_pipe_unload_extension(struct ia_css_pipe *pipe,
249 need_capture_pp(const struct ia_css_pipe *pipe);
252 need_yuv_scaler_stage(const struct ia_css_pipe *pipe);
267 static bool need_capt_ldc(const struct ia_css_pipe *pipe);
[all …]
/Linux-v5.10/drivers/media/platform/vsp1/
Dvsp1_video.c181 * @pipe: the pipeline
186 static void vsp1_video_calculate_partition(struct vsp1_pipeline *pipe, in vsp1_video_calculate_partition() argument
199 format = vsp1_entity_get_pad_format(&pipe->output->entity, in vsp1_video_calculate_partition()
200 pipe->output->entity.config, in vsp1_video_calculate_partition()
204 if (pipe->partitions <= 1) { in vsp1_video_calculate_partition()
208 vsp1_pipeline_propagate_partition(pipe, partition, index, in vsp1_video_calculate_partition()
230 * pipe->partitions is 1 based, whilst index is a 0 based index. in vsp1_video_calculate_partition()
233 unsigned int partitions = pipe->partitions - 1; in vsp1_video_calculate_partition()
249 vsp1_pipeline_propagate_partition(pipe, partition, index, &window); in vsp1_video_calculate_partition()
252 static int vsp1_video_pipeline_setup_partitions(struct vsp1_pipeline *pipe) in vsp1_video_pipeline_setup_partitions() argument
[all …]
Dvsp1_drm.c33 static void vsp1_du_pipeline_frame_end(struct vsp1_pipeline *pipe, in vsp1_du_pipeline_frame_end() argument
36 struct vsp1_drm_pipeline *drm_pipe = to_vsp1_drm_pipeline(pipe); in vsp1_du_pipeline_frame_end()
64 struct vsp1_pipeline *pipe, in vsp1_du_insert_uif() argument
116 struct vsp1_pipeline *pipe, in vsp1_du_pipeline_setup_rpf() argument
190 ret = vsp1_du_insert_uif(vsp1, pipe, uif, &rpf->entity, RWPF_PAD_SOURCE, in vsp1_du_pipeline_setup_rpf()
191 pipe->brx, brx_input); in vsp1_du_pipeline_setup_rpf()
198 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
205 format.format.code, BRX_NAME(pipe->brx), format.pad); in vsp1_du_pipeline_setup_rpf()
211 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf()
218 BRX_NAME(pipe->brx), sel.pad); in vsp1_du_pipeline_setup_rpf()
[all …]
Dvsp1_pipe.c244 void vsp1_pipeline_reset(struct vsp1_pipeline *pipe) in vsp1_pipeline_reset() argument
249 if (pipe->brx) { in vsp1_pipeline_reset()
250 struct vsp1_brx *brx = to_brx(&pipe->brx->subdev); in vsp1_pipeline_reset()
256 for (i = 0; i < ARRAY_SIZE(pipe->inputs); ++i) in vsp1_pipeline_reset()
257 pipe->inputs[i] = NULL; in vsp1_pipeline_reset()
259 pipe->output = NULL; in vsp1_pipeline_reset()
261 list_for_each_entry(entity, &pipe->entities, list_pipe) in vsp1_pipeline_reset()
262 entity->pipe = NULL; in vsp1_pipeline_reset()
264 INIT_LIST_HEAD(&pipe->entities); in vsp1_pipeline_reset()
265 pipe->state = VSP1_PIPELINE_STOPPED; in vsp1_pipeline_reset()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dce.c210 static int ath11k_ce_rx_buf_enqueue_pipe(struct ath11k_ce_pipe *pipe, in ath11k_ce_rx_buf_enqueue_pipe() argument
213 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe()
214 struct ath11k_ce_ring *ring = pipe->dest_ring; in ath11k_ce_rx_buf_enqueue_pipe()
248 pipe->rx_buf_needed--; in ath11k_ce_rx_buf_enqueue_pipe()
259 static int ath11k_ce_rx_post_pipe(struct ath11k_ce_pipe *pipe) in ath11k_ce_rx_post_pipe() argument
261 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_post_pipe()
266 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe()
270 while (pipe->rx_buf_needed) { in ath11k_ce_rx_post_pipe()
271 skb = dev_alloc_skb(pipe->buf_sz); in ath11k_ce_rx_post_pipe()
291 ret = ath11k_ce_rx_buf_enqueue_pipe(pipe, skb, paddr); in ath11k_ce_rx_post_pipe()
[all …]
/Linux-v5.10/net/nfc/hci/
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-v5.10/drivers/gpu/drm/lima/
Dlima_sched.c20 struct lima_sched_pipe *pipe; member
62 return f->pipe->base.name; in lima_fence_get_timeline_name()
86 static struct lima_fence *lima_fence_create(struct lima_sched_pipe *pipe) in lima_fence_create() argument
94 fence->pipe = pipe; in lima_fence_create()
95 dma_fence_init(&fence->base, &lima_fence_ops, &pipe->fence_lock, in lima_fence_create()
96 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create()
161 int lima_sched_context_init(struct lima_sched_pipe *pipe, in lima_sched_context_init() argument
165 struct drm_gpu_scheduler *sched = &pipe->base; in lima_sched_context_init()
171 void lima_sched_context_fini(struct lima_sched_pipe *pipe, in lima_sched_context_fini() argument
223 struct lima_sched_pipe *pipe = to_lima_pipe(job->sched); in lima_sched_run_job() local
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dusb.c34 /* pipe/urb operations */
36 ath10k_usb_alloc_urb_from_pipe(struct ath10k_usb_pipe *pipe) in ath10k_usb_alloc_urb_from_pipe() argument
41 /* bail if this pipe is not initialized */ in ath10k_usb_alloc_urb_from_pipe()
42 if (!pipe->ar_usb) in ath10k_usb_alloc_urb_from_pipe()
45 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath10k_usb_alloc_urb_from_pipe()
46 if (!list_empty(&pipe->urb_list_head)) { in ath10k_usb_alloc_urb_from_pipe()
47 urb_context = list_first_entry(&pipe->urb_list_head, in ath10k_usb_alloc_urb_from_pipe()
50 pipe->urb_cnt--; in ath10k_usb_alloc_urb_from_pipe()
52 spin_unlock_irqrestore(&pipe->ar_usb->cs_lock, flags); in ath10k_usb_alloc_urb_from_pipe()
57 static void ath10k_usb_free_urb_to_pipe(struct ath10k_usb_pipe *pipe, in ath10k_usb_free_urb_to_pipe() argument
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_trace.h30 __field(enum pipe, pipe)
36 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
37 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
39 __entry->pipe = crtc->pipe;
42 …TP_printk("pipe %c enable, pipe A: frame=%u, scanline=%u, pipe B: frame=%u, scanline=%u, pipe C: f…
43 pipe_name(__entry->pipe),
56 __field(enum pipe, pipe)
63 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
64 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
66 __entry->pipe = crtc->pipe;
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/
Dusb.c65 /* protects pipe->urb_list_head and pipe->urb_cnt */
79 struct ath6kl_usb_pipe *pipe; member
128 /* pipe/urb operations */
130 ath6kl_usb_alloc_urb_from_pipe(struct ath6kl_usb_pipe *pipe) in ath6kl_usb_alloc_urb_from_pipe() argument
135 /* bail if this pipe is not initialized */ in ath6kl_usb_alloc_urb_from_pipe()
136 if (!pipe->ar_usb) in ath6kl_usb_alloc_urb_from_pipe()
139 spin_lock_irqsave(&pipe->ar_usb->cs_lock, flags); in ath6kl_usb_alloc_urb_from_pipe()
140 if (!list_empty(&pipe->urb_list_head)) { in ath6kl_usb_alloc_urb_from_pipe()
142 list_first_entry(&pipe->urb_list_head, in ath6kl_usb_alloc_urb_from_pipe()
145 pipe->urb_cnt--; in ath6kl_usb_alloc_urb_from_pipe()
[all …]
/Linux-v5.10/drivers/platform/goldfish/
Dgoldfish_pipe.c26 * .... write() or read() through the pipe.
85 /* A per-pipe command structure, shared with the host */
88 s32 id; /* pipe id, guest -> host */
106 /* A single signalled pipe information */
125 /* This data type models a given pipe instance */
127 /* pipe ID - index into goldfish_pipe_dev::pipes array */
130 /* The wake flags pipe is waiting for
151 * A pipe's own lock. Protects the following:
221 static int goldfish_pipe_cmd_locked(struct goldfish_pipe *pipe, in goldfish_pipe_cmd_locked() argument
224 pipe->command_buffer->cmd = cmd; in goldfish_pipe_cmd_locked()
[all …]

12345678910>>...57