---
name: "snd_dmaengine_pcm_open_request_chan"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_dmaengine_pcm_open_request_chan"
---

# snd\_dmaengine\_pcm\_open\_request\_chan(9)

Open a dmaengine based PCM substream and request channel

## NAME

snd\_dmaengine\_pcm\_open\_request\_chan - Open a dmaengine based PCM substream and request channel

## SYNOPSIS

**int snd\_dmaengine\_pcm\_open\_request\_chan(struct snd\_pcm\_substream \*** *substream***, dma\_filter\_fn** *filter\_fn***, void \*** *filter\_data***);**

## ARGUMENTS

*substream*

PCM substream

*filter\_fn*

Filter function used to request the DMA channel

*filter\_data*

Data passed to the DMA filter function

## DESCRIPTION

Returns 0 on success, a negative error code otherwise.

This function will request a DMA channel using the passed filter function and data. The function should usually be called from the pcm open callback. Note that this function will use private\_data field of the substream's runtime. So it is not available to your pcm driver implementation.

## COPYRIGHT
