Home
last modified time | relevance | path

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

12345678

/linux/drivers/staging/greybus/
H A Dcamera.c519 struct gb_camera_stream_config *streams, in gb_camera_configure_streams() argument
551 cfg->width = cpu_to_le16(streams[i].width); in gb_camera_configure_streams()
552 cfg->height = cpu_to_le16(streams[i].height); in gb_camera_configure_streams()
553 cfg->format = cpu_to_le16(streams[i].format); in gb_camera_configure_streams()
587 streams[i].width = le16_to_cpu(cfg->width); in gb_camera_configure_streams()
588 streams[i].height = le16_to_cpu(cfg->height); in gb_camera_configure_streams()
589 streams[i].format = le16_to_cpu(cfg->format); in gb_camera_configure_streams()
590 streams[i].vc = cfg->virtual_channel; in gb_camera_configure_streams()
591 streams[i].dt[0] = cfg->data_type[0]; in gb_camera_configure_streams()
592 streams[i].dt[1] = cfg->data_type[1]; in gb_camera_configure_streams()
[all …]
/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.c94 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_parse_cfg()
97 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_parse_cfg()
152 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_chmap_build_devs()
153 vs = &vpcm->streams[i]; in virtsnd_chmap_build_devs()
180 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_build_devs()
182 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_build_devs()
206 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_chmap_build_devs()
207 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, gi, bps)
[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.c57 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()
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_YUV].vb_bytes_per_frame = in cx18_do_s_std()
631 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_line = 720; in cx18_do_s_std()
633 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_frame = in cx18_do_s_std()
635 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_line = 1440; in cx18_do_s_std()
[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()
628 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
861 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
862 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
890 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
900 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1058 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1071 pcm->streams[cidx].dev); in snd_pcm_dev_register()
1077 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1115 if (pcm->streams[cid in snd_pcm_dev_disconnect()
[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/sound/core/oss/
H A Dpcm_oss.c1119 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream()
1578 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset()
1598 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post()
1667 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync()
1737 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync()
1759 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate()
1801 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels()
1899 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format()
1954 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide()
1997 struct snd_pcm_substream *substream = pcm_oss_file->streams[id in snd_pcm_oss_set_fragment()
[all...]
/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()
269 if (rtd->pcm->streams[i].pcm->name[0] == '\0') { in dmaengine_pcm_new()
270 strscpy_pad(rtd->pcm->streams[i].pcm->name, in dmaengine_pcm_new()
271 rtd->pcm->streams[i].pcm->id, in dmaengine_pcm_new()
272 sizeof(rtd->pcm->streams[i].pcm->name)); in dmaengine_pcm_new()
/linux/sound/hda/core/
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/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()
/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.c68 if (state->streams[i]->stream_id == stream_id) { in get_plane_id()
950 get_target_mpc_factor(ctx, state, disp_cfg, mapping, status, state->streams[stream_idx], i) : 1; in populate_mpc_factors_for_stream()
963 odm_factors[i].source = get_source_odm_factor(ctx, state, state->streams[i]); in populate_odm_factors()
965 ctx, state, disp_cfg, mapping, state->streams[i]); in populate_odm_factors()
1041 result &= unmap_dc_pipes_for_stream(ctx, state, existing_state, state->streams[i], in map_dc_pipes_with_callbacks()
1044 result &= map_dc_pipes_for_stream(ctx, state, existing_state, state->streams[i], in map_dc_pipes_with_callbacks()
1093 stream_id = state->streams[stream_index]->stream_id; in dml2_map_dc_pipes()
1125 …calculate_odm_slices(state->streams[stream_index], scratch.odm_info.odm_factor, scratch.odm_info.o… in dml2_map_dc_pipes()
1129 map_pipes_for_stream(ctx, state, state->streams[stream_index], &scratch, existing_state); in dml2_map_dc_pipes()
1146 if (dml2_is_stereo_timing(state->streams[stream_index])) in dml2_map_dc_pipes()
[all …]
/linux/drivers/media/pci/cobalt/
H A Dcobalt-irq.c149 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_irq_handler()
206 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_irq_work_handler()
211 v4l2_subdev_call(cobalt->streams[i].sd, core, in cobalt_irq_work_handler()
/linux/sound/firewire/
H A Damdtp-stream.c1506 list_for_each_entry(s, &d->streams, list) { in drop_tx_packets_initially()
1517 list_for_each_entry(s, &d->streams, list) { in drop_tx_packets_initially()
1539 list_for_each_entry(s, &d->streams, list) { in process_ctxs_in_domain()
1552 list_for_each_entry(s, &d->streams, list) { in process_ctxs_in_domain()
1593 list_for_each_entry(rx, &d->streams, list) { in irq_target_callback_skip()
1616 list_for_each_entry(s, &d->streams, list) { in irq_target_callback_skip()
1961 INIT_LIST_HEAD(&d->streams); in amdtp_domain_init()
1992 list_for_each_entry(tmp, &d->streams, list) { in amdtp_domain_add_stream()
1997 list_add(&s->list, &d->streams); in amdtp_domain_add_stream()
2015 list_for_each_entry(rx, &d->streams, list) { in make_association()
[all …]

12345678