Home
last modified time | relevance | path

Searched refs:dmaDevice (Results 1 - 2 of 2) sorted by relevance

/device/board/hihope/rk3568/audio_drivers/soc/src/
H A Drk3568_dma_ops.c93 struct device *dmaDevice = NULL; in GetDmaChannel() local
122 dmaDevice = dmaRtd->dmaDev; in GetDmaChannel()
123 if (dmaDevice == NULL) { in GetDmaChannel()
124 AUDIO_DEVICE_LOG_ERR("dmaDevice is null."); in GetDmaChannel()
128 dmaRtd->dmaChn[DMA_TX_CHANNEL] = dma_request_slave_channel(dmaDevice, dmaChannelNames[DMA_TX_CHANNEL]); in GetDmaChannel()
135 dmaRtd->dmaChn[DMA_RX_CHANNEL] = dma_request_slave_channel(dmaDevice, dmaChannelNames[DMA_RX_CHANNEL]); in GetDmaChannel()
222 struct device *dmaDevice = NULL; in Rk3568DmaBufAlloc() local
235 dmaDevice = dmaRtd->dmaDev; in Rk3568DmaBufAlloc()
236 if (dmaDevice == NULL) { in Rk3568DmaBufAlloc()
237 AUDIO_DEVICE_LOG_ERR("dmaDevice i in Rk3568DmaBufAlloc()
267 struct device *dmaDevice = NULL; Rk3568DmaBufFree() local
[all...]
/device/board/hihope/dayu210/audio_drivers/soc/src/
H A Drk3588_dma_ops.c83 struct device *dmaDevice = getDmaDevice(); in AudioDmaDeviceInit() local
102 g_dmaChn[i] = dma_request_slave_channel(dmaDevice, in AudioDmaDeviceInit()
139 struct device *dmaDevice = getDmaDevice(); in Rk3588DmaBufAlloc() local
146 if (dmaDevice == NULL) { in Rk3588DmaBufAlloc()
147 AUDIO_DEVICE_LOG_ERR("dmaDevice is null"); in Rk3588DmaBufAlloc()
154 dmaDevice->coherent_dma_mask = 0xffffffffUL; in Rk3588DmaBufAlloc()
156 data->captureBufInfo.virtAddr = dma_alloc_wc(dmaDevice, preallocBufSize, in Rk3588DmaBufAlloc()
162 dmaDevice->coherent_dma_mask = 0xffffffffUL; in Rk3588DmaBufAlloc()
164 data->renderBufInfo.virtAddr = dma_alloc_wc(dmaDevice, preallocBufSize, in Rk3588DmaBufAlloc()
178 struct device *dmaDevice in Rk3588DmaBufFree() local
[all...]

Completed in 2 milliseconds