| /linux/drivers/staging/greybus/ |
| H A D | camera.c | 519 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 D | bulk-streams.rst | 1 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 D | virtio_chmap.c | 94 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 D | virtio_pcm.c | 332 virtio_cread_le(vdev, struct virtio_snd_config, streams, in virtsnd_pcm_parse_cfg() 396 vpcm->streams[vss->direction].nsubstreams++; in virtsnd_pcm_parse_cfg() 421 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams; in virtsnd_pcm_build_devs() 423 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams; in virtsnd_pcm_build_devs() 444 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs() 445 struct virtio_pcm_stream *stream = &vpcm->streams[i]; in virtsnd_pcm_build_devs() 469 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs() 474 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs() 475 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs() 476 struct snd_pcm_str *ks = &vpcm->pcm->streams[i]; in virtsnd_pcm_build_devs()
|
| /linux/net/mac80211/ |
| H A D | airtime.c | 31 #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 D | rc80211_minstrel_ht_debugfs.c | 80 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 D | cx18-streams.c | 236 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 D | cx18-fileops.c | 33 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 D | cx18-ioctl.c | 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() 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 D | ivtv-fileops.c | 36 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 D | sch_ets_tests.sh | 80 local -a streams=("$@") 82 local low_stream=${streams[0]} 91 for stream in ${streams[@]}; do 109 local stream=${streams[$i]}
|
| H A D | sch_ets.sh | 35 local -a streams=("$@") 38 for stream in ${streams[@]}; do
|
| /linux/tools/testing/selftests/drivers/net/lib/py/ |
| H A D | load.py | 27 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 D | pcm.c | 123 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 630 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream() 863 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free() 864 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free() 892 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream() 902 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream() 1060 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register() 1073 pcm->streams[cidx].dev); in snd_pcm_dev_register() 1079 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register() 1117 if (pcm->streams[cidx].dev) in snd_pcm_dev_disconnect() [all …]
|
| /linux/sound/core/oss/ |
| H A D | pcm_oss.c | 1119 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/networking/ |
| H A D | tcp-thin.rst | 4 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/cobalt/ |
| H A D | cobalt-driver.c | 130 if (sd == cobalt->streams[i].sd) in cobalt_get_sd_nr() 141 struct cobalt_stream *s = &cobalt->streams[sd_nr]; in cobalt_notify() 420 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_stream_struct_init() 490 struct cobalt_stream *s = cobalt->streams; in cobalt_subdevs_init() 540 cobalt->streams[i + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_init() 598 struct cobalt_stream *s = &cobalt->streams[COBALT_HSMA_IN_NODE]; in cobalt_subdevs_hsma_init() 619 cobalt->streams[4 + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init() 650 cobalt->streams[COBALT_AUDIO_OUT_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init() 767 struct v4l2_subdev *sd = cobalt->streams[i].sd; in cobalt_remove()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-v4l2.rst | 112 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_mst_types.c | 1213 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 D | sst_stream.c | 70 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 D | soc-generic-dmaengine-pcm.c | 240 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 D | stream.c | 682 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 D | lib.rs | 288 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 D | dml2_dc_resource_mgmt.c | 68 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/sound/soc/bcm/ |
| H A D | bcm63xx-pcm-whistler.c | 369 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()
|