Home
last modified time | relevance | path

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

12345678910>>...13

/linux/tools/perf/util/
H A Dstream.c3 * Compare and figure out the top N hottest streams
20 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()
77 es->streams[i].cnode = cnode; in evsel_streams__set_hot_cnode()
83 * Considering a few number of hot streams, only use simple 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[id in evsel_streams__set_hot_cnode()
[all...]
/linux/drivers/staging/greybus/
H A Dcamera.c264 * set and the returned number of streams is supported
279 dev_err(&gcam->bundle->dev, "got #streams %u > request %u\n", in gb_camera_configure_streams_validate_response()
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[ in gb_camera_configure_streams()
650 gb_camera_capture(struct gb_camera * gcam,u32 request_id,unsigned int streams,unsigned int num_frames,size_t settings_size,const void * settings) gb_camera_capture() argument
781 gb_camera_op_configure_streams(void * priv,unsigned int * nstreams,unsigned int * flags,struct gb_camera_stream * streams,struct gb_camera_csi_params * csi_params) gb_camera_op_configure_streams() argument
839 gb_camera_op_capture(void * priv,u32 request_id,unsigned int streams,unsigned int num_frames,size_t settings_size,const void * settings) gb_camera_op_capture() argument
907 struct gb_camera_stream_config *streams; gb_camera_debugfs_configure_streams() local
[all...]
H A Dgb-camera.h60 * capture. The caller specifies the number of streams it
62 * streams configurations in the 'streams' argument. The
67 * using a different number of streams. In that case the
71 * streams stored in 'streams' and 'array'. The module
77 * The 'streams' argument specifies which streams are affected by the
79 * configured streams indexes. If the request contains settings, the
92 unsigned int *flags, struct gb_camera_stream *streams,
[all...]
/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 t
[all...]
/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.c332 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[ in virtsnd_pcm_build_devs()
[all...]
/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, g
65 EHT_DURATION_S(shift,streams,gi,bps) global() argument
511 int bw, streams; ieee80211_get_rate_duration() local
[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/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_STREA in snd_cmi8330_pcm()
[all...]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c76 /* trim back phantom streams */ in dc_state_untrack_phantom_stream()
174 /* retain streams and planes */ in dc_state_copy_internal()
176 dc_stream_retain(dst_state->streams[i]); in dc_state_copy_internal()
312 dc_stream_release(state->streams[i]); in dc_state_destruct()
313 state->streams[i] = NULL; in dc_state_destruct()
383 DC_LOG_WARNING("Max streams reached, can't add stream %p !\n", stream); in dc_state_add_stream()
387 state->streams[state->stream_count] = stream; in dc_state_add_stream()
422 if (state->streams[i] == stream) in dc_state_remove_stream()
425 if (state->streams[i] != stream) { in dc_state_remove_stream()
432 dc_stream_release(state->streams[ in dc_state_remove_stream()
[all...]
H A Ddc_link_enc_cfg.c79 stream = state->streams[i]; in get_stream_using_link_enc()
137 if (stream == state->streams[i]) { in add_link_enc_assignment()
198 /* MST streams share the same link and should share the same encoder. in is_avail_link_enc()
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()
377 /* For MST, multiple streams wil in link_enc_cfg_link_encs_assign()
[all...]
/linux/drivers/media/pci/cx18/
H A Dcx18-streams.c5 * Derived from ivtv-streams.c
18 #include "cx18-streams.h"
236 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
303 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
311 * For analog capture related streams, if video_dev.v4l2_dev == NULL then the in cx18_prep_dev()
331 /* User explicitly selected 0 buffers for these streams, so don't in cx18_prep_dev()
394 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
401 /* One or more streams could not be initialized. Clean 'em all up. */ 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_MP in cx18_reg_dev()
[all...]
H A Dcx18-fileops.c19 #include "cx18-streams.h"
27 associated VBI and IDX streams are also automatically claimed.
33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
68 * For all other streams we're done. 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()
88 account associated VBI streams. */
117 * CX18_ENC_STREAM_TYPE_VBI and/or CX18_ENC_STREAM_TYPE_IDX streams. in cx18_release_stream()
119 * For all other streams we're done. in cx18_release_stream()
125 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_ID in cx18_release_stream()
[all...]
/linux/sound/hda/core/
H A Ddevice.c868 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); in query_stream_param() local
870 if (!streams || streams == -1) in query_stream_param()
871 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
872 if (!streams || streams == -1) in query_stream_param()
874 return streams; in query_stream_param()
917 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local
921 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm()
922 if (!streams) in snd_hdac_query_supported_pcm()
[all...]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_ets.sh65 local -a streams=("$@")
70 qdisc_parent_stats_get $swp2 10:$((${streams[0]} + 1)) .bytes \
73 for stream in ${streams[@]}; do
/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/sound/pci/nm256/
H A Dnm256.c224 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()
838 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open()
850 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open()
914 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm()
966 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check()
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_PLAYBAC in snd_nm256_free()
[all...]
/linux/Documentation/userspace-api/media/v4l/
H A Ddev-subdev.rst500 independent streams are cropped and sent out of the subdev from the
514 Simple V4L2 sub-devices do not support multiple, unrelated video streams,
518 two or compose two streams into one, but the inputs and outputs for the
521 Some hardware, e.g. MIPI CSI-2, support multiplexed streams, that is, multiple
522 data streams are transmitted on the same bus, which is represented by a media
524 example, a camera sensor can produce two distinct streams, a pixel stream and a
527 sink pad. The stream-aware receiver will de-multiplex the streams received on
531 Subdevice drivers that support multiplexed streams are compatible with
533 does not support streams, then only stream 0 of source end may be captured.
536 Understanding streams
[all...]
/linux/sound/core/
H A Dpcm.c123 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[cid in snd_pcm_dev_disconnect()
[all...]
/linux/drivers/media/pci/ivtv/
H A Divtv-streams.c44 #include "ivtv-streams.h"
170 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init()
200 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev()
218 /* User explicitly selected 0 buffers for these streams, so don't 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()
279 /* One or more streams could not be initialized. Clean 'em all up. */ 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()
351 /* One or more streams coul in ivtv_streams_register()
[all...]
H A Divtv-irq.c31 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler()
60 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler()
132 /* determine offset, size and PTS for the various streams */ in stream_enc_dma_append()
450 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start()
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()
694 struct ivtv_stream *s = &itv->streams[it in ivtv_irq_dma_err()
[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/sound/core/oss/
H A Dpcm_oss.c1115 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()
1588 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post()
1657 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync()
1727 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync()
1749 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate()
1791 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels()
1888 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format()
1943 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide()
1986 struct snd_pcm_substream *substream = pcm_oss_file->streams[id in snd_pcm_oss_set_fragment()
[all...]
/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c14 * The PMT section for a channel will be assigned its streams.
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()
308 * streams
336 s = cur_chnl->streams; in vidtv_channel_pmt_match_sections()
338 /* clone the streams for the PMT */ in vidtv_channel_pmt_match_sections()
538 vidtv_psi_pmt_stream_destroy(curr->streams); in vidtv_channels_destroy()
[all...]

12345678910>>...13