Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/intel/atom/sst/
Dsst_drv_interface.c45 struct stream_info *stream; in free_stream_context()
121 struct stream_info *str_info; in sst_get_stream()
196 struct stream_info *stream; in sst_cdev_open()
224 struct stream_info *stream; in sst_cdev_close()
247 struct stream_info *stream; in sst_cdev_ack()
279 struct stream_info *str_info; in sst_cdev_set_metadata()
314 struct stream_info *str_info; in sst_cdev_stream_start()
351 struct stream_info *stream; in sst_cdev_tstamp()
441 struct stream_info *stream; in sst_cdev_fragment_elapsed()
460 struct stream_info *stream; in sst_close_pcm_stream()
[all …]
Dsst_stream.c33 struct stream_info *str_info; in sst_alloc_stream_mrfld()
105 struct stream_info *str_info; in sst_realloc_stream()
154 struct stream_info *str_info; in sst_start_stream()
245 struct stream_info *str_info; in sst_pause_stream()
289 struct stream_info *str_info; in sst_resume_stream()
356 struct stream_info *str_info; in sst_drop_stream()
390 struct stream_info *str_info; in sst_drain_stream()
426 struct stream_info *str_info; in sst_free_stream()
Dsst.h183 struct stream_info { struct
378 struct stream_info streams[MAX_NUM_STREAMS+1];
466 void sst_clean_stream(struct stream_info *stream);
495 struct stream_info *get_stream_info(struct intel_sst_drv *sst_drv_ctx,
Dsst_pvt.c212 void sst_clean_stream(struct stream_info *stream) in sst_clean_stream()
368 struct stream_info *get_stream_info( in get_stream_info()
Dsst.c302 struct stream_info *stream = &ctx->streams[i]; in sst_context_init()
438 struct stream_info *stream = &ctx->streams[i]; in intel_sst_suspend()
554 struct stream_info *stream = &ctx->streams[i]; in intel_sst_resume()
Dsst_ipc.c256 struct stream_info *stream; in process_fw_async_msg()
/Linux-v5.4/drivers/usb/host/
Dxhci-mem.c581 return radix_tree_lookup(&ep->stream_info->trb_address_map, in xhci_dma_to_transfer_ring()
595 if (!ep->stream_info) in xhci_stream_id_to_ring()
598 if (stream_id >= ep->stream_info->num_streams) in xhci_stream_id_to_ring()
600 return ep->stream_info->stream_rings[stream_id]; in xhci_stream_id_to_ring()
617 struct xhci_stream_info *stream_info; in xhci_alloc_stream_info() local
633 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info()
635 if (!stream_info) in xhci_alloc_stream_info()
638 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
639 stream_info->num_stream_ctxs = num_stream_ctxs; in xhci_alloc_stream_info()
642 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
[all …]
Dxhci-ring.c427 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
429 struct xhci_stream_info *stream_info = ep->stream_info; in ring_doorbell_for_active_rings() local
430 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
466 if (stream_id < ep->stream_info->num_streams) in xhci_triad_to_transfer_ring()
467 return ep->stream_info->stream_rings[stream_id]; in xhci_triad_to_transfer_ring()
474 ep->stream_info->num_streams - 1, in xhci_triad_to_transfer_ring()
496 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
867 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
869 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
1101 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
Dxhci.c2847 xhci_free_stream_info(xhci, ep->stream_info); in xhci_check_bw_drop_ep_streams()
2848 ep->stream_info = NULL; in xhci_check_bw_drop_ep_streams()
3485 vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci, in xhci_alloc_streams()
3489 if (!vdev->eps[ep_index].stream_info) in xhci_alloc_streams()
3506 vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3544 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3545 vdev->eps[ep_index].stream_info = NULL; in xhci_alloc_streams()
3593 command = vdev->eps[ep_index].stream_info->free_streams_command; in xhci_free_streams()
3635 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_free_streams()
3636 vdev->eps[ep_index].stream_info = NULL; in xhci_free_streams()
[all …]
Dxhci.h923 struct xhci_stream_info *stream_info; member
2017 struct xhci_stream_info *stream_info);
2020 struct xhci_stream_info *stream_info);
Dxhci-hub.c461 for (s = 1; s < ep->stream_info->num_streams; s++) in xhci_ring_device()
/Linux-v5.4/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c246 stream->stream_info.str_id = str_params.stream_id; in sst_platform_alloc_stream()
282 stream->stream_info.period_elapsed = sst_period_elapsed; in sst_platform_init_stream()
283 stream->stream_info.arg = substream; in sst_platform_init_stream()
284 stream->stream_info.buffer_ptr = 0; in sst_platform_init_stream()
285 stream->stream_info.sfreq = substream->runtime->rate; in sst_platform_init_stream()
286 ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); in sst_platform_init_stream()
326 stream->stream_info.str_id = 0; in sst_media_open()
328 stream->stream_info.arg = substream; in sst_media_open()
357 str_id = stream->stream_info.str_id; in sst_media_close()
371 str_id = stream->stream_info.str_id; in sst_media_prepare()
[all …]
Dsst-mfld-platform.h136 struct pcm_stream_info stream_info; member
/Linux-v5.4/sound/pci/asihpi/
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 …]
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 …]
Dhpi_internal.h745 } stream_info; member
/Linux-v5.4/sound/x86/
Dintel_hdmi_audio.h105 struct pcm_stream_info stream_info; member
Dintel_hdmi_audio.c173 substream = intelhaddata->stream_info.substream; in had_substream_get()
175 intelhaddata->stream_info.substream_refcount++; in had_substream_get()
188 intelhaddata->stream_info.substream_refcount--; in had_substream_put()
1092 intelhaddata->stream_info.substream = substream; in had_pcm_open()
1093 intelhaddata->stream_info.substream_refcount++; in had_pcm_open()
1114 intelhaddata->stream_info.substream = NULL; in had_pcm_close()
1115 intelhaddata->stream_info.substream_refcount--; in had_pcm_close()
1116 while (intelhaddata->stream_info.substream_refcount > 0) { in had_pcm_close()
/Linux-v5.4/sound/sparc/
Ddbri.c322 struct dbri_streaminfo stream_info[DBRI_NO_STREAMS]; member
572 &dbri->stream_info[DBRI_STREAMNO(substream)]
1088 struct dbri_streaminfo *info = &dbri->stream_info[streamno]; in setup_descs()
1394 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; in cs4215_setdata()
1404 info = &dbri->stream_info[DBRI_REC]; in cs4215_setdata()
1719 info = &dbri->stream_info[DBRI_REC]; in xmit_descs()
1742 info = &dbri->stream_info[DBRI_PLAY]; in xmit_descs()
1783 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; in transmission_complete_intr()
1827 info = &dbri->stream_info[DBRI_REC]; in reception_complete_intr()
2282 info = &dbri->stream_info[kcontrol->private_value]; in snd_cs4215_get_volume()
[all …]
/Linux-v5.4/sound/pci/mixart/
Dmixart_core.h156 struct mixart_stream_info stream_info[32]; member
220 struct mixart_flow_info stream_info; /* could be an array[stream_count] */ member
Dmixart.c280 buf->sgroup_req.stream_info[i].size_max_byte_frame = 1024; in snd_mixart_add_ref_pipe()
281 buf->sgroup_req.stream_info[i].size_max_sample_frame = 256; in snd_mixart_add_ref_pipe()
282 … 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()
392 stream_state_req.stream_info.stream_desc.uid_pipe = stream->pipe->group_uid; in mixart_set_stream_state()
393 stream_state_req.stream_info.stream_desc.stream_idx = stream->substream->number; in mixart_set_stream_state()