Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 184) 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 …]
H A Dgb-camera.h92 unsigned int *flags, struct gb_camera_stream *streams,
95 unsigned int streams, unsigned int num_frames,
/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()
/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/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/Documentation/userspace-api/media/v4l/
H A Ddev-subdev.rst501 independent streams are cropped and sent out of the subdev from the
515 Simple V4L2 sub-devices do not support multiple, unrelated video streams,
519 two or compose two streams into one, but the inputs and outputs for the
522 Some hardware, e.g. MIPI CSI-2, support multiplexed streams, that is, multiple
523 data streams are transmitted on the same bus, which is represented by a media
525 example, a camera sensor can produce two distinct streams, a pixel stream and a
528 sink pad. The stream-aware receiver will de-multiplex the streams received on
532 Subdevice drivers that support multiplexed streams are compatible with
534 does not support streams, then only stream 0 of source end may be captured.
537 Understanding streams
[all …]
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/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/drivers/media/pci/cx18/
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/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c1213 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_link()
1383 stream = dc_state->streams[i]; in is_dsc_need_re_compute()
1449 stream = dc->current_state->streams[i]; in is_dsc_need_re_compute()
1499 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_state()
1533 if (dc_state->streams[j]->link == stream->link) in compute_mst_dsc_configs_for_state()
1539 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_state()
1568 stream = dc_state->streams[i]; in pre_compute_mst_dsc_configs_for_state()
1597 if (dc_state->streams[j]->link == stream->link) in pre_compute_mst_dsc_configs_for_state()
1689 struct dc_stream_state *stream = dm_state->context->streams[i]; in pre_validate_dsc()
1710 local_dc_state->streams[i] = in pre_validate_dsc()
[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.c240 struct snd_pcm_substream *substream = rtd->pcm->streams[i].substream; in dmaengine_pcm_new()
268 if (rtd->pcm->streams[i].pcm->name[0] == '\0') { in dmaengine_pcm_new()
269 strscpy_pad(rtd->pcm->streams[i].pcm->name, in dmaengine_pcm_new()
270 rtd->pcm->streams[i].pcm->id, in dmaengine_pcm_new()
271 sizeof(rtd->pcm->streams[i].pcm->name)); in dmaengine_pcm_new()
/linux/sound/hda/core/
H A Dstream.c682 unsigned int streams, bool start) in snd_hdac_stream_timecounter_init() argument
694 if ((streams & (1 << s->index))) { in snd_hdac_stream_timecounter_init()
717 unsigned int streams, unsigned int reg) in snd_hdac_stream_sync_trigger() argument
726 val |= streams; in snd_hdac_stream_sync_trigger()
728 val &= ~streams; in snd_hdac_stream_sync_trigger()
743 unsigned int streams) in snd_hdac_stream_sync() argument
752 if (!(streams & (1 << s->index))) in snd_hdac_stream_sync()
/linux/rust/proc-macro2/
H A Dlib.rs284 fn extend<I: IntoIterator<Item = TokenTree>>(&mut self, streams: I) { in extend()
285 self.inner.extend(streams); in extend()
290 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend()
292 .extend(streams.into_iter().map(|stream| stream.inner)); in extend()
298 fn from_iter<I: IntoIterator<Item = TokenTree>>(streams: I) -> Self { in from_iter()
299 TokenStream::_new(streams.into_iter().collect()) in from_iter()
303 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter()
304 TokenStream::_new(streams.into_iter().map(|i| i.inner).collect()) in from_iter()
H A Dwrapper.rs205 fn from_iter<I: IntoIterator<Item = TokenStream>>(streams: I) -> Self { in from_iter()
206 let mut streams = streams.into_iter(); in from_iter() localVariable
207 match streams.next() { in from_iter()
210 first.stream.extend(streams.map(|s| match s { in from_iter()
217 first.extend(streams.map(|s| match s { in from_iter()
243 fn extend<I: IntoIterator<Item = TokenStream>>(&mut self, streams: I) { in extend()
248 .extend(streams.into_iter().map(TokenStream::unwrap_nightly)); in extend()
251 tts.extend(streams.into_iter().map(TokenStream::unwrap_stable)); in extend()
/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/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c255 if (dc_state_get_stream_subvp_type(context, context->streams[i]) != SUBVP_PHANTOM) in override_det_for_subvp()
324 if (dc_state_get_stream_subvp_type(context, context->streams[i]) != SUBVP_PHANTOM) in dcn32_determine_det_override()
331 if (dc_state_get_stream_subvp_type(context, context->streams[i]) == SUBVP_PHANTOM) in dcn32_determine_det_override()
340 if (context->res_ctx.pipe_ctx[j].stream == context->streams[i] && in dcn32_determine_det_override()
350 if (k != j && context->res_ctx.pipe_ctx[k].stream == context->streams[i] && in dcn32_determine_det_override()
359 if (k != j && context->res_ctx.pipe_ctx[k].stream == context->streams[i] && in dcn32_determine_det_override()
553 fpo_candidate_stream = context->streams[0]; in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c193 if (ctx->streams[i]->apply_seamless_boot_optimization) in get_seamless_boot_stream_count()
918 struct dc_stream_state **streams, in dc_stream_set_static_screen_params() argument
929 struct dc_stream_state *stream = streams[i]; in dc_stream_set_static_screen_params()
1350 if (old_stream == context->streams[j]) { in disable_dangling_plane()
1762 struct dc_stream_state *streams[], in streams_changed() argument
1771 if (dc->current_state->streams[i] != streams[i]) in streams_changed()
1773 if (!streams[i]->link->link_state_valid) in streams_changed()
2017 struct dc_stream_state *streams[], in dc_enable_stereo() argument
2034 if (should_update_pipe_for_stream(context, pipe, streams[j]) && in dc_enable_stereo()
2145 dc_streams[i] = context->streams[i]; in dc_commit_state_no_check()
[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/Documentation/userspace-api/media/dvb/
H A Dlegacy_dvb_decoder_api.rst41 compatible MPEG streams. The supported payloads may vary depending on the
47 For storing recordings typically TS streams are used, in lesser extent PES.
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon.c357 int streams = 0; in ath9k_cmn_count_streams() local
360 if (++streams == max) in ath9k_cmn_count_streams()
364 return streams; in ath9k_cmn_count_streams()
/linux/sound/firewire/
H A Damdtp-stream.h308 struct list_head streams; member
362 list_for_each_entry(s, &d->streams, list) { in amdtp_domain_wait_ready()

12345678