| /Linux-v5.4/drivers/staging/greybus/ |
| D | camera.c | 524 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 …]
|
| D | gb-camera.h | 92 unsigned int *flags, struct gb_camera_stream *streams, 95 unsigned int streams, unsigned int num_frames,
|
| /Linux-v5.4/Documentation/driver-api/usb/ |
| 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-v5.4/sound/isa/ |
| D | cmi8330.c | 164 } streams[2]; member 413 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; in snd_cmi8330_playback_open() 414 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open() 422 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; in snd_cmi8330_capture_open() 423 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open() 443 chip->streams[CMI_SB_STREAM].ops = *ops; in snd_cmi8330_pcm() 444 chip->streams[CMI_SB_STREAM].open = ops->open; in snd_cmi8330_pcm() 445 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM]; in snd_cmi8330_pcm() 446 chip->streams[CMI_SB_STREAM].private_data = chip->sb; in snd_cmi8330_pcm() 450 chip->streams[CMI_AD_STREAM].ops = *ops; in snd_cmi8330_pcm() [all …]
|
| /Linux-v5.4/drivers/media/pci/cx18/ |
| D | cx18-streams.c | 243 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init() 298 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev() 383 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup() 397 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev() 417 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev() 495 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup() 497 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup() 498 kfree(cx->streams[type].dvb); in cx18_streams_cleanup() 499 cx->streams[type].dvb = NULL; in cx18_streams_cleanup() 500 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup() [all …]
|
| 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 …]
|
| D | cx18-ioctl.c | 139 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap() 259 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap() 518 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_s_input() 519 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_s_input() 520 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_s_input() 755 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index() 802 struct cx18_stream *s = &cx->streams[id->type]; in cx18_vb_queue() 821 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamon() 842 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamoff() 860 struct cx18_stream *s = &cx->streams[id->type]; in cx18_reqbufs() [all …]
|
| /Linux-v5.4/sound/hda/ |
| D | hdac_device.c | 796 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); in query_stream_param() local 798 if (!streams || streams == -1) in query_stream_param() 799 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param() 800 if (!streams || streams == -1) in query_stream_param() 802 return streams; in query_stream_param() 844 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 846 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm() 847 if (!streams) in snd_hdac_query_supported_pcm() 851 if (streams & AC_SUPFMT_PCM) { in snd_hdac_query_supported_pcm() 881 if (streams & AC_SUPFMT_FLOAT32) { in snd_hdac_query_supported_pcm() [all …]
|
| /Linux-v5.4/drivers/media/usb/tm6000/ |
| D | tm6000-dvb.c | 94 if (dev->dvb->streams > 0) { in tm6000_urb_received() 187 if (dvb->streams == 0) { in tm6000_start_feed() 188 dvb->streams = 1; in tm6000_start_feed() 192 ++(dvb->streams); in tm6000_start_feed() 208 printk(KERN_INFO "stream %#x\n", dvb->streams); in tm6000_stop_feed() 209 --(dvb->streams); in tm6000_stop_feed() 210 if (dvb->streams == 0) { in tm6000_stop_feed() 253 dvb->streams = 0; in register_dvb()
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | pixfmt-v4l2-mplane.rst | 108 the driver for capture streams and by the application for output 109 streams, see :ref:`colorspaces`. 114 the driver for capture streams and by the application for output 115 streams, see :ref:`colorspaces`. 121 the driver for capture streams and by the application for output 122 streams, see :ref:`colorspaces`. 127 the driver for capture streams and by the application for output 128 streams, see :ref:`colorspaces`.
|
| D | pixfmt-v4l2.rst | 113 by the driver for capture streams and by the application for 114 output streams, see :ref:`colorspaces`. 151 the driver for capture streams and by the application for output 152 streams, see :ref:`colorspaces`. 157 the driver for capture streams and by the application for output 158 streams, see :ref:`colorspaces`. 166 the driver for capture streams and by the application for output 167 streams, see :ref:`colorspaces`. 172 the driver for capture streams and by the application for output 173 streams, see :ref:`colorspaces`.
|
| /Linux-v5.4/drivers/media/pci/ivtv/ |
| D | ivtv-fileops.c | 35 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 …]
|
| 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() 304 itv->streams[IVTV_DEC_STREAM_TYPE_YUV].vdev.device_caps |= in ivtv_reg_dev() 306 itv->streams[IVTV_DEC_STREAM_TYPE_MPG].vdev.device_caps |= in ivtv_reg_dev() 366 struct video_device *vdev = &itv->streams[type].vdev; in ivtv_streams_cleanup() 372 ivtv_stream_free(&itv->streams[type]); in ivtv_streams_cleanup() [all …]
|
| D | ivtv-irq.c | 31 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() 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[itv->cur_dma_stream]; in ivtv_irq_dma_err() 756 s = &itv->streams[ivtv_stream_map[data[0]]]; in ivtv_irq_enc_start_cap() [all …]
|
| /Linux-v5.4/net/mac80211/ |
| D | rc80211_minstrel_ht_debugfs.c | 65 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 69 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 83 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump() 85 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump() 212 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump() 216 p += sprintf(p, "%d,", mg->streams); in minstrel_ht_stats_csv_dump() 230 p += sprintf(p, ",MCS%-2u,", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_csv_dump() 232 p += sprintf(p, ",MCS%-1u/%1u,", j, mg->streams); in minstrel_ht_stats_csv_dump()
|
| D | rc80211_minstrel_ht.c | 37 #define MCS_DURATION(streams, sgi, bps) \ argument 38 (MCS_SYMBOL_TIME(sgi, MCS_NSYMS((streams) * (bps))) / AVG_AMPDU_SIZE) 61 .streams = _streams, \ 98 .streams = _streams, \ 155 .streams = 1, \ 514 MCS_GROUP_RATES].streams; in minstrel_ht_prob_rate_reduce_streams() 524 (minstrel_mcs_groups[group].streams < tmp_max_streams)) { in minstrel_ht_prob_rate_reduce_streams() 548 if (group->streams == tp_group->streams) in minstrel_ht_probe_group() 551 if (tp_idx < 4 && group->streams == tp_group->streams - 1) in minstrel_ht_probe_group() 554 return group->streams == tp_group->streams + 1; in minstrel_ht_probe_group() [all …]
|
| /Linux-v5.4/sound/soc/fsl/ |
| D | imx-pcm-fiq.c | 238 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in imx_pcm_preallocate_dma_buffer() 263 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in imx_pcm_new() 270 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in imx_pcm_new() 292 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in imx_pcm_fiq_new() 299 substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in imx_pcm_fiq_new() 319 substream = pcm->streams[stream].substream; in imx_pcm_free()
|
| D | mpc5200_dma.c | 318 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-v5.4/sound/arm/ |
| D | pxa2xx-pcm-lib.c | 145 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer() 166 substream = pcm->streams[stream].substream; in pxa2xx_pcm_free_dma_buffers() 188 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in pxa2xx_soc_pcm_new() 195 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in pxa2xx_soc_pcm_new()
|
| /Linux-v5.4/sound/pci/nm256/ |
| D | nm256.c | 228 struct nm256_stream streams[2]; member 759 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update() 774 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update() 864 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open() 876 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open() 944 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm() 996 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check() 998 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check() 1422 struct nm256_stream *s = &chip->streams[i]; in nm256_resume() 1443 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free() [all …]
|
| /Linux-v5.4/sound/core/ |
| D | pcm.c | 127 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 639 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream() 867 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free() 868 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free() 896 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream() 906 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream() 1056 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register() 1069 &pcm->streams[cidx].dev); in snd_pcm_dev_register() 1075 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register() 1097 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect() [all …]
|
| /Linux-v5.4/Documentation/networking/ |
| D | tcp-thin.txt | 1 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-v5.4/sound/core/oss/ |
| D | pcm_oss.c | 1098 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream() 1547 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset() 1567 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post() 1636 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync() 1705 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync() 1726 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate() 1767 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels() 1863 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format() 1917 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide() 1956 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_fragment() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc.c | 305 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument 309 const struct dc_stream_state *stream = streams[0]; in dc_stream_get_crtc_position() 494 struct dc_stream_state **streams, in dc_stream_set_static_screen_events() argument 504 struct dc_stream_state *stream = streams[i]; in dc_stream_set_static_screen_events() 758 if (old_stream == context->streams[j]) { in disable_dangling_plane() 961 if (dc->current_state->streams[i] != context->streams[i]) in context_changed() 1027 struct dc_stream_state *streams[], in dc_enable_stereo() argument 1040 if (streams[j] && streams[j] == pipe->stream && in dc_enable_stereo() 1064 dc_streams[i] = context->streams[i]; in dc_commit_state_no_check() 1070 if (context->streams[i]->apply_seamless_boot_optimization) in dc_commit_state_no_check() [all …]
|
| /Linux-v5.4/drivers/media/pci/cobalt/ |
| D | cobalt-driver.c | 129 if (sd == cobalt->streams[i].sd) in cobalt_get_sd_nr() 140 struct cobalt_stream *s = &cobalt->streams[sd_nr]; in cobalt_notify() 419 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_stream_struct_init() 489 struct cobalt_stream *s = cobalt->streams; in cobalt_subdevs_init() 539 cobalt->streams[i + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_init() 597 struct cobalt_stream *s = &cobalt->streams[COBALT_HSMA_IN_NODE]; in cobalt_subdevs_hsma_init() 618 cobalt->streams[4 + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init() 649 cobalt->streams[COBALT_AUDIO_OUT_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init() 765 struct v4l2_subdev *sd = cobalt->streams[i].sd; in cobalt_remove()
|