Home
last modified time | relevance | path

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

12345678910>>...15

/openbmc/linux/tools/perf/util/
H A Dstream.c20 zfree(&es[i].streams); in evsel_streams__delete()
50 s->streams = calloc(nr_streams_max, sizeof(struct stream)); in evlist_streams__new()
51 if (!s->streams) in evlist_streams__new()
78 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode()
87 hit = (es->streams[0].cnode)->hit; in evsel_streams__set_hot_cnode()
89 if ((es->streams[i].cnode)->hit < hit) { in evsel_streams__set_hot_cnode()
90 hit = (es->streams[i].cnode)->hit; in evsel_streams__set_hot_cnode()
96 es->streams[idx].cnode = cnode; in evsel_streams__set_hot_cnode()
185 struct stream *pair_stream = &es_pair->streams[i]; in stream__callchain_match()
212 struct stream *base_stream = &es_base->streams[i]; in evsel_streams__match()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Dcamera.c524 struct gb_camera_stream_config *streams, in gb_camera_configure_streams() argument
556 cfg->width = cpu_to_le16(streams[i].width); in gb_camera_configure_streams()
557 cfg->height = cpu_to_le16(streams[i].height); in gb_camera_configure_streams()
558 cfg->format = cpu_to_le16(streams[i].format); in gb_camera_configure_streams()
592 streams[i].width = le16_to_cpu(cfg->width); in gb_camera_configure_streams()
593 streams[i].height = le16_to_cpu(cfg->height); in gb_camera_configure_streams()
594 streams[i].format = le16_to_cpu(cfg->format); in gb_camera_configure_streams()
595 streams[i].vc = cfg->virtual_channel; in gb_camera_configure_streams()
596 streams[i].dt[0] = cfg->data_type[0]; in gb_camera_configure_streams()
597 streams[i].dt[1] = cfg->data_type[1]; in gb_camera_configure_streams()
[all …]
/openbmc/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.
/openbmc/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.c330 virtio_cread_le(vdev, struct virtio_snd_config, streams, in virtsnd_pcm_parse_cfg()
385 vpcm->streams[vss->direction].nsubstreams++; in virtsnd_pcm_parse_cfg()
410 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams; in virtsnd_pcm_build_devs()
412 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams; in virtsnd_pcm_build_devs()
433 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs()
434 struct virtio_pcm_stream *stream = &vpcm->streams[i]; in virtsnd_pcm_build_devs()
458 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs()
463 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs()
464 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs()
465 struct snd_pcm_str *ks = &vpcm->pcm->streams[i]; in virtsnd_pcm_build_devs()
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c84 DEFINE_PROP_UINT32("streams", VirtIOSound, snd_conf.streams,
99 s->snd_conf.streams, in virtio_snd_get_config()
104 cpu_to_le32s(&sndconfig->streams); in virtio_snd_get_config()
133 return stream_id >= s->snd_conf.streams ? NULL : in virtio_snd_pcm_get_stream()
134 s->pcm->streams[stream_id]; in virtio_snd_pcm_get_stream()
146 return stream_id >= s->snd_conf.streams ? NULL in virtio_snd_pcm_get_params()
247 if (stream_id >= s->snd_conf.streams || s->pcm->pcm_params == NULL) { in virtio_snd_set_pcm_params()
417 if (s->pcm->streams == NULL || in virtio_snd_pcm_prepare()
419 stream_id >= s->snd_conf.streams) { in virtio_snd_pcm_prepare()
442 s->pcm->streams[stream_id] = stream; in virtio_snd_pcm_prepare()
[all …]
/openbmc/bmcweb/http/
H A Dhttp2_connection.hpp78 streams[0]; in start()
98 streams[0]; in startFromSettings()
133 auto streamIt = self.streams.find(streamId); in fileReadCallback()
134 if (streamIt == self.streams.end()) in fileReadCallback()
198 auto it = streams.find(streamId); in sendResponse()
199 if (it == streams.end()) in sendResponse()
261 auto it = streams.find(streamId); in onRequestRecv()
262 if (it == streams.end()) in onRequestRecv()
328 auto thisStream = streams.find(streamId); in onDataChunkRecvCallback()
329 if (thisStream == streams.end()) in onDataChunkRecvCallback()
[all …]
/openbmc/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)
408 int bw, streams; in ieee80211_get_rate_duration() local
432 streams = status->nss; in ieee80211_get_rate_duration()
[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()
226 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump()
230 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump()
247 p += sprintf(p, ",MCS%-2u,", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_csv_dump()
249 p += sprintf(p, ",MCS%-1u/%1u,", j, mg->streams); in minstrel_ht_stats_csv_dump()
/openbmc/linux/sound/isa/
H A Dcmi8330.c163 } streams[2]; member
414 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; in snd_cmi8330_playback_open()
415 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open()
423 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; in snd_cmi8330_capture_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()
[all …]
/openbmc/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
108 local stream=${streams[$i]}
124 for stream in ${streams[@]}; do
H A Dsch_ets.sh39 local -a streams=("$@")
42 for stream in ${streams[@]}; do
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c237 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
304 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
395 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
409 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
429 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
507 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
509 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
510 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
511 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
512 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 …]
/openbmc/linux/sound/hda/
H A Dhdac_device.c805 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); in query_stream_param() local
807 if (!streams || streams == -1) in query_stream_param()
808 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
809 if (!streams || streams == -1) in query_stream_param()
811 return streams; in query_stream_param()
853 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local
855 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm()
856 if (!streams) in snd_hdac_query_supported_pcm()
860 if (streams & AC_SUPFMT_PCM) { in snd_hdac_query_supported_pcm()
890 if (streams & AC_SUPFMT_FLOAT32) { in snd_hdac_query_supported_pcm()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A D05_gcc.diff16 Index: wvstreams-4.6.1/streams/wvatomicfile.cc
18 --- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2011-05-20 00:02:38.223136584 +0200
19 +++ wvstreams-4.6.1/streams/wvatomicfile.cc 2011-05-20 00:02:31.619136587 +0200
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/cpprest/cpprest/
H A Ddisable-float-tests.patch8 Index: cpprest/Release/tests/functional/streams/istream_tests.cpp
10 --- cpprest.orig/Release/tests/functional/streams/istream_tests.cpp
11 +++ cpprest/Release/tests/functional/streams/istream_tests.cpp
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c35 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream()
76 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
117 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
119 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
196 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer()
418 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
447 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_start_capture()
497 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_read()
514 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_decoding()
540 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_write()
[all …]
H A Divtv-streams.c170 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()
778 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_ets.sh67 local -a streams=("$@")
72 qdisc_parent_stats_get $swp2 10:$((${streams[0]} + 1)) .bytes \
75 for stream in ${streams[@]}; do
/openbmc/linux/sound/pci/nm256/
H A Dnm256.c224 struct nm256_stream streams[2]; member
729 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update()
744 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update()
834 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open()
846 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open()
910 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm()
962 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check()
964 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check()
1390 struct nm256_stream *s = &chip->streams[i]; in nm256_resume()
1413 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free()
[all …]
/openbmc/qemu/hw/dma/
H A Dxilinx_axidma.c140 struct Stream streams[2]; member
412 stream_reset(&s->streams[i]); in xilinx_axidma_reset()
421 struct Stream *s = &cs->dma->streams[1]; in xilinx_axidma_control_stream_push()
438 struct Stream *s = &ds->dma->streams[1]; in xilinx_axidma_data_stream_can_push()
454 struct Stream *s = &ds->dma->streams[1]; in xilinx_axidma_data_stream_push()
471 s = &d->streams[sid]; in axidma_read()
505 s = &d->streams[sid]; in axidma_write()
581 struct Stream *st = &s->streams[i]; in xilinx_axidma_realize()
606 sysbus_init_irq(sbd, &s->streams[0].irq); in xilinx_axidma_init()
607 sysbus_init_irq(sbd, &s->streams[1].irq); in xilinx_axidma_init()
/openbmc/linux/sound/core/
H A Dpcm.c127 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
642 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
875 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
876 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
904 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
914 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1070 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1083 pcm->streams[cidx].dev); in snd_pcm_dev_register()
1089 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1130 if (pcm->streams[cidx].dev) in snd_pcm_dev_disconnect()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Ddev-subdev.rst500 independent streams are cropped and sent out of the subdev from the
512 Simple V4L2 sub-devices do not support multiple, unrelated video streams,
516 two or compose two streams into one, but the inputs and outputs for the
519 Some hardware, e.g. MIPI CSI-2, support multiplexed streams, that is, multiple
520 data streams are transmitted on the same bus, which is represented by a media
522 example, a camera sensor can produce two distinct streams, a pixel stream and a
525 sink pad. The stream-aware receiver will de-multiplex the streams received on
529 Subdevice drivers that support multiplexed streams are compatible with
534 Understanding streams
540 streams from one end of the link to the other, and sub-devices have routing
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link_enc_cfg.c91 stream = state->streams[i]; in get_stream_using_link_enc()
149 if (stream == state->streams[i]) { in add_link_enc_assignment()
299 struct dc_stream_state *streams[], in link_enc_cfg_link_encs_assign() argument
311 dc->res_pool->funcs->link_enc_unassign(state, dc->current_state->streams[i]); in link_enc_cfg_link_encs_assign()
318 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign()
340 struct dc_stream_state *stream = state->streams[i]; in link_enc_cfg_link_encs_assign()
351 struct dc_stream_state *prev_stream = prev_state->streams[j]; in link_enc_cfg_link_encs_assign()
368 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign()
657 if (is_dig_link_enc_stream(state->streams[i])) in link_enc_cfg_validate()
668 if (assignment.stream != state->streams[i]) in link_enc_cfg_validate()
[all …]

12345678910>>...15