Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_drv_interface.c42 struct stream_info *stream; in free_stream_context()
118 struct stream_info *str_info; in sst_get_stream()
193 struct stream_info *stream; in sst_cdev_open()
221 struct stream_info *stream; in sst_cdev_close()
244 struct stream_info *stream; in sst_cdev_ack()
276 struct stream_info *str_info; in sst_cdev_set_metadata()
311 struct stream_info *str_info; in sst_cdev_stream_start()
348 struct stream_info *stream; in sst_cdev_tstamp()
438 struct stream_info *stream; in sst_cdev_fragment_elapsed()
457 struct stream_info *stream; in sst_close_pcm_stream()
[all …]
Dsst_stream.c32 struct stream_info *str_info; in sst_alloc_stream_mrfld()
104 struct stream_info *str_info; in sst_realloc_stream()
154 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()
Dsst.h190 struct stream_info { struct
385 struct stream_info streams[MAX_NUM_STREAMS+1];
473 void sst_clean_stream(struct stream_info *stream);
502 struct stream_info *get_stream_info(struct intel_sst_drv *sst_drv_ctx,
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()
Dsst.c302 struct stream_info *stream = &ctx->streams[i]; in sst_context_init()
436 struct stream_info *stream = &ctx->streams[i]; in intel_sst_suspend()
552 struct stream_info *stream = &ctx->streams[i]; in intel_sst_resume()
Dsst_ipc.c255 struct stream_info *stream; in process_fw_async_msg()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-debugfs.c490 if (!epriv->stream_info) in xhci_stream_id_show()
494 epriv->stream_id, epriv->stream_info->num_streams - 1); in xhci_stream_id_show()
512 if (!epriv->stream_info) in xhci_stream_id_write()
520 if (stream_id == 0 || stream_id >= epriv->stream_info->num_streams) in xhci_stream_id_write()
524 epriv->show_ring = epriv->stream_info->stream_rings[stream_id]; in xhci_stream_id_write()
544 if (!epriv->stream_info) in xhci_stream_context_array_show()
548 epriv->stream_info->num_streams, in xhci_stream_context_array_show()
549 epriv->stream_info->num_stream_ctxs); in xhci_stream_context_array_show()
551 for (id = 0; id < epriv->stream_info->num_stream_ctxs; id++) { in xhci_stream_context_array_show()
552 stream_ctx = epriv->stream_info->stream_ctx_array + id; in xhci_stream_context_array_show()
[all …]
Dxhci-mem.c590 return radix_tree_lookup(&ep->stream_info->trb_address_map, in xhci_dma_to_transfer_ring()
604 if (!ep->stream_info) in xhci_stream_id_to_ring()
607 if (stream_id >= ep->stream_info->num_streams) in xhci_stream_id_to_ring()
609 return ep->stream_info->stream_rings[stream_id]; in xhci_stream_id_to_ring()
626 struct xhci_stream_info *stream_info; in xhci_alloc_stream_info() local
642 stream_info = kzalloc_node(sizeof(*stream_info), mem_flags, in xhci_alloc_stream_info()
644 if (!stream_info) in xhci_alloc_stream_info()
647 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
648 stream_info->num_stream_ctxs = num_stream_ctxs; in xhci_alloc_stream_info()
651 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
[all …]
Dxhci-debugfs.h94 struct xhci_stream_info *stream_info; member
Dxhci-ring.c446 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
448 struct xhci_stream_info *stream_info = ep->stream_info; in ring_doorbell_for_active_rings() local
449 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
508 if (stream_id < ep->stream_info->num_streams) in xhci_triad_to_transfer_ring()
509 return ep->stream_info->stream_rings[stream_id]; in xhci_triad_to_transfer_ring()
516 ep->stream_info->num_streams - 1, in xhci_triad_to_transfer_ring()
538 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
957 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
959 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
1198 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
Dxhci.c2860 xhci_free_stream_info(xhci, ep->stream_info); in xhci_check_bw_drop_ep_streams()
2861 ep->stream_info = NULL; in xhci_check_bw_drop_ep_streams()
3513 vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci, in xhci_alloc_streams()
3517 if (!vdev->eps[ep_index].stream_info) in xhci_alloc_streams()
3534 vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3576 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3577 vdev->eps[ep_index].stream_info = NULL; in xhci_alloc_streams()
3625 command = vdev->eps[ep_index].stream_info->free_streams_command; in xhci_free_streams()
3667 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_free_streams()
3668 vdev->eps[ep_index].stream_info = NULL; in xhci_free_streams()
[all …]
Dxhci.h926 struct xhci_stream_info *stream_info; member
2042 struct xhci_stream_info *stream_info);
2045 struct xhci_stream_info *stream_info);
/kernel/linux/linux-5.10/sound/soc/intel/atom/
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 …]
Dsst-mfld-platform.h136 struct pcm_stream_info stream_info; member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_cmd.c2826 struct ia_css_stream_info *stream_info; in atomisp_get_metadata() local
2835 stream_info = &asd->stream_env[ATOMISP_INPUT_STREAM_GENERAL]. in atomisp_get_metadata()
2836 stream_info; in atomisp_get_metadata()
2841 md->width = stream_info->metadata_info.resolution.width; in atomisp_get_metadata()
2842 md->height = stream_info->metadata_info.resolution.height; in atomisp_get_metadata()
2843 md->stride = stream_info->metadata_info.stride; in atomisp_get_metadata()
2874 stream_info->metadata_info.size); in atomisp_get_metadata()
2878 stream_info->metadata_info.size); in atomisp_get_metadata()
2882 stream_info->metadata_info.size); in atomisp_get_metadata()
2902 struct ia_css_stream_info *stream_info; in atomisp_get_metadata_by_type() local
[all …]
Datomisp_compat_css20.h67 struct ia_css_stream_info stream_info; member
Dia_css_stream_public.h203 struct ia_css_stream_info *stream_info);
Datomisp_compat_css20.c510 &stream_env->stream_info) != 0) { in __create_stream()
1335 if (asd->stream_env[stream_id].stream_info. in atomisp_css_allocate_stat_buffers()
1338 &asd->stream_env[stream_id].stream_info.metadata_info); in atomisp_css_allocate_stat_buffers()
1597 stream_info.metadata_info.size, GFP_KERNEL); in atomisp_alloc_metadata_output_buf()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
2274 info = &dbri->stream_info[kcontrol->private_value]; in snd_cs4215_get_volume()
[all …]
/kernel/linux/linux-5.10/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()

12