Lines Matching refs:dmab
437 struct snd_dma_buffer *dmab, in setup_bdle() argument
450 addr = snd_sgbuf_get_addr(dmab, ofs); in setup_bdle()
455 chunk = snd_sgbuf_get_chunk_size(dmab, ofs, size); in setup_bdle()
490 struct snd_dma_buffer *dmab; in snd_hdac_stream_setup_periods() local
497 dmab = snd_pcm_get_dma_buf(substream); in snd_hdac_stream_setup_periods()
499 dmab = snd_pcm_get_dma_buf(cstream); in snd_hdac_stream_setup_periods()
531 ofs = setup_bdle(bus, dmab, azx_dev, in snd_hdac_stream_setup_periods()
541 ofs = setup_bdle(bus, dmab, azx_dev, in snd_hdac_stream_setup_periods()
544 ofs = setup_bdle(bus, dmab, azx_dev, in snd_hdac_stream_setup_periods()
978 struct snd_dma_buffer *dmab) in snd_hdac_dsp_cleanup() argument
982 if (!dmab->area || !azx_dev->locked) in snd_hdac_dsp_cleanup()
994 snd_dma_free_pages(dmab); in snd_hdac_dsp_cleanup()
995 dmab->area = NULL; in snd_hdac_dsp_cleanup()