Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 218) sorted by relevance

123456789

/linux/crypto/
H A Dacompress.c357 struct crypto_acomp_stream __percpu *streams = s->streams; in acomp_stream_workfn() local
364 ps = per_cpu_ptr(streams, cpu); in acomp_stream_workfn()
382 struct crypto_acomp_stream __percpu *streams = s->streams; in crypto_acomp_free_streams() local
386 s->streams = NULL; in crypto_acomp_free_streams()
387 if (!streams) in crypto_acomp_free_streams()
394 struct crypto_acomp_stream *ps = per_cpu_ptr(streams, i); in crypto_acomp_free_streams()
402 free_percpu(streams); in crypto_acomp_free_streams()
408 struct crypto_acomp_stream __percpu *streams; in crypto_acomp_alloc_streams() local
413 if (s->streams) in crypto_acomp_alloc_streams()
416 streams = alloc_percpu(struct crypto_acomp_stream); in crypto_acomp_alloc_streams()
[all …]
/linux/drivers/staging/greybus/
H A Dcamera.c
/linux/Documentation/driver-api/usb/
H A Dbulk-streams.rst1 USB bulk streams
7 Bulk endpoint streams were added in the USB 3.0 specification. Streams allow a
13 Protocol, which uses streams to queue multiple SCSI commands, can be found on
24 device can refuse that transfer. Devices can switch between streams at any
44 streams, or the xHCI driver ran out of memory), or the number of streams the
53 streams.
64 usb_alloc_streams() returns with a value of N, you may use streams 1 though N.
66 endpoint does not support streams, an error will be returned.
75 If a driver wishes to stop using streams to communicate with the device, it
83 ensure that drivers that don't support streams will be able to use the endpoint.
/linux/sound/virtio/
H A Dvirtio_chmap.c93 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_parse_cfg()
96 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_parse_cfg()
151 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_chmap_build_devs()
152 vs = &vpcm->streams[i]; in virtsnd_chmap_build_devs()
178 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_build_devs()
180 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_build_devs()
204 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_chmap_build_devs()
205 vs = &vpcm->streams[i]; in virtsnd_chmap_build_devs()
H A Dvirtio_pcm.c333 virtio_cread_le(vdev, struct virtio_snd_config, streams, in virtsnd_pcm_parse_cfg()
397 vpcm->streams[vss->direction].nsubstreams++; in virtsnd_pcm_parse_cfg()
422 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams; in virtsnd_pcm_build_devs()
424 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams; in virtsnd_pcm_build_devs()
445 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs()
446 struct virtio_pcm_stream *stream = &vpcm->streams[i]; in virtsnd_pcm_build_devs()
470 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs()
475 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs()
476 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs()
477 struct snd_pcm_str *ks = &vpcm->pcm->streams[ in virtsnd_pcm_build_devs()
[all...]
/linux/net/mac80211/
H A Dairtime.c31 #define MCS_DURATION(streams, sgi, bps) \ argument
32 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps))))
34 #define MCS_DURATION_S(shift, streams, sgi, bps) \ argument
35 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift)))
52 #define HE_DURATION(streams, gi, bps) \ argument
53 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
55 #define HE_DURATION_S(shift, streams, gi, bps) \ argument
56 (HE_DURATION(streams, gi, bps) >> shift)
63 #define EHT_DURATION(streams, gi, bps) \ argument
64 HE_DURATION(streams, g
65 EHT_DURATION_S(shift,streams,gi,bps) global() argument
511 int bw, streams; ieee80211_get_rate_duration() local
[all...]
H A Drc80211_minstrel_ht_debugfs.c80 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump()
84 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump()
102 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump()
104 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump()
225 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump()
229 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump()
246 p += sprintf(p, ",MCS%-2u,", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_csv_dump()
248 p += sprintf(p, ",MCS%-1u/%1u,", j, mg->streams); in minstrel_ht_stats_csv_dump()
/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c236 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
303 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
394 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
408 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
428 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
506 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
508 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
509 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
510 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
511 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
[all …]
H A Dcx18-fileops.c33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
73 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream()
75 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream()
125 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_release_stream()
132 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_release_stream()
173 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
485 struct cx18_stream *s = &cx->streams[id->type]; in cx18_start_capture()
507 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_start_capture()
508 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
576 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_read()
[all …]
H A Dcx18-ioctl.c21 #include "cx18-streams.h"
57 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
129 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
546 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_do_s_input()
547 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_do_s_input()
548 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_do_s_input()
550 /* prevent others from messing with the streams until in cx18_do_s_input()
613 with already running streams, prevent that by in cx18_do_s_std()
628 if (cx->streams[CX18_ENC_STREAM_TYPE_YUV].pixelformat == V4L2_PIX_FMT_NV12_16L16) { in cx18_do_s_std()
629 cx->streams[CX18_ENC_STREAM_TYPE_YU in cx18_do_s_std()
[all...]
/linux/sound/hda/core/
H A Ddevice.c862 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); in query_pcm_param()
864 if (!streams || streams == -1)
865 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
866 if (!streams || streams == -1) in query_stream_param()
868 return streams; in query_stream_param()
911 unsigned int streams, bps; in snd_hdac_query_supported_pcm()
915 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm()
916 if (!streams) in snd_hdac_query_supported_pcm() local
867 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); query_stream_param() local
[all...]
H A Dstream.c209 * snd_hdac_stop_streams - stop all streams
222 * snd_hdac_stop_streams_and_chip - stop all streams and chip if running
695 * @streams: bit flags of streams to set up in snd_hdac_stream_timecounter_init()
698 * Initializes the time counter of streams marked by the bit flags (each in snd_hdac_stream_timecounter_init()
704 unsigned int streams, bool start) in snd_hdac_stream_timecounter_init()
716 if ((streams & (1 << s->index))) { in snd_hdac_stream_sync_trigger()
735 * @streams: bit flags of streams to sync
739 unsigned int streams, unsigne
682 snd_hdac_stream_timecounter_init(struct hdac_stream * azx_dev,unsigned int streams,bool start) snd_hdac_stream_timecounter_init() argument
717 snd_hdac_stream_sync_trigger(struct hdac_stream * azx_dev,bool set,unsigned int streams,unsigned int reg) snd_hdac_stream_sync_trigger() argument
743 snd_hdac_stream_sync(struct hdac_stream * azx_dev,bool start,unsigned int streams) snd_hdac_stream_sync() argument
[all...]
/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c36 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream()
77 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
118 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
120 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
213 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer()
428 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
457 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_start_capture()
507 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_read()
524 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_decoding()
569 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_write()
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dsch_ets_tests.sh80 local -a streams=("$@")
82 local low_stream=${streams[0]}
91 for stream in ${streams[@]}; do
109 local stream=${streams[$i]}
H A Dsch_ets.sh35 local -a streams=("$@")
38 for stream in ${streams[@]}; do
/linux/tools/testing/selftests/drivers/net/lib/py/
H A Dload.py27 def _build_client(self, streams, duration, reverse): argument
46 def start_client(self, background=False, streams=1, duration=10, reverse=False): argument
50 cmdline = self._build_client(streams, duration, reverse)
90 self._iperf_client = self.runner.start_client(background=True, streams=16, duration=86400)
/linux/sound/core/
H A Dpcm.c123 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
634 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
871 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_dev_free()
872 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_dev_free()
900 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
910 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1071 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1084 pcm->streams[cidx].dev); in snd_pcm_dev_register()
1090 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_disconnect()
1128 if (pcm->streams[cid
[all...]
/linux/sound/core/oss/
H A Dpcm_oss.c1122 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream()
1581 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset()
1601 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post()
1670 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync()
1740 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync()
1762 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate()
1804 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels()
1902 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format()
1957 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide()
2000 struct snd_pcm_substream *substream = pcm_oss_file->streams[id in snd_pcm_oss_set_fragment()
[all...]
/linux/Documentation/networking/
H A Dtcp-thin.rst4 Thin-streams and TCP
20 applications, we have seen that they often produce thin streams
23 streams provoke high latencies when using TCP is unfortunate.
27 for thin streams. In short, if the kernel detects a thin stream,
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-v4l2.rst112 by the driver for capture streams and by the application for
113 output streams, see :ref:`colorspaces`. If the application sets the
156 the driver for capture streams and by the application for output
157 streams, see :ref:`colorspaces`. If the application sets the
170 the driver for capture streams and by the application for output
171 streams, see :ref:`colorspaces`. If the application sets the flag
186 the driver for capture streams and by the application for output
187 streams, see :ref:`colorspaces`. If the application sets the flag
199 the driver for capture streams and by the application for output
200 streams, see :ref:`colorspaces`. If the application sets the flag
[all …]
/linux/sound/soc/intel/atom/sst/
H A Dsst_stream.c70 sst_drv_ctx->streams[str_id].status = STREAM_INIT; in sst_alloc_stream_mrfld()
71 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld()
72 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld()
73 sst_drv_ctx->streams[str_id].task_id = str_params->task; in sst_alloc_stream_mrfld()
74 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld()
/linux/sound/soc/
H A Dsoc-generic-dmaengine-pcm.c241 struct snd_pcm_substream *substream = rtd->pcm->streams[i].substream; in dmaengine_pcm_new()
271 if (rtd->pcm->streams[i].pcm->name[0] == '\0') { in dmaengine_pcm_new()
272 strscpy_pad(rtd->pcm->streams[i].pcm->name, in dmaengine_pcm_new()
273 rtd->pcm->streams[i].pcm->id, in dmaengine_pcm_new()
274 sizeof(rtd->pcm->streams[i].pcm->name)); in dmaengine_pcm_new()
/linux/rust/proc-macro2/
H A Dlib.rs288 fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I) { in extend()
289 self.inner.extend(streams); in extend()
294 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend()
296 .extend(streams.into_iter().map(|stream| stream.inner)); in extend()
302 fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self { in from_iter()
303 TokenStream::_new(streams.into_iter().collect()) in from_iter()
307 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter()
308 TokenStream::_new(streams.into_iter().map(|i| i.inner).collect()) in from_iter()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_dc_resource_mgmt.c
/linux/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c369 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in bcm63xx_soc_pcm_new()
371 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in bcm63xx_soc_pcm_new()
372 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in bcm63xx_soc_pcm_new()
374 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in bcm63xx_soc_pcm_new()

123456789