Home
last modified time | relevance | path

Searched full:stream (Results 1 – 25 of 3375) sorted by relevance

12345678910>>...135

/kernel/linux/linux-4.19/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c16 int usb_urb_reconfig(struct usb_data_stream *stream,
21 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
26 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
42 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
53 dev_dbg(&stream->udev->dev, in usb_urb_complete()
58 stream->complete(stream, in usb_urb_complete()
68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
71 dev_err(&stream->udev->dev, in usb_urb_complete()
79 int usb_urb_killv2(struct usb_data_stream *stream) in usb_urb_killv2() argument
82 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_killv2()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c16 int usb_urb_reconfig(struct usb_data_stream *stream,
21 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
26 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
42 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
53 dev_dbg(&stream->udev->dev, in usb_urb_complete()
58 stream->complete(stream, in usb_urb_complete()
68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
71 dev_err(&stream->udev->dev, in usb_urb_complete()
79 int usb_urb_killv2(struct usb_data_stream *stream) in usb_urb_killv2() argument
82 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_killv2()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dusb-urb.c17 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
48stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete()
57 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
66 int usb_urb_kill(struct usb_data_stream *stream) in usb_urb_kill() argument
69 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_kill()
73 usb_kill_urb(stream->urb_list[i]); in usb_urb_kill()
75 stream->urbs_submitted = 0; in usb_urb_kill()
79 int usb_urb_submit(struct usb_data_stream *stream) in usb_urb_submit() argument
82 for (i = 0; i < stream->urbs_initialized; i++) { in usb_urb_submit()
84 if ((ret = usb_submit_urb(stream->urb_list[i],GFP_ATOMIC))) { in usb_urb_submit()
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/dvb-usb/
Dusb-urb.c17 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
48stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete()
57 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
66 int usb_urb_kill(struct usb_data_stream *stream) in usb_urb_kill() argument
69 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_kill()
73 usb_kill_urb(stream->urb_list[i]); in usb_urb_kill()
75 stream->urbs_submitted = 0; in usb_urb_kill()
79 int usb_urb_submit(struct usb_data_stream *stream) in usb_urb_submit() argument
82 for (i = 0; i < stream->urbs_initialized; i++) { in usb_urb_submit()
84 if ((ret = usb_submit_urb(stream->urb_list[i],GFP_ATOMIC))) { in usb_urb_submit()
[all …]
/kernel/linux/linux-4.19/sound/hda/ext/
Dhdac_ext_stream.c2 * hdac-ext-stream.c - HD-audio extended stream operations.
27 * snd_hdac_ext_stream_init - initialize each stream (aka device)
29 * @stream: HD-audio ext core stream object to initialize
30 * @idx: stream index number
31 * @direction: stream direction (SNDRV_PCM_STREAM_PLAYBACK or SNDRV_PCM_STREAM_CAPTURE)
34 * initialize the stream, if ppcap is enabled then init those and then
35 * invoke hdac stream initialization routine
38 struct hdac_ext_stream *stream, in snd_hdac_ext_stream_init() argument
42 stream->pphc_addr = bus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init()
45 stream->pplc_addr = bus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init()
[all …]
/kernel/linux/linux-5.10/sound/hda/ext/
Dhdac_ext_stream.c3 * hdac-ext-stream.c - HD-audio extended stream operations.
19 * snd_hdac_ext_stream_init - initialize each stream (aka device)
21 * @stream: HD-audio ext core stream object to initialize
22 * @idx: stream index number
23 * @direction: stream direction (SNDRV_PCM_STREAM_PLAYBACK or SNDRV_PCM_STREAM_CAPTURE)
26 * initialize the stream, if ppcap is enabled then init those and then
27 * invoke hdac stream initialization routine
30 struct hdac_ext_stream *stream, in snd_hdac_ext_stream_init() argument
34 stream->pphc_addr = bus->ppcap + AZX_PPHC_BASE + in snd_hdac_ext_stream_init()
37 stream->pplc_addr = bus->ppcap + AZX_PPLC_BASE + in snd_hdac_ext_stream_init()
[all …]
/kernel/linux/linux-5.10/sound/core/
Dcompress_offload.c54 struct snd_compr_stream stream; member
60 * a note on stream states used:
62 * SNDRV_PCM_STATE_OPEN: When stream has been opened.
63 * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by
66 * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for
67 * playback only). User after setting up stream writes the data buffer
68 * before starting the stream.
69 * SNDRV_PCM_STATE_RUNNING: When stream has been started and is
71 * SNDRV_PCM_STATE_DRAINING: When stream is draining current data. This is done
73 * SNDRV_PCM_STATE_PAUSED: When stream is paused. This is done by calling
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c42 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument
45 stream->signal = stream->link->connector_signal; in update_stream_signal()
47 stream->signal = sink->sink_signal; in update_stream_signal()
49 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal()
50 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal()
51 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
53 stream->signal = SIGNAL_TYPE_DVI_DUAL_LINK; in update_stream_signal()
55 stream->signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in update_stream_signal()
59 static bool dc_stream_construct(struct dc_stream_state *stream, in dc_stream_construct() argument
64 stream->sink = dc_sink_data; in dc_stream_construct()
[all …]
/kernel/linux/linux-4.19/sound/soc/au1x/
Ddma.c41 struct audio_stream stream[2]; /* playback & capture */ member
44 static void au1000_release_dma_link(struct audio_stream *stream) in au1000_release_dma_link() argument
49 stream->period_size = 0; in au1000_release_dma_link()
50 stream->periods = 0; in au1000_release_dma_link()
51 pointer = stream->buffer; in au1000_release_dma_link()
58 } while (pointer != stream->buffer); in au1000_release_dma_link()
59 stream->buffer = NULL; in au1000_release_dma_link()
62 static int au1000_setup_dma_link(struct audio_stream *stream, in au1000_setup_dma_link() argument
66 struct snd_pcm_substream *substream = stream->substream; in au1000_setup_dma_link()
74 if (stream->period_size == period_bytes && in au1000_setup_dma_link()
[all …]
/kernel/linux/linux-5.10/sound/soc/au1x/
Ddma.c42 struct audio_stream stream[2]; /* playback & capture */ member
45 static void au1000_release_dma_link(struct audio_stream *stream) in au1000_release_dma_link() argument
50 stream->period_size = 0; in au1000_release_dma_link()
51 stream->periods = 0; in au1000_release_dma_link()
52 pointer = stream->buffer; in au1000_release_dma_link()
59 } while (pointer != stream->buffer); in au1000_release_dma_link()
60 stream->buffer = NULL; in au1000_release_dma_link()
63 static int au1000_setup_dma_link(struct audio_stream *stream, in au1000_setup_dma_link() argument
67 struct snd_pcm_substream *substream = stream->substream; in au1000_setup_dma_link()
75 if (stream->period_size == period_bytes && in au1000_setup_dma_link()
[all …]
/kernel/linux/linux-4.19/sound/core/
Dcompress_offload.c67 struct snd_compr_stream stream; member
73 * a note on stream states used:
75 * SNDRV_PCM_STATE_OPEN: When stream has been opened.
76 * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by
79 * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for
80 * playback only). User after setting up stream writes the data buffer
81 * before starting the stream.
82 * SNDRV_PCM_STATE_RUNNING: When stream has been started and is
84 * SNDRV_PCM_STATE_DRAINING: When stream is draining current data. This is done
86 * SNDRV_PCM_STATE_PAUSED: When stream is paused. This is done by calling
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c38 void update_stream_signal(struct dc_stream_state *stream) in update_stream_signal() argument
41 struct dc_sink *dc_sink = stream->sink; in update_stream_signal()
44 stream->signal = stream->sink->link->connector_signal; in update_stream_signal()
46 stream->signal = dc_sink->sink_signal; in update_stream_signal()
48 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal()
49 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal()
50 stream->timing.pix_clk_khz > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
51 stream->sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal()
52 stream->signal = SIGNAL_TYPE_DVI_DUAL_LINK; in update_stream_signal()
54 stream->signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in update_stream_signal()
[all …]
/kernel/linux/linux-5.10/fs/squashfs/
Ddecompressor_multi.c48 void *stream; member
54 struct squashfs_stream *stream) in put_decomp_stream() argument
56 mutex_lock(&stream->mutex); in put_decomp_stream()
57 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream()
58 mutex_unlock(&stream->mutex); in put_decomp_stream()
59 wake_up(&stream->wait); in put_decomp_stream()
65 struct squashfs_stream *stream; in squashfs_decompressor_create() local
69 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
70 if (!stream) in squashfs_decompressor_create()
73 stream->comp_opts = comp_opts; in squashfs_decompressor_create()
[all …]
/kernel/linux/linux-4.19/fs/squashfs/
Ddecompressor_multi.c50 void *stream; member
56 struct squashfs_stream *stream) in put_decomp_stream() argument
58 mutex_lock(&stream->mutex); in put_decomp_stream()
59 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream()
60 mutex_unlock(&stream->mutex); in put_decomp_stream()
61 wake_up(&stream->wait); in put_decomp_stream()
67 struct squashfs_stream *stream; in squashfs_decompressor_create() local
71 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
72 if (!stream) in squashfs_decompressor_create()
75 stream->comp_opts = comp_opts; in squashfs_decompressor_create()
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/uvc/
Duvc_video.c129 static void uvc_fixup_video_ctrl(struct uvc_streaming *stream, in uvc_fixup_video_ctrl() argument
136 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
137 if (stream->format[i].index == ctrl->bFormatIndex) { in uvc_fixup_video_ctrl()
138 format = &stream->format[i]; in uvc_fixup_video_ctrl()
158 stream->dev->uvc_version < 0x0110)) in uvc_fixup_video_ctrl()
171 stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && in uvc_fixup_video_ctrl()
172 stream->intf->num_altsetting > 1) { in uvc_fixup_video_ctrl()
189 if (stream->dev->udev->speed == USB_SPEED_HIGH) in uvc_fixup_video_ctrl()
206 static size_t uvc_video_ctrl_size(struct uvc_streaming *stream) in uvc_video_ctrl_size() argument
212 if (stream->dev->uvc_version < 0x0110) in uvc_video_ctrl_size()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dstream_sched_rr.c7 * These functions manipulate sctp stream queue/scheduling.
25 static void sctp_sched_rr_unsched_all(struct sctp_stream *stream);
27 static void sctp_sched_rr_next_stream(struct sctp_stream *stream) in sctp_sched_rr_next_stream() argument
31 pos = stream->rr_next->rr_list.next; in sctp_sched_rr_next_stream()
32 if (pos == &stream->rr_list) in sctp_sched_rr_next_stream()
34 stream->rr_next = list_entry(pos, struct sctp_stream_out_ext, rr_list); in sctp_sched_rr_next_stream()
37 static void sctp_sched_rr_unsched(struct sctp_stream *stream, in sctp_sched_rr_unsched() argument
40 if (stream->rr_next == soute) in sctp_sched_rr_unsched()
41 /* Try to move to the next stream */ in sctp_sched_rr_unsched()
42 sctp_sched_rr_next_stream(stream); in sctp_sched_rr_unsched()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_stream_public.h38 IA_CSS_INPUT_MODE_PRBS, /** data from pseudo-random bit stream */
51 stream */
66 enum atomisp_input_format format; /** Format of input stream. This data
81 enum atomisp_input_format format; /** Format of input stream. This data
87 /* Input stream description. This describes how input will flow into the
145 /* Stream info, this struct describes properties of a stream after it has been
153 /* @brief Load default stream configuration
154 * @param[in,out] stream_config The stream configuration.
157 * This function will reset the stream configuration to the default state:
170 /* @brief Creates a stream
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/vimc/
Dvimc-streamer.c39 * vimc_streamer_pipeline_terminate - Disable stream in all ved in stream
41 * @stream: the pointer to the stream structure with the pipeline to be
44 * Calls s_stream to disable the stream in each entity of the pipeline
47 static void vimc_streamer_pipeline_terminate(struct vimc_stream *stream) in vimc_streamer_pipeline_terminate() argument
52 while (stream->pipe_size) { in vimc_streamer_pipeline_terminate()
53 stream->pipe_size--; in vimc_streamer_pipeline_terminate()
54 entity = stream->ved_pipeline[stream->pipe_size]->ent; in vimc_streamer_pipeline_terminate()
56 stream->ved_pipeline[stream->pipe_size] = NULL; in vimc_streamer_pipeline_terminate()
67 * vimc_streamer_pipeline_init - initializes the stream structure
69 * @stream: the pointer to the stream structure to be initialized
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-streamer.c40 * vimc_streamer_pipeline_terminate - Disable stream in all ved in stream
42 * @stream: the pointer to the stream structure with the pipeline to be
45 * Calls s_stream to disable the stream in each entity of the pipeline
48 static void vimc_streamer_pipeline_terminate(struct vimc_stream *stream) in vimc_streamer_pipeline_terminate() argument
53 while (stream->pipe_size) { in vimc_streamer_pipeline_terminate()
54 stream->pipe_size--; in vimc_streamer_pipeline_terminate()
55 ved = stream->ved_pipeline[stream->pipe_size]; in vimc_streamer_pipeline_terminate()
56 stream->ved_pipeline[stream->pipe_size] = NULL; in vimc_streamer_pipeline_terminate()
67 * vimc_streamer_pipeline_init - Initializes the stream structure
69 * @stream: the pointer to the stream structure to be initialized
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_video.c124 static void uvc_fixup_video_ctrl(struct uvc_streaming *stream, in uvc_fixup_video_ctrl() argument
146 if (usb_match_one_id(stream->dev->intf, &elgato_cam_link_4k) && in uvc_fixup_video_ctrl()
150 /* uvc_dbg(stream->dev, VIDEO, in uvc_fixup_video_ctrl()
158 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
159 if (stream->format[i].index == ctrl->bFormatIndex) { in uvc_fixup_video_ctrl()
160 format = &stream->format[i]; in uvc_fixup_video_ctrl()
180 stream->dev->uvc_version < 0x0110)) in uvc_fixup_video_ctrl()
193 stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && in uvc_fixup_video_ctrl()
194 stream->intf->num_altsetting > 1) { in uvc_fixup_video_ctrl()
211 if (stream->dev->udev->speed == USB_SPEED_HIGH) in uvc_fixup_video_ctrl()
[all …]
/kernel/linux/linux-4.19/net/sctp/
Dstream_sched_rr.c6 * These functions manipulate sctp stream queue/scheduling.
40 static void sctp_sched_rr_unsched_all(struct sctp_stream *stream);
42 static void sctp_sched_rr_next_stream(struct sctp_stream *stream) in sctp_sched_rr_next_stream() argument
46 pos = stream->rr_next->rr_list.next; in sctp_sched_rr_next_stream()
47 if (pos == &stream->rr_list) in sctp_sched_rr_next_stream()
49 stream->rr_next = list_entry(pos, struct sctp_stream_out_ext, rr_list); in sctp_sched_rr_next_stream()
52 static void sctp_sched_rr_unsched(struct sctp_stream *stream, in sctp_sched_rr_unsched() argument
55 if (stream->rr_next == soute) in sctp_sched_rr_unsched()
56 /* Try to move to the next stream */ in sctp_sched_rr_unsched()
57 sctp_sched_rr_next_stream(stream); in sctp_sched_rr_unsched()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-pcm.c62 int stream, char *buf, size_t size) in dpcm_show_state() argument
64 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state()
72 stream ? "Capture" : "Playback"); in dpcm_show_state()
75 dpcm_state_string(fe->dpcm[stream].state)); in dpcm_show_state()
77 if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state()
78 (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) in dpcm_show_state()
89 if (list_empty(&fe->dpcm[stream].be_clients)) { in dpcm_show_state()
96 for_each_dpcm_be(fe, stream, dpcm) { in dpcm_show_state()
105 dpcm_state_string(be->dpcm[stream].state)); in dpcm_show_state()
107 if ((be->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state()
[all …]
/kernel/linux/linux-4.19/Documentation/driver-api/soundwire/
Dstream.rst2 Audio Stream in SoundWire
5 An audio stream is a logical or virtual connection created between
16 audio stream contains one or more channels of data. All channels within
17 stream must have same sample rate and same sample size.
19 Assume a stream with two channels (Left & Right) is opened using SoundWire
20 interface. Below are some ways a stream can be represented in SoundWire.
22 Stream Sample in memory (System memory, DSP memory or FIFOs) ::
28 Example 1: Stereo Stream with L and R channels is rendered from Master to
41 Example 2: Stereo Stream with L and R channels is captured from Slave to
55 Example 3: Stereo Stream with L and R channels is rendered by Master. Each
[all …]
/kernel/linux/linux-4.19/drivers/slimbus/
Dstream.c53 * The Presence rate of a constant bitrate stream is mean flow rate of the
54 * stream expressed in occupied Segments of that Data Channel per second.
88 * slim_stream_allocate() - Allocate a new SLIMbus Stream
90 * @name: name of the stream
93 * a new SLIMbus stream and return a valid stream runtime pointer for client
94 * to use it in subsequent stream apis. state of stream is set to ALLOCATED
123 static int slim_connect_port_channel(struct slim_stream_runtime *stream, in slim_connect_port_channel() argument
126 struct slim_device *sdev = stream->dev; in slim_connect_port_channel()
130 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel()
143 static int slim_disconnect_port(struct slim_stream_runtime *stream, in slim_disconnect_port() argument
[all …]
/kernel/linux/linux-5.10/drivers/slimbus/
Dstream.c53 * The Presence rate of a constant bitrate stream is mean flow rate of the
54 * stream expressed in occupied Segments of that Data Channel per second.
88 * slim_stream_allocate() - Allocate a new SLIMbus Stream
90 * @name: name of the stream
93 * a new SLIMbus stream and return a valid stream runtime pointer for client
94 * to use it in subsequent stream apis. state of stream is set to ALLOCATED
123 static int slim_connect_port_channel(struct slim_stream_runtime *stream, in slim_connect_port_channel() argument
126 struct slim_device *sdev = stream->dev; in slim_connect_port_channel()
130 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel()
143 static int slim_disconnect_port(struct slim_stream_runtime *stream, in slim_disconnect_port() argument
[all …]

12345678910>>...135