| /linux-6.15/tools/perf/util/ |
| H A D | stream.c | 20 zfree(&es[i].streams); in evsel_streams__delete() 51 if (!s->streams) in evlist_streams__new() 77 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode() 86 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode() 88 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode() 89 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode() 95 es->streams[idx].cnode = cnode; in evsel_streams__set_hot_cnode() 184 struct stream *pair_stream = &es_pair->streams[i]; in stream__callchain_match() 309 base_stream = &es_base->streams[i]; in callchain_streams_report() 319 base_stream = &es_base->streams[i]; in callchain_streams_report() [all …]
|
| /linux-6.15/drivers/staging/greybus/ |
| H A D | camera.c | 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() 666 req->streams = streams; in gb_camera_capture() 799 gb_streams[i].width = streams[i].width; in gb_camera_op_configure_streams() 822 streams[i].width = gb_streams[i].width; in gb_camera_op_configure_streams() 824 streams[i].vc = gb_streams[i].vc; in gb_camera_op_configure_streams() 828 streams[i].pixel_code = in gb_camera_op_configure_streams() 935 streams = kcalloc(nstreams, sizeof(*streams), GFP_KERNEL); in gb_camera_debugfs_configure_streams() 936 if (!streams) in gb_camera_debugfs_configure_streams() [all …]
|
| /linux-6.15/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-6.15/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-6.15/net/mac80211/ |
| H A D | airtime.c | 31 #define MCS_DURATION(streams, sgi, bps) \ argument 52 #define HE_DURATION(streams, gi, bps) \ argument 64 HE_DURATION(streams, gi, bps) 66 HE_DURATION_S(shift, streams, gi, bps) 511 int bw, streams; in ieee80211_get_rate_duration() local 538 streams = status->nss; in ieee80211_get_rate_duration() 548 streams = status->nss; in ieee80211_get_rate_duration() 553 streams = status->nss; in ieee80211_get_rate_duration() 565 if (WARN_ON_ONCE(streams > 8)) in ieee80211_get_rate_duration() 569 if (WARN_ON_ONCE(streams > 4)) in ieee80211_get_rate_duration() [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-6.15/sound/isa/ |
| H A D | cmi8330.c | 163 } streams[2]; member 415 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open() 424 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open() 445 chip->streams[CMI_SB_STREAM].ops = *ops; in snd_cmi8330_pcm() 446 chip->streams[CMI_SB_STREAM].open = ops->open; in snd_cmi8330_pcm() 447 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM]; in snd_cmi8330_pcm() 448 chip->streams[CMI_SB_STREAM].private_data = chip->sb; in snd_cmi8330_pcm() 452 chip->streams[CMI_AD_STREAM].ops = *ops; in snd_cmi8330_pcm() 453 chip->streams[CMI_AD_STREAM].open = ops->open; in snd_cmi8330_pcm() 454 chip->streams[CMI_AD_STREAM].ops.open = cmi_open_callbacks[CMI_AD_STREAM]; in snd_cmi8330_pcm() [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_state.c | 319 state->streams[i] = NULL; in dc_state_destruct() 428 if (state->streams[i] == stream) in dc_state_remove_stream() 431 if (state->streams[i] != stream) { in dc_state_remove_stream() 441 state->streams[i] = state->streams[i + 1]; in dc_state_remove_stream() 549 if (state->streams[i] == stream) { in dc_state_remove_plane() 606 if (state->streams[i] == stream) { in dc_state_rem_all_planes_for_stream() 667 if (stream == state->streams[i]) in dc_state_get_stream_status() 688 if (state->streams[i] == stream) { in dc_state_get_stream_subvp_type() 705 if (state->streams[i] == stream) { in dc_state_get_paired_subvp_stream() 957 if (state->streams[i] && state->streams[i]->stream_id == id) { in dc_state_get_stream_from_id() [all …]
|
| H A D | dc_link_enc_cfg.c | 79 stream = state->streams[i]; in get_stream_using_link_enc() 137 if (stream == state->streams[i]) { in add_link_enc_assignment() 289 struct dc_stream_state *streams[], in link_enc_cfg_link_encs_assign() argument 301 dc->res_pool->funcs->link_enc_unassign(state, dc->current_state->streams[i]); in link_enc_cfg_link_encs_assign() 308 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign() 330 struct dc_stream_state *stream = state->streams[i]; in link_enc_cfg_link_encs_assign() 341 struct dc_stream_state *prev_stream = prev_state->streams[j]; in link_enc_cfg_link_encs_assign() 358 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign() 641 if (is_dig_link_enc_stream(state->streams[i])) in link_enc_cfg_validate() 652 if (assignment.stream != state->streams[i]) in link_enc_cfg_validate() [all …]
|
| /linux-6.15/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() 506 if (cx->streams[type].dvb != NULL) { 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() 527 if (cx->streams[type].buffers != 0) in cx18_streams_cleanup() 528 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup() 534 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup() 539 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() 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() 595 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_enc_poll() [all …]
|
| /linux-6.15/sound/hda/ |
| H A D | hdac_device.c | 871 if (!streams || streams == -1) in query_stream_param() 872 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param() 873 if (!streams || streams == -1) in query_stream_param() 875 return streams; in query_stream_param() 918 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 922 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm() 923 if (!streams) in snd_hdac_query_supported_pcm() 927 if (streams & AC_SUPFMT_PCM) { in snd_hdac_query_supported_pcm() 957 if (streams & AC_SUPFMT_FLOAT32) { in snd_hdac_query_supported_pcm() 963 if (streams == AC_SUPFMT_AC3) { in snd_hdac_query_supported_pcm() [all …]
|
| /linux-6.15/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 | 34 local -a streams=("$@") 37 for stream in ${streams[@]}; do
|
| /linux-6.15/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sch_ets.sh | 65 local -a streams=("$@") 70 qdisc_parent_stats_get $swp2 10:$((${streams[0]} + 1)) .bytes \ 73 for stream in ${streams[@]}; do
|
| /linux-6.15/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() 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() 737 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_dec_poll() [all …]
|
| H A D | ivtv-streams.c | 170 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init() 200 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev() 269 if (itv->streams[type].vdev.v4l2_dev == NULL) in ivtv_streams_setup() 273 if (ivtv_stream_alloc(&itv->streams[type])) in ivtv_streams_setup() 286 struct ivtv_stream *s = &itv->streams[type]; in ivtv_reg_dev() 297 struct ivtv_stream *s_mpg = &itv->streams[IVTV_ENC_STREAM_TYPE_MPG]; in ivtv_reg_dev() 363 struct video_device *vdev = &itv->streams[type].vdev; in ivtv_streams_cleanup() 369 ivtv_stream_free(&itv->streams[type]); in ivtv_streams_cleanup() 370 itv->streams[type].vdev.v4l2_dev = NULL; in ivtv_streams_cleanup() 780 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures() [all …]
|
| H A D | ivtv-irq.c | 541 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_read() 605 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_enc_dma_complete() 633 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_dma_complete() 649 s = &itv->streams[itv->cur_pio_stream]; in ivtv_irq_enc_pio_complete() 662 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_pio_complete() 756 s = &itv->streams[ivtv_stream_map[data[0]]]; in ivtv_irq_enc_start_cap() 768 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_vbi_cap() 800 s = &itv->streams[IVTV_DEC_STREAM_TYPE_YUV]; in ivtv_irq_dec_data_req() 806 s = &itv->streams[IVTV_DEC_STREAM_TYPE_MPG]; in ivtv_irq_dec_data_req() 1022 struct ivtv_stream *s = &itv->streams[idx]; in ivtv_irq_handler() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/phy/ |
| H A D | fsl,imx8qm-lvds-phy.yaml | 15 groups of four data lanes of LVDS data streams. A phase-locked 17 data streams over a fifth LVDS link. Every cycle of the transmit 19 through the two groups of LVDS data streams. Together with the 20 transmit clocks, the two groups of LVDS data streams form two
|
| /linux-6.15/sound/pci/nm256/ |
| H A D | nm256.c | 224 struct nm256_stream streams[2]; member 733 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update() 748 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update() 914 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm() 968 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check() 1393 struct nm256_stream *s = &chip->streams[i]; in nm256_resume() 1412 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free() 1414 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_free() 1496 chip->streams[SNDRV_PCM_STREAM_CAPTURE].bufsize; in snd_nm256_create() 1527 chip->streams[SNDRV_PCM_STREAM_PLAYBACK].buf = addr; in snd_nm256_create() [all …]
|
| /linux-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | dev-subdev.rst | 500 independent streams are cropped and sent out of the subdev from the 536 Understanding streams 554 multiplexed streams the 'stream' field is always 0. 556 Interaction between routes, streams, formats and selections 563 the same as without streams (see :ref:`format-propagation`). 565 Instead of the sub-device wide merging of streams from all sink pads 567 other. Any number of routes from streams on sink pads towards streams on 572 are independent of similar configurations on other streams. This is 598 Configuring streams 605 There are three steps in configuring the streams: [all …]
|
| /linux-6.15/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() 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() 1060 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register() 1073 pcm->streams[cidx].dev); in snd_pcm_dev_register() 1117 if (pcm->streams[cidx].dev) in snd_pcm_dev_disconnect() 1118 snd_unregister_device(pcm->streams[cidx].dev); in snd_pcm_dev_disconnect() 1119 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect() 1174 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in snd_pcm_proc_read() [all …]
|
| /linux-6.15/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-6.15/sound/core/oss/ |
| H A D | pcm_oss.c | 1115 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream() 1568 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset() 2190 substream = pcm_oss_file->streams[stream]; in snd_pcm_oss_get_ptr() 2260 substream = pcm_oss_file->streams[stream]; in snd_pcm_oss_get_space() 2429 if (! pcm->streams[idx].substream_count) in snd_pcm_oss_open_file() 2444 pcm_oss_file->streams[idx] = substream; in snd_pcm_oss_open_file() 2448 if (!pcm_oss_file->streams[0] && !pcm_oss_file->streams[1]) { in snd_pcm_oss_open_file() 2600 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_ioctl() 2860 ofile.streams[SNDRV_PCM_STREAM_CAPTURE] = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_poll() 3059 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_oss_proc_init() [all …]
|