dma/cavs_hda: Support channel filtering
Support channel filtering to find the requested channel if filter_param provided Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
This commit is contained in:
parent
ba84364196
commit
cd11910201
4 changed files with 22 additions and 0 deletions
|
@ -37,6 +37,9 @@ int cavs_hda_dma_host_reload(const struct device *dev, uint32_t channel,
|
|||
int cavs_hda_dma_status(const struct device *dev, uint32_t channel,
|
||||
struct dma_status *stat);
|
||||
|
||||
bool cavs_hda_dma_chan_filter(const struct device *dev, int channel,
|
||||
void *filter_param);
|
||||
|
||||
int cavs_hda_dma_start(const struct device *dev, uint32_t channel);
|
||||
|
||||
int cavs_hda_dma_stop(const struct device *dev, uint32_t channel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue