Home
last modified time | relevance | path

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

1234567891011

/Linux-v4.19/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c367 struct dc_stream_state **streams, in adjust_vmin_vmax() argument
373 if (num_streams == 0 || streams == NULL || num_streams > 1) in adjust_vmin_vmax()
379 dc_stream_adjust_vmin_vmax(core_freesync->dc, streams, in adjust_vmin_vmax()
599 struct dc_stream_state **streams, int num_streams) in set_freesync_on_streams() argument
605 if (num_streams == 0 || streams == NULL || num_streams > 1) in set_freesync_on_streams()
611 streams[stream_idx]); in set_freesync_on_streams()
641 streams[stream_idx]); in set_freesync_on_streams()
643 adjust_vmin_vmax(core_freesync, streams, in set_freesync_on_streams()
654 calc_v_total_from_duration(streams[stream_idx], in set_freesync_on_streams()
660 streams[stream_idx]->timing.v_total) { in set_freesync_on_streams()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/modules/inc/
Dmod_freesync.h117 struct dc_stream_state **streams, int num_streams,
125 struct dc_stream_state **streams, int num_streams,
137 struct dc_stream_state *streams,
158 struct dc_stream_state **streams, int num_streams);
161 struct dc_stream_state **streams, int num_streams);
164 struct dc_stream_state **streams, int num_streams,
168 struct dc_stream_state **streams, int num_streams,
/Linux-v4.19/drivers/staging/greybus/
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 …]
Dgb-camera.h92 unsigned int *flags, struct gb_camera_stream *streams,
95 unsigned int streams, unsigned int num_frames,
/Linux-v4.19/Documentation/driver-api/usb/
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.
/Linux-v4.19/Documentation/media/uapi/v4l/
Dpixfmt-v4l2-mplane.rst85 the driver for capture streams and by the application for output
86 streams, see :ref:`colorspaces`.
91 the driver for capture streams and by the application for output
92 streams, see :ref:`colorspaces`.
100 the driver for capture streams and by the application for output
101 streams, see :ref:`colorspaces`.
106 the driver for capture streams and by the application for output
107 streams, see :ref:`colorspaces`.
Dpixfmt-v4l2.rst90 by the driver for capture streams and by the application for
91 output streams, see :ref:`colorspaces`.
128 the driver for capture streams and by the application for output
129 streams, see :ref:`colorspaces`.
134 the driver for capture streams and by the application for output
135 streams, see :ref:`colorspaces`.
143 the driver for capture streams and by the application for output
144 streams, see :ref:`colorspaces`.
149 the driver for capture streams and by the application for output
150 streams, see :ref:`colorspaces`.
/Linux-v4.19/sound/isa/
Dcmi8330.c178 } streams[2]; member
427 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; in snd_cmi8330_playback_open()
428 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open()
436 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; in snd_cmi8330_capture_open()
437 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open()
457 chip->streams[CMI_SB_STREAM].ops = *ops; in snd_cmi8330_pcm()
458 chip->streams[CMI_SB_STREAM].open = ops->open; in snd_cmi8330_pcm()
459 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM]; in snd_cmi8330_pcm()
460 chip->streams[CMI_SB_STREAM].private_data = chip->sb; in snd_cmi8330_pcm()
464 chip->streams[CMI_AD_STREAM].ops = *ops; in snd_cmi8330_pcm()
[all …]
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-streams.c252 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
307 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
392 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
406 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
425 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
503 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
505 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
506 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
507 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
508 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
[all …]
Dcx18-fileops.c42 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
82 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream()
84 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream()
134 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_release_stream()
141 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_release_stream()
182 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
494 struct cx18_stream *s = &cx->streams[id->type]; in cx18_start_capture()
516 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_start_capture()
517 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
585 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_read()
[all …]
/Linux-v4.19/sound/hda/
Dhdac_device.c804 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); in query_stream_param() local
806 if (!streams || streams == -1) in query_stream_param()
807 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param()
808 if (!streams || streams == -1) in query_stream_param()
810 return streams; in query_stream_param()
852 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local
854 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm()
855 if (!streams) in snd_hdac_query_supported_pcm()
859 if (streams & AC_SUPFMT_PCM) { in snd_hdac_query_supported_pcm()
889 if (streams & AC_SUPFMT_FLOAT32) { in snd_hdac_query_supported_pcm()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc.c191 struct dc_stream_state **streams, int num_streams, in dc_stream_adjust_vmin_vmax() argument
195 struct dc_stream_state *stream = streams[0]; in dc_stream_adjust_vmin_vmax()
216 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument
220 struct dc_stream_state *stream = streams[0]; in dc_stream_get_crtc_position()
365 struct dc_stream_state **streams, in dc_stream_set_static_screen_events() argument
375 struct dc_stream_state *stream = streams[i]; in dc_stream_set_static_screen_events()
653 if (old_stream == context->streams[j]) { in disable_dangling_plane()
836 if (dc->current_state->streams[i] != context->streams[i]) in context_changed()
846 struct dc_stream_state *streams[], in dc_enable_stereo() argument
859 if (streams[j] && streams[j] == pipe->stream && in dc_enable_stereo()
[all …]
/Linux-v4.19/net/mac80211/
Drc80211_minstrel_ht_debugfs.c52 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump()
56 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump()
70 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump()
72 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump()
198 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump()
202 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump()
216 p += sprintf(p, ",MCS%-2u,", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_csv_dump()
218 p += sprintf(p, ",MCS%-1u/%1u,", j, mg->streams); in minstrel_ht_stats_csv_dump()
Drc80211_minstrel_ht.c38 #define MCS_DURATION(streams, sgi, bps) \ argument
39 (MCS_SYMBOL_TIME(sgi, MCS_NSYMS((streams) * (bps))) / AVG_AMPDU_SIZE)
57 .streams = _streams, \
85 .streams = _streams, \
132 .streams = 0, \
467 MCS_GROUP_RATES].streams; in minstrel_ht_prob_rate_reduce_streams()
477 (minstrel_mcs_groups[group].streams < tmp_max_streams)) { in minstrel_ht_prob_rate_reduce_streams()
644 if (minstrel_mcs_groups[group].streams > in minstrel_downgrade_rate()
645 minstrel_mcs_groups[orig_group].streams) in minstrel_downgrade_rate()
847 idx = ((group->streams - 1) << 4) | in minstrel_ht_set_rate()
[all …]
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-dvb.c102 if (dev->dvb->streams > 0) { in tm6000_urb_received()
192 if (dvb->streams == 0) { in tm6000_start_feed()
193 dvb->streams = 1; in tm6000_start_feed()
197 ++(dvb->streams); in tm6000_start_feed()
213 printk(KERN_INFO "stream %#x\n", dvb->streams); in tm6000_stop_feed()
214 --(dvb->streams); in tm6000_stop_feed()
215 if (dvb->streams == 0) { in tm6000_stop_feed()
258 dvb->streams = 0; in register_dvb()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-fileops.c47 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream()
88 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
129 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
131 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
208 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer()
430 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
459 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_start_capture()
509 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_read()
526 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_decoding()
552 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_write()
[all …]
Divtv-streams.c163 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init()
193 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev()
262 if (itv->streams[type].vdev.v4l2_dev == NULL) in ivtv_streams_setup()
266 if (ivtv_stream_alloc(&itv->streams[type])) in ivtv_streams_setup()
279 struct ivtv_stream *s = &itv->streams[type]; in ivtv_reg_dev()
290 struct ivtv_stream *s_mpg = &itv->streams[IVTV_ENC_STREAM_TYPE_MPG]; in ivtv_reg_dev()
351 struct video_device *vdev = &itv->streams[type].vdev; in ivtv_streams_cleanup()
357 ivtv_stream_free(&itv->streams[type]); in ivtv_streams_cleanup()
358 itv->streams[type].vdev.v4l2_dev = NULL; in ivtv_streams_cleanup()
766 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures()
[all …]
Divtv-irq.c43 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler()
72 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler()
462 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start()
553 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_read()
617 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_enc_dma_complete()
645 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_dma_complete()
661 s = &itv->streams[itv->cur_pio_stream]; in ivtv_irq_enc_pio_complete()
674 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_pio_complete()
706 struct ivtv_stream *s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_err()
768 s = &itv->streams[ivtv_stream_map[data[0]]]; in ivtv_irq_enc_start_cap()
[all …]
/Linux-v4.19/sound/soc/fsl/
Dimx-pcm-fiq.c243 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in imx_pcm_preallocate_dma_buffer()
268 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in imx_pcm_new()
275 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in imx_pcm_new()
297 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in imx_pcm_fiq_new()
304 substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in imx_pcm_fiq_new()
324 substream = pcm->streams[stream].substream; in imx_pcm_free()
Dmpc5200_dma.c318 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in psc_dma_new()
320 size, &pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in psc_dma_new()
325 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in psc_dma_new()
327 size, &pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->dma_buffer); in psc_dma_new()
335 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in psc_dma_new()
336 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in psc_dma_new()
354 substream = pcm->streams[stream].substream; in psc_dma_free()
/Linux-v4.19/sound/arm/
Dpxa2xx-pcm-lib.c149 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer()
170 substream = pcm->streams[stream].substream; in pxa2xx_pcm_free_dma_buffers()
192 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in pxa2xx_soc_pcm_new()
199 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in pxa2xx_soc_pcm_new()
/Linux-v4.19/sound/pci/nm256/
Dnm256.c242 struct nm256_stream streams[2]; member
773 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update()
788 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update()
878 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open()
890 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open()
958 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm()
1010 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check()
1012 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check()
1437 struct nm256_stream *s = &chip->streams[i]; in nm256_resume()
1458 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free()
[all …]
/Linux-v4.19/Documentation/networking/
Dtcp-thin.txt1 Thin-streams and TCP
16 applications, we have seen that they often produce thin streams
19 streams provoke high latencies when using TCP is unfortunate.
23 for thin streams. In short, if the kernel detects a thin stream,
/Linux-v4.19/sound/core/oss/
Dpcm_oss.c1112 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream()
1561 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset()
1581 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post()
1650 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync()
1719 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync()
1740 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate()
1781 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels()
1877 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format()
1931 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide()
1970 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_fragment()
[all …]
/Linux-v4.19/sound/core/
Dpcm.c140 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
700 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
927 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
928 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
956 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
966 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1116 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1129 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1135 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1157 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
[all …]

1234567891011