Lines Matching refs:h_stream

149 	u32 h_stream;  member
158 u32 h_stream, /* handle to outstream. */ in hpi_stream_host_buffer_attach() argument
165 unsigned int obj = hpi_handle_object(h_stream); in hpi_stream_host_buffer_attach()
167 if (!h_stream) in hpi_stream_host_buffer_attach()
174 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_attach()
184 static u16 hpi_stream_host_buffer_detach(u32 h_stream) in hpi_stream_host_buffer_detach() argument
188 unsigned int obj = hpi_handle_object(h_stream); in hpi_stream_host_buffer_detach()
190 if (!h_stream) in hpi_stream_host_buffer_detach()
198 hpi_handle_to_indexes(h_stream, &hm.adapter_index, in hpi_stream_host_buffer_detach()
205 static inline u16 hpi_stream_start(u32 h_stream) in hpi_stream_start() argument
207 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM) in hpi_stream_start()
208 return hpi_outstream_start(h_stream); in hpi_stream_start()
210 return hpi_instream_start(h_stream); in hpi_stream_start()
213 static inline u16 hpi_stream_stop(u32 h_stream) in hpi_stream_stop() argument
215 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM) in hpi_stream_stop()
216 return hpi_outstream_stop(h_stream); in hpi_stream_stop()
218 return hpi_instream_stop(h_stream); in hpi_stream_stop()
222 u32 h_stream, in hpi_stream_get_info_ex() argument
231 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM) in hpi_stream_get_info_ex()
232 e = hpi_outstream_get_info_ex(h_stream, pw_state, in hpi_stream_get_info_ex()
236 e = hpi_instream_get_info_ex(h_stream, pw_state, in hpi_stream_get_info_ex()
244 u32 h_stream) in hpi_stream_group_add() argument
247 return hpi_outstream_group_add(h_master, h_stream); in hpi_stream_group_add()
249 return hpi_instream_group_add(h_master, h_stream); in hpi_stream_group_add()
252 static inline u16 hpi_stream_group_reset(u32 h_stream) in hpi_stream_group_reset() argument
254 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM) in hpi_stream_group_reset()
255 return hpi_outstream_group_reset(h_stream); in hpi_stream_group_reset()
257 return hpi_instream_group_reset(h_stream); in hpi_stream_group_reset()
451 if (hpi_instream_reset(dpcm->h_stream) != 0) in snd_card_asihpi_pcm_hw_params()
455 dpcm->h_stream, &dpcm->format) != 0) in snd_card_asihpi_pcm_hw_params()
461 err = hpi_stream_host_buffer_attach(dpcm->h_stream, in snd_card_asihpi_pcm_hw_params()
474 err = hpi_stream_get_info_ex(dpcm->h_stream, NULL, in snd_card_asihpi_pcm_hw_params()
497 hpi_stream_host_buffer_detach(dpcm->h_stream); in snd_card_asihpi_hw_free()
595 ds->h_stream, in snd_card_asihpi_trigger()
605 dpcm->h_stream, in snd_card_asihpi_trigger()
606 ds->h_stream); in snd_card_asihpi_trigger()
620 hpi_handle_error(hpi_stream_start(dpcm->h_stream)); in snd_card_asihpi_trigger()
645 hpi_handle_error(hpi_stream_stop(dpcm->h_stream)); in snd_card_asihpi_trigger()
648 hpi_outstream_reset(dpcm->h_stream)); in snd_card_asihpi_trigger()
651 hpi_handle_error(hpi_stream_group_reset(dpcm->h_stream)); in snd_card_asihpi_trigger()
657 hpi_handle_error(hpi_stream_start(dpcm->h_stream)); in snd_card_asihpi_trigger()
662 hpi_handle_error(hpi_stream_stop(dpcm->h_stream)); in snd_card_asihpi_trigger()
748 ds->h_stream, &state, in snd_card_asihpi_timer_function()
762 hpi_handle_error(hpi_stream_start(ds->h_stream)); in snd_card_asihpi_timer_function()
861 ds->h_stream, pd, xfer1, in snd_card_asihpi_timer_function()
872 ds->h_stream, pd, in snd_card_asihpi_timer_function()
881 ds->h_stream, in snd_card_asihpi_timer_function()
889 ds->h_stream, in snd_card_asihpi_timer_function()
924 hpi_handle_error(hpi_outstream_reset(dpcm->h_stream)); in snd_card_asihpi_playback_prepare()
946 u32 h_stream) in snd_card_asihpi_playback_formats() argument
971 err = hpi_outstream_query_format(h_stream, &hpi_format); in snd_card_asihpi_playback_formats()
991 substream->number, &dpcm->h_stream); in snd_card_asihpi_playback_open()
1031 snd_card_asihpi_playback_formats(card, dpcm->h_stream); in snd_card_asihpi_playback_open()
1073 hpi_handle_error(hpi_outstream_close(dpcm->h_stream)); in snd_card_asihpi_playback_close()
1111 hpi_handle_error(hpi_instream_reset(dpcm->h_stream)); in snd_card_asihpi_capture_prepare()
1121 u32 h_stream) in snd_card_asihpi_capture_formats() argument
1146 err = hpi_instream_query_format(h_stream, &hpi_format); in snd_card_asihpi_capture_formats()
1170 substream->number, &dpcm->h_stream)); in snd_card_asihpi_capture_open()
1203 snd_card_asihpi_capture_formats(card, dpcm->h_stream); in snd_card_asihpi_capture_open()
1234 hpi_handle_error(hpi_instream_close(dpcm->h_stream)); in snd_card_asihpi_capture_close()
2783 u32 h_stream; in snd_asihpi_probe() local
2851 0, &h_stream)); in snd_asihpi_probe()
2853 err = hpi_instream_host_buffer_free(h_stream); in snd_asihpi_probe()
2856 hpi_handle_error(hpi_instream_close(h_stream)); in snd_asihpi_probe()