Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/intel/atom/sst/
Dsst_drv_interface.c53 struct stream_info *stream; in free_stream_context()
129 struct stream_info *str_info; in sst_get_stream()
204 struct stream_info *stream; in sst_cdev_open()
232 struct stream_info *stream; in sst_cdev_close()
255 struct stream_info *stream; in sst_cdev_ack()
287 struct stream_info *str_info; in sst_cdev_set_metadata()
322 struct stream_info *str_info; in sst_cdev_stream_start()
359 struct stream_info *stream; in sst_cdev_tstamp()
449 struct stream_info *stream; in sst_cdev_fragment_elapsed()
468 struct stream_info *stream; in sst_close_pcm_stream()
[all …]
Dsst_stream.c41 struct stream_info *str_info; in sst_alloc_stream_mrfld()
113 struct stream_info *str_info; in sst_realloc_stream()
162 struct stream_info *str_info; in sst_start_stream()
253 struct stream_info *str_info; in sst_pause_stream()
297 struct stream_info *str_info; in sst_resume_stream()
364 struct stream_info *str_info; in sst_drop_stream()
398 struct stream_info *str_info; in sst_drain_stream()
434 struct stream_info *str_info; in sst_free_stream()
Dsst.h191 struct stream_info { struct
386 struct stream_info streams[MAX_NUM_STREAMS+1];
474 void sst_clean_stream(struct stream_info *stream);
503 struct stream_info *get_stream_info(struct intel_sst_drv *sst_drv_ctx,
Dsst_pvt.c220 void sst_clean_stream(struct stream_info *stream) in sst_clean_stream()
376 struct stream_info *get_stream_info( in get_stream_info()
Dsst.c310 struct stream_info *stream = &ctx->streams[i]; in sst_context_init()
446 struct stream_info *stream = &ctx->streams[i]; in intel_sst_suspend()
562 struct stream_info *stream = &ctx->streams[i]; in intel_sst_resume()
Dsst_ipc.c264 struct stream_info *stream; in process_fw_async_msg()
/Linux-v4.19/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()
459 if (stream_id < ep->stream_info->num_streams) in xhci_triad_to_transfer_ring()
460 return ep->stream_info->stream_rings[stream_id]; in xhci_triad_to_transfer_ring()
467 ep->stream_info->num_streams - 1, in xhci_triad_to_transfer_ring()
489 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
856 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
858 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
1090 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
Dxhci.c2787 xhci_free_stream_info(xhci, ep->stream_info); in xhci_check_bw_drop_ep_streams()
2788 ep->stream_info = NULL; in xhci_check_bw_drop_ep_streams()
3354 vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci, in xhci_alloc_streams()
3358 if (!vdev->eps[ep_index].stream_info) in xhci_alloc_streams()
3375 vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3413 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_alloc_streams()
3414 vdev->eps[ep_index].stream_info = NULL; in xhci_alloc_streams()
3462 command = vdev->eps[ep_index].stream_info->free_streams_command; in xhci_free_streams()
3504 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info); in xhci_free_streams()
3505 vdev->eps[ep_index].stream_info = NULL; in xhci_free_streams()
[all …]
Dxhci.h915 struct xhci_stream_info *stream_info; member
1998 struct xhci_stream_info *stream_info);
2001 struct xhci_stream_info *stream_info);
Dxhci-hub.c461 for (s = 1; s < ep->stream_info->num_streams; s++) in xhci_ring_device()
/Linux-v4.19/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c254 stream->stream_info.str_id = str_params.stream_id; in sst_platform_alloc_stream()
290 stream->stream_info.period_elapsed = sst_period_elapsed; in sst_platform_init_stream()
291 stream->stream_info.arg = substream; in sst_platform_init_stream()
292 stream->stream_info.buffer_ptr = 0; in sst_platform_init_stream()
293 stream->stream_info.sfreq = substream->runtime->rate; in sst_platform_init_stream()
294 ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); in sst_platform_init_stream()
334 stream->stream_info.str_id = 0; in sst_media_open()
336 stream->stream_info.arg = substream; in sst_media_open()
365 str_id = stream->stream_info.str_id; in sst_media_close()
379 str_id = stream->stream_info.str_id; in sst_media_prepare()
[all …]
Dsst-mfld-platform.h144 struct pcm_stream_info stream_info; member
/Linux-v4.19/sound/pci/asihpi/
Dhpi6205.c759 phr->u.d.u.stream_info.data_available = in outstream_host_buffer_allocate()
761 phr->u.d.u.stream_info.buffer_size = in outstream_host_buffer_allocate()
792 phr->u.d.u.stream_info.auxiliary_data_available = in outstream_host_buffer_allocate()
993 phr->u.d.u.stream_info.state = (u16)status->stream_state; in outstream_get_info()
994 phr->u.d.u.stream_info.samples_transferred = in outstream_get_info()
996 phr->u.d.u.stream_info.buffer_size = status->size_in_bytes; in outstream_get_info()
997 phr->u.d.u.stream_info.data_available = in outstream_get_info()
999 phr->u.d.u.stream_info.auxiliary_data_available = in outstream_get_info()
1041 phr->u.d.u.stream_info.data_available = in instream_host_buffer_allocate()
1043 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.h756 } stream_info; member
/Linux-v4.19/sound/x86/
Dintel_hdmi_audio.h105 struct pcm_stream_info stream_info; member
Dintel_hdmi_audio.c182 substream = intelhaddata->stream_info.substream; in had_substream_get()
184 intelhaddata->stream_info.substream_refcount++; in had_substream_get()
197 intelhaddata->stream_info.substream_refcount--; in had_substream_put()
1101 intelhaddata->stream_info.substream = substream; in had_pcm_open()
1102 intelhaddata->stream_info.substream_refcount++; in had_pcm_open()
1123 intelhaddata->stream_info.substream = NULL; in had_pcm_close()
1124 intelhaddata->stream_info.substream_refcount--; in had_pcm_close()
1125 while (intelhaddata->stream_info.substream_refcount > 0) { in had_pcm_close()
/Linux-v4.19/sound/sparc/
Ddbri.c321 struct dbri_streaminfo stream_info[DBRI_NO_STREAMS]; member
571 &dbri->stream_info[DBRI_STREAMNO(substream)]
1083 struct dbri_streaminfo *info = &dbri->stream_info[streamno]; in setup_descs()
1389 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; in cs4215_setdata()
1399 info = &dbri->stream_info[DBRI_REC]; in cs4215_setdata()
1714 info = &dbri->stream_info[DBRI_REC]; in xmit_descs()
1737 info = &dbri->stream_info[DBRI_PLAY]; in xmit_descs()
1778 struct dbri_streaminfo *info = &dbri->stream_info[DBRI_PLAY]; in transmission_complete_intr()
1822 info = &dbri->stream_info[DBRI_REC]; in reception_complete_intr()
2280 info = &dbri->stream_info[kcontrol->private_value]; in snd_cs4215_get_volume()
[all …]
/Linux-v4.19/sound/pci/mixart/
Dmixart_core.h169 struct mixart_stream_info stream_info[32]; member
233 struct mixart_flow_info stream_info; /* could be an array[stream_count] */ member
Dmixart.c293 buf->sgroup_req.stream_info[i].size_max_byte_frame = 1024; in snd_mixart_add_ref_pipe()
294 buf->sgroup_req.stream_info[i].size_max_sample_frame = 256; in snd_mixart_add_ref_pipe()
295 … 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()
405 stream_state_req.stream_info.stream_desc.uid_pipe = stream->pipe->group_uid; in mixart_set_stream_state()
406 stream_state_req.stream_info.stream_desc.stream_idx = stream->substream->number; in mixart_set_stream_state()