| /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/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/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/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_state.c | 176 dc_stream_retain(dst_state->streams[i]); in dc_state_copy_internal() 311 dc_stream_release(state->streams[i]); in dc_state_destruct() 312 state->streams[i] = NULL; in dc_state_destruct() 386 state->streams[state->stream_count] = stream; in dc_state_add_stream() 421 if (state->streams[i] == stream) in dc_state_remove_stream() 424 if (state->streams[i] != stream) { in dc_state_remove_stream() 431 dc_stream_release(state->streams[i]); in dc_state_remove_stream() 436 state->streams[i] = state->streams[i + 1]; in dc_state_remove_stream() 440 state->streams[state->stream_count] = NULL; in dc_state_remove_stream() 544 if (state->streams[i] == stream) { in dc_state_remove_plane() [all …]
|
| /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/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() 1572 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset() 1592 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post() 1661 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync() 1731 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync() 1753 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate() 1795 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels() 1893 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format() 1948 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide() 1991 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_fragment() [all …]
|
| /linux/drivers/media/test-drivers/vidtv/ |
| H A D | vidtv_channel.c | 100 s302m->streams = vidtv_psi_pmt_stream_init(NULL, in vidtv_channel_s302m_init() 103 if (!s302m->streams) in vidtv_channel_s302m_init() 106 s302m->streams->descriptor = (struct vidtv_psi_desc *) in vidtv_channel_s302m_init() 111 if (!s302m->streams->descriptor) in vidtv_channel_s302m_init() 145 vidtv_psi_pmt_stream_destroy(s302m->streams); in vidtv_channel_s302m_init() 336 s = cur_chnl->streams; in vidtv_channel_pmt_match_sections() 541 vidtv_psi_pmt_stream_destroy(curr->streams); in vidtv_channels_destroy()
|
| /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 | 1209 DRM_DEBUG_DRIVER("%s: MST_DSC Try to set up params from %d streams\n", __func__, dc_state->stream_count); in compute_mst_dsc_configs_for_link() 1213 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_link() 1265 DRM_DEBUG_DRIVER("%s: MST_DSC Params set up for %d streams\n", __func__, count); in compute_mst_dsc_configs_for_link() 1376 DRM_DEBUG_DRIVER("%s: MST_DSC check on %d streams in new dc_state\n", __func__, dc_state->stream_count); in is_dsc_need_re_compute() 1383 stream = dc_state->streams[i]; in is_dsc_need_re_compute() 1436 DRM_DEBUG_DRIVER("%s:%d MST_DSC no mode change request for streams in new dc_state\n", in is_dsc_need_re_compute() 1442 DRM_DEBUG_DRIVER("%s: MST_DSC check on %d streams in current dc_state\n", 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[ in compute_mst_dsc_configs_for_state() [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/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_translation_helper.c | 501 struct dc_stream_state *stream = context->streams[stream_index]; in populate_dml21_plane_config_from_plane_state() 652 if (context->streams[i]->stream_id == stream_id) { in dml21_wrapper_get_plane_id() 748 …disp_cfg_stream_location = map_stream_to_dml21_display_cfg(dml_ctx, context->streams[stream_index]… in dml21_map_dc_state_into_dml_display_cfg() 754 …l_dispcfg->stream_descriptors[disp_cfg_stream_location].timing, context->streams[stream_index], &c… in dml21_map_dc_state_into_dml_display_cfg() 755 …l_dispcfg->stream_descriptors[disp_cfg_stream_location].output, context->streams[stream_index], &c… in dml21_map_dc_state_into_dml_display_cfg() 756 …ate(&dml_dispcfg->stream_descriptors[disp_cfg_stream_location], context->streams[stream_index], &c… in dml21_map_dc_state_into_dml_display_cfg() 762 …_pipe_mapping.disp_cfg_to_stream_id[disp_cfg_stream_location] = context->streams[stream_index]->st… in dml21_map_dc_state_into_dml_display_cfg() 767 …(&dml_dispcfg->plane_descriptors[disp_cfg_plane_location].surface, context->streams[stream_index]); in dml21_map_dc_state_into_dml_display_cfg() 768 …lane_cfg(&dml_dispcfg->plane_descriptors[disp_cfg_plane_location], context->streams[stream_index]); in dml21_map_dc_state_into_dml_display_cfg() 772 …disp_cfg_plane_location = map_plane_to_dml21_display_cfg(dml_ctx, context->streams[stream_index]->… in dml21_map_dc_state_into_dml_display_cfg() [all …]
|
| /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()
|