Home
last modified time | relevance | path

Searched refs:num_dma_ch (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/mic/card/
Dmic_device.c265 mdrv->dma_ch[mdrv->num_dma_ch++] = chan; in mic_request_dma_chans()
266 if (mdrv->num_dma_ch >= MIC_MAX_DMA_CHAN) in mic_request_dma_chans()
270 dev_info(mdrv->dev, "DMA channels # %d\n", mdrv->num_dma_ch); in mic_request_dma_chans()
271 return mdrv->num_dma_ch; in mic_request_dma_chans()
278 for (i = 0; i < mdrv->num_dma_ch; i++) { in mic_free_dma_chans()
282 mdrv->num_dma_ch = 0; in mic_free_dma_chans()
321 mdrv->num_dma_ch, true); in mic_driver_init()
Dmic_device.h91 int num_dma_ch; member
/drivers/misc/mic/host/
Dmic_boot.c326 mdev->dma_ch[mdev->num_dma_ch++] = chan; in mic_request_dma_chans()
327 if (mdev->num_dma_ch >= MIC_MAX_DMA_CHAN) in mic_request_dma_chans()
331 dev_info(&mdev->pdev->dev, "DMA channels # %d\n", mdev->num_dma_ch); in mic_request_dma_chans()
332 return mdev->num_dma_ch; in mic_request_dma_chans()
345 for (i = 0; i < mdev->num_dma_ch; i++) { in mic_free_dma_chans()
349 mdev->num_dma_ch = 0; in mic_free_dma_chans()
383 mdev->dma_ch, mdev->num_dma_ch, in _mic_start()
Dmic_device.h99 int num_dma_ch; member
/drivers/misc/mic/bus/
Dscif_bus.h63 int num_dma_ch; member
Dscif_bus.c171 sdev->num_dma_ch = num_chan; in scif_register_device()
/drivers/misc/mic/scif/
Dscif_dma.c105 if (!sdev->num_dma_ch) in scif_reserve_dma_chan()
108 scifdev->dma_ch_idx = (scifdev->dma_ch_idx + 1) % sdev->num_dma_ch; in scif_reserve_dma_chan()