Home
last modified time | relevance | path

Searched refs:stream_info (Results 1 – 25 of 36) sorted by relevance

12

/linux/sound/soc/codecs/
H A Dhda-dai.c14 struct hda_pcm_stream *stream_info; in hda_codec_dai_startup() local
20 stream_info = snd_soc_dai_get_dma_data(dai, substream); in hda_codec_dai_startup()
21 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]); in hda_codec_dai_startup()
24 codec->core.vendor_id, stream_info, pcm, pcm->name, substream); in hda_codec_dai_startup()
28 ret = stream_info->ops.open(stream_info, codec, substream); in hda_codec_dai_startup()
40 struct hda_pcm_stream *stream_info; in hda_codec_dai_shutdown() local
46 stream_info = snd_soc_dai_get_dma_data(dai, substream); in hda_codec_dai_shutdown()
47 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]); in hda_codec_dai_shutdown()
50 codec->core.vendor_id, stream_info, pcm, pcm->name, substream); in hda_codec_dai_shutdown()
52 ret = stream_info->ops.close(stream_info, codec, substream); in hda_codec_dai_shutdown()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c520 dma_pool_free(pdev->device_pool, pep->stream_info.stream_ctx_array, in cdnsp_free_stream_ctx()
521 pep->stream_info.ctx_array_dma); in cdnsp_free_stream_ctx()
529 pep->stream_info.num_stream_ctxs; in cdnsp_alloc_stream_ctx()
540 &pep->stream_info.ctx_array_dma); in cdnsp_alloc_stream_ctx()
546 return radix_tree_lookup(&pep->stream_info.trb_address_map, in cdnsp_dma_to_transfer_ring()
566 struct cdnsp_stream_info *stream_info; in cdnsp_alloc_stream_info() local
573 stream_info = &pep->stream_info; in cdnsp_alloc_stream_info()
574 stream_info->num_streams = num_streams; in cdnsp_alloc_stream_info()
575 stream_info->num_stream_ctxs = num_stream_ctxs; in cdnsp_alloc_stream_info()
578 stream_info->stream_rings = kcalloc(num_streams, in cdnsp_alloc_stream_info()
[all …]
H A Dcdnsp-ring.c293 if (pep->stream_info.drbls_count >= 2) in cdnsp_ring_ep_doorbell()
296 pep->stream_info.drbls_count++; in cdnsp_ring_ep_doorbell()
329 if (stream_id == 0 || stream_id >= pep->stream_info.num_streams) { in cdnsp_get_transfer_ring()
335 return pep->stream_info.stream_rings[stream_id]; in cdnsp_get_transfer_ring()
350 struct cdnsp_stream_info *stream_info; in cdnsp_ring_doorbell_for_active_rings() local
364 stream_info = &pep->stream_info; in cdnsp_ring_doorbell_for_active_rings()
366 for (stream_id = 1; stream_id < stream_info->num_streams; stream_id++) { in cdnsp_ring_doorbell_for_active_rings()
370 if (stream_info->drbls_count >= 2) in cdnsp_ring_doorbell_for_active_rings()
408 st_ctx = &pep->stream_info.stream_ctx_array[stream_id]; in cdnsp_get_hw_deq()
734 pep->stream_info.td_count--; in cdnsp_remove_request()
[all …]
H A Dcdnsp-gadget.c744 struct cdnsp_stream_info *stream_info) in cdnsp_setup_streams_ep_input_ctx() argument
752 max_primary_streams = fls(stream_info->num_stream_ctxs) - 2; in cdnsp_setup_streams_ep_input_ctx()
756 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in cdnsp_setup_streams_ep_input_ctx()
793 cdnsp_setup_streams_ep_input_ctx(pdev, pep->in_ctx, &pep->stream_info); in cdnsp_alloc_streams()
796 pep->stream_info.td_count = 0; in cdnsp_alloc_streams()
797 pep->stream_info.first_prime_det = 0; in cdnsp_alloc_streams()
/linux/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c42 struct stream_info *stream; in free_stream_context()
118 struct stream_info *str_info; in sst_get_stream()
192 struct stream_info *stream; in sst_cdev_open()
218 struct stream_info *stream; in sst_cdev_close()
241 struct stream_info *stream; in sst_cdev_ack()
273 struct stream_info *str_info; in sst_cdev_set_metadata()
308 struct stream_info *str_info; in sst_cdev_stream_start()
345 struct stream_info *stream; in sst_cdev_tstamp()
435 struct stream_info *stream; in sst_cdev_fragment_elapsed()
454 struct stream_info *stream; in sst_close_pcm_stream()
[all …]
H A Dsst_stream.c31 struct stream_info *str_info; in sst_alloc_stream_mrfld()
103 struct stream_info *str_info; in sst_realloc_stream()
153 struct stream_info *str_info; in sst_start_stream()
246 struct stream_info *str_info; in sst_pause_stream()
291 struct stream_info *str_info; in sst_resume_stream()
359 struct stream_info *str_info; in sst_drop_stream()
395 struct stream_info *str_info; in sst_drain_stream()
432 struct stream_info *str_info; in sst_free_stream()
H A Dsst.h187 struct stream_info { struct
382 struct stream_info streams[MAX_NUM_STREAMS+1];
470 void sst_clean_stream(struct stream_info *stream);
499 struct stream_info *get_stream_info(struct intel_sst_drv *sst_drv_ctx,
H A Dsst_pvt.c211 void sst_clean_stream(struct stream_info *stream) in sst_clean_stream()
367 struct stream_info *get_stream_info( in get_stream_info()
H A Dsst.c308 struct stream_info *stream = &ctx->streams[i]; in sst_context_init()
441 struct stream_info *stream = &ctx->streams[i]; in intel_sst_suspend()
557 struct stream_info *stream = &ctx->streams[i]; in intel_sst_resume()
/linux/drivers/usb/host/
H A Dxhci-debugfs.c491 if (!epriv->stream_info) in xhci_stream_id_show()
495 epriv->stream_id, epriv->stream_info->num_streams - 1); in xhci_stream_id_show()
513 if (!epriv->stream_info) in xhci_stream_id_write()
521 if (stream_id == 0 || stream_id >= epriv->stream_info->num_streams) in xhci_stream_id_write()
525 epriv->show_ring = epriv->stream_info->stream_rings[stream_id]; in xhci_stream_id_write()
545 if (!epriv->stream_info) in xhci_stream_context_array_show()
549 epriv->stream_info->num_streams, in xhci_stream_context_array_show()
550 epriv->stream_info->num_stream_ctxs); in xhci_stream_context_array_show()
552 for (id = 0; id < epriv->stream_info->num_stream_ctxs; id++) { in xhci_stream_context_array_show()
553 stream_ctx = epriv->stream_info->stream_ctx_array + id; in xhci_stream_context_array_show()
[all …]
H A Dxhci-mem.c574 return radix_tree_lookup(&ep->stream_info->trb_address_map, in xhci_dma_to_transfer_ring()
593 struct xhci_stream_info *stream_info; in xhci_alloc_stream_info() local
608 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info()
610 if (!stream_info) in xhci_alloc_stream_info()
613 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
614 stream_info->num_stream_ctxs = num_stream_ctxs; in xhci_alloc_stream_info()
617 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
620 if (!stream_info->stream_rings) in xhci_alloc_stream_info()
624 stream_info->stream_ctx_array = xhci_alloc_stream_ctx(xhci, in xhci_alloc_stream_info()
625 num_stream_ctxs, &stream_info->ctx_array_dma, in xhci_alloc_stream_info()
[all …]
H A Dxhci-debugfs.h94 struct xhci_stream_info *stream_info; member
/linux/sound/soc/intel/atom/
H A Dsst-mfld-platform-pcm.c245 stream->stream_info.str_id = str_params.stream_id; in sst_platform_alloc_stream()
281 stream->stream_info.period_elapsed = sst_period_elapsed; in sst_platform_init_stream()
282 stream->stream_info.arg = substream; in sst_platform_init_stream()
283 stream->stream_info.buffer_ptr = 0; in sst_platform_init_stream()
284 stream->stream_info.sfreq = substream->runtime->rate; in sst_platform_init_stream()
285 ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); in sst_platform_init_stream()
325 stream->stream_info.str_id = 0; in sst_media_open()
327 stream->stream_info.arg = substream; in sst_media_open()
368 str_id = stream->stream_info.str_id; in sst_media_close()
382 str_id = stream->stream_info.str_id; in sst_media_prepare()
[all …]
H A Dsst-mfld-platform.h136 struct pcm_stream_info stream_info; member
/linux/sound/pci/asihpi/
H A Dhpi6205.c748 phr->u.d.u.stream_info.data_available = in outstream_host_buffer_allocate()
750 phr->u.d.u.stream_info.buffer_size = in outstream_host_buffer_allocate()
781 phr->u.d.u.stream_info.auxiliary_data_available = in outstream_host_buffer_allocate()
982 phr->u.d.u.stream_info.state = (u16)status->stream_state; in outstream_get_info()
983 phr->u.d.u.stream_info.samples_transferred = in outstream_get_info()
985 phr->u.d.u.stream_info.buffer_size = status->size_in_bytes; in outstream_get_info()
986 phr->u.d.u.stream_info.data_available = in outstream_get_info()
988 phr->u.d.u.stream_info.auxiliary_data_available = in outstream_get_info()
1030 phr->u.d.u.stream_info.data_available = in instream_host_buffer_allocate()
1032 phr->u.d.u.stream_info.buffer_size = in instream_host_buffer_allocate()
[all …]
H A Dhpifunc.c87 pSR->u.stream_info.auxiliary_data_available; in hpi_stream_response_to_legacy()
88 pSR->u.legacy_stream_info.state = pSR->u.stream_info.state; in hpi_stream_response_to_legacy()
485 *pw_state = hr.u.d.u.stream_info.state; in hpi_outstream_get_info_ex()
487 *pbuffer_size = hr.u.d.u.stream_info.buffer_size; in hpi_outstream_get_info_ex()
489 *pdata_to_play = hr.u.d.u.stream_info.data_available; in hpi_outstream_get_info_ex()
491 *psamples_played = hr.u.d.u.stream_info.samples_transferred; in hpi_outstream_get_info_ex()
494 hr.u.d.u.stream_info.auxiliary_data_available; in hpi_outstream_get_info_ex()
683 hr.u.d.u.stream_info.data_available / in hpi_outstream_ancillary_get_info()
1013 *pw_state = hr.u.d.u.stream_info.state; in hpi_instream_get_info_ex()
1015 *pbuffer_size = hr.u.d.u.stream_info.buffer_size; in hpi_instream_get_info_ex()
[all …]
/linux/sound/sparc/
H A Ddbri.c321 struct dbri_streaminfo stream_info[DBRI_NO_STREAMS]; member
571 &dbri->stream_info[DBRI_STREAMNO(substream)]
1087 struct dbri_streaminfo *info = &dbri->stream_info[streamno]; in setup_descs()
1393 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; in cs4215_setdata()
1403 info = &dbri->stream_info[DBRI_REC]; in cs4215_setdata()
1718 info = &dbri->stream_info[DBRI_REC]; in xmit_descs()
1741 info = &dbri->stream_info[DBRI_PLAY]; in xmit_descs()
1782 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; in transmission_complete_intr()
1826 info = &dbri->stream_info[DBRI_REC]; in reception_complete_intr()
2274 info = &dbri->stream_info[kcontrol->private_value]; in snd_cs4215_get_volume()
[all …]
/linux/sound/x86/
H A Dintel_hdmi_audio.h105 struct pcm_stream_info stream_info; member
H A Dintel_hdmi_audio.c176 substream = intelhaddata->stream_info.substream; in had_substream_get()
178 intelhaddata->stream_info.substream_refcount++; in had_substream_get()
191 intelhaddata->stream_info.substream_refcount--; in had_substream_put()
1098 intelhaddata->stream_info.substream = substream; in had_pcm_open()
1099 intelhaddata->stream_info.substream_refcount++; in had_pcm_open()
1120 intelhaddata->stream_info.substream = NULL; in had_pcm_close()
1121 intelhaddata->stream_info.substream_refcount--; in had_pcm_close()
1122 while (intelhaddata->stream_info.substream_refcount > 0) { in had_pcm_close()
/linux/sound/pci/mixart/
H A Dmixart_core.h157 struct mixart_stream_info stream_info[32]; member
221 struct mixart_flow_info stream_info; /* could be an array[stream_count] */ member
H A Dmixart.c279 buf->sgroup_req.stream_info[i].size_max_byte_frame = 1024; in snd_mixart_add_ref_pipe()
280 buf->sgroup_req.stream_info[i].size_max_sample_frame = 256; in snd_mixart_add_ref_pipe()
281 … buf->sgroup_req.stream_info[i].nb_bytes_max_per_sample = MIXART_FLOAT_P__4_0_TO_HEX; /* is 4.0f */ in snd_mixart_add_ref_pipe()
391 stream_state_req.stream_info.stream_desc.uid_pipe = stream->pipe->group_uid; in mixart_set_stream_state()
392 stream_state_req.stream_info.stream_desc.stream_idx = stream->substream->number; in mixart_set_stream_state()
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.c3044 stream_env[ATOMISP_INPUT_STREAM_GENERAL].stream_info. in atomisp_param()
3047 stream_env[ATOMISP_INPUT_STREAM_GENERAL].stream_info. in atomisp_param()
3505 u16 stream_index, struct atomisp_input_stream_info *stream_info) in __atomisp_update_stream_env() argument
3510 asd->stream_env[stream_index].ch_id = stream_info->ch_id; in __atomisp_update_stream_env()
3511 asd->stream_env[stream_index].isys_configs = stream_info->isys_configs; in __atomisp_update_stream_env()
3512 for (i = 0; i < stream_info->isys_configs; i++) { in __atomisp_update_stream_env()
3514 stream_info->isys_info[i].input_format; in __atomisp_update_stream_env()
3516 stream_info->isys_info[i].width; in __atomisp_update_stream_env()
3518 stream_info->isys_info[i].height; in __atomisp_update_stream_env()
3523 struct atomisp_input_stream_info *stream_info) in __atomisp_init_stream_info() argument
[all …]
H A Datomisp_compat_css20.h67 struct ia_css_stream_info stream_info; member
H A Dia_css_stream_public.h202 struct ia_css_stream_info *stream_info);
/linux/sound/soc/intel/avs/
H A Dpcm.c363 const struct snd_soc_pcm_stream *stream_info; in avs_dai_hda_be_prepare() local
381 stream_info = snd_soc_dai_get_pcm_stream(dai, substream->stream); in avs_dai_hda_be_prepare()
383 stream_info->sig_bits); in avs_dai_hda_be_prepare()
645 const struct snd_soc_pcm_stream *stream_info; in avs_dai_fe_prepare() local
663 stream_info = snd_soc_dai_get_pcm_stream(dai, substream->stream); in avs_dai_fe_prepare()
665 stream_info->sig_bits); in avs_dai_fe_prepare()

12