Lines Matching refs:h_stream
140 u32 h_stream;
149 u32 h_stream, /* handle to outstream. */
156 unsigned int obj = hpi_handle_object(h_stream);
158 if (!h_stream)
165 hpi_handle_to_indexes(h_stream, &hm.adapter_index,
175 static u16 hpi_stream_host_buffer_detach(u32 h_stream)
179 unsigned int obj = hpi_handle_object(h_stream);
181 if (!h_stream)
189 hpi_handle_to_indexes(h_stream, &hm.adapter_index,
196 static inline u16 hpi_stream_start(u32 h_stream)
198 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM)
199 return hpi_outstream_start(h_stream);
201 return hpi_instream_start(h_stream);
204 static inline u16 hpi_stream_stop(u32 h_stream)
206 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM)
207 return hpi_outstream_stop(h_stream);
209 return hpi_instream_stop(h_stream);
213 u32 h_stream,
222 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM)
223 e = hpi_outstream_get_info_ex(h_stream, pw_state,
227 e = hpi_instream_get_info_ex(h_stream, pw_state,
235 u32 h_stream)
238 return hpi_outstream_group_add(h_master, h_stream);
240 return hpi_instream_group_add(h_master, h_stream);
243 static inline u16 hpi_stream_group_reset(u32 h_stream)
245 if (hpi_handle_object(h_stream) == HPI_OBJ_OSTREAM)
246 return hpi_outstream_group_reset(h_stream);
248 return hpi_instream_group_reset(h_stream);
444 if (hpi_instream_reset(dpcm->h_stream) != 0)
448 dpcm->h_stream, &dpcm->format) != 0)
454 err = hpi_stream_host_buffer_attach(dpcm->h_stream,
467 hpi_stream_get_info_ex(dpcm->h_stream, NULL,
490 hpi_stream_host_buffer_detach(dpcm->h_stream);
588 ds->h_stream,
598 dpcm->h_stream,
599 ds->h_stream);
613 hpi_handle_error(hpi_stream_start(dpcm->h_stream));
638 hpi_handle_error(hpi_stream_stop(dpcm->h_stream));
641 hpi_outstream_reset(dpcm->h_stream));
644 hpi_handle_error(hpi_stream_group_reset(dpcm->h_stream));
650 hpi_handle_error(hpi_stream_start(dpcm->h_stream));
655 hpi_handle_error(hpi_stream_stop(dpcm->h_stream));
741 ds->h_stream, &state,
755 hpi_handle_error(hpi_stream_start(ds->h_stream));
855 ds->h_stream, pd, xfer1,
866 ds->h_stream, pd,
875 ds->h_stream,
883 ds->h_stream,
916 hpi_handle_error(hpi_outstream_reset(dpcm->h_stream));
938 u32 h_stream)
963 err = hpi_outstream_query_format(h_stream, &hpi_format);
983 substream->number, &dpcm->h_stream);
1023 snd_card_asihpi_playback_formats(card, dpcm->h_stream);
1063 hpi_handle_error(hpi_outstream_close(dpcm->h_stream));
1099 hpi_handle_error(hpi_instream_reset(dpcm->h_stream));
1108 u32 h_stream)
1133 err = hpi_instream_query_format(h_stream, &hpi_format);
1158 substream->number, &dpcm->h_stream));
1191 snd_card_asihpi_capture_formats(card, dpcm->h_stream);
1222 hpi_handle_error(hpi_instream_close(dpcm->h_stream));
2768 u32 h_stream;
2836 0, &h_stream));
2838 err = hpi_instream_host_buffer_free(h_stream);
2841 hpi_handle_error(hpi_instream_close(h_stream));